Hi, all,

Here's a random status update on libfossil, for those interested...

- We recently got APIs in place to implement features similar to fossil's
add/remove/status commands, and i have been using those replacements daily
in my repos for at least week with no problems.

- The lib can now create a ZIP file of a given repo version's content
(analog to fossil's "zip" command).

- Today's milestone is a surprisingly small[1] function called
fsl_repo_extract(), which extracts the contents for a given checkin version
and streams it (one file at a time) back to the caller in a form he can use
to store it in a file, put it in a ZIP/tar, send it via email, or whatever.
That will be the basis of the up-coming checkout support, but solving
checkouts at the library level first requires figuring out how to allow for
user-level interaction ("overwrite file? Yes/All/No/Cancel?") for each file
(like fossil does) while still hiding the gory fetching/looping details
from the application. A prototype is in place, but is as yet untested.

For the adventurous ones, several of the library's growing collection of
CLI tools (i.e. test apps) are feature-complete enough for everyday use.

As usual:

http://fossil.wanderinghorse.net/repos/libfossil/


[1] =
http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/artifact/cb2e81023e24b6751d313c9f43cc417262b6b211?ln=1166-1215

<http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/artifact/58c4855bc77b8352?ln=1166-1212>
-- 
----- 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

Reply via email to