forked from juju/juju
-
Notifications
You must be signed in to change notification settings - Fork 0
Update Launchpad Dependency
Jesse Meek edited this page Jun 23, 2015
·
3 revisions
Scenario: You need to update a dependency hosted on Launchpad. This example uses gomaasapi:
cd $GOPATH/src/launchpad.net/gomaasapi
bzr branch . /path/to/your/branches/nameofbranch
cd /path/to/your/branches/nameofbranch
If you made your changes to trunk before branching, you can pull those changes across like so:
bzr merge --uncommitted /trunk/branch/directory
. Once you are ready to propose:
bzr commit -m"commit message"
bzr push lp:~<lp username>/gomaasapi/nameofbranch
- View your branch at
https://code.launchpad.net/~<lp username>/gomaasapi/nameofbranch
- Click the button on this page to propose the branch for merging into trunk.
- Wait for review approval
cd ~/go/src/launchpad.net/gomaasapi
bzr merge ~/branches/nameofbranch
bzr push lp:gomaasapi
- Update branch status to "merged" on lp website
- Get the revision number:
bzr revno
- Then get the revision id:
http://bazaar.launchpad.net/~juju/gomaasapi/trunk/revision/<revision number>
Be sure to run godeps -u dependencies.tsv and dependenciesTest suite after you've updated the file.
Testing
Releases
Documentation
Development
- READ BEFORE CODING
- Blocking bugs process
- Bug fixes and patching
- Contributing
- Code Review Checklists
- Creating New Repos
-
MongoDB and Consistency
- [mgo/txn Example] (https://github.com/juju/juju/wiki/mgo-txn-example)
- Scripts
- Update Launchpad Dependency
- Writing workers
- Reviewboard Tips
Debugging and QA
- Debugging Juju
- [Faster LXD] (https://github.com/juju/juju/wiki/Faster-LXD)