Made some help texts more informative. #4611

Merged
tkopecek merged 4 commits from mikem/koji:pr-4254-recover into master 2026-08-17 12:58:54 +00:00
Owner

This is a duplicate of koji/koji!4254

The original was created from the submitter's master branch, and as such was broken in the forgejo migration. Creating this so we don't lose the data.

Original text:

This improves the help texts for a few options, based on explanations posted to the Fedora devel mailing list, so that users don't need to divine what the options do.

To a user who isn't a Koji admin it's not clear what a "repo request" is or why anyone would want to create one. I reworded two descriptions in words that a user can understand.

The description of --wait-build should state explicitly that it will refresh the repo, not just wait for it to happen, and that it does so before building the package.

It's still unclear to me what --wait-repo actually does. It was said in the email thread that it does nothing if the repo is less than one hour old, and refreshes the repo if it's older than that, but it was also said that Koji will refresh the repo anyway if it's older than one hour, which would make --wait-repo meaningless. Anyway, it was clearly stated that whatever --wait-repo does, it does it before the package build, not after, so the help text should say so.

Please check that these descriptions are true, as I'm only going by what I've been told.

This is a duplicate of koji/koji!4254 The original was created from the submitter's master branch, and as such was broken in the forgejo migration. Creating this so we don't lose the data. Original text: > This improves the help texts for a few options, based on explanations posted to the Fedora devel mailing list, so that users don't need to divine what the options do. > > To a user who isn't a Koji admin it's not clear what a "repo request" is or why anyone would want to create one. I reworded two descriptions in words that a user can understand. > > The description of --wait-build should state explicitly that it will refresh the repo, not just wait for it to happen, and that it does so before building the package. > > It's still unclear to me what --wait-repo actually does. It was said in the email thread that it does nothing if the repo is less than one hour old, and refreshes the repo if it's older than that, but it was also said that Koji will refresh the repo anyway if it's older than one hour, which would make --wait-repo meaningless. Anyway, it was clearly stated that whatever --wait-repo does, it does it before the package build, not after, so the help text should say so. > > Please check that these descriptions are true, as I'm only going by what I've been told.
mikem force-pushed pr-4254-recover from 57f5a9a5be to 53610a88db 2026-06-23 13:29:49 +00:00 Compare
tkopecek added this to the 1.37 milestone 2026-08-14 14:12:45 +00:00
mikem force-pushed pr-4254-recover from ea9acef3e8 to 89df621f30
All checks were successful
/ flake8 (pull_request) Successful in 15s
/ bandit (pull_request) Successful in 18s
/ tests (fedora-43@sha256:cf1ef55da0d7dd9251b79263c4d1e2350d4291fcd6dc54a1e751d3fe2cf4614d) (pull_request) Successful in 1m10s
/ tests (fedora-44@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (pull_request) Successful in 1m8s
/ tests (centos-10@sha256:1f53b2b040e449b0cfce526f1a221e6dbd6648506270220ea333728a6b52a90b) (pull_request) Successful in 1m50s
/ tests (fedora-rawhide@sha256:5e1187ee4536674e08961cbe6b1b84dfc9df15a513dee328365909be5a0d5ed8) (pull_request) Successful in 55s
/ tests (centos-9@sha256:c5fe30a62d4b62b46acdf764bf1f7293e9fa4287972ec6a86ccb43209646dc32) (pull_request) Successful in 2m39s
2026-08-14 14:14:20 +00:00
Compare
tkopecek merged commit 403342703a into master 2026-08-17 12:58:54 +00:00
mikem deleted branch pr-4254-recover 2026-09-28 16:10:52 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
koji/koji!4611
No description provided.