[Default] On Mon, 17 Aug 2015 22:12:11 -0400,
<sky5w...@gmail.com> wrote:

> Nice.
> Is it possible to trim the results to only a specific file using a raw SQL
> query or TH1?

It probably is possible, start looking at
http://fossil-scm.org/index.html/artifact/aa78af37cb3226cc?ln=717-733
and then 
http://fossil-scm.org/index.html/artifact/aa78af37cb3226cc?ln=526-666
to find out.

> Or is it quicker to just parse
>  "fossil test-whatis-all >artifacts.txt"
> output?

That's what I would do, using awk, because to me, that would be
easier and quicker. 

> Can I enter multiple artifacts(comma or space delimited) in the shun ui or
> only 1 at a time?

The description and the size of the input boxes in Admin/Shunned
Artifacts suggests that you can enter a list (one sha1 per
line).

> Thanks

My pleasure.


>On Mon, Aug 17, 2015 at 6:08 PM, Kees Nuyt <k.n...@zonnet.nl> wrote:
>
>>
>> On Mon, 17 Aug 2015 16:37:41 +0530, Graeme Pietersz
>> <gra...@pietersz.net> wrote:
>>
>> > I have a Fossil repo that I expected to only work on myself. I have
>> > files containing confidential information and I now need to allow
>> > someone else developer access (so clone, push and pull as a minimum) to
>> > the repo.
>> >
>> > I need to do two things:
>> >
>> > 1) remove past versions of one file that used to contain confidential
>> > information (it was removed in the latest commit). Does that mean shun,
>> > rebuild and then add again? How do I ensure all past versions are
>> > removed? This file has also been renamed so I need to check versions
>> > using the old path are sunned as well.
>>
>> Yes.
>>
>> > 2) ensure that I have never committed another file, and, if I have, shun
>> > it completely.
>> > 3) shun two files that have been removed, but old versions of which are
>> > in the repo. They are not hard to find in the UI.
>> >
>> > All the files concerned have a  distinctive filename pattern (all start
>> > the same) and would only ever have been in one of two directories in any
>> > version. Not sure if that helps.
>>
>>
>> I don't have an answer to all of your questions, but I suppose
>> the
>>   fossil test-whatis-all
>> command, with some grep or awk magic will help you identify the
>> artifacts to shun, and verify the result after the clean-up.

-- 
Regards,

Kees Nuyt

_______________________________________________
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