Hi Philippe,
I know Raymond Toy set up the Oct project with git and trac. maybe you can have a quick look at that project?
Raymond, could you tell us what you did?
Bye, erik
Sent from my Nokia phone -----Original Message----- From: Philippe Brochard Sent: 05/06/2011, 23:36 To: Subject: [clo-devel] Using git for a common-lisp.net project.
Hi,
I'd like to know how I can setup a git repository for a project on common-lisp.net (namely: CLFSWM)? For now I'm using svn on common-lisp.net and git on repo.or.cz. But since I use mostly git for my other projects and most of clfswm developers use the repo.or.cz git repository to participate, I'd like to use only git coupled with the trac on common-lisp.net.
I maintain both git and svn repositories with some homemade scripts, but its not an acceptable solution (even if that works for some years now).
So, is there a way for coupling git and trac on common-lisp.net and can I use it there?
Thanks for your job and for any reply.
Philippe Brochard (hocwp) - CLFSWM developer.
_______________________________________________ clo-devel mailing list clo-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
"ehuels" == ehuels ehuels@gmail.com writes:
ehuels> Hi Philippe, ehuels> I know Raymond Toy set up the Oct project with git and trac. maybe you can have a quick look at that project?
ehuels> Raymond, could you tell us what you did?
Dang, I wish I could, but I didn't take very good notes at the time and things behaved very strangely back then. However, with the updated cl.net site, I think things will be easier. It might be enough to go to the trac admin page and enable the git plugin. I think that's available now. (It wasn't on the old site, so it had to be uploaded, but that had some issues.)
If this doesn't work, ask again, and I'll try to help out more.
Ray
Raymond Toy writes:
"ehuels" == ehuels ehuels@gmail.com writes:
ehuels> Hi Philippe, ehuels> I know Raymond Toy set up the Oct project with git and trac. maybe you can have a quick look at that project? ehuels> Raymond, could you tell us what you did?
Dang, I wish I could, but I didn't take very good notes at the time and things behaved very strangely back then. However, with the updated cl.net site, I think things will be easier. It might be enough to go to the trac admin page and enable the git plugin. I think that's available now. (It wasn't on the old site, so it had to be uploaded, but that had some issues.)
If this doesn't work, ask again, and I'll try to help out more.
Ok, thanks a lot Erik and Ray for those hints. I'll take a look at the Oct project and see what I can do.
Best regards,
Philippe
ehuels@gmail.com writes:
Hi Philippe,
I know Raymond Toy set up the Oct project with git and trac. maybe you can have a quick look at that project?
Raymond, could you tell us what you did?
Bye, erik
Ok, I have a public git repository accessible with http. Now, I think /var/git/projects/clfswm/clfswm.git must point to /project/clfswm/public_html/git/clfswm.git Can someone add a link in /var/git/? (If this is the right thing to do indeed). Is this enough to show up in the gitweb interface?
Many thanks,
Philippe
Sent from my Nokia phone -----Original Message----- From: Philippe Brochard Sent: 05/06/2011, 23:36 To: Subject: [clo-devel] Using git for a common-lisp.net project.
Hi,
I'd like to know how I can setup a git repository for a project on common-lisp.net (namely: CLFSWM)? For now I'm using svn on common-lisp.net and git on repo.or.cz. But since I use mostly git for my other projects and most of clfswm developers use the repo.or.cz git repository to participate, I'd like to use only git coupled with the trac on common-lisp.net.
I maintain both git and svn repositories with some homemade scripts, but its not an acceptable solution (even if that works for some years now).
So, is there a way for coupling git and trac on common-lisp.net and can I use it there?
Thanks for your job and for any reply.
Philippe Brochard (hocwp) - CLFSWM developer.
clo-devel mailing list clo-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
clo-devel mailing list clo-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
Philippe Brochard writes:
ehuels@gmail.com writes:
Hi Philippe,
I know Raymond Toy set up the Oct project with git and trac. maybe you can have a quick look at that project?
Raymond, could you tell us what you did?
Bye, erik
Ok, I have a public git repository accessible with http. Now, I think /var/git/projects/clfswm/clfswm.git must point to /project/clfswm/public_html/git/clfswm.git Can someone add a link in /var/git/? (If this is the right thing to do indeed). Is this enough to show up in the gitweb interface?
Thanks a lot. All works fine for the git part. I'll take a look at trac sooner. If you want, for the record, I can update the hosting documentation page on common-lisp.net (but it'll be better once I'll have the trac running with git).
Thanks again,
Philippe
"Philippe" == Philippe Brochard pbrochard@common-lisp.net writes:
Philippe> Thanks a lot. All works fine for the git part. Philippe> I'll take a look at trac sooner. Philippe> If you want, for the record, I can update the hosting documentation page Philippe> on common-lisp.net (but it'll be better once I'll have the trac running Philippe> with git).
Trac also comes with a repo viewer, once you have git integrated with trac. You may also be interested in some post receive hooks for git and trac. If you look in /project/oct/public_html/git, you will find a few scripts to run the post-receive hook to send out emails when commits are made to the git repo. (The scripts come from the trac-git web site.)
I've also tried to integrate trac's ticket system with the post-receive hook so that commit messages can automatically update trac tickets, but that isn't working yet. My python skills and trac skills have been too weak to be able to figure it out yet.
Ray
Raymond Toy writes:
"Philippe" == Philippe Brochard pbrochard@common-lisp.net writes:
Philippe> Thanks a lot. All works fine for the git part. Philippe> I'll take a look at trac sooner. Philippe> If you want, for the record, I can update the hosting documentation page Philippe> on common-lisp.net (but it'll be better once I'll have the trac running Philippe> with git).
Trac also comes with a repo viewer, once you have git integrated with trac. You may also be interested in some post receive hooks for git and trac. If you look in /project/oct/public_html/git, you will find a few scripts to run the post-receive hook to send out emails when commits are made to the git repo. (The scripts come from the trac-git web site.)
I've also tried to integrate trac's ticket system with the post-receive hook so that commit messages can automatically update trac tickets, but that isn't working yet. My python skills and trac skills have been too weak to be able to figure it out yet.
Thanks a lot Ray! I think all is good now (except maybe for the trac's ticket system but I think it's not to important for me).
Best regards,
Philippe