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

Re: [PATCHv2 GSoC] gitweb: Move static files into seperate subdirectory

From
Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Date
May 10, 2010, 13:01 UTC
Message-ID
<4BE803B8.4090607@gmail.com>
In-Reply-To
<201005101455.50633.jnareb@gmail.com>
On Monday 10 May 2010 06:25 PM, Jakub Narebski wrote:
Show 66 quoted lines
> Only minor comments about submission itself.  Patch I think is now
> all right with added required changes to main Makefile.
>
>
> On Mon, 10 May 2010, Pavan Kumar Sunkara wrote:
>
>    
>> Gitweb: Move static files into seperate subdirectory
>>      
> This should be the subject of an email, like now is (only without
> "Re:"), and this line should be missing from email body.
>
> Or you need to use
>
>    Subject: gitweb: Move static files into seperate subdirectory
>
> It is customary to start subsystem prefix with lowercase.
>
>    
>> Create a new subdirectory called 'static' in gitweb/, and move
>> all static files required by gitweb.cgi when running, which means
>> styles, images and Javascript code. This should make gitweb more
>> readable and easier to maintain.
>>
>> Update t/gitweb-lib.sh to reflect this change.  The default is
>> now to install static files also in 'static' subdirectory in target
>> directory: update Makefile, gitweb's INSTALL, README and Makefile
>>
>> Signed-off-by: Pavan Kumar Sunkara<pavan.sss1991@gmail.com>
>> ---
>>      
> The comments about patch itself should be put *here*, between "---\n"
> and diffstat.
>
>    
>> This is the new patch which includes the changes suggested by Jakub.
>>
>> Regarding wordwrap, all the mailing ports in my university are closed
>> which leaves me only the gmail web cient which don't have any option
>> to disable wordwrap. I will try to find a workaround for this. Please
>> bear with my wordwrap until then.
>>
>> Thanks
>> -Pavan
>>      
>
> Like this.
>
>    
>>   Makefile                            |   20 ++++++++++----------
>>   gitweb/INSTALL                      |   20 ++++++++++----------
>>   gitweb/Makefile                     |   20 ++++++++++----------
>>   gitweb/README                       |   13 +++++++------
>>   gitweb/{ =>  static}/git-favicon.png |  Bin 115 ->  115 bytes
>>   gitweb/{ =>  static}/git-logo.png    |  Bin 207 ->  207 bytes
>>   gitweb/{ =>  static}/gitweb.css      |    0
>>   gitweb/{ =>  static}/gitweb.js       |    0
>>   t/gitweb-lib.sh                     |    6 +++---
>>   9 files changed, 40 insertions(+), 39 deletions(-)
>>   rename gitweb/{ =>  static}/git-favicon.png (100%)
>>   rename gitweb/{ =>  static}/git-logo.png (100%)
>>   rename gitweb/{ =>  static}/gitweb.css (100%)
>>   rename gitweb/{ =>  static}/gitweb.js (100%)
>>      
> [...]
>    
Ok. I will follow this format from next time onwards.
And thanks to ramkumar I found a solution to use email clients on ports.
I would like to know when this patch will be merged.
Thanks
- Pavan
Previous: Jakub NarebskiNext: Jakub Narebski
Message 8 of 17 in “Move static files into subdir”
  1. Move static files into subdirPavan Kumar Sunkara, May 9, 2010
  2. Christian CouderMay 9, 2010
  3. Pavan Kumar SunkaraMay 9, 2010
  4. Jakub NarebskiMay 9, 2010
  5. Pavan Kumar SunkaraMay 10, 2010
  6. Ramkumar RamachandraMay 10, 2010
  7. Jakub NarebskiMay 10, 2010
  8. Pavan Kumar SunkaraMay 10, 2010
  9. Jakub NarebskiMay 11, 2010
  10. Pavan Kumar SunkaraMay 12, 2010
  11. Pavan Kumar SunkaraMay 12, 2010
  12. Christian CouderMay 13, 2010
  13. Pavan Kumar SunkaraMay 13, 2010
  14. Pavan Kumar SunkaraMay 14, 2010
  15. Jakub NarebskiMay 14, 2010
  16. Pavan Kumar SunkaraMay 15, 2010
  17. Jakub NarebskiMay 18, 2010

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.