git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Some help on gitweb project.

From
jaseem abid <jaseemabid@gmail.com>
Date
May 13, 2012, 17:41 UTC
Message-ID
<CAH-tXsAFMyrkAD1FWZKimbJt-gzmcyyXqt7gymtKozwfFt_aSA@mail.gmail.com>
Dear all,
CC : Andrew Sayers, Jakub Narębski

I have been working on gitweb for a couple of days as part of a rejected GSoC proposal. I would love to get some help on this and if somebody can, that would be thankful.

1. How is code tested after some change? I am not talking about unit
testing but about making sure that application is doing what it is
actually intended to do. Do you have to re - install git/gitweb with
every version of code you commit and make sure that it works well and
as expected? Or, is there some other way? Sorry but I am a newbie when
it comes to FOSS contribution and as well working on a project of this
magnitude.

As far as I understand, gitweb by default is looking for files from `/usr/share/gitweb/` (I work on Debian Sid if that helps). If I edit the perl or some JavaScript code, how should I test it? *Install* my version from source as mentioned in "gitweb/INSTALL" ?

2. How I should be committing ?

Personally I commit on *very* small changes, so that I can easily get back to any point and do bisects well and good, but I see the patches in the mailing list to be polished and fine tuned. Commit somehow comfortably and then polish it in another branch with rebase and squashes and then submit it for comments on mailing list?

Refer please: http://sethrobertson.github.com/GitBestPractices/#sausage
3. How will I submit a commit like "Adding jQuery library"? Mail a
whole minimized JavaScript library to the mailing list? How can
somebody crosscheck the contents of a minimized JavaScript library ?

Earlier Jakub mentioned about adding CDN support for the library, which I think is a very good feature. How should I do this? Add an extra config/build variable to select b/w local and CDN version ?

4. At what stage is code to be submitted? After the full project is
done or in a modular manner? Can I ask for some review and help from
if I push the code to github and share the link, or do I have to mail
that also? I don't want to repeat this :
https://github.com/torvalds/linux/pull/17
5. What should be my base commit/branch for starting the work ?
V/r,

Jaseem Abid http://jaseemabid.github.com

Next: jaseem abid
Message 1 of 4 in “Some help on gitweb project.”
  1. jaseem abidMay 13, 2012
  2. jaseem abidMay 13, 2012
  3. Andrew SayersMay 13, 2012
  4. Jakub NarebskiMay 15, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.