threads / discuss / 26695

gitosis configuration question

Subject: gitosis configuration question

## tl;dr

5 messages between Mar 8, 2011 and Mar 8, 2011.

replies: 4people: 4as markdown or json

Hillel (Sabba) Markowitz· Mar 8, 2011, 18:46 UTC · lore

When setting up gitosis, I want to have multiple repos available for a particular group. However, the list of repos is too big for a single line. The example.conf does not indicate if this is allowed. That is, the example that it gives is

[group mygroup] members = Bob Carol Ted Alice writable = base cover pot lid

Is the following allowable?

[group new group] members = Bob Carol Ted members = Alice writable = base cover pot lid

Of course the actual list is much larger.
Also, from the example, would the following be allowed

[repo cover] members = Bob Carol Ted Alice

Does the last example make the repo cover writable to that group?
--
       Sabba     -          סבא הלל        -     Hillel
Hillel (Sabba) Markowitz | Said the fox to the fish, "Join me ashore"
 SabbaHillel@gmail.com | The fish are the Jews, Torah is our water
http://sabbahillel.blogspot.com
Drew Northup· Mar 8, 2011, 20:27 UTC · re: Hillel (Sabba) Markowitz · lore

Re: gitosis configuration question

On Tue, 2011-03-08 at 13:46 -0500, Hillel (Sabba) Markowitz wrote:
> When setting up gitosis, I want to have multiple repos available for a
> particular group. However, the list of repos is too big for a single
> line. The example.conf does not indicate if this is allowed.  That is,
> the example that it gives is

Hillel, Gitosis is basically no longer supported...

For Reference: http://article.gmane.org/gmane.comp.version-control.git/160230

I hope this helps!
-- 
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Jens Lehmann· Mar 8, 2011, 20:53 UTC · re: Drew Northup · lore

Re: gitosis configuration question

Am 08.03.2011 21:27, schrieb Drew Northup:
Show 9 quoted lines
> 
> On Tue, 2011-03-08 at 13:46 -0500, Hillel (Sabba) Markowitz wrote:
>> When setting up gitosis, I want to have multiple repos available for a
>> particular group. However, the list of repos is too big for a single
>> line. The example.conf does not indicate if this is allowed.  That is,
>> the example that it gives is
> 
> Hillel,
> Gitosis is basically no longer supported...

Having said that: If you want to use it nonetheless, try using backslashes:

[group new group]
members = Bob Carol Ted \
	Alice
writable = base \
	cover \
	pot \
	lid
Works fine at my dayjob.
Hillel (Sabba) Markowitz· Mar 8, 2011, 21:51 UTC · re: Drew Northup · lore

Re: gitosis configuration question

On Tue, Mar 8, 2011 at 3:27 PM, Drew Northup <drew.northup@maine.edu> wrote:
Show 21 quoted lines
>
> On Tue, 2011-03-08 at 13:46 -0500, Hillel (Sabba) Markowitz wrote:
> > When setting up gitosis, I want to have multiple repos available for a
> > particular group. However, the list of repos is too big for a single
> > line. The example.conf does not indicate if this is allowed.  That is,
> > the example that it gives is
>
> Hillel,
> Gitosis is basically no longer supported...
>
> For Reference:
> http://article.gmane.org/gmane.comp.version-control.git/160230
>
> I hope this helps!
>
> --
> -Drew Northup
> ________________________________________________
> "As opposed to vegetable or mineral error?"
> -John Pescatore, SANS NewsBites Vol. 12 Num. 59
>

Thanks. I had not been aware that it had been replaced with gitolite. I will have to look it up and see what is available.

--
       Sabba     -          סבא הלל        -     Hillel
Hillel (Sabba) Markowitz | Said the fox to the fish, "Join me ashore"
 SabbaHillel@gmail.com | The fish are the Jews, Torah is our water
http://sabbahillel.blogspot.com
John Feuerstein· Mar 8, 2011, 21:07 UTC · re: Hillel (Sabba) Markowitz · lore

Re: gitosis configuration question

Show 13 quoted lines
> [group mygroup]
> members = Bob Carol Ted Alice
> writable = base cover pot lid
>
> Is the following allowable?
>
> [group new group]
> members = Bob Carol Ted
> members = Alice
> writable = base
> cover
> pot
> lid

Gitosis is written in Python and uses the ConfigParser[1] module. It allows line continuations in the style of RFC 822, see [2]:

foo = bar
       baz
       qux

Hope this helps, John

[1] http://docs.python.org/library/configparser.html [2] http://tools.ietf.org/html/rfc822.html#section-3.1.1

← back to recent threads