Commit Graph

257 Commits

Author SHA1 Message Date
Christoph Reiter
9faa93f697 Try to avoid google crawling the search
There is no point, every page is accessible without the search.
2023-01-22 11:48:12 +01:00
Christoph Reiter
eeac72400b queue: show active cycles 2023-01-20 09:57:12 +01:00
Christoph Reiter
8137b0468f Update the etag when the sourceinfos change
missed this somehow. this leads to stale caches in case only
the srcinfos have changed since the last non-cache visit.
2023-01-12 20:44:14 +01:00
Christoph Reiter
6a1303be83 Partly revert 9c609e66d4
we still want to link to the base package in the queue if possible
2023-01-06 09:19:32 +01:00
Christoph Reiter
41614992ff package: move the required/provided by lists to the bottom
To make clear that this info depends on other packages, and since
those lists can be quite long it's best to have all the other package
information before it.
2023-01-06 08:15:50 +01:00
Christoph Reiter
e66f96801a Remove package_name() function
We now parse/split all PKGBUILD fields properly, so all package names
that end up in the templates should be valid already.
2023-01-06 08:10:45 +01:00
Christoph Reiter
4a65e2d54b Be more explicit about showing virtual packages
Up until now we would show a list of packages and providing
packages. That's confusing when you don't scroll down and not
really obvious.

Instead if it's a virtual package show a simple page listing
the providing packages.

And in case a package of that name exists, show the other packages
providing the same name inline ("Provided By")
2023-01-06 07:59:29 +01:00
Christoph Reiter
9c609e66d4 queue: don't use the srcpkg to display information
Instead just use the srcinfo and the packages. In case a package moves between bases
it would look up the old srcpkg and display outdated names.

This is a leftover from when we had no srcinfo data.
2023-01-05 19:24:05 +01:00
Christoph Reiter
3886b42af0 buildqueue: don't take dependencies of replacments
In case a package that is to be built is also replaced we would take
the dependencies of the replacement instead of the real one.
While this usually never happens, as the resulting package will be removed
on upgrades, it is wrong to do so. Don't resolve the package like
pacman would and just use them as is instead
2023-01-04 16:55:00 +01:00
Christoph Reiter
689e8447b4 config: default to ucrt64 where a default is needed 2022-12-30 12:19:20 +01:00
Christoph Reiter
7be7b56370 queue: also read the msys2-arm build status
Both builders will upload the complete build status when they run,
but up until now we only read the one from the main autobuild repo.
This meant that if the arm runner was building something without
the main autobuild running the website wouldn't notice and always
show the out of date state until the next scheduled run.

This now loads both and takes the newest according to the last-modified header
send by github. To keep local caching working during development we
store the last-modified as the cache file mtime.
2022-12-30 10:28:07 +01:00
Christoph Reiter
9c6be6c7e3 Switch to new mapping format
This adds the following things:

* the mapping data is now sourced from the package repositories
* cygwin mapping works too (for example see "msys2-runtime")
* packages can be marked internal so they are never linked
  to arch or cygwin (for example see "base")
2022-12-29 13:53:29 +01:00
Christoph Reiter
0aaa362d5a Remove skipped packages
With multiple sources, including cygwin, this doesn't make much sense.
We can mark some packages as internal in the future.
2022-12-29 06:49:39 +01:00
Christoph Reiter
acb1a0c397 remove unused skipped mapping
it now uses "null" to indicate that the external source shouldn't
be mapped
2022-12-29 06:39:06 +01:00
Christoph Reiter
4d16111fb4 arch mapping: add provided packages as a fallback
This gives us a few more matches
2022-12-29 06:32:22 +01:00
Christoph Reiter
256514bc41 Less guessing with the arch name mapping
Instead of doing regex and using the extracted package name, just
use the real pkgbase everywhere. This might mean more mappings are needed,
but it's more clear what it changes.

The next step is to move the mapping into the packaging repos.
2022-12-29 06:05:39 +01:00
Christoph Reiter
498a10897f Use the new repo package prefix in more places
instead of special casing based on repo and package names
2022-12-28 17:37:05 +01:00
Christoph Reiter
e5cbc94eef Switch to new autobuild-controller instance 2022-12-27 23:01:20 +01:00
Christoph Reiter
7b09145e9a Handle the new build status format
Changed in https://github.com/msys2/msys2-autobuild/commit/307799fd271fdfeeffec30c8
2022-12-27 16:19:21 +01:00
Christoph Reiter
8ac244723c Add initial dark mode support
this requires the latest alpha release of bootstrap which
added theme support.
2022-12-26 20:52:27 +01:00
Christoph Reiter
ed5c086fe0 Switch some large tables to a fixed layout
maybe this helps with loading performance a bit
2022-12-26 18:36:31 +01:00
Christoph Reiter
7b399e56bc Show base groups instead of groups for base packages 2022-12-26 16:57:02 +01:00
Christoph Reiter
e0b0ae48da Add a base group collection
This is conceptionally similar to a pkgbase, but for groups.
Something like this doesn't really exist on the PKGBUILD level,
but end users can't really work with pkgbase with pacman either,
so for them that doesn't matter.

It still gives the end user the same structure as with packages,
there is a base thing that has multiple instances for each environment,
and searching might be a bit easier.

The UX could be improved, but the basics are there at least.

Fixes #47
2022-12-26 12:00:45 +01:00
Christoph Reiter
290ee4440d Rename group -> groups
my initial naming wasn't the best. base/package remains, but that is
trickier to change

I mainly wanted to see how to handle renames with fastapi here
2022-12-26 12:00:45 +01:00
Christoph Reiter
4d5cc2c498 Makedep on base too
Doesn't change anything since it's part of base-devel,
but why not.
2022-12-22 09:14:04 +01:00
Christoph Reiter
073e2db502 Make every package makedepend on base-devel
base-devel is the set of packages makepkg potentially needs,
so always depend on it so things get (1) installed and (2)
built first.

This potentially leads to more cycles, but we can try to clean
up base-devel a bit more.. or just deal with them manually when needed.
2022-12-22 09:10:50 +01:00
Christoph Reiter
ab60b83e4a Update frontend deps 2022-12-10 22:32:10 +01:00
Christoph Reiter
f60af0446a Update frontend deps 2022-11-17 18:19:04 +01:00
Christoph Reiter
d1e53f7453 Update Python deps
mypy now defaults to no_implicit_optional=True, so some adjustments
are needed there
2022-11-17 18:10:02 +01:00
Naveen M K
edc4aa02b4 Fix a typo 2022-09-11 18:12:22 +02:00
Christoph Reiter
9ea74da0eb queue: show the potential build types when no build status is known yet 2022-09-06 08:50:18 +02:00
Christoph Reiter
38a613d628 queue: mark all finished packages green
Previously only packages which could be added to the repo were green,
now all that successfully built are green. Makes it easier to see
where things are stuck or where manual intervention is needed.
2022-09-05 09:38:05 +02:00
Christoph Reiter
69372e5c2b Switch default branch to main 2022-09-05 08:22:43 +02:00
Christoph Reiter
47511a3661 Update JS deps 2022-09-05 07:51:25 +02:00
Christoph Reiter
e8eaa08e31 Use the new issue template for the bug report link 2022-09-05 07:45:21 +02:00
Christoph Reiter
9c4b3df297 queue: link to the new autobuild controller 2022-08-20 10:38:16 +02:00
Christoph Reiter
280cd915c6 queue: add a refresh button 2022-08-20 10:29:34 +02:00
Christoph Reiter
aca09d2bce outofdate: add a repo filter
So one can look at only msys packages that need updates for example
2022-08-08 18:46:14 +02:00
Christoph Reiter
b595541183 Allow two updates per 5 minutes
Now that we only update what is needed, we can allow more of them
2022-08-01 08:14:55 +02:00
Christoph Reiter
43fc9c48e5 Split up the source update checks
Check for each source instead of updating everything every time
2022-08-01 08:06:12 +02:00
Christoph Reiter
140a572948 Make the URL update check reusable 2022-08-01 07:52:09 +02:00
Christoph Reiter
f4f1d592d6 Clean up the app config 2022-08-01 07:35:06 +02:00
Christoph Reiter
1ec7244b13 Rename arch_mapping to external_mapping
we might extend it with cygwin mappings in the future
2022-08-01 07:16:43 +02:00
Christoph Reiter
ec9760f6d4 Extract the upstream versions at parsing time
It was a mix of everything right now, make sure we only work
with upstream versions after parsing.
2022-07-31 08:59:22 +02:00
Christoph Reiter
988e1b41dc cygwin: switch to a better mirror and use the compressed index 2022-07-31 08:21:07 +02:00
Christoph Reiter
6eff4ff779 Download all of the AUR metadata instead of searching via rpc
Turns out they provide it as a json file which gets updated every 15 minutes,
which is good enough for us.
2022-07-31 08:20:39 +02:00
Christoph Reiter
5d324dad8f srcinfo files are now compressed 2022-07-22 17:57:17 +02:00
Christoph Reiter
a2efa01551 Update frontend deps 2022-07-21 22:16:16 +02:00
Christoph Reiter
c524062add mypy fixes 2022-05-29 09:26:38 +02:00
Christoph Reiter
903f6a51d5 Update frontend deps 2022-05-29 09:21:08 +02:00