Re: [fossil-users] Repo extension in "fossil cgi" when used with "directory:"

2018-02-22 Thread Richard Hipp
On 2/22/18, Tino Lange  wrote:
> (Local checkouts on that machine itself need to point to the changed file
> then as well, so it might be more fallout than renaming)

The "fossil info $REPO" command will tell you about all the check-outs
for a repository.  You can then use the "fossil test-move-repository"
command in each active checkout.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Repo extension in "fossil cgi" when used with "directory:"

2018-02-22 Thread Tino Lange
Hi Richard,

ok, understood. I'll try to rename them.
(Local checkouts on that machine itself need to point to the changed file 
then as well, so it might be more fallout than renaming)

Thanks for looking at that!

As I had a quick (non-deep) look I thought it is only a matter of making 
a static hardcoded string in main.c
db_multi_exec("DELETE FROM sfile WHERE pathname NOT GLOB '*[^/
].fossil'");
configurable. But as it turns out to be non-trivial, please leave it as 
it is. I'll change my setup.

Maybe the wiki cookbook recipe should be changed, though, so that it also 
uses *.fossil instead of *.fsl or to simply mention that this recipe is 
not needed at all anymore.

Thanks

Tino

---

Am Wed, 21 Feb 2018 12:01:55 -0500 schrieb Richard Hipp:

> I tried to do this.  It turns out to be non-trivial.  Can you not simply
> rename your repositories to use the standard ".fossil" suffix?


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


Re: [fossil-users] Repo extension in "fossil cgi" when used with "directory:"

2018-02-21 Thread Stephan Beal
On Wed, Feb 21, 2018 at 6:01 PM, Richard Hipp  wrote:

> I tried to do this.  It turns out to be non-trivial.  Can you not
> simply rename your repositories to use the standard ".fossil" suffix?
>

i'm not sure, off-hand, whether symlinks (or hard links) are a problem
via-a-vis sqlite or 'fossil rebuild', but either symlinks or hard links
might be another option, simply aliasing the .fsl files.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Repo extension in "fossil cgi" when used with "directory:"

2018-02-21 Thread Richard Hipp
On 1/30/18, Tino Lange  wrote:
> Hi!
>
> One wish for >= 2.5:
>
> Could you please make the extension of repositories configurable in
> "fossil cgi", when used with "directory:"?
>
> Background: I have been using the recipe: https://www.fossil-scm.org/xfer/
> wiki?name=Cookbook#CGI (see section "Another solution to automatically
> serve multiple repositories") and so I have plenty of "*.fsl" files
> already.

I tried to do this.  It turns out to be non-trivial.  Can you not
simply rename your repositories to use the standard ".fossil" suffix?

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Repo extension in "fossil cgi" when used with "directory:"

2018-02-21 Thread Tino Lange
Hi Fossil developers,

now that 2.5 is out and settled (thank you!) and the very nice change
https://fossil-scm.org/index.html/info/f2231ba6684157db in the very same 
code region has been done I wonder if my request below could be 
considered, please? I think this is quite an easy, small change - just 
making the file extension to search for configurable.

Thanks and best regards

Tino

--

Am Tue, 30 Jan 2018 15:22:54 + schrieb Tino Lange:

> Hi!
> 
> One wish for >= 2.5:
> 
> Could you please make the extension of repositories configurable in
> "fossil cgi", when used with "directory:"?
> 
> Background: I have been using the recipe:
> https://www.fossil-scm.org/xfer/
> wiki?name=Cookbook#CGI (see section "Another solution to automatically
> serve multiple repositories") and so I have plenty of "*.fsl" files
> already.
> 
> Thanks and best regards,
> 
> Tino
> 
> ___
> fossil-users mailing list fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


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