Thus said Ron Wilson on Fri, 13 Dec 2013 21:57:22 -0500:

> Since you are  providing a server with Fossil repos  on it, your build
> could work the way you want it for your students to use SSH for access
> using "stock" builds of Fossil.

This is a really good point.

David, it is already  possible to set this up in the  way you intend and
the students will be  able to use the current release  of Fossil 1.27 to
accomplish it.

Because all of  the features that you intend to  use are really ``server
side'' and will be enforced  by your SSH key ForceCommand configuration,
you can simply put the current trunk  on the server and the students can
begin using the current  Fossil 1.27 to clone. The SSH  code in trunk is
backwards  compatible  with  previous  Fossil versions.  When  the  next
release is available, both you and the students can upgrade.

You  can get  familiar  with  the URL  behavior  change  now by  getting
accustomed to using -A and default-user already with Fossil 1.27.

For example, if the name of the  shared SSH account is fossil, there are
two possible ways to have them clone:

First:

fossil clone -A user1 ssh://fossil@server//user1proj.fossil proj.fossil
fossil --user user1 user -R proj.fossil default user1

Second:

fossil clone ssh://fossil@server//user1proj.fossil proj.fossil
fossil user -R proj.fossil new user1
fossil user -R proj.fossil default user1
fossil user -R proj.fossil cap user v

I think the first might be the preferred method at the moment.

The  reason  why  it  is  necessary  to  set  the  admin  user  and  the
default-user is because Fossil now extracts  the user out of the URL and
uses that as the  admin user, which means if you are  using a shared SSH
account  named  ``fossil,''  all  commits  would  appear  to  come  from
``fossil'' which isn't likely what you  want to show up in the timeline.
The  rcvfrom table  would actually  record the  actual fossil  user that
performed the sync, but the artifacts would all show ``fossil.''

Hope this helps.  If you have any more questions, let me know.

Andy
-- 
TAI64 timestamp: 4000000052ac1071


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to