Commit graph

530 commits

Author SHA1 Message Date
ff730afbab Drop permissions block from CI workflow
It does nothing on Forgejo yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-03-26 12:50:15 -07:00
7c6bc5825f Add an ai-code-review context file
All checks were successful
CI via Tox / tox (pull_request) Successful in 1m40s
AI Code Review / ai-review (pull_request_target) Successful in 24s
Signed-off-by: Adam Williamson <awilliam@redhat.com>
Assisted-by: Cursor 2.6.11 | claude-4.6-opus-high
2026-03-05 17:50:16 -08:00
37347077a7 Switch to using the reusable AI workflow
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-26 13:34:17 -08:00
3a4274c6ef Release 2.6.22 2.6.22
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-18 15:18:09 -08:00
e10ada1f8c Update CHANGELOG for 2.6.22
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-18 15:17:53 -08:00
0a4018fdab Make black 26.1.0 happy
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-18 15:06:53 -08:00
8ca5287e66 result.find_resultrows: special handling for media writer test
The Fedora Media Writer table on the Installation page uses fancy
wiki magic for the column titles. This kinda breaks our parser
(because the pipe in the wiki magic isn't doing what we expect
pipes in result column titles to do). Even if we fixed the parser
so we emitted these column titles in 'raw' form they'd be very
awkward to work with. So instead let's special case them and
output something easier for clients to work with. The relevant
column titles get turned into:

Fedora CurrentFedoraVersion - 1
Fedora CurrentFedoraVersion
Fedora CurrentFedoraVersion + 1

this should be easy to work with.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-18 14:58:10 -08:00
6ae75cd062 Update another pagure.io link to forge.fp.o
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-23 14:46:41 -08:00
9a05dff5e1 Update URL in setup.py to forgejo
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-14 17:08:21 -08:00
29dea9d45f Convert CI to Forgejo, add AI review, update tox Python versions
All checks were successful
CI via Tox / tox (pull_request) Successful in 1m30s
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-09 13:48:45 -08:00
30a10a7a13 Update all pagure.io references to forge.fp.o
Including repos that haven't migrated yet, as we'll be doing them
shortly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-09 13:35:38 -08:00
a71f21a0b9 Release 2.6.21 2.6.21
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 16:26:33 -07:00
1c9c6c5476 Update CHANGELOG for 2.6.21
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 16:26:23 -07:00
8b1cf23882 black reformat
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 16:25:44 -07:00
a275fd087b Fix brown-paper-bag mistake in find_resultrows change
D'oh. Of course we can't just overwrite `rows`. Siiiigh. Run the
damn test suite, Adam.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 16:25:20 -07:00
117b419a94 Release 2.6.20 2.6.20
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 15:44:44 -07:00
dc3c2d7b2b Update CHANGELOG for 2.6.20
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 15:44:17 -07:00
3587746ecb find_resultrow: do a stricter test case name check first
The current fuzzy check causes a problem for
QA:Testcase_partitioning_custom_btrfs , because we also have a
row for QA:Testcase_partitioning_custom_btrfs_preserve_home . So
we always get two rows when searching for
"QA:Testcase_partitioning_custom_btrfs". To solve this, let's try
an equality check, and if that returns any rows, go with that;
only do the 'in' check if the equality check gives no rows.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 15:41:19 -07:00
06674212e0 Release 2.6.19 2.6.19
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 15:05:26 -07:00
b9b0519e9d Update CHANGELOG for 2.6.19
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 15:03:47 -07:00
081e8a2983 get_resultrows: handle sections with no byteoffset better
While reviewing a relval PR, I noticed the testcase-stats output
for Cloud is wrong - it includes x86_64 and aarch64 sections as
it should, but also a 'Test Matrix' section. This turns out to be
because of a problem in `get_resultrows`. What we try to do here
is find all the text from the start of a given section to the
start of the *next* section, then find any result rows in that
text, and associate them with that section. We use the byteoffset
value of the next section to decide where it starts. However, it
turns out sections that come in from a transcluded template - as
is the case for the section after "Test Results" on the Cloud
page - have a byteoffset of `None`. So we wind up using a slice
of [128:None] as 'all the text in the Test Results section',
which is all the text from 128 to the end. So we count *all*
the results in the page as part of the Test Results section,
then count them again as part of the sections they're really in.

To hack around this, instead of always taking the byteoffset of
the next section, let's keep going through sections until we
hit one with a byteoffset that isn't `None`, and use that (if
there is one; if not, it means we're in the last non-template
section on the page). This is very definitely a hack but should
work OK so long as there's never a result row in a section
transcluded from a template. This whole thing is a hack anyhow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 13:33:54 -07:00
85b941e8cd Release 2.6.18 2.6.18
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-14 12:28:26 -07:00
4c5ffada6a Update CHANGELOG for 2.6.18
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-14 12:28:08 -07:00
b8776c5c03 Tweak the topics queried by AMIPage.seedtext again
Now it looks like candidate compose messages are being published
under yet two more different topics, so we have to query those
too. Let's be smart and figure out only the relevant topic to
query based on the event's milestone.

Also, update the tests to use current data (otherwise the data
we're testing against is a lie compared to the topic we query on)
and check the URLs we query.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-14 12:25:18 -07:00
52b9dd2ae2 Release 2.6.17 2.6.17
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-07 12:20:06 -07:00
627aafddea Update CHANGELOG for 2.6.17
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-07 12:19:54 -07:00
35cd0d75e4 AMIPage: adjust datagrepper querying for changed topics
The image uploader tweaked the topics it published on. We can't
easily tell if we're branched or rawhide here, so just query
both, the filter on compose ID later will ensure we only consider
relevant messages.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-07 12:18:24 -07:00
4636446ede Release 2.6.16 2.6.16
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-13 11:44:07 -07:00
8a31ad8406 Update CHANGELOG for 2.6.16
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-13 11:43:15 -07:00
16070f9ab8 Replace pytz usage with datetime.timezone.utc
I think we used pytz originally for Python 2 compatibility, there
is no datetime.timezone in Python 2. But our baseline now is
Python 3.6, so this is fine and avoids an external dependency.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-13 11:38:57 -07:00
5fcf2c0d88 Avoid deprecation warning with newer mwclient
In mwclient 0.11.0 we tweaked the API for the various listing
functions to prefer clearly-named `max_items` and `api_chunk_size`
args rather than the old `limit` arg (which read like it meant
the former, but actually meant the latter). `limit` is still
accepted, but triggers a deprecation warning, so we should change
it here. Let's use max_items as we really just want one item (in
practice either would have the same effect, but this is clearer).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-13 11:33:33 -07:00
7ce6f50df1 Release 2.6.15 2.6.15
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-12 16:44:08 -07:00
dafc5df373 Update CHANGELOG for 2.6.15
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-12 16:44:00 -07:00
333bdb1227 Add missing test data files
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-12 16:43:24 -07:00
fe98b2301a Release 2.6.14 2.6.14
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-12 16:09:54 -07:00
ae861838d5 Update CHANGELOG for 2.6.14
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-12 16:09:41 -07:00
8f80cd5b8d AMI download page generation: adapt to new cloud image uploader
We replaced fedimg with fedora-image-uploader. It publishes very
different messages. This adapts the AMI page seedtext to the new
message topics and format. It's designed to work whether or not
https://pagure.io/cloud-image-uploader/pull-request/28 is merged.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-12 16:07:48 -07:00
38ebf7118a Release 2.6.13 2.6.13
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-29 10:26:54 -07:00
49b71903ff Update CHANGELOG for 2.6.13
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-29 10:26:42 -07:00
10d5b51637 cid_to_event: error on any non-digit version that is not rawhide
"ELN" is showing up soon, but let's just make this general - we
assume if the version isn't Rawhide or a digit, it's not something
we have validation events for. We can always update this later if
it becomes not true.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-29 09:23:36 -07:00
df210e75e5 tox and zuul: update set of python versions to test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-29 09:10:32 -07:00
2bf8788f62 zuul config: use fedora-latest-container
eep. fedora-31-vm is a bit old.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-29 09:10:32 -07:00
da1d734f5e Add a missing mock in test_cid_to_event_fail_doomed
This makes the test need a network roundtrip, oops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-29 09:02:57 -07:00
b686fd6e40 Release 2.6.12 2.6.12
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-18 16:58:39 -07:00
e2b66b29ce Update CHANGELOG for 2.6.12
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-18 16:58:24 -07:00
6fe435a55d DownloadPage: downweight images with type "live-osbuild"
This type denotes 'experimental' osbuild-built live images; if
and when we make osbuild the "official" builder of lives, they
will have the normal 'live' type, not 'live-osbuild'. We should
bury these images down the download table, not put them right
at the top as we do currently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-18 16:34:40 -07:00
100ab1f4b0 Release 2.6.11 2.6.11
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-28 09:56:31 -08:00
da3e725067 Update CHANGELOG for 2.6.11
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-28 09:56:12 -08:00
1dc826484e cid_to_event: better error when compose failed
Thanks to @coremodule for reporting this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-28 09:53:34 -08:00
fe0e041e66 Release 2.6.10 2.6.10
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-01 08:55:05 -07:00