Thursday 10 May 2012

How to work on Launchpad


How to work on Launchpad :::


Steps :

1. Create your new account in Launchpad

2. To get code
https://code.launchpad.net/~openerp-dev/openerp-tools/trunk

3. who is login?
tiny@tiny:~$ bzr whoami
Pinakin Nayi (OpenERP) <pna@tinyerp.com>

4. Get code (get the all changes till now)
tiny@tiny:~$ bzr branch lp:openerp-tools
Branched 181 revision(s).
5. to setup your development environment and download the sources, type
tiny@tiny:~/Desktop/openerp-tools$ sh setup.sh
- for OpenERP v6.0: make init-v60
- for OpenERP v6.1: make init-v61
- for OpenERP trunk: make init-trunk
- for OpenERP latest stable and trunk: make init

6. Download all branch code
tiny@tiny:~/Desktop/openerp-tools$ make init
init init-repos init-stable init-trunk init-v60 init-v61
tiny@tiny:~/Desktop/openerp-tools$ make init
[ -d addons/6.1 ] || bzr branch lp:~openerp/openobject-addons/6.1 addons/6.1
How to get bug branch ????

1. Suppose you want to push your addons:
cd addons
bzr push lp:~openerp-community/openobject-addons/YOURLOGIN_YOURBRANCHNAME
bzr bind lp:~openerp-community/openobject-addons/YOURLOGIN_YOURBRANCHNAME

2. bzr pull # Get modifications on your branch from others
EDIT STUFF
bzr ci # commit your changes on your public branch

3. If your changes fix a public bug on launchpad, you can use this to mark the bug as fixed by your
branch:
bzr ci --fixes=lp:453123 # Where 453123 is a bug ID

4. than run the server
      $ cd /openerp-tools/server/trunk
      $ ./openerp-server --addons=../../addons/trunk,../../web/trunk/addons/
      how to run GTK client ????
            tiny@tiny:~/Desktop/openerp-tools/client/trunk/bin$ ./openerp-client.py

No comments:

Post a Comment