[Elementary-dev-community] Dvelopment of existing elementary projects
Hello everyone! I have a question about the overall work flow when working on existing projects. How do I 'fork' the code base to fix a single bug or implement a new feature. On Github you can easily fork a Github repo using the web interface, clone it to your local machine, commit changes, push it back onto Github and request a merge of your own repo back into the original repo. Thanks in advance! Kind regards Florian -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Dvelopment of existing elementary projects
Hi, you usually do this to get the trunk code into the current directory: $ bzr branch lp:gala Make your changes and test them, then a simple $ bzr commit -m "I fixed a bug or something like this" to commit everything locally $ bzr push lp:~teemperor/gala/bug-fix-that-was-really-important and this to push it to a branch inside the gala project. Note that the branch gets created automatically. Also, the ~teemperor part of the URL refers to your username. So if your lp username is "django", you would push to $ bzr push lp:~teemperor/gala/bug-fix-that-was-really-important The "gala" in the url is the project name (lp:gala -> /gala/). The last bit (bug-fix-that-was-really-important) is just a unique name that you give to your new branch. Now you can find that branch on the code subsection of the launchpad side (for example here https://code.launchpad.net/gala ). Then click on your branch and click "Propose to merge". This is a helpful tutorial for handling bzr: http://doc.bazaar.canonical.com/beta/en/mini-tutorial/index.html We have another guide that describes this workflow in more detail, but I can't find it at the moment. Maybe someone else knows where it is hidden nowadays? - Raphael Isemann 2015-09-06 15:13 GMT+02:00 Florian R. A. Angermeier: > Hello everyone! > > I have a question about the overall work flow when working on existing > projects. How do I 'fork' the code base to fix a single bug or implement a > new feature. On Github you can easily fork a Github repo using the web > interface, clone it to your local machine, commit changes, push it back onto > Github and request a merge of your own repo back into the original repo. > > Thanks in advance! > > Kind regards > Florian > > -- > Mailing list: https://launchpad.net/~elementary-dev-community > Post to : elementary-dev-community@lists.launchpad.net > Unsubscribe : https://launchpad.net/~elementary-dev-community > More help : https://help.launchpad.net/ListHelp > -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp
Re: [Elementary-dev-community] Dvelopment of existing elementary projects
Small correction, the second "bzr push lp:~teemperor/gala/bug-fix-that-was-really-important" was supposed to be "bzr push lp:~django/gala/bug-fix-that-was-really-important" 2015-09-06 15:29 GMT+02:00 Raphael Isemann: > Hi, > > you usually do this to get the trunk code into the current directory: > > $ bzr branch lp:gala > > Make your changes and test them, then a simple > > $ bzr commit -m "I fixed a bug or something like this" > > to commit everything locally > > $ bzr push lp:~teemperor/gala/bug-fix-that-was-really-important > > and this to push it to a branch inside the gala project. > > Note that the branch gets created automatically. Also, the ~teemperor > part of the URL refers to your username. So if your lp username is > "django", you would push to > > $ bzr push lp:~teemperor/gala/bug-fix-that-was-really-important > > The "gala" in the url is the project name (lp:gala -> /gala/). The > last bit (bug-fix-that-was-really-important) is just a unique name > that you give to your new branch. > > Now you can find that branch on the code subsection of the launchpad > side (for example here https://code.launchpad.net/gala ). > Then click on your branch and click "Propose to merge". > > This is a helpful tutorial for handling bzr: > > http://doc.bazaar.canonical.com/beta/en/mini-tutorial/index.html > > We have another guide that describes this workflow in more detail, but > I can't find it at the moment. Maybe someone else knows where it is > hidden nowadays? > > > - Raphael Isemann > > 2015-09-06 15:13 GMT+02:00 Florian R. A. Angermeier > : >> Hello everyone! >> >> I have a question about the overall work flow when working on existing >> projects. How do I 'fork' the code base to fix a single bug or implement a >> new feature. On Github you can easily fork a Github repo using the web >> interface, clone it to your local machine, commit changes, push it back onto >> Github and request a merge of your own repo back into the original repo. >> >> Thanks in advance! >> >> Kind regards >> Florian >> >> -- >> Mailing list: https://launchpad.net/~elementary-dev-community >> Post to : elementary-dev-community@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~elementary-dev-community >> More help : https://help.launchpad.net/ListHelp >> -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp