From mboxrd@z Thu Jan 1 00:00:00 1970 From: richard.maw at gmail.com (Richard) Date: Thu, 28 Jul 2016 17:40:39 +0100 Subject: [PATCH 00/16] [V2] Add namespace support to cgit In-Reply-To: References: <20160715230002.29547-1-richard.maw@gmail.com> Message-ID: Hi. We're wondering when you'd get time to look at this, as we're hoping to make a Gitano release, and were hoping to be able to provide support for using cgit to display namespaced repositories created with Gitano. If you're not likely to get around to it soon, then we'd appreciate knowing, so we can prioritise in time for the next Debian freeze. On 16 July 2016 at 00:10, Richard wrote: > 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 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 >>