[PATCH 00/16] [V2] Add namespace support to cgit
Richard
richard.maw at gmail.com
Sat Jul 16 01:10:37 CEST 2016
Also, I wrote this script to generate an environment where it serves
CGit and smart-http over the same server, since I thought it might be
useful to illustrate a sample usage for this.
The delay in resending after rebasing was that I went through 3
different web servers before settling on learning how to configure
apache.
On 15 July 2016 at 23:59, Richard Maw <richard.maw at gmail.com> wrote:
> This is a rebase of the previous patch series,
> since it stopped applying and one of the commits was taken independently.
>
> The following changes since commit ff9893ac8192579a00dd4c73ddff18ab232099a6:
>
> Fix qry.head leak on error (2016-07-12 01:06:04 +0200)
>
> are available in the git repository at:
>
> git://git.gitano.org.uk/cgit.git
>
> for you to fetch changes up to 2a20425f4e76e378c138094c79b78aa476c019b5:
>
> Add documentation for repo.agefile (2016-07-13 20:09:37 +0100)
>
> Richard Maw (16):
> Fix archive generation
> Add a wrapper for get_sha1 called cgit_get_sha1
> Parse repo.namespace
> Print out parsed namespace on request
> Set GIT_NAMESPACE when repo.namespace is provided
> Look up refs in namespace with cgit_get_sha1
> Guess the default branch based on current namespace
> Add cgit_for_each_namespaced_ref_in helper
> Find the default branch based on the contents of the namespace
> Only display refs in current namespace
> Add namespace support to dumb-clone
> Display notes from namespace
> Add documentation for repo.namespace
> Allow agefile to be set per-repository
> Update contrib script to update agefiles per namespace
> Add documentation for repo.agefile
>
> cgit.c | 63 +++++++++++++++++++++++++++++++++-----
> cgit.h | 6 ++++
> cgitrc.5.txt | 46 ++++++++++++++++++++++++++++
> contrib/hooks/post-receive.agefile | 15 ++++++++-
> shared.c | 60 ++++++++++++++++++++++++++++++++++++
> ui-blob.c | 6 ++--
> ui-clone.c | 23 +++++++++++++-
> ui-commit.c | 2 +-
> ui-diff.c | 4 +--
> ui-log.c | 2 +-
> ui-patch.c | 4 +--
> ui-plain.c | 2 +-
> ui-refs.c | 6 ++--
> ui-repolist.c | 3 +-
> ui-shared.c | 8 ++---
> ui-snapshot.c | 14 ++++-----
> ui-tag.c | 2 +-
> ui-tree.c | 2 +-
> 18 files changed, 232 insertions(+), 36 deletions(-)
>
> --
> 2.9.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gentest.sh
Type: application/x-sh
Size: 3681 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20160716/47414ddd/attachment.sh>
More information about the CGit
mailing list