Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-30 Thread Leo Razoumov
On Sat, Apr 28, 2012 at 09:34, Richard Hipp d...@sqlite.org wrote: On a server, I often have multiple CGI scripts all pointing to the same repository.  A similar feature, added at the same time, keeps track of all of the possible URLs for accessing a repository.  On the main Fossil webserver

Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-30 Thread Richard Hipp
On Mon, Apr 30, 2012 at 8:17 AM, Leo Razoumov slonik...@gmail.com wrote: On Sat, Apr 28, 2012 at 09:34, Richard Hipp d...@sqlite.org wrote: On a server, I often have multiple CGI scripts all pointing to the same repository. A similar feature, added at the same time, keeps track of all

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-30 Thread Kevin Quick
On Sun, 29 Apr 2012 18:46:49 -0700, Leo Razoumov slonik...@gmail.com wrote: On Sun, Apr 29, 2012 at 12:08, Kevin Quick qu...@sparq.org wrote: This isn't quite as convincing an argument to me: I can see the utility of a pull/sync from a read-only repository, but a fossil open implies that

Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-30 Thread Matt Welland
On Mon, Apr 30, 2012 at 5:31 AM, Richard Hipp d...@sqlite.org wrote: On Mon, Apr 30, 2012 at 8:17 AM, Leo Razoumov slonik...@gmail.com wrote: On Sat, Apr 28, 2012 at 09:34, Richard Hipp d...@sqlite.org wrote: [snip] I think this means that every time one accesses a repository via cg-bin

[fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread Matt Welland
The discussion on keeping the location of checkouts in the repo deb brought up an interesting thought. Observing the usage in our teams it is apparent that the distributed nature of fossil is more of a burden than a benefit 90% of the time but that remaining 10% of the time we very much

Re: [fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread Richard Hipp
On Mon, Apr 30, 2012 at 11:13 AM, Matt Welland estifo...@gmail.com wrote: The discussion on keeping the location of checkouts in the repo deb brought up an interesting thought. Observing the usage in our teams it is apparent that the distributed nature of fossil is more of a burden than a

Re: [fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread sky5walk
Hi, How can I unset the default user? I cannot see an option under fossil unset ...? Users that forget to: fossil commit -U myusername_notdefault have their changes assigned to the default and wrong user. On Mon, Apr 30, 2012 at 11:29 AM, Richard Hipp d...@sqlite.org wrote: On Mon, Apr 30,

Re: [fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread Richard Hipp
On Mon, Apr 30, 2012 at 12:19 PM, sky5w...@gmail.com wrote: Hi, How can I unset the default user? I cannot see an option under fossil unset ...? Looks like you have to manually change the database. Run fossil sql then type: DELETE FROM config WHERE name='default-user'; Users that forget

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-30 Thread Leo Razoumov
On Mon, Apr 30, 2012 at 09:45, Kevin Quick qu...@sparq.org wrote: On Sun, 29 Apr 2012 18:46:49 -0700, Leo Razoumov slonik...@gmail.com wrote: And at least in UNIX you really do not want making your repository writable by several people. Huh?  Bob works on stuff and commits it.  After Bob

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-30 Thread Stephan Beal
On Mon, Apr 30, 2012 at 7:25 PM, Leo Razoumov slonik...@gmail.com wrote: others (chmod 0644 repo.fossil). In the case of CGI the owner is whatever your http server likes (www-data on Ubuntu). Tip: many CGI environments run user CGIs as that user. If you are lucky enough to have such a service

Re: [fossil-users] cannot checkout a read-only Fossil repository

2012-04-30 Thread Leo Razoumov
On Mon, Apr 30, 2012 at 13:43, Stephan Beal sgb...@googlemail.com wrote: On Mon, Apr 30, 2012 at 7:25 PM, Leo Razoumov slonik...@gmail.com wrote: others (chmod 0644 repo.fossil). In the case of CGI the owner is whatever your http server likes (www-data on Ubuntu). Tip: many CGI environments

Re: [fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread sky5walk
Before trying your sql, I opened my repo with SQLiteExpert and found no entry in table config:name = 'default-user'? Is there a hidden location or is the default-user actually NOT set? Really confused since I want #3 below to happen BEFORE #2 :( User Name is determined from the following rules,

Re: [fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread Richard Hipp
On Mon, Apr 30, 2012 at 2:01 PM, sky5w...@gmail.com wrote: Before trying your sql, I opened my repo with SQLiteExpert and found no entry in table config:name = 'default-user'? Is there a hidden location or is the default-user actually NOT set? Check the VVAR table in _FOSSIL_. It is

Re: [fossil-users] Idea: Close coupled usage model for fossil

2012-04-30 Thread Stephan Beal
On Mon, Apr 30, 2012 at 8:01 PM, sky5w...@gmail.com wrote: Really confused since I want #3 below to happen BEFORE #2 :( User Name is determined from the following rules, in order: 1. The value of the --user or -U command-line option. 2. A username set using the fossil user default command 3.

Re: [fossil-users] recent change: alt-root and its purpose?

2012-04-30 Thread Richard Hipp
On Mon, Apr 30, 2012 at 2:16 PM, Leo Razoumov slonik...@gmail.com wrote: On Mon, Apr 30, 2012 at 08:31, Richard Hipp d...@sqlite.org wrote: On Mon, Apr 30, 2012 at 8:17 AM, Leo Razoumov slonik...@gmail.com wrote: I think this means that every time one accesses a repository via cg-bin

[fossil-users] Update to fsl wrapper, detects and informs user if there are forks.

2012-04-30 Thread Matt Welland
We've had several folks get very confused by the accidental creation of forks. The conversation goes something like this: DeveloperA: Go ahead and update, I've checked in change xyz DeveloperB: Ok (pause) I don't see it are you sure you checked it in ... and fifteen minutes later I get a call