List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH v3 00/21] Add namespace support to cgit
@ 2016-08-01 21:35 richard.maw
  2016-08-01 21:35 ` [PATCH v3 01/21] Return a copy of "master" when guessing defbranch fails richard.maw
                   ` (21 more replies)
  0 siblings, 22 replies; 24+ messages in thread
From: richard.maw @ 2016-08-01 21:35 UTC (permalink / raw)


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 richardmaw/namespaces

for you to fetch changes up to c8ab2ce6fe19a1a9eacf2a384a6fbbe915be9dbc:

  Add documentation for repo.agefile (2016-08-01 22:17:42 +0100)

This version fixes a couple of issues with the log view,
which I had overlooked in my previous version.

1.  It now displays the namespaced version of the ref
2.  Decorative tags now only display those appropriate to the namespace

It also fixes a couple of other minor bugs,
and tries to unify namespace resolving logic a bit.

It turned out that the reason I thought I needed the NO_RECURSE flag
was that my test repository was broken
in that it had symbolic refs pointing outside the namespace.

I'm going to try adding namespaced functions to libgit later in the week.

----------------------------------------------------------------
Richard Maw (21):
  Return a copy of "master" when guessing defbranch fails
  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
  Add namespaced resolve ref helper
  Add cgit_namespaced_dwim_ref for resolving short refs
  Look up refs in namespace with cgit_get_sha1
  Use cgit_namespaced_dwim_ref for finding logs to show
  Render commit decorations correctly
  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                             | 51 ++++++++++++++++----
 cgit.h                             | 10 ++++
 cgitrc.5.txt                       | 47 +++++++++++++++++++
 contrib/hooks/post-receive.agefile | 15 +++++-
 shared.c                           | 95 ++++++++++++++++++++++++++++++++++++++
 ui-blob.c                          |  6 +--
 ui-clone.c                         | 18 +++++++-
 ui-commit.c                        |  2 +-
 ui-diff.c                          |  4 +-
 ui-log.c                           | 40 +++++++++++-----
 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, 281 insertions(+), 48 deletions(-)

-- 
2.9.0


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

end of thread, other threads:[~2016-08-20 16:01 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01 21:35 [PATCH v3 00/21] Add namespace support to cgit richard.maw
2016-08-01 21:35 ` [PATCH v3 01/21] Return a copy of "master" when guessing defbranch fails richard.maw
2016-08-01 21:35 ` [PATCH v3 02/21] Fix archive generation richard.maw
2016-08-01 21:35 ` [PATCH v3 03/21] Add a wrapper for get_sha1 called cgit_get_sha1 richard.maw
2016-08-01 21:35 ` [PATCH v3 04/21] Parse repo.namespace richard.maw
2016-08-01 21:35 ` [PATCH v3 05/21] Print out parsed namespace on request richard.maw
2016-08-01 21:35 ` [PATCH v3 06/21] Set GIT_NAMESPACE when repo.namespace is provided richard.maw
2016-08-01 21:35 ` [PATCH v3 07/21] Add namespaced resolve ref helper richard.maw
2016-08-01 21:35 ` [PATCH v3 08/21] Add cgit_namespaced_dwim_ref for resolving short refs richard.maw
2016-08-01 21:35 ` [PATCH v3 09/21] Look up refs in namespace with cgit_get_sha1 richard.maw
2016-08-01 21:35 ` [PATCH v3 10/21] Use cgit_namespaced_dwim_ref for finding logs to show richard.maw
2016-08-01 21:35 ` [PATCH v3 11/21] Render commit decorations correctly richard.maw
2016-08-01 21:35 ` [PATCH v3 12/21] Guess the default branch based on current namespace richard.maw
2016-08-01 21:35 ` [PATCH v3 13/21] Add cgit_for_each_namespaced_ref_in helper richard.maw
2016-08-01 21:35 ` [PATCH v3 14/21] Find the default branch based on the contents of the namespace richard.maw
2016-08-01 21:35 ` [PATCH v3 15/21] Only display refs in current namespace richard.maw
2016-08-01 21:35 ` [PATCH v3 16/21] Add namespace support to dumb-clone richard.maw
2016-08-01 21:35 ` [PATCH v3 17/21] Display notes from namespace richard.maw
2016-08-20 14:51   ` richard.maw
2016-08-01 21:35 ` [PATCH v3 18/21] Add documentation for repo.namespace richard.maw
2016-08-01 21:35 ` [PATCH v3 19/21] Allow agefile to be set per-repository richard.maw
2016-08-01 21:35 ` [PATCH v3 20/21] Update contrib script to update agefiles per namespace richard.maw
2016-08-01 21:35 ` [PATCH v3 21/21] Add documentation for repo.agefile richard.maw
2016-08-20 16:01 ` [PATCH v3 00/21] Add namespace support to cgit richard.maw

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).