Den tors 30 juni 2022 kl 15:45 skrev Nathan Hartman <
hartman.nat...@gmail.com>:

> Recent breakage in the PO files wasn't detected by the buildbot so I
> went digging.
>
> The buildbot infrastructure changed recently. Builders are now listed at
> [1].
>
> [...]


> [1] all builders: https://ci2.apache.org/#/builders
>
>
Hijacking this thread, but in case anyone figure out the buildbots, I would
like to point out that the tools/dist/relase.py script (in
update_buildbot_config, called by the create-release-branch subcommand)
contains a reference to the old Infra repository for the buildbot
configurations [2] which, according to [3] is not used anymore.

The code seems to refer to a file subversion.conf which doesn't exist in
the new repository [4]. Looking at the code and the subversion.py file in
[4] I believe the could be as simple as

[[[
Index: dist/release.py
===================================================================
--- dist/release.py     (revision 1902586)
+++ dist/release.py     (working copy)
@@ -97,7 +97,7 @@
 dist_release_url = dist_repos + '/release/subversion'
 dist_archive_url = 'https://archive.apache.org/dist/subversion'
 buildbot_repos = os.getenv('SVN_RELEASE_BUILDBOT_REPOS',
-                           '
https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster
')
+                           '
https://svn.apache.org/repos/infra/infrastructure/buildbot2/projects')
 extns = ['zip', 'tar.gz', 'tar.bz2']


@@ -675,9 +675,9 @@
     prev_ver = Version('1.%d.0' % (ver.minor - 1,))
     next_ver = Version('1.%d.0' % (ver.minor + 1,))

-    relpath = 'master1/projects/subversion.conf'
+    relpath = 'subversion.py'
     edit_file(get_buildbot_wc_path(args.base_dir, relpath),
-              r'(MINOR_LINES=\[.*%s)(\])' % (prev_ver.minor,),
+              r'(\s+MINOR_LINES = \[.*%s)(\])' % (prev_ver.minor,),
               r'\1, %s\2' % (ver.minor,))

     log_msg = '''\
]]]

I'll await some feedback on the above change, if someone feels an itch to
dig into the buildbots, feel free to commit the patch above if it is
reasonable.

Kind regards,
Daniel


[2]
https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster
[3] https://svn.apache.org/repos/infra/infrastructure/buildbot/README
[4] https://svn.apache.org/repos/infra/infrastructure/buildbot2/projects/



Nathan recently made some inquiries regarding the buildbots. I would just
like to add this

Reply via email to