Comment 5 for bug 783503

Revision history for this message
Martin Erik Werner (arand) wrote :

That functionality is indeed what I was suggesting :)
Adding another option to lp-promote-ppa might be clogging things up a bit too much, I was just referring to it since I was able to hack it in order to perform this functionality with very minor changes:

For this use case this where I would like to sync all packages up to the latest version:

arand@mell:~/utv/hydrazine$ ./lp-promote-ppa arand/redeclipse arand/redeclipse
Querying destination PPA...
1729411 redeclipse maverick 1.01+svn2630-ppa1 Published FULLYBUILT
1702711 redeclipse oneiric 1.01+svn2613-ppa1 Published FULLYBUILT
1670187 redeclipse lucid 1.01+svn2613-ppa1 Published FULLYBUILT
1670186 redeclipse natty 1.01+svn2613-ppa1 Published FULLYBUILT

Querying source PPA...
1729411 redeclipse maverick 1.01+svn2630-ppa1 Published FULLYBUILT
1702711 redeclipse oneiric 1.01+svn2613-ppa1 Published FULLYBUILT
1670187 redeclipse lucid 1.01+svn2613-ppa1 Published FULLYBUILT
1670186 redeclipse natty 1.01+svn2613-ppa1 Published FULLYBUILT

It can be done via:
sed '89s/spph.source_package_version/"1.01+svn2630-ppa1"/' lp-promote-ppa | python - arand/redclipse arand/redeclipse