luciole-dev team mailing list archive
-
luciole-dev team
-
Mailing list archive
-
Message #00001
Re : First steps
Hi,
First register your SSH key :
Just register your id on launchpad :
https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair?action=show&redirect=CreatingAnSSHKeyPair
Tell bazaar who you are :
http://doc.bazaar.canonical.com/bzr.2.3/en/user-guide/configuring_bazaar.html
% bzr whoami "Your Name<email@xxxxxxxxxxx>"
Then
bzr launchpad-login confusosk8
Then init a local repo mine is on $HOME/dev/ (not mandatory but useful)
bzr init-repo luciole-repo
cd luciole-repo
Then you can branch
bzr branch lp:luciole
for luciole I choose a bug based branch solution
1---
First you create a bug, then create a branch withe the bug ID.
example : Create a bug "Luciole does not detect webcam on Natty" in
luciole bug page : https://bugs.launchpad.net/luciole/+filebug
Bug ID is XXXXXX
2 ---
for fix this bug create a branch here :
https://code.launchpad.net/luciole/+addbranch .
In form :
For name give the bug id, ex: c
Branch Type is Hosted, Status is DEvelopmebt
3 --
get localy the main branch
in $HOME/dev/luciole-repo
cd $HOME/dev/luciole-repo
bzr branch lp:luciole bug_XXXXXX
cd bug_XXXXXX
bzr push --use-existing lp:~....../bug_XXXXXX
The lp:~....../bug_727153 addres is given on launchpad branch page.
This last command, before any modification, is useful to update the branch
launchpad page
4 ---
Now you can start modifying code in this branch
Do a
bzr commit -m ' Bug #XXXXXX : message ' to commit modifs
to push on branch :
bzr push lp:~....../bug_XXXXXX
5 --
Once you have finished all modification you request merge on luciole
main branch (lp:luciole). The merge request is on launchpad branch page
If you need more clarifications or details : tell me.
Great docs on bazaar are availble here :
http://doc.bazaar.canonical.com/bzr.2.3/en/
Typically :
http://doc.bazaar.canonical.com/bzr.2.3/en/mini-tutorial/index.html
, http://doc.bazaar.canonical.com/bzr.2.3/en/tutorials/tutorial.html
and
http://doc.bazaar.canonical.com/bzr.2.3/en/tutorials/using_bazaar_with_launchpad.html
I'm new to Luciole development and I'm not used to baazar control system. So
what I didi was:
bzr branch lp:luciole
to import the code.
After having midified the code (I also haven't registered my SSH keys, but I
will) what have to do?
I saw it in the docs of launchpad:
bzr launchpad-login userid
bzr push lp:~userid/project-name/branch-name
In my case, would be:
bzr launchpad-login confusosk8
bzr push lp:~confusosk8/luciole/0.9