On Thu, Aug 11, 2011 at 05:24:06PM -0400, Richard Hipp wrote:
> On Thu, Aug 11, 2011 at 5:21 PM, Richard Hipp <[email protected]> wrote:
> 
> >
> >
> > On Thu, Aug 11, 2011 at 4:53 PM, lists <[email protected]> wrote:
> >
> >> I'm a new user of fossil, having come grudgingly from CVS. Needless to
> >> say, my stubbornness was unfounded-life is immeasurably easier than it was
> >> on CVS for hundreds of little (and big) reasons.
> >>
> >> In trying to convert my workflow to fossil, I haven't been able to find
> >> any information in the wiki nor mail archives about creating a new
> >> repository, remotely, on the fossil server.
> >
> >
> > For a server you need two things:  (1) The repository database file (the
> > *.fossil file) and (2) some mechanism to serve that file.
> >
> > Item (2) can be either CGI, or inetd/xinetd, or "fossil server".  See the
> > documentation for details.  In any of these cases you have to give it the
> > name of a repository database file to serve.
> >
> > But here is a cool feature:  The name of the repo database file you give to
> > Fossil for (2) can actually be a directory rather than an individual file.
> > In that case, Fossil will serve all repos underneath that directory.
> >
> 
> An amplification:  In order for this to work, the repository files need to
> be named with a ".fossil" suffix.  Other suffixes like ".fsl" or ".f" or
> anything else.  If you are dealing with individual repositories, the suffix
> does not matter - it can be anything you want.  But for this one
> server-every-file-in-a-subdirectory feature, all the repositories files have
> to end with ".fossil".
> 
> 
> 
> >
> > Suppose you have (2) set up to serve files out of the /home/www/repos
> > directory on your server.  Then in order to create a new repository on the
> > server you can do this:
> >
> > (a) Create the repository locally using "fossil init repo-name.fossil"
> > (b) Do whatever check-ins and configuration you want on the new repository,
> > including setting the administrator password.
> > (c) Test your setup locally using "fossil ui"
> > (d) Scp or ftp the repository file into the /home/www/repos directory on
> > the server.
> >
> > If you upload a repo file named /home/www/repos/abc.fossil" then you can
> > access it using http://domain/abc.  If you upload the file to
> > /home/www/repos/dir1/dir2/xyz.fossil, then you access it using
> > http://domain/dir1/dir2/xyz.  And so forth.
> >
> > So once you get (1) up and going, installing a new repository is just a
> > matter of uploading a new repository file.

Thank you, I read through all the documentation you've got on the site,
and understood eventually how to create a multiple repository, and have
got one up and running nicely. I was merely hopeful that I could create
repositories without resorting to ssh.

Whereas I am happy to use ssh to upload to my own central vcs server,
this becomes non-trivial for

a) general users (non-developers)
b) those with limited hosting accounts

It's not exactly a big deal, just nice functionality.

Sacha
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to