<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/phase2, branch v27</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v27</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v27'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2026-01-12T21:28:00Z</updated>
<entry>
<title>phase2: add support for overriding feeds host</title>
<updated>2026-01-12T21:28:00Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2026-01-11T08:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=f2c82f2232b2ebdf1e643b38b406e41923181a72'/>
<id>urn:sha1:f2c82f2232b2ebdf1e643b38b406e41923181a72</id>
<content type='text'>
Port the feeds_host_override functionality from phase1 to phase2,
allowing phase2 builds to use alternate feed hosts.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: apply feeds_host_override to main repository URL</title>
<updated>2026-01-12T21:27:57Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2026-01-10T19:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=78343984a6699d6dcaf5e561c6e72887fee5bf3b'/>
<id>urn:sha1:78343984a6699d6dcaf5e561c6e72887fee5bf3b</id>
<content type='text'>
When feeds_host_override is configured, also apply it to the main
OpenWrt repository URL (repo_url). This fixes git fetch 503 errors
when git.openwrt.org is overloaded by redirecting to GitHub mirror.

  git fetch -f -t https://git.openwrt.org/openwrt/openwrt.git main --progress
  error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
  fatal: the remote end hung up unexpectedly

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase2: fix signing steps when only apk_key is defined</title>
<updated>2025-12-13T08:19:17Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2025-12-13T08:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=b0a3bf3f9b2acf5be391ed1d684e135f1161af19'/>
<id>urn:sha1:b0a3bf3f9b2acf5be391ed1d684e135f1161af19</id>
<content type='text'>
Signing steps are currently skipped if only APK signing is configured,
because phase2 effectively enables signing only when `usign` is present.

Fix this by making `IsSignEnabled` explicitly cover APK signing too.

While at it, refactor the signing checks into dedicated helper functions
`IsUsignEnabled`, `IsApkSigningEnabled`, and `IsGpgSigningEnabled`, and
use them consistently to align phase2 with the phase1 implementation.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase2: support multiple branch in parse_feed_entry and SingleBranchScheduler</title>
<updated>2024-11-05T15:30:27Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-11-05T15:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=115c39f64dbacb3e77e67dd8b3e7a083f3c45265'/>
<id>urn:sha1:115c39f64dbacb3e77e67dd8b3e7a083f3c45265</id>
<content type='text'>
Add support for multiple branch in parse_feed_entry and
SingleBranchScheduler.

- Moving to GitPoller branches
- Change feedbranches to define an array of branches
- Update the filter_fn to check multiple entry in feedbranches

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: GitPoller: fix deprecated API warning for pollinterval</title>
<updated>2024-10-12T08:03:30Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-10-12T08:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=3915bd80cec149897f37530eeaba366aa87e2784'/>
<id>urn:sha1:3915bd80cec149897f37530eeaba366aa87e2784</id>
<content type='text'>
Fixes following warning:

 gitpoller.py:103: buildbot.warnings.DeprecatedApiWarning: [3.11.3 and later] pollinterval has been deprecated: please use pollInterval

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase2: signpack: fix sha256sums signatures of apk packages.adb index</title>
<updated>2024-10-12T08:01:42Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-10-12T07:46:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=49c07ef5fa6b023c244402a0d2fa1dc8fe98c22c'/>
<id>urn:sha1:49c07ef5fa6b023c244402a0d2fa1dc8fe98c22c</id>
<content type='text'>
Currently the sha256sum verification of apk's packages.adb index
fails as the file is modified with `apk adbsign`, but we currently don't
send the sha256sums file to the master, thus it can't be fixed during
signing.

So lets pack sha256sums files and ship them to master for proper
signing.

Fixes: a94d4e15fdc1 ("add APK signing logic")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase2: signpack: code format</title>
<updated>2024-10-12T08:01:41Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-10-12T07:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=34033a7c50fa3e6606a3ee728f8217350e4a6c22'/>
<id>urn:sha1:34033a7c50fa3e6606a3ee728f8217350e4a6c22</id>
<content type='text'>
So its more readable and diffs of changes are more clear, thus easier to
review.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>add APK signing logic</title>
<updated>2024-08-10T11:19:10Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-08-06T16:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=a94d4e15fdc1e9715d7d0cfdcc62227186d0fc45'/>
<id>urn:sha1:a94d4e15fdc1e9715d7d0cfdcc62227186d0fc45</id>
<content type='text'>
With this commit it's possible to sign APK package indexes
(packages.adb) via the `signall.sh` script, which is run on the
buildmaster. As a consequence `apk` must be available on the
buildmaster. This is the final step to replace OPKG with APK.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: s/master/main for phase{1,2}</title>
<updated>2024-04-13T04:52:44Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2023-05-23T21:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=c8d1bd1f4bec5919ad0f65ba069b14fcaadffcbc'/>
<id>urn:sha1:c8d1bd1f4bec5919ad0f65ba069b14fcaadffcbc</id>
<content type='text'>
More and more projects are switching their repositories to use the
'main' branch instead of the 'master' branch. This also includes many
Linux upstream trees as well. Some trees are even removing their
'master' branches already.

I think this is becoming more and more mainstream and expected of
projects, so we should do the same.

References: https://openwrt.org/voting/2023-02-27
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [commit facelift]
</content>
</entry>
<entry>
<title>phase2: fix relative paths for scripts and files</title>
<updated>2024-04-13T04:17:49Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-12-24T19:14:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=7d371c4ae28b414e2c4321a88453a97e99093b26'/>
<id>urn:sha1:7d371c4ae28b414e2c4321a88453a97e99093b26</id>
<content type='text'>
Currently `buildlist` step fails with following:

  ../../../sha2rsync.pl ../../arch-sha256sums bin/packages/aarch64_generic/sha256sums rsynclist
   in dir /builder/aarch64_generic/build/sdk (timeout 1200 secs)
   watching logfiles {}
   argv: [b'../../../sha2rsync.pl', b'../../arch-sha256sums', b'bin/packages/aarch64_generic/sha256sums', b'rsynclist']
   environment:
    ...
    PWD=/builder/aarch64_generic/build/sdk
    ...
  Upon execvpe b'../../../sha2rsync.pl' [b'../../../sha2rsync.pl', b'../../arch-sha256sums', b'bin/packages/aarch64_generic/sha256sums', b'rsynclist'] in environment id 139847367136832
  :Traceback (most recent call last):
  ...
  FileNotFoundError: [Errno 2] No such file or directory: b'../../../sha2rsync.pl'

due to relative paths being off by one:

 worker work dir = /builder/aarch64_cortex-a72/build
 workerdest = "../sha2rsync.pl"
   is absolute path /builder/aarch64_cortex-a72/sha2rsync.pl

thus relative path from:

  FileNotFoundError: [Errno 2] No such file or directory: b'../../../sha2rsync.pl'

in following context:

  PWD=/builder/aarch64_generic/build/sdk
  b'../../../sha2rsync.pl'

is wrong absolute path `/builder/sha2rsync.pl` by one directory level,
thus adjust all those paths accordingly.

Fixes: c3ddb0db167d ("phase2: use sha2rsync.pl for 'targetupload'")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
