i.e. it would take as input a single PPA id, a list of series, and an optional sourcepackagename filter.
It would then list the contents of the PPA, and for each sourcepackagename found, identify the highest version number in any series in that PPA, and copy it to each of the series named in the command line arguments.
Such a tool could share a lot of code with lp-promote-ppa, but because it addresses a significantly different workflow and requires significantly different command line arguments, I think it should be a separately named tool.
After talking this over with poolie, I think the notional requested tool would look a bit like this:
lp-ppa- cross-series- copy [--sourcepackag ename example-package] maxb/ppa karmic, lucid,maverick, natty,oneiric
i.e. it would take as input a single PPA id, a list of series, and an optional sourcepackagename filter.
It would then list the contents of the PPA, and for each sourcepackagename found, identify the highest version number in any series in that PPA, and copy it to each of the series named in the command line arguments.
Such a tool could share a lot of code with lp-promote-ppa, but because it addresses a significantly different workflow and requires significantly different command line arguments, I think it should be a separately named tool.