← Back to team overview

launchpad-dev team mailing list archive

Re: [Ubuntu-phone] Archive management plans for phone RTM


Le 11/06/2014 05:21, Colin Watson a écrit :

  * replacing the "/ubuntu/" part of ppa.launchpad.net URLs
  * parameterising the various places that the "ubuntu" distribution is
    hardcoded in cupstream2distro/launchpadmanager.py

1. The only place this needs to be changed is at:
def get_ubuntu():
    '''Get the ubuntu distro'''
    lp = get_launchpad()
    return lp.distributions['ubuntu']

All the get_series() and other functions are first calling get_ubuntu().

2. The other place that will need change is:
citrain/merge-clean: ppa_base_path = "http://ppa.launchpad.net/{}/{}/ubuntu/dists/{}/main/".format(ppa.owner.name, ppa.name, series.name)

Where we check that the ppa is really empty.

3. Apart from changing the set of ppas to be based on this new distribution and the destination copy (can we retarget the existing ones, maybe?), that will be all I think.


Follow ups