Re: [fossil-users] Fossil purge Command

2018-02-27 Thread Warren Young
On Feb 27, 2018, at 10:55 AM, Agrawal, Ritika  wrote:
> 
> - Need to clean up the files manually as well

That’s consistent with the current default behavior of “fossil rm” as well, so 
it’s correct until/unless that changes.

>-  Purging happens only in local clone copy and never syncs back. 
> Need to copy back the clone to central repo

That’s consistent with the behavior of the /shun command.  I’m uncertain how 
these two mechanisms interact and overlap, but it is at least clear to me that 
they should behave the same way.

I’m uncertain because I’ve never used either mechanism in all my years of 
Fossil use, on purpose, for philosophical reasons.

The reason these commands behave that way is that, once you distribute a given 
artifact to someone else, you should not be able to *make* them forget that you 
sent it to them.  It takes a collaborative effort to expunge an artifact from 
all repository clones, everywhere, on purpose.  This is because it is 
necessarily a social matter rather than a technical matter: you need to 
convince everyone they they should also forget the artifact.

This mailing list works much the same way.  I cannot un-send a message to the 
mailing list.  There is doubtless a way for drh to delete a message from the 
mailing list server’s archive, but that doesn’t un-distribute it to the mailing 
list members.  I’ve occasionally regretted sending out an email to a mailing 
list, but I wouldn’t presume to reach into your computer to delete the copy you 
received to “fix” my mistake.

See also: https://www.fossil-scm.org/index.html/doc/trunk/www/shunning.wiki
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Fossil purge Command

2018-02-27 Thread Agrawal, Ritika
> There may come a day when going to an HTTP-only web site will require 
> multiple affirmations asymptotically approaching ?Yes, I?m really quite 
> certain I want my face eaten by a rabid grue.  Just let me look at this one 
> web site first, please.?
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>


--

Message: 3
Date: Tue, 27 Feb 2018 08:44:47 -0700
From: Warren Young <war...@etr-usa.com>
To: Fossil SCM user's discussion <fossil-users@lists.fossil-scm.org>
Subject: Re: [fossil-users] Setting up an internet Fossil server
Message-ID: <0765fe52-08d1-4b7f-84ab-9d1dda23f...@etr-usa.com>
Content-Type: text/plain;   charset=utf-8

On Feb 27, 2018, at 8:37 AM, Roy Keene <fos...@rkeene.org> wrote:
> 
> You don't lose support for TLS, since Apache supports TLS.  It's just running 
> Fossil as a CGI -- this is exactly how ChiselApp works.

Compare Thomas’ post to the HOWTO I linked in my first post in this thread.  
The largest part of the difference between them is that my HOWTO gives you a 
Let’s Encrypt setup as well as a Fossil server.  Since Thomas doesn’t describe 
how to configure TLS on Apache, I’d say that it’s fair to say that’s one big 
reason why Thomas’ configuration is simpler than mine.

A much smaller part of the delta is plain old CGI vs “fossil server --scgi”, 
which I think is well worth the minor complexity to avoid the CPU and disk hits 
of repeated Fossil launches.

----------

Message: 4
Date: Tue, 27 Feb 2018 15:56:16 +
From: "Agrawal, Ritika" <ritika.agra...@intel.com>
To: "fossil-users@lists.fossil-scm.org"
<fossil-users@lists.fossil-scm.org>
Subject: [fossil-users] Fossil purge Command
Message-ID:
<d1b5b600ee5bf04ea33dd0a5e61a204c38f7b...@fmsmsx103.amr.corp.intel.com>

Content-Type: text/plain; charset="utf-8"

Hi,

I am trying to use the purge command available with fossil 2.5 release.

Steps performed :
1. fossil purge files  2. fossil purge list 3. fossil purge 
obliterate 

After obliteration, the size of the repo remains the same. After trying to 
commit the changes to the repo, I see the error :


  working checkout does not match manifest after commit: 
e60149b4a3df3f1328936051f4cc5f80 versus 0734caf2221c1050ab1cf07cf8616043



Both these ids are neither current checkout id nor parent id. Any ideas?



Thanks,

Ritika

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.fossil-scm.org:8080/pipermail/fossil-users/attachments/20180227/b46a39f5/attachment-0001.html>

--

Message: 5
Date: Tue, 27 Feb 2018 09:59:28 -0600 (CST)
From: Roy Keene <fos...@rkeene.org>
To: "Fossil SCM user's discussion" <fossil-users@lists.fossil-scm.org>
Subject: Re: [fossil-users] Setting up an internet Fossil server
Message-ID: <alpine.lnx.2.20.1802270958410.20...@railroad.oc9.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed

ChiselApp also uses Let's Encrypt

On Tue, 27 Feb 2018, Warren Young wrote:

> On Feb 27, 2018, at 8:37 AM, Roy Keene <fos...@rkeene.org> wrote:
>>
>> You don't lose support for TLS, since Apache supports TLS.  It's just 
>> running Fossil as a CGI -- this is exactly how ChiselApp works.
>
> Compare Thomas? post to the HOWTO I linked in my first post in this thread.  
> The largest part of the difference between them is that my HOWTO gives you a 
> Let?s Encrypt setup as well as a Fossil server.  Since Thomas doesn?t 
> describe how to configure TLS on Apache, I?d say that it?s fair to say that?s 
> one big reason why Thomas? configuration is simpler than mine.
>
> A much smaller part of the delta is plain old CGI vs ?fossil server --scgi?, 
> which I think is well worth the minor complexity to avoid the CPU and disk 
> hits of repeated Fossil launches.
> _______________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>


--

Message: 6
Date: Tue, 27 Feb 2018 11:44:42 -0500
From: Richard Hipp <d...@sqlite.org>
To: "Fossil SCM user's discussion" <fossil-users@lists.fossil-scm.org>
Subject: Re: [fossil-users] Fossil purge Command
Message-ID:

Re: [fossil-users] Fossil purge Command

2018-02-27 Thread Richard Hipp
On 2/27/18, Agrawal, Ritika  wrote:
> Hi,
>
> I am trying to use the purge command available with fossil 2.5 release.
>
> Steps performed :
> 1. fossil purge files 
> 2. fossil purge list
> 3. fossil purge obliterate 
>
> After obliteration, the size of the repo remains the same.

You probably need to run VACUUM on the database.

 fossil sql VACUUM

Or you can vacuum as part of a rebuild:

fossil rebuild --vacuum


> After trying to
> commit the changes to the repo, I see the error :
>
>   working checkout does not match manifest after commit:
> e60149b4a3df3f1328936051f4cc5f80 versus 0734caf2221c1050ab1cf07cf8616043
>

Background information:
https://www.fossil-scm.org/fossil/doc/trunk/www/selfcheck.wiki

Those are MD5 checksums over the entire content of the check-in as it
exists on disk versus what Fossil is trying to push into the
repository.  Something has gone wrong so that the two do not agree,
hence Fossil rolls back the check-in to avoid problems.

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


[fossil-users] Fossil purge Command

2018-02-27 Thread Agrawal, Ritika
Hi,

I am trying to use the purge command available with fossil 2.5 release.

Steps performed :
1. fossil purge files 
2. fossil purge list
3. fossil purge obliterate 

After obliteration, the size of the repo remains the same. After trying to 
commit the changes to the repo, I see the error :


  working checkout does not match manifest after commit: 
e60149b4a3df3f1328936051f4cc5f80 versus 0734caf2221c1050ab1cf07cf8616043



Both these ids are neither current checkout id nor parent id. Any ideas?



Thanks,

Ritika

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