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

Re: Some help on gitweb project.

From
jaseem abid <jaseemabid@gmail.com>
Date
May 13, 2012, 18:11 UTC
Message-ID
<CAH-tXsB06e9BfzxjFhbwMSx3Xb9TAy=qekSstqWcqkWt_PGWbg@mail.gmail.com>
In-Reply-To
<CAH-tXsAFMyrkAD1FWZKimbJt-gzmcyyXqt7gymtKozwfFt_aSA@mail.gmail.com>
On Sun, May 13, 2012 at 11:11 PM, jaseem abid <jaseemabid@gmail.com> wrote:
Show 21 quoted lines
>
> 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" ?

Adding a bit more to the last mail. In the specific case of gitweb, I can sym link files from `/usr/share/giweb` or any installation folder to the working directory for testing. Then all I have to do is to rebuild the files and forget about moving the files to right place. Is it ok to develop this way? I am looking for some good practices here on this.

-- Jaseem Abid http://jaseemabid.github.com

Previous: jaseem abidNext: Andrew Sayers
Message 2 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.