Fix the URL and method used to remove someone's ACL in dist-git #9635

Merged
jnsamyak merged 4 commits from master into master 2026-06-08 03:11:32 +00:00
Contributor

This should have been fixed in the original PR but apparently it
was merged before my push took effect

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

This should have been fixed in the original PR but apparently it was merged before my push took effect Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Author
Contributor

This should fix the error that @churchyard was seeing in the original PR.

I've since found an small oddity which I'm investigating, so feel free to merge this PR but don't be surprised if another one shows up :)

This should fix the error that @churchyard was seeing in the original PR. I've since found an small oddity which I'm investigating, so feel free to merge this PR but don't be surprised if another one shows up :)
Author
Contributor

1 new commit added

  • When querying the list of packages maintained by people, also query dist-git itself
**1 new commit added** * ``When querying the list of packages maintained by people, also query dist-git itself``
Author
Contributor

There is now a second commit in this PR that fixes the oddity I had found. Basically if someone had "unwatch" a package, we were not taking it into account (since that wouldn't be synced to bugzilla).

This will make the script a little slower, but more reliable.

There is now a second commit in this PR that fixes the oddity I had found. Basically if someone had "unwatch" a package, we were not taking it into account (since that wouldn't be synced to bugzilla). This will make the script a little slower, but more reliable.
Author
Contributor

1 new commit added

  • Small optimization: do not query dist-git if we're only interested in packages watched
**1 new commit added** * ``Small optimization: do not query dist-git if we're only interested in packages watched``
Contributor

I plan to test this and report back.

I plan to test this and report back.
Contributor

This fixes the problem I had before.

Is seems that the bugzilla json is generated cron-ish-ly, so subsequent runs with --retire still report that the users are watching things. I can recheck again once the json is renewed (when is that?).

As a matter of completeness I think the script could also remove the user from bugzilla assignee overrides.

This fixes the problem I had before. Is seems that the bugzilla json is generated cron-ish-ly, so subsequent runs with `--retire` still report that the users are watching things. I can recheck again once the json is renewed (when is that?). As a matter of completeness I think the script could also remove the user from bugzilla assignee overrides.
Author
Contributor

Is seems that the bugzilla json is generated cron-ish-ly, so subsequent runs with --retire still report that the users are watching things. I can recheck again once the json is renewed (when is that?).

That is correct (it's in the description in the --help), the cron runs hourly.

As a matter of completeness I think the script could also remove the user from bugzilla assignee overrides.

Good idea, I'll see to that

> Is seems that the bugzilla json is generated cron-ish-ly, so subsequent runs with --retire still report that the users are watching things. I can recheck again once the json is renewed (when is that?). That is correct (it's in the description in the ``--help``), the cron runs hourly. > As a matter of completeness I think the script could also remove the user from bugzilla assignee overrides. Good idea, I'll see to that
Contributor

Waiting for at least an hour to see the results.

Waiting for at least an hour to see the results.
Author
Contributor

1 new commit added

  • Check if the packager has a bugzilla overrides and if so, reset it
**1 new commit added** * ``Check if the packager has a bugzilla overrides and if so, reset it``
Author
Contributor

Support for bugzilla overrides added, but we should double-check that it changes only the override of interest, leaving the other one as is (e.i: check that if we retire user "bar" on Fedora, we don't change the override to "foo" on Fedora EPEL)

Support for bugzilla overrides added, but we should double-check that it changes only the override of interest, leaving the other one as is (e.i: check that if we retire user "bar" on Fedora, we don't change the override to "foo" on Fedora EPEL)
Contributor

This return seem bogus. The variable is not defined.

This return seem bogus. The variable is not defined.
Contributor

This docstring needs updating.

This docstring needs updating.
Contributor

Waiting for at least an hour to see the results.

Works.

> Waiting for at least an hour to see the results. Works.
Author
Contributor

Sigh, I shouldn't rename variables before pushing...

Sigh, I shouldn't rename variables before pushing...
Author
Contributor

4 new commits added

  • Check if the packager has a bugzilla overrides and if so, reset it
  • Small optimization: do not query dist-git if we're only interested in packages watched
  • When querying the list of packages maintained by people, also query dist-git itself
  • Fix the URL and method used to remove someone's ACL in dist-git
**4 new commits added** * ``Check if the packager has a bugzilla overrides and if so, reset it`` * ``Small optimization: do not query dist-git if we're only interested in packages watched`` * ``When querying the list of packages maintained by people, also query dist-git itself`` * ``Fix the URL and method used to remove someone's ACL in dist-git``
Author
Contributor

@churchyard comments fixed (and hopefully code as well :))

@churchyard comments fixed (and hopefully code as well :))
Owner

Pull-Request has been merged by humaton

Pull-Request has been merged by humaton
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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
releng/tickets!9635
No description provided.