Place Ghantoos

requestsync: package sync requests from Debian to Ubuntu

Tagged:

One of the Debian packages I maintain was just uploaded to Unstable (going into Squeeze). As this upload closed a Launchpad bug, and I appear as the maintainer of gip in Ubuntu too [1], I had alert the Ubuntu folks in order for them to synchronize the latest package.

The procedure is well described in the Ubuntu wiki [2]. But I thought I would paste a summary and the output of the different commands.

You first need to install the ubuntu-dev-tools package:

$ sudo apt-get install ubuntu-dev-tools 

Then you need to initialize you local command in order to grant them the appropriate credentials to use you LP account:

$ manage-credentials create -c ubuntu-dev-tools -l 2   
The authorization page:
   (https://edge.launchpad.net/+authorize-token?oauth_token=XXXXXXXXXXXXXXXXXXXXXXXXXX)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press  to finish the authentication process.

Credentials successfully written to /home/ghantoos/.cache/lp_credentials/ubuntu-dev-tools-write_public.txt.

Let’s say that you need to ask for the synchronization of the “gip” package from Debian Unstable to Ubuntu Maverick. Just issue the following:
* by default, requestsync considers the Debian Unstable distribution, use -d to change this.
* –lp: use the launchpadlib Python module
* -s: if you do not have the necessary credentials to upload to Ubuntu, you’ll need to use this flag to find a sponsor
For other info, man requestsync.

$ requestsync --lp -s gip maverick
Currently the report looks as follows:
Summary (one line):
Sync gip 1.7.0-1-2 (universe) from Debian unstable (main)

Description:
Please sync gip 1.7.0-1-2 (universe) from Debian unstable (main)

Changelog entries since current maverick version 1.7.0-1-1:

gip (1.7.0-1-2) unstable; urgency=low

  * debian/control:
    - Bumped Standards-Version to 3.9.1.
    - Added Vcs-Svn and Vcs-Browser as the package has been added on 
      collab-maint/ext-main.
  * debian/patches:
    - Added 40-init_lock_events.diff: to initialize the lock_events variable
      to FALSE as it was not initialized. (Closes: #576416)
      Thank you Frank Dean  for providing the patch.
    - 20-build-sh.diff: updated the patch to correct linking paths (LP: #565187)
  * Converted the package to "3.0 (quilt)" source format.

 -- Ignace Mouzannar   Wed, 01 Sep 2010 00:58:07 +0200


Do you want to edit the report [y/N]? N  <---- confirm
The final report is:
Summary: Sync gip 1.7.0-1-2 (universe) from Debian unstable (main)
Description:
Please sync gip 1.7.0-1-2 (universe) from Debian unstable (main)

Changelog entries since current maverick version 1.7.0-1-1:

gip (1.7.0-1-2) unstable; urgency=low
(...)

Press [Enter] to continue or [Ctrl-C] to abort. 
Sync request filed as bug #628932: https://edge.launchpad.net/bugs/628932

That's it! requestsync(1) is just a lovely maintainer and sysadmin tool.

Cheers,
Ignace M

[1] https://launchpad.net/ubuntu/+source/gip
[2] https://wiki.ubuntu.com/SyncRequestProcess

Tagged:

Leave a Reply

FireStats

  • Pages displayed : 496630
  • Unique visitors : 231429
  • Pages displayed in last 24 hours : 270
  • Unique visitors in last 24 hours : 143