Re: [fossil-users] Status of the hidden tag

2013-08-09 Thread Themba Fletcher
Hi all,

My apologies for being noisy with this. I think it was unclear what I was
specifically asking.

I don't shun things, but there are times where I'd like to clean up the
main timeline view for public (aka customer) consumption. I can see that
adding a 'hidden' tag is suggested as a better alternative to shunning. My
questions are:

   - Can I add the hidden tag to a check in? If not, what can I add it to?
   - Should I add it from the web interface or do I need to add it from the
   cli with the --raw option?
   - Does adding it do anything at this time?
   - If not, is this still a planned feature or should I forget I read
   about it? And maybe should the wording on /shun be updated?

Thanks in advance,

Themba





On Thu, Jul 25, 2013 at 11:03 AM, Themba Fletcher themba.fletc...@gmail.com
 wrote:

 From fossil's /shun page:

  Do not shun artifacts merely to remove them from sight - set the
 hidden tag on  such artifacts instead.

 The only other reference I could find while searching this list was a
 note from drh (circa 2009 or so?) noting that it had not been
 implemented yet. Is this still the case?

 I just tried, via the web interface, adding a hidden tag to a
 checkin on one of my mistake branches and the timeline still showed
 the item. Perhaps there's a setting I've missed -- or perhaps
 something else?

 $ fossil version
 This is fossil version 1.26 [674a24a360] 2013-07-20 16:43:45 UTC

 Best Regards,

 Themba

___
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] Status of the hidden tag

2013-08-09 Thread Stephan Beal
On Fri, Aug 9, 2013 at 10:32 PM, Themba Fletcher
themba.fletc...@gmail.comwrote:

 I don't shun things, but there are times where I'd like to clean up the
 main timeline view for public (aka customer) consumption. I can see that
 adding a 'hidden' tag is suggested as a better alternative to shunning. My
 questions are:


i can't answer your questions (i have never shunned) but can offer a
(sub-optimal) alternative: disable the timeline view for them and maintain
a hand-written changelog in the wiki or embedded docs for them.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
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] Status of the hidden tag

2013-08-09 Thread Richard Hipp
On Fri, Aug 9, 2013 at 4:32 PM, Themba Fletcher
themba.fletc...@gmail.comwrote:

 Hi all,

 My apologies for being noisy with this. I think it was unclear what I was
 specifically asking.

 I don't shun things, but there are times where I'd like to clean up the
 main timeline view for public (aka customer) consumption. I can see that
 adding a 'hidden' tag is suggested as a better alternative to shunning. My
 questions are:

- Can I add the hidden tag to a check in? If not, what can I add it to?
- Should I add it from the web interface or do I need to add it from
the cli with the --raw option?
- Does adding it do anything at this time?
- If not, is this still a planned feature or should I forget I read
about it? And maybe should the wording on /shun be updated?

 Hidden is one of those planned features that I never got around to
implementing.  It shouldn't be that hard to add.  Probably just a small
adjustment to WHERE clause of the main query that does the timeline.

But as far as I know, the hidden flag is currently just a no-op.


 Thanks in advance,

 Themba





 On Thu, Jul 25, 2013 at 11:03 AM, Themba Fletcher 
 themba.fletc...@gmail.com wrote:

 From fossil's /shun page:

  Do not shun artifacts merely to remove them from sight - set the
 hidden tag on  such artifacts instead.

 The only other reference I could find while searching this list was a
 note from drh (circa 2009 or so?) noting that it had not been
 implemented yet. Is this still the case?

 I just tried, via the web interface, adding a hidden tag to a
 checkin on one of my mistake branches and the timeline still showed
 the item. Perhaps there's a setting I've missed -- or perhaps
 something else?

 $ fossil version
 This is fossil version 1.26 [674a24a360] 2013-07-20 16:43:45 UTC

 Best Regards,

 Themba



 ___
 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] Status of the hidden tag

2013-08-09 Thread Themba Fletcher
On Fri, Aug 9, 2013 at 1:43 PM, Richard Hipp d...@sqlite.org wrote:



 On Fri, Aug 9, 2013 at 4:32 PM, Themba Fletcher themba.fletc...@gmail.com
  wrote:

 Hi all,

 My apologies for being noisy with this. I think it was unclear what I was
 specifically asking.

 I don't shun things, but there are times where I'd like to clean up the
 main timeline view for public (aka customer) consumption. I can see that
 adding a 'hidden' tag is suggested as a better alternative to shunning. My
 questions are:

- Can I add the hidden tag to a check in? If not, what can I add it
to?
- Should I add it from the web interface or do I need to add it from
the cli with the --raw option?
- Does adding it do anything at this time?
- If not, is this still a planned feature or should I forget I read
about it? And maybe should the wording on /shun be updated?

 Hidden is one of those planned features that I never got around to
 implementing.  It shouldn't be that hard to add.  Probably just a small
 adjustment to WHERE clause of the main query that does the timeline.


That looks like an interesting place to start hacking on fossil, so I'll
take that as a challenge :)

Thanks for the answer,

T
___
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] Status of the hidden tag

2013-08-09 Thread Themba Fletcher
On Fri, Aug 9, 2013 at 1:39 PM, Stephan Beal sgb...@googlemail.com wrote:

 On Fri, Aug 9, 2013 at 10:32 PM, Themba Fletcher 
 themba.fletc...@gmail.com wrote:

 I don't shun things, but there are times where I'd like to clean up the
 main timeline view for public (aka customer) consumption. I can see that
 adding a 'hidden' tag is suggested as a better alternative to shunning. My
 questions are:


 i can't answer your questions (i have never shunned) but can offer a
 (sub-optimal) alternative: disable the timeline view for them and maintain
 a hand-written changelog in the wiki or embedded docs for them.


Yep, that would work. I could also, since I was thinking specifically of
using the RSS feed, maybe cobble something together out of the JSON api --
basically just a new version of timeline.rss with any hidden checkins
removed. Food for thought, thanks.
___
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] Status of the hidden tag

2013-08-09 Thread Stephan Beal
On Fri, Aug 9, 2013 at 11:31 PM, Themba Fletcher
themba.fletc...@gmail.comwrote:

 Yep, that would work. I could also, since I was thinking specifically of
 using the RSS feed, maybe cobble something together out of the JSON api --
 basically just a new version of timeline.rss with any hidden checkins
 removed. Food for thought, thanks.


It might interest you to hack on libfossil, which will allow customized
apps/mini-apps like that to be quickly thrown together. As a concrete
example, here's a custom timeline implemented using the script bindings for
libfossil:

[stephan@host:~/cvs/fossil/f2/th1ish]$ ./th1ish timeline.th1ish -- -n=4
The 4 most recent timeline event(s) for
/home/stephan/cvs/fossil/f2/.fslckout:
ci @ 2013-08-09 23:20:24 [423842eb262c] by [stephan] in branch [trunk]
doc updates
w @ 2013-08-09 22:33:28 [7a2e57c50e8e] by [stephan]
Changes to wiki page [home]
ci @ 2013-08-09 22:29:49 [78bf9244bd16] by [stephan] in branch [trunk]
Changed return semantics of fsl_list_reserve(), for consistency (old
semantics were copy/pasted). Ran some code through reformatter.
ci @ 2013-08-09 22:17:26 [f4e5795f9ec7] by [bch] in branch [trunk]
buh-bye commented-out code. We've got version control here...

The script looks like:

http://fossil.wanderinghorse.net/repos/f2/index.cgi/artifact/b237bad93179931493968494feb043f6aa19e8d6

Anyway...

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Status of the hidden tag

2013-07-25 Thread Themba Fletcher
From fossil's /shun page:

 Do not shun artifacts merely to remove them from sight - set the hidden tag 
 on  such artifacts instead.

The only other reference I could find while searching this list was a
note from drh (circa 2009 or so?) noting that it had not been
implemented yet. Is this still the case?

I just tried, via the web interface, adding a hidden tag to a
checkin on one of my mistake branches and the timeline still showed
the item. Perhaps there's a setting I've missed -- or perhaps
something else?

$ fossil version
This is fossil version 1.26 [674a24a360] 2013-07-20 16:43:45 UTC

Best Regards,

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