Merge lp:~xnox/bzr-builddeb/updates into lp:~james-w/bzr-builddeb/import-scripts

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: not available
Proposed branch: lp:~xnox/bzr-builddeb/updates
Merge into: lp:~james-w/bzr-builddeb/import-scripts
Diff against target: 26 lines (+3/-3)
1 file modified
import_package.py (+3/-3)
To merge this branch: bzr merge lp:~xnox/bzr-builddeb/updates
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+16290@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

https://help.launchpad.net/Code/UploadingABranch#Pushing your Bazaar branch to Launchpad

How to setup ssh config ;-)))))

Revision history for this message
James Westby (james-w) wrote :

Good point :-)

Merged, thanks,

James

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'import_package.py'
--- import_package.py 2009-12-10 14:10:07 +0000
+++ import_package.py 2009-12-17 15:23:12 +0000
@@ -240,7 +240,7 @@
240 distro, suite = translate_lp_suite(distro, suite)240 distro, suite = translate_lp_suite(distro, suite)
241 now = datetime.datetime.utcnow()241 now = datetime.datetime.utcnow()
242 now_str = now.strftime("%Y%m%d%H%M")242 now_str = now.strftime("%Y%m%d%H%M")
243 return ("bzr+ssh://james-w@bazaar.launchpad.net/~ubuntu-branches/%s/"243 return ("bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/%s/"
244 "%s/%s/%s" % (distro, release, package, suite + "-%s" % now_str))244 "%s/%s/%s" % (distro, release, package, suite + "-%s" % now_str))
245245
246246
@@ -252,11 +252,11 @@
252 lp_branch = icommon.lp_call(lp_sp.getBranch, pocket=pocket[0].upper() + pocket[1:])252 lp_branch = icommon.lp_call(lp_sp.getBranch, pocket=pocket[0].upper() + pocket[1:])
253 if lp_branch is None:253 if lp_branch is None:
254 distro, suite = translate_lp_suite(distro, make_suite(release, pocket))254 distro, suite = translate_lp_suite(distro, make_suite(release, pocket))
255 return ("bzr+ssh://james-w@bazaar.launchpad.net/~ubuntu-branches/%s/"255 return ("bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/%s/"
256 "%s/%s/%s" % (distro, release, package, suite))256 "%s/%s/%s" % (distro, release, package, suite))
257 else:257 else:
258 lp_branch_path = urlparse.urlparse(lp_branch.self_link).path[len("/beta"):]258 lp_branch_path = urlparse.urlparse(lp_branch.self_link).path[len("/beta"):]
259 return "bzr+ssh://james-w@bazaar.launchpad.net" + lp_branch_path259 return "bzr+ssh://bazaar.launchpad.net" + lp_branch_path
260260
261261
262def create_branch(path):262def create_branch(path):

Subscribers

People subscribed via source and target branches