From mboxrd@z Thu Jan 1 00:00:00 1970 From: richard.maw at gmail.com (Richard Maw) Date: Fri, 15 Jul 2016 23:59:46 +0100 Subject: [PATCH 00/16] [V2] Add namespace support to cgit Message-ID: <20160715230002.29547-1-richard.maw@gmail.com> 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