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

Re: GSoC idea: adding JavaScript library / framework in gitweb

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 30, 2012, 13:29 UTC
Message-ID
<201203301529.20942.jnareb@gmail.com>
In-Reply-To
<CACeyogcCGhqcQp98JFJVntP9=BvX0TkMWA5JPj7At0bxPwvmfQ@mail.gmail.com>
On Thu, 29 Mar 2012, chaitanyaa nalla wrote:
> Jakub Narebski wrote:
Show 5 quoted lines
>>  adding UI to compare arbitrary commits in the page
>>  using commitdiff view similar to MediaWiki page history view.
> 
> could you please tell me a rough estimate of how much time can it be
> completed? I am expecting to complete it with in 1 week.

Well, the goal is to add an UI to the existing gitweb ability of showing (commit)diff between two arbitrary commits.

One solution would be to make use (perhaps only as inspiration) of Martin Koegler <mkoegler@auto.tuwien.ac.at> patch from 2007:

  [PATCH 5/7] gitweb: Prototyp for selecting diffs in JavaScript
  http://thread.gmane.org/gmane.comp.version-control.git/44517/focus=44523

Another would be create in 'log' or 'shortlog' view ability to diff between arbitrary commits, similar to MediaWiki (and other wikis) page history view, e.g.:

  http://en.wikipedia.org/w/index.php?title=JQuery&action=history
Or you can take GitHub as source of inspiration.

Anyway any solution extending or creating a new log-like view will require server-side changes, therefore I think 1 week might be a bit too optimistic.

-- 
Jakub Narebski
Poland
Previous: chaitanyaa nallaNext: chaitanya nalla
Message 18 of 20 in “gsoc idea adding javascript library / framework in gitweb”
  1. chaitanyaa nallaMar 24, 2012
  2. Jakub NarebskiMar 24, 2012
  3. chaitanyaa nallaMar 24, 2012
  4. chaitanyaa nallaMar 24, 2012
  5. Jakub NarebskiMar 24, 2012
  6. chaitanyaa nallaMar 24, 2012
  7. chaitanyaa nallaMar 25, 2012
  8. Jakub NarebskiMar 25, 2012
  9. chaitanyaa nallaMar 25, 2012
  10. Jakub NarebskiMar 26, 2012
  11. chaitanyaa nallaMar 27, 2012
  12. Jakub NarebskiMar 27, 2012
  13. chaitanyaa nallaMar 27, 2012
  14. Jakub NarebskiMar 28, 2012
  15. chaitanyaa nallaMar 28, 2012
  16. Jakub NarebskiMar 29, 2012
  17. chaitanyaa nallaMar 29, 2012
  18. Jakub NarebskiMar 30, 2012
  19. chaitanya nallaApr 1, 2012
  20. Jakub NarebskiMar 30, 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.