261 Commits

Author SHA1 Message Date
Christoph Reiter
a8d63e2852 Some cleanup; don't break cycles if the dep isn't in the repo
When bootstrapping a cycle we can't fall back to the repo, so
someone has to upload the package manually and we shouldn't try
to build it before that.
2022-03-12 08:53:05 +01:00
Christoph Reiter
1e254ee060 Another optional dep 2022-03-11 15:50:06 +01:00
Christoph Reiter
154402b355 Wrong package name
oops
2022-03-11 15:30:15 +01:00
Christoph Reiter
0ed108506a Add a list of optional dependencies
Since we no longer break cycles in msys2-web we have to do it here.
This adds a list of optional deps for some packages. If they are there
they will be used, if not they will be ignored.

By hardcoding it we should get more a more deterministic result, but
not sure if this scales well.
2022-03-11 15:20:47 +01:00
Christoph Reiter
7e96898a06 Stop setting GIT_COMMITTER_NAME/EMAIL
We no longer use "git am" in PKGBUILD files
2022-03-05 13:15:22 +01:00
Jeremy Drake
451dca0a27 run upgrade/downgrade twice for updated assets
If one or more of the assets are in the 'core' set (such as bash,
recently), only the 'core' packages will be upgraded/downgraded in the
first run.
2022-02-20 09:01:16 +01:00
Christoph Reiter
8b9b746cfa Revert "Revert setting GIT_COMITTER_NAME/EMAIL. It doesn't do anything."
This reverts commit 9b01428dde1d2476f177c2437bdd60063ec8147c.
2022-01-25 21:09:36 +01:00
Christoph Reiter
9b01428dde Revert setting GIT_COMITTER_NAME/EMAIL. It doesn't do anything.
Since https://github.com/msys2/MSYS2-packages/commit/97491f06184abf6
makepkg sets them, so this wasn't really doing anything.
2022-01-25 20:17:16 +01:00
Christoph Reiter
6c461095e0 CI: don't install git by default
We only needed it to configure the commiter name/email which is now
done via env vars.

If a package still needs git we pull it in via makedepends.
2022-01-14 16:15:42 +01:00
Christoph Reiter
3a63bf21e1 Set GIT_COMMITTER_NAME/EMAIL when calling makepkg
Instead of setting it with "git config" early on. This way we don't
have to change some global files/state while still getting the same result.
2022-01-14 16:13:45 +01:00
Christoph Reiter
e93758b39c Set PACKAGER in autobuild directly
Instead of depending on the caller to set it.
2022-01-14 16:09:51 +01:00
Christoph Reiter
7c422261fc Use the same build environment for all makepkg calls
Just the default environ for now
2022-01-14 16:09:23 +01:00
Christoph Reiter
58fac3caaf Don't import environ directly
Use the same style everywhere, to also avoid shadowing locals
2022-01-14 15:53:03 +01:00
Christoph Reiter
6a436ac4e9 No longer install the toolchain groups
They are no longer required. See
https://github.com/msys2/MINGW-packages/discussions/10506
2022-01-13 17:44:52 +01:00
Christoph Reiter
698f9f514f Only start jobs for build types where we own the asset release 2022-01-13 09:36:45 +01:00
Christoph Reiter
f765fe5ea7
Drop clangarm64 from the manual build list 2022-01-12 22:38:17 +01:00
Christoph Reiter
f49b8afb91 Fetch certain build types also from other repos
Allow mapping build types to external repos and make some
read-only operations work with it.

This mainly means downloading assets will now also download clangarm64
and the clangarm64 build status will be included on packages.msys2.org.
2021-12-26 15:19:19 +01:00
Jeremy Drake
456f0a1e57 fetch_assets: add option to limit build_types. 2021-12-21 04:50:24 +01:00
Christoph Reiter
1aaafbed38 msys2-devel is no longer needed 2021-12-14 20:28:14 +01:00
Christoph Reiter
f712bbd622 CI: switch the hosted runner env from windows-2019 to windows-2022
Let's give it a try.
2021-12-09 20:07:59 +01:00
Christoph Reiter
a0a0b3f47b
mingw-w64-mlpack is fixed now 2021-11-05 18:38:32 +01:00
Christoph Reiter
6e469e2c56 fetch-assets: add --fetch-complete option
this fetches all packages, as long es they are complete
2021-11-03 08:49:23 +01:00
Christoph Reiter
0cfe547446 Revert "qt5-static: All manual builds"
This reverts commit 87dbe7aebc5cd274457f05e62527029f90f90e2e.
2021-10-20 09:53:39 +02:00
Alexey Pavlov
87dbe7aebc qt5-static: All manual builds 2021-10-19 21:09:52 +03:00
Christoph Reiter
4cc7035246
ignore rdeps: mingw-w64-zig 2021-10-17 20:12:52 +02:00
Christoph Reiter
aea50264e2
ignore qt-static rdeps 2021-10-14 18:44:51 +02:00
Christoph Reiter
41742850ce Revert "Revert "Update autobuild.py""
This reverts commit 5f728e1eb22bdcb3c0e97c2d7c6fdd6a025dca64.
2021-10-11 18:25:43 +02:00
Christoph Reiter
5f728e1eb2 Revert "Update autobuild.py"
This reverts commit 8c7ef11f693b7af3ad3292ff6d0ae0b80fcd8ba0.
2021-10-10 17:57:46 +02:00
Christoph Reiter
8c7ef11f69
Update autobuild.py 2021-10-10 15:07:50 +02:00
Christoph Reiter
d74753f0e5 build status: inherit blocking info instead of replacing it
a bit hacky.. but works

Fixes #42
2021-10-09 08:37:22 +02:00
Christoph Reiter
9c67f65b7c make mypy happy 2021-09-15 08:54:29 +02:00
Christoph Reiter
7f3417441c Fix cleaning up failed assets 2021-09-15 08:48:00 +02:00
Christoph Reiter
6add89827b Only have one metadata file for a failed build
We used the resulting package names, but we can just key by build type
and get fewer files that way.
2021-09-15 08:35:53 +02:00
Christoph Reiter
a0713fbf40 move a call out of a loop 2021-09-12 07:02:16 +02:00
Christoph Reiter
5b58993660 Have one GH release per build type
This makes the code easier to understand and saves some API calls
when fetching dependencies, since only a subset of assets need to
be looked through.
2021-09-11 17:08:00 +02:00
Christoph Reiter
c2c24e50e3 More typing for literals 2021-09-11 12:03:41 +02:00
Christoph Reiter
c5688a7839
oops.. 2021-09-05 15:33:19 +02:00
Christoph Reiter
09475aabfd
clean up "ignore rdep" list 2021-09-05 09:08:35 +02:00
Christoph Reiter
79d4cbda1a
ignore rdeps: add mingw-w64-plasma-framework-qt5
until https://github.com/msys2/MINGW-packages/pull/9530 lands
2021-09-04 19:27:46 +02:00
Christoph Reiter
b738d09014 flake8 2021-08-28 11:45:32 +02:00
Christoph Reiter
10764cd166 Run everything with unbufferd stdout/err
Instead of flushing everywhere
2021-08-28 11:08:53 +02:00
Jeremy Drake
640d714345 flush stdout on a few prints that show up at odd times 2021-08-26 08:29:38 +02:00
Christoph Reiter
916fd75c11 MANUAL_BUILD: allow limiting for specific build types
qt5-static works fine with clang, so let CI handle that.
While at it unify the logic to also handle clangarm64.
2021-08-24 17:30:39 +02:00
Christoph Reiter
8d057042c4 Clean up IGNORE_RDEP_PACKAGES
These pacakges got fixed in the meantime
2021-08-24 17:21:07 +02:00
Christoph Reiter
10fdc3ec57 Download dependencies in parallel 2021-08-22 18:46:08 +02:00
Christoph Reiter
64a3c0b94e CI: fall back to GITHUB_TOKEN if GITHUBTOKENREADONLY is empty
Fixes #32
2021-08-22 18:36:21 +02:00
Christoph Reiter
842072fe55 Add all dependencies to the temp repo in one go
This should be faster since the pacman DB needs to be rebuild only once
2021-08-22 18:29:01 +02:00
Christoph Reiter
d37effda22 Use the dependency information from the API
Instead of hardcoding that mingw can depend on msys etc.
2021-08-22 18:11:46 +02:00
Christoph Reiter
975e479034 Port to new buildqueue API
No functional change
2021-08-22 17:50:18 +02:00
Christoph Reiter
b4c259019b Install the VCS group for jobs building source packages 2021-08-20 09:33:50 +02:00