Hi, devs,

To simplify management of the 'cache' on my hoster (where i've got 40+
repos), i just added 'cache' to the 'all' command:

http://www.fossil-scm.org/index.html/info/744aaa84e49914df

It's not clear to me whether or not the 'quiet' and/or 'showLabel' flags
would be best enabled or disabled for this purpose, and feedback is
welcomed. It currently looks like:


xx...@wanderinghorse.net [~]# fossil all cache init
...
************* /home/wanderi1/fossil/c11n.fsl
***********************************
./fossil cache -R /home/wanderi1/fossil/c11n.fsl init
cache created in file /home/wanderi1/fossil/c11n.cache
************* /home/wanderi1/fossil/cgi3.fsl
***********************************
./fossil cache -R /home/wanderi1/fossil/cgi3.fsl init
cache created in file /home/wanderi1/fossil/cgi3.cache
...


xx...@wanderinghorse.net [~]# fossil all cache ls  | grep -A2 cwal
************* /home1/wanderi1/fossil/cwal.fsl
**********************************
fossil cache -R /home1/wanderi1/fossil/cwal.fsl ls
2015-07-04 05:31:29    2    9.7MB
/zip/86c3d242c29d9724bbb357fb69b60ab9e2eb5ac5/libcwal-86c3d242c2
Entries: 1  Cache-file Size: 9691136
...

While testing on my hoster i noticed that 'all' of course doesn't know
about repos never _opened_ on the hoster (and most have not been), so i had
to go manually open several of them before 'all' would pick them up. It's
not clear how to best resolve that resp. if that's something needing
resolving.

Happy Hacking!

-- 
----- 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-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to