Hi, all,

Another status update for what is still tentatively known as libfossil...

As of a few minutes ago its tagging support is more or less functional:

[stephan@host:~/cvs/fossil/f2]$ ./f-tag
Usage:
./f-tag -a ARTIFACT_TO_TAG -t TAGNAME [-v VALUE] [-u USER] [-R REPO_DB]

Adds a tag to the given Fossil repository artifact.
MARKER: f-tag.c:84:main(): Done! rc=103 (FSL_RC_MISUSE)

[stephan@host:~/cvs/fossil/f2]$ ./f-tag -a=current -t=f-tag-test-3 -v
'again!' --verbose
...
VERBOSE: f-tag.c:76:main(): Added tag [f-tag-test-3] to [current]. New tag
rid=1127.
MARKER: f-tag.c:84:main(): Done! rc=0 (FSL_RC_OK)

And it's in the timeline:

[stephan@host:~/cvs/fossil/f2]$ f time -t g -n 2
=== 2013-08-11 ===
21:31:39 [64df2f9505] Edit [2caba4c8]: Add "-tag-test-3" with value
"again!".
         (user: stephan)

(Side note: it accepts flags in (-flag VALUE) or (-flag=VALUE) form)

The code for the f-tag mini-app is pretty small and self-explanitory:

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

Happy Hacking!

-- 
----- 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

Reply via email to