Re: [fossil-users] there is no way to unset tarball prefix

2016-06-25 Thread Fossil SCM user's discussion
On Sat, Jun 25, 2016 at 7:56 PM, Fossil SCM user's discussion <
fossil-users@lists.fossil-scm.org> wrote:

fwiw, getting my own posts as a new mail, leading to (A) getting each
submitted post sent right back to me as a new mail and (B) 2 copies of each
post on my local thread (the one i wrote and the one i received), is
starting to get annoying :/. i hope a better resolution than this
anonymization can be found soon.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"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] there is no way to unset tarball prefix

2016-06-25 Thread Fossil SCM user's discussion
On Sat, Jun 25, 2016 at 7:09 PM, Fossil SCM user's discussion <
fossil-users@lists.fossil-scm.org> wrote:

> (Sat, 25 Jun 18:40) Fossil SCM user's discussion:
> > fwiw, i disagree. This patch removes an option from the user (specifying
> an
> > empty string) and does not add any new option (not specifying a prefix
> > provides the same effect).
>
> But if I set a tarball prefix to some value,
> and then rename the project;
>

How often does one rename a fossil project? (In my 8+ years with fossil,
i've only once renamed a project.)

I should simply delete a prefix via sql
> to use a new project name as a tarball prefix..

..or just duplicate a new name.
>


i don't understand what you mean by that. For your patch to apply, the user
would literally have to had named his project the empty string (as opposed
to NULL), and i cannot imagine anyone actually doing that, nor can i
imagine any useful semantics for such cases. (But i'm often quite
unimaginative.)

i guess my question is: what _benefit_ does your patch provide for users
other than yourself?

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"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] there is no way to unset tarball prefix

2016-06-25 Thread Fossil SCM user's discussion
On Sat, Jun 25, 2016 at 6:21 PM, Fossil SCM user's discussion <
fossil-users@lists.fossil-scm.org> wrote:

> Hello,
>
> if tarball prefix is defined as an empty string (unset),
> then Fossil will use it.
>
> I think, it would be better to use project-name:
> ...



> -  if( zPJ==0 ) zPJ = db_get("project-name", "unnamed");
> +  if( zPJ==0 || zPJ[0]==0 ) zPJ = db_get("project-name", "unnamed");
>

fwiw, i disagree. This patch removes an option from the user (specifying an
empty string) and does not add any new option (not specifying a prefix
provides the same effect).


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"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