requestsync: Not detecting sponsoring requiresments correctly

Bug #294194 reported by David Futcher
4
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Undecided
Jonathan Davies

Bug Description

Binary package hint: ubuntu-dev-tools

In ubuntu-dev-tools 0.46 requestsync should detect that I need ubuntu-universe-sponsors subscribed to sync bugs (Bug #130648) but fails to do so. From the feature request bug, I'm guessing this is because I have an @ubuntu.com email address. Instead of subscribing u-{u,m}-s, in subscribes ubuntu-archive-admins, who shouldnt be subscribed until the sync has received an ACK from a sponsor, which messes up sync workflows for ubuntu-universe-contributors.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 294194] [NEW] requestsync: Not detecting sponsoring requiresments correctly

I think you're supposed to use a command line switch if you need
sponsoring and have an @ubuntu.com address.

But, wasn't that already replaced with some group membership checking?

--
Siegfried-Angel Gevatter Pujals (RainCT)
Ubuntu Developer. Debian Contributor.

Revision history for this message
David Futcher (bobbo) wrote :

@RainCT: From what I can find, the -s flag has been removed and replaced by automatic checking. I cant find any flag to force requiring sponsorship.

I have subscribed pitti to the bug, as I am told he is the main author of requestsync.

Also, this could be related to https://bugs.edge.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/270605

Revision history for this message
Martin Pitt (pitti) wrote :

Jonathan, you introduced the change from -s to auto-detection; can you please have a look at this?

Changed in ubuntu-dev-tools:
assignee: nobody → jpds
Revision history for this message
Jonathan Davies (jpds) wrote :

I cannot reproduce this bug personally, can you please tell me what command you are issuing?

I usually try requesting a sync of gnupg to test my privileges:

jpds@paer> ./requestsync gnupg jaunty 1.05 ~/srv/ubuntu/ubuntu-dev-tools
You are not a member (direct or indirect) of the 'ubuntu-core-dev' team on Launchpad.
Your sync request shall require an approval by a member of the 'ubuntu-main-sponsors'
team, who shall be subscribed to this bug report.
This must be done before it can be processed by a member of the Ubuntu Archive team.
If the above is correct please press Enter, otherwise please press Ctrl-C to stop this script now
and check the cookie file at: /home/jpds/.lpcookie.txt
^CAbort requested. No sync request filed.

The automatic sponsorship testing basically checks the user is a member of the "ubuntu-core-dev" or "ubuntu-dev". This is done by opening the page with urllib and checking if the page contains the string: "You are not a member of this team". If the page has the text, sponsorship is set to true.

(I hope to make this easier by using launchpadlib one day).

Revision history for this message
Jonathan Davies (jpds) wrote :

Support for overriding the LP membership checking with the -s flag has been readded to requestsync as of revision 242.

Changed in ubuntu-dev-tools:
status: New → Fix Committed
Revision history for this message
Jonathan Davies (jpds) wrote :

Fix uploaded to Jaunty in 0.50.

Changed in ubuntu-dev-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.