git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUNCE] cgit 0.8
@ 2008-10-05 20:10 Lars Hjemli
  2008-10-05 20:49 ` Asheesh Laroia
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Hjemli @ 2008-10-05 20:10 UTC (permalink / raw)
  To: Git Mailing List

cgit-0.8, another webinterface for git, is now available.

clone:   git://hjemli.net/pub/git/cgit
browse:  http://hjemli.net/git/cgit

Some of the new features since 0.7.2:
* atom feeds for branch and/or path (http://hjemli.net/git/cgit/atom)
* builtin clone/fetch (git clone http://hjemli.net/git/cgit)
* commit messages with 'encoding' attribute gets converted to utf-8
* commit view includes full diff (http://hjemli.net/git/cgit/commit/)
* limited number of entries in cache (no need for manual cleanup)
* new plain blob view (http://hjemli.net/git/cgit/plain/cgitrc.5.txt)
* new plain patch view (http://hjemli.net/git/cgit/patch/)
* searchable, paginated project list
* support for PATH_INFO (no need for url rewriting)


Big thanks to everyone who submitted patches and feedback!

---
Sortlog since v0.7.2

Eric Wong (1):
      use Host: header to generate cgit_hosturl

Harley Laue (3):
      Print an error if filename is not found in html_include.
      Added root-desc to default configuration.
      Add LDFLAGS to makefile.

Hiroki Hattori (1):
      Fix segfault

Jonathan Bastien-Filiatrault (4):
      Add commit->msg_encoding, allocate msg dynamicly.
      Set msg_encoding according to the header.
      Add iconv_msg function.
      Convert subject and message with iconv_msg.

Lars Hjemli (142):
      Use utf8::reencode_string from git
      Show lines changed as -n/+m in shortlogs
      Makefile: link with libiconv if NEEDS_LIBICONV is defined
      Minor css tweaks
      Create initial testsuite
      Fix html error detected by test-suite
      Set commit date on snapshot contents
      Generate valid html for "downloads" menu header
      Add support for "robots" meta-tag
      Gimp my logo
      Use tables for page layout
      Add cell-spacing in html
      Add support for automatic and custom clone urls
      Add plain patch view
      Handle missing default branch and error out on invalid branch names
      Check for NULL-subject in patch view
      Use GIT-1.5.4.rc4
      Use GIT-1.5.4.rc5
      Use GIT-1.5.4
      Use GIT-1.5.4.1
      Introduce struct cgit_context
      Add all config variables into struct cgit_context
      Move cgit_repo into cgit_context
      Improve initialization of git directory
      Add regression-test for description-less repos
      Brown paper bag: don't use `grep -v`
      Make output from `make test` more readable
      t0010-validate.sh: return on cgit errors
      tests/setup.sh: cleanup test script output and logging
      Use GIT-1.5.4.4
      Fix segfault in patch view for root commit
      Introduce html.h
      Use GIT-1.5.5.rc1
      Add struct cgit_page to cgit_context
      Remove obsolete cacheitem parameter to ui-functions
      Add command dispatcher
      Refactor snapshot support
      Add separate header-files for each page/view
      Add ui-shared.h
      Move non-generic functions from shared.c to cgit.c
      Initial Makefile cleanup
      Makefile: autobuild dependency rules
      Move cgit_version from shared.c to cgit.c
      Makefile: copy the QUIET constructs from the Makefile in git.git
      Remove global and obsolete cgit_cmd
      Add cache.h
      Move function for configfile parsing into configfile.[ch]
      Use GIT-1.5.5-rc2
      Move cgit_parse_query() from parsing.c to html.c as
http_parse_querystring()
      Reset ctx.repo to NULL when the config parser is finished
      Don't specify mimetype in ui-blob.c
      Use GIT-1.5.5
      Replace sidebar/logo
      Include diff in commit view
      Add fixed link to index page from repo header
      Reintroduce the branch switcher
      Minor fixup in tree-view css
      More layout fixes
      Implement minimal freetext search in the repolist
      Remove 'patch' link from tab, add to commit view
      Make repository search case insensitive
      Fix css font-family
      cgit.css: set form margins
      Fix more css ugliness
      Make branches, tags and log play better together in the summary view
      Make a few more columns in repolist and log view clickable
      Fix search in repo index even if caching is enabled
      Cleanup page header
      Fix commitdiff annoyance
      Integrate diffstat with diff
      ui-diff: remove test on object type
      Redesign the caching layer
      Add page 'ls_cache'
      Prepare for 'about repo' page
      Move included header-file out of repolist table
      Re-enable 'index-info' and add support for 'root-desc' in cgitrc
      Make it possible for a single cmd to work both with and without a repo
      Prepare for 'about site' page / add 'root-readme' option to cgitrc
      Add 'about site' and 'about repo' pages
      Add cgit_index_link() function with support for offset
      Add a pager on the repolist
      Add footer with page creation time and cgit version on all pages
      Add link to index page from repo header, remove page name
      ui-commit: handle root commits
      Include commit-id in link from diff-stat
      Use GIT-1.5.5.1
      cache.c: read(2) returns -1 on error, not 0
      cache.c: make all io-related functions return errno on error
      cache.c: use xread()/xwrite() from libgit
      cache.c: do not ignore errors from print_slot()
      cache.c: fix error checking in print_slot()
      ui-tree.c: avoid peeking at GITLINK objects
      Use GIT-1.5.6
      Add support for including a footer on all pages
      Add a favicon option to cgitrc
      Use GIT-1.6.0-rc0
      Adjust to new calling convention for read_tree_recursive()
      tests/Makefile: not everyone has `.` in $PATH
      Makefile: fix git dependency rules
      Makefile: do not touch the git objects with `make clean`
      Makefile: remove the `distclean` and `emptycache` targets
      ui-summary: show clone urls
      ui-shared: show repo owner along with description
      Be prepared for empty repositories
      Modify default value for a few cgitrc options
      Makefile: another take on git dependency rules
      Add atom-support
      Add support for cloning over http
      Implement plain view
      ui-tree: link to plain view instead of blob view
      Makefile: Git dependency, take 3
      Use GIT-1.6.0.rc1
      Supply status description to html_status()
      cache.c: use %zd for off_t argument
      Use GIT-1.6.0
      ui-plain: handle subdirectories
      Use GIT-1.6.0.1
      Update Makefile to use GIT-1.6.0.1
      parsing.c: be prepared for unexpected content in commit/tag objects
      ui-tag: show the taggers email
      Teach cgit how to use PATH_INFO
      Add support for --scan-tree=<path> option to cgit
      ui-repolist: enable filtering of repos by path
      ui-diff: fix links from diffstat
      ui-diff: make diffstat header a link to the full diff
      html.c: add html_url_arg
      ui-shared.c: use html_url_arg()
      ui-snapshot.c: specify archiver_args.baselen
      html.c: add html_url_path
      ui-shared.c: use html_url_path() in repolink()
      ui-shared.c: add cgit_summary_link()
      ui-repolist + ui-shared: Use cgit_summary_link()
      Replace cgitrc with cgitrc.5.txt
      ui-shared: do not print repo name on the "summary" tab
      ui-shared: reword the standard page footer
      Use GIT-1.6.0.2
      ui-shared: use html_url_path() to get properly escaped url in form action
      ui-shared: generate proper links in cgit_object_link()
      ui-shared: add cgit_tag_link()
      ui-refs: use cgit_tag_link()
      ui-summary: use html_url_path()
      CGIT 0.8

Michael Krelin (2):
      allow blob extract blobs by head/path combination
      allow specification of directly linked blobs mimetypes

Stefan Naewe (2):
      Added `local-time` option to cgitrc
      cgitrc: explain new local-time option

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCE] cgit 0.8
  2008-10-05 20:10 [ANNOUNCE] cgit 0.8 Lars Hjemli
@ 2008-10-05 20:49 ` Asheesh Laroia
  2008-10-05 22:22   ` Lars Hjemli
  0 siblings, 1 reply; 4+ messages in thread
From: Asheesh Laroia @ 2008-10-05 20:49 UTC (permalink / raw)
  To: Lars Hjemli; +Cc: Git Mailing List

On Sun, 5 Oct 2008, Lars Hjemli wrote:

> cgit-0.8, another webinterface for git, is now available.
>
> clone:   git://hjemli.net/pub/git/cgit
> browse:  http://hjemli.net/git/cgit

This is great!

I'm curious - is there any interest in the cgit world in providing gitweb 
URL compatibility?  That way, migrations from gitweb to cgit would not 
break links.  I know that's something we've been thinking through at 
code.creativecommons.org; gitweb has been a big load on that web server, 
but (re-)switching to cgit would mean invalidating people's bookmarked 
links again.

Also, Tv or other gitosis maintainers: Is there any interest in supporting 
cgit as easily as gitweb is supported in gitosis?

If the answer to both is "We don't personally care about it, but patches 
are welcome, " that'll be okay, but obviously I'm hoping for something 
else. (-:

Either way, thanks a bundle to all who work on cgit!  (And is this the 
canonical place to discuss it?)

-- Asheesh.

-- 
Seleznick's Theory of Holistic Medicine:
 	Ice Cream cures all ills.  Temporarily.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCE] cgit 0.8
  2008-10-05 20:49 ` Asheesh Laroia
@ 2008-10-05 22:22   ` Lars Hjemli
  2008-10-17 21:31     ` Ondrej Certik
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Hjemli @ 2008-10-05 22:22 UTC (permalink / raw)
  To: Asheesh Laroia; +Cc: Git Mailing List

On Sun, Oct 5, 2008 at 22:49, Asheesh Laroia <git@asheesh.org> wrote:
> On Sun, 5 Oct 2008, Lars Hjemli wrote:
>
>> cgit-0.8, another webinterface for git, is now available.
>>
> I'm curious - is there any interest in the cgit world in providing gitweb
> URL compatibility?

Well, it's a request that's popped up a few times, but no patches so
far. It would probably be a nice feature if it could be done cleanly.


> Either way, thanks a bundle to all who work on cgit!  (And is this the
> canonical place to discuss it?)

You're welcome. And yes, I think this is the place (cgit doesn't have
a mailinglist of its own).

--
larsh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCE] cgit 0.8
  2008-10-05 22:22   ` Lars Hjemli
@ 2008-10-17 21:31     ` Ondrej Certik
  0 siblings, 0 replies; 4+ messages in thread
From: Ondrej Certik @ 2008-10-17 21:31 UTC (permalink / raw)
  To: Lars Hjemli; +Cc: Asheesh Laroia, Git Mailing List

On Mon, Oct 6, 2008 at 12:22 AM, Lars Hjemli <hjemli@gmail.com> wrote:
> On Sun, Oct 5, 2008 at 22:49, Asheesh Laroia <git@asheesh.org> wrote:
>> On Sun, 5 Oct 2008, Lars Hjemli wrote:
>>
>>> cgit-0.8, another webinterface for git, is now available.
>>>
>> I'm curious - is there any interest in the cgit world in providing gitweb
>> URL compatibility?
>
> Well, it's a request that's popped up a few times, but no patches so
> far. It would probably be a nice feature if it could be done cleanly.

While we are at the urls, I prefer the urls that mercurial has, e.g.:

http://hg.sympy.org/sympy/rev/62b1589fefa7

is there any reason why cgit uses

http://hjemli.net/git/cgit/commit/?id=140012d

instead of:

http://hjemli.net/git/cgit/commit/140012d

?

If its just a matter of preparing a patch, I'll do that.

Ondrej

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-17 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-05 20:10 [ANNOUNCE] cgit 0.8 Lars Hjemli
2008-10-05 20:49 ` Asheesh Laroia
2008-10-05 22:22   ` Lars Hjemli
2008-10-17 21:31     ` Ondrej Certik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).