[fossil-users] dot (.) in repositorie name when serving a directory

2012-10-25 Thread Martin Gagnon
Hi list,

One of my repository have a . character in it name. ( example:
foo.bar.fossil ).

I never had any problem with it before I start to use fossil to serve
a directory containing .fossil files. If I try to access the repo
using a url like: http://host:8080/foo.bar, It doesn't work.

It's look like fossil get confuse when it parse the name because of
the other . when it try separate the repo name from the .fossil
extension.

I guess a fix could be trivial but I don't really know where to look
in the code.

It could be nice if someone with commit privilege could fix this.

Thanks,

Martin G.
___
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] dot (.) in repositorie name when serving a directory

2012-10-25 Thread Richard Hipp
On Thu, Oct 25, 2012 at 4:52 PM, Martin Gagnon eme...@gmail.com wrote:

 Hi list,

 One of my repository have a . character in it name. ( example:
 foo.bar.fossil ).

 I never had any problem with it before I start to use fossil to serve
 a directory containing .fossil files. If I try to access the repo
 using a url like: http://host:8080/foo.bar, It doesn't work.


The code is here:
http://www.fossil-scm.org/fossil/artifact/9c11060660?ln=1391-1398

The base name of the repo may not contain characters other than
alphanumerics, '-', '_', and '/'.  This is for security.  The allowed
character set is conservative, but we'd like to not push the boundary where
it isn't absolutely required.

The solution to your problem is simple:   mv foo.bar.fossil foo_bar.fossil



 It's look like fossil get confuse when it parse the name because of
 the other . when it try separate the repo name from the .fossil
 extension.

 I guess a fix could be trivial but I don't really know where to look
 in the code.

 It could be nice if someone with commit privilege could fix this.

 Thanks,

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




-- 
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] fossil and CI

2012-10-25 Thread Ron Wilson
On 10/23/12, sphere foura spher...@gmail.com wrote:
 Thanks for the info. Even I was thinking of doing post-commit eventually.

 Sadly, there is no way I can use fossil if there is no mechanism to
 integrate with some CI tool or the other.

Fossil does provide an RSS feed. Any task that could monitor an RSS
feed for events of interest could trigger a CI server, generate email,
etc.
___
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] Wiki naming limitations

2012-10-25 Thread K


On Oct 24, 2012, Ron Aaron r...@ronware.org wrote:

Wouldn't it be better to make this a parameter the user can adjust
rather than permitting any length?

While this is a more complex solution, I would support it. Perhaps in the Admin 
area, some option to control the minimum wiki name length, defaulting to 3.

Input from others?

^K

___
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