All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel.Thimm@ATrpms.net (Axel Thimm)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] svn resync
Date: Tue, 30 May 2006 09:47:01 +0000	[thread overview]
Message-ID: <20060530094701.GA24093@neu.nirvana> (raw)
In-Reply-To: <44621B6E.6070500@sh.cvut.cz>

On Tue, May 30, 2006 at 10:16:31AM +0200, Jean Delvare wrote:
> As for trac, I'm not really familiar with it, but it looks to me like
> users could be different from code contributors, so I'm not certain it
> makes sense to have a common authentication method.

Yes, this is true, but contributors should have the same name in both
authentication systems, as for example trac&svn can deduce a ticket
action from a commit. Say khali commits something with a log message
of "Add patch XYZ, this finally fixes #2002.", then trac will
automagically close this ticket with the name of the svn committer.

So every registred committer in svn should also be registred in trac
with the same name. It doesn't have to be the same authentication
method, though, and in fact the authetication databases will be
different, as we will probably have more (non-anonymous) trac users
than committers.

> What are the benefits of using htdigest for subversion compared to
> ssh? Are there drawbacks? I really don't care much as long as it
> works, so if others have stronger (motivated) opinions, please speak
> up.

The benefits of using http+htdigest against svn+ssh are:

o higher performance: ssh needs several new connections with each
  commit/update. You can work around this by using something that
  caches ssh connections like fsh or ssh -M.

o Same URL like anonymous svn checkouts: svn+ssh needs an URI which
  maps exactly the basolute path on the file system,
  e.g.
  svn+ssh://lm-sensors.org/srv/lm-sensors.org/svn/lm-sensors/
  instead of
  http://lm-sensors.org/svn/lm-sensors/

o Priviledge separation: svn+ssh has privileges on the whole repo, you
  can either write to it or not. For having different commiter ACLs
  for i2c vs lm-sensors this is very difficult (you need to add
  another layer of something like userv, see [1])

o account management: Adding a .htdigest line by anyone having an ssh
  account with group lm-sensors (e.g. Jean, Phil, Rudolf and Mark) vs
  creating ssh accounts (which only I can do).

o Pick random usernames for the commits, e.g. khali, frodo
  etc. svn+ssh fixes you to the ssh account name which is again
  dictated by the local account policies.

While it looks like a pile of arguments in favour of http+htdigest,
these aren't blockers. There are also drawbacks:

o http+htdigest stores your password on your local disc,
  ssh+svn+ssh-agent stores it nowhere 

o ssh+svn is more secure than http+htdigest. One could then go
  https+htdigest or https+certificates, but then the setup is equally
  troublesome like for svn+ssh

Again this doesn't cost the world. So from my POV I think
http+htdigest has some little advantages compared to svn+ssh, but it's
up to you what you'll prefer.

(I'm hosting/working with both kinds of repos currently, so both
models work OK)

[1] http://www.chiark.greenend.org.uk/~sgtatham/svn.html

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060530/5c8c1723/attachment.bin

  parent reply	other threads:[~2006-05-30  9:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10 16:57 [lm-sensors] svn resync Rudolf Marek
2006-05-10 17:45 ` Axel Thimm
2006-05-16  7:27 ` Jean Delvare
2006-05-28 21:33 ` Philip Edelbrock
2006-05-28 21:55 ` Philip Edelbrock
2006-05-29  6:29 ` Jean Delvare
2006-05-29 10:06 ` Axel Thimm
2006-05-29 11:24 ` Axel Thimm
2006-05-29 12:04 ` Jean Delvare
2006-05-29 15:09 ` Axel Thimm
2006-05-29 17:13 ` Philip Edelbrock
2006-05-30  8:16 ` Jean Delvare
2006-05-30  9:47 ` Axel Thimm [this message]
2006-05-31  1:20 ` Philip Edelbrock
2006-05-31 10:16 ` Axel Thimm

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=20060530094701.GA24093@neu.nirvana \
    --to=axel.thimm@atrpms.net \
    --cc=lm-sensors@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.