List for cgit developers and users
 help / color / mirror / Atom feed
From: matt.hevern at gmail.com (Matt Hevern)
Subject: Have scan-path only pull in unlisted repositories
Date: Fri, 24 Jul 2015 09:35:05 +1000	[thread overview]
Message-ID: <CAKZMjSsEz02amS9ENtnLXy+s1LKqUrqM=2GNKvDF4ZpHjwjRkQ@mail.gmail.com> (raw)

Hi All,

I'd like to be able to specify a number of existing git repositories, and
associated descriptions, sections etc, so that they show up orderly via the
web interface - but I'd also like to set up scan-path so that if anyone
pushes new repositories up, then they will be listed as well. This is
because those
pushing up new repositories may not have access (or inclination) to update
the "/etc/cgitrepos" file, but want to be able to access the new repository
via cgit.
Currently when I do this, I get duplicates of the static configured
repositories I have listed via "include=/etc/cgitrepos", and the
repositories scanned via "scan-path=/home/git/repositories".

Is there any way to do something like - tell scan-path to only pull in
repositories which are not already listed - or something similar ?

Thanks,

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20150724/2226353f/attachment.html>


             reply	other threads:[~2015-07-23 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 23:35 matt.hevern [this message]
2015-07-24  9:21 ` john
2015-07-24 13:42   ` matt.hevern
2015-07-24 13:47     ` john

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKZMjSsEz02amS9ENtnLXy+s1LKqUrqM=2GNKvDF4ZpHjwjRkQ@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).