* Andrew Stuart <andrew.stu...@supercoders.com.au> [20120531 16:15]:
> There are source code files and also operating system configuration
> files.

I would keep two different repositories. For the second one, see below.

> I use sudo to edit these files as most of the files are editable only  
> by root.
> 
> How do I use Fossil in this context?
> Where should I set up the fossil repository?  In my unprivileged user  
> home directory?
> How should I be handling the need to use sudo to access the various  
> files that I work on?  I suspect I'll be running into various  
> permissions issues constantly?
> 
> Would my workflow look something like this for example?
> 1: Create fossil repo in my home directory
> 2: Go to the location of a file I want to put in fossil
> 3: "fossil open" in this directory
> 4: "fossil add" the files I wish to put under scm
> 
> Although I have read the quickstart guide it doesn't really nudge me  
> in the right direction of how to actually drive it in a practical  
> manner, especially where I have to use sudo.

This has come up before. See
http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg04760.html

What I'm currently doing is have soft-link to / in the directory of
a non-root admin user. I don't know if/how it interacts with symlinks
support. The versions of fossil in which I have this setup are:

    This is fossil version 1.21 [002580c50d] 2011-12-13 13:53:56 UTC
    This is fossil version 1.22 [5dd5d39e7c] 2012-03-19 12:45:47 UTC

I'm still hoping for improved handling of permissions, and have not yet
explored the possibilities of "Add the ability to run TH1 scripts after
sync requests"

Needless to say, I'd encourage you to share your findings for the
"fossil as a SCM for OS configuration" use case.

qvb
--
pica
_______________________________________________
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