On Sep 10, 2015, at 7:33 AM, Tony Papadimitriou <to...@acm.org> wrote:
> 
> Is it possible to have an ‘FOSSIL ALL CLOSE’ command?

The attached patch should work for you.

In my testing here, it chokes when it tries to close a checkout that I have 
since abandoned without properly closing it first, but it sounds like you never 
do that, so this limitation shouldn’t bother you.

Does anyone know how I can make Fossil forget that it once opened myreop.fossil 
in ~/abandoned/directory?  I tried

   fossil all ignore -c ~/abandoned/directory

but it doesn’t help.  My new “fossil all close -f” command continues to try to 
close it, but fails because the directory isn’t there any more.

> P.S. I know many people don’t bother closing the fossil at all.  However, I 
> find the alternative of pushing to a USB drive not convenient when the same 
> fossil needs to also be pushed on a local server not reachable from the 
> Internet.

The option I choose is simply to wait to push until I get back to civilization. 
(Meaning: A place where I can get wifi. :) )

Although Fossil *can* push to two different locations, I only use the optional 
URL parameter to “push” when my canonical central repository gets moved, or 
when the cloned Fossil file gets moved.  It’s a rare operation, not something I 
might expect to do several times a week.

As to your “not reachable from the Internet” comment, VPN technology is 
rock-solid these days.  It is quite possible to attach your remote laptop to 
the internal LAN, with security adequate for almost any normal purpose.  (i.e. 
Don’t use a VPN to allow remote access to a nuclear missile silo.)

If you’re worried about the security of your LAN with VPN access allowed, 
you’re probably worrying about the wrong threat.  I’d be more worried about 
losing that presumably-unencrypted USB key, for one thing.

If you don’t like VPNs, sshd configured to accept only keys, and listening on a 
nonstandard port, possibly obscured with port-knocking would also work.  You 
can tunnel arbitrary ports through SSH, creating a kind of “lite” VPN.

Attachment: fossil-all-close.patch
Description: Binary data

_______________________________________________
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