<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-western">Le 11/06/2014 05:21, Colin
Watson a écrit :
<br>
<blockquote type="cite" style="color: #000000;">
<br>
* replacing the "<i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>ubuntu<span class="moz-txt-tag">/</span></i>"
part of ppa.launchpad.net URLs
<br>
* parameterising the various places that the "ubuntu"
distribution is
<br>
hardcoded in cupstream2distro/launchpadmanager.py
<br>
</blockquote>
<br>
1. The only place this needs to be changed is at:
<br>
def get_ubuntu():
<br>
'''Get the ubuntu distro'''
<br>
lp = get_launchpad()
<br>
return lp.distributions['ubuntu']
<br>
<br>
All the get_series() and other functions are first calling
get_ubuntu().
<br>
<br>
2. The other place that will need change is:
<br>
citrain/merge-clean: ppa_base_path = <a
class="moz-txt-link-rfc2396E"
href="http://ppa.launchpad.net/%7B%7D/%7B%7D/ubuntu/dists/%7B%7D/main/">"http://ppa.launchpad.net/{}/{}/ubuntu/dists/{}/main/"</a>.format(ppa.owner.name,
ppa.name, series.name)
<br>
<br>
Where we check that the ppa is really empty.
<br>
<br>
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.
<br>
<br>
Cheers,
<br>
Didier<br>
</div>
</body>
</html>