-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2011-02-18 16:40, Ikem Krueger wrote:
> It would be nice if you explain it step by step, command by command.

As I think there might be others interested in this I include the list.
I think it's ok =)

This will be very limited and does not explain ANYTHING about the
internals. If you want that lecture I can do that some other time.
I use pcmanfm as an example here, see below for the URLs to the other repos.

Get the upstream code
$ git clone git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm

Get a account at some hosting facility, gitorious is my fav as stated.
Create a new repository there and make sure you can push, for gitorious
you have to add a ssh public key to your account.

$ git clone [email protected]:pcmanfm/pcmanfm.git pcmanfm-featureX

Enter the directory and then get all the changes from upstream into you
localcopy.
$ cd pcmanfm-featureX
$ git pull ../pcmanfm/ master
$ git push
$ cd ..


Now do the real work.

$ cd pcmanfm-featureX
$ git checkout -b featureX
... change files
$ git commit -a
... interate the file changes and commits* until you are done. advanced
commit handling is not part of this tutorial, I rather see many small
commits than one large big ass untrackable change.
$ git checkout master
$ cd ../pcmanfm
$ git pull
$ cd -
$ git pull ../pcmanfm master
$ git merge featureX
$ git tag featureX
$ git push

* if you add a new file in the hacking process you can not use "git
commit -a", you first have to do "git add path/to/file" to get it
tracked by git.


Add a valid note at the ticket something like.
"get the changes from my git repo at
http://git.gitorious.org/pcmanfm/pcmanfm.git, the tag is featureX and
the commit ID is kjashggasdg"

get the commit hash by doing
$ git show | head -n1

I took this out of my head but I do think it is correct.

URLs for upstream components:
git://lxde.git.sourceforge.net/gitroot/lxde/deadbeef
git://lxde.git.sourceforge.net/gitroot/lxde/gpicview/
git://lxde.git.sourceforge.net/gitroot/lxde/gtknetcat
git://lxde.git.sourceforge.net/gitroot/lxde/lxappearance
git://lxde.git.sourceforge.net/gitroot/lxde/lxappearance-obconf
git://lxde.git.sourceforge.net/gitroot/lxde/lxdm
git://lxde.git.sourceforge.net/gitroot/lxde/lxinput
git://lxde.git.sourceforge.net/gitroot/lxde/lxlauncher
git://lxde.git.sourceforge.net/gitroot/lxde/lxmenu-data
git://lxde.git.sourceforge.net/gitroot/lxde/lxmusic
git://lxde.git.sourceforge.net/gitroot/lxde/lxpanel
git://lxde.git.sourceforge.net/gitroot/lxde/lxpolkit
git://lxde.git.sourceforge.net/gitroot/lxde/lxrandr
git://lxde.git.sourceforge.net/gitroot/lxde/lxsession-edit
git://lxde.git.sourceforge.net/gitroot/lxde/lxsession
git://lxde.git.sourceforge.net/gitroot/lxde/lxshortcut
git://lxde.git.sourceforge.net/gitroot/lxde/lxtask
git://lxde.git.sourceforge.net/gitroot/lxde/lxterminal
git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/libfm
git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm

- -- 
brother
http://sis.bthstudent.se
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNXp1hAAoJEJbdSEaj0jV7bmQH/i9VaLqNamRfXvTe3u2BQcH5
rJO7f4qnaX4AwRAh9Mc8q+XwbL7RpmObM4Po9n9huByFNFBAKblsjKmiE6ksJM3H
b26AX4HaN0NSQ7VhXTHbIOFr+4tbftWdMVYZVTETnBZWR1LF5H3JQnkNB2VgotoO
au5Ha85GZ4pkyKMO8dCWxAlH0LO5teBCx89yJ80FlMv06IgREzlmp3s2SdbPu90w
CfbarmlGm/LKplGLLkKtAbiOx1N0U4V9+L9lO4lENpOuTYO9tVsaJlkVcNZyWbZC
RHYF0+5+csBK797FmAkKrIsq5mPZjr7PZRgdFatOpJcaRsuSKKxedJyQrwr6nRg=
=qxUN
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to