Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Quick ignore / take question

fsvs
Discussion topic

Back to topic list

Re: Quick ignore / take question

Author Thomas Harold <tgh at tgharold dot com>
Full name Thomas Harold <tgh at tgharold dot com>
Date 2008-08-06 17:16:50 PDT
Message Philipp Marek wrote:
> Hello Thomas!
>
> On Tuesday 05 August 2008 Thomas Harold wrote:
>> Originally, we ignored /var/vmail (the entirety).
>>
>> ./var/vmail/
>>
>> Then I added (to the end):
> And that's the problem - the ignore patterns are used *in order*, and the
> first match terminates the search.
> So you'll have to move them to the front:
> fsvs ignore dump > file
> vi file
> fsvs ignore load < file

Thank you. Mmm... I now have the ordering of:

t./var/vmail/**/.dovecot.sieve
t./var/vmail/sievescripts
./var/vmail/

Which seems like FSVS should ignore everything under /var/vmail/ except
for the sievescripts directory and any files below that point that are
named ".dovecot.sieve".

But fsvs status doesn't show updates when I sit in the root folder (root
of my working copy, where I always do my commands from):

# fsvs status /
n... dir .
# fsvs status /var/
# fsvs status /var/vmail/
N... dir ./var/vmail/sievescripts
n... dir ./var/vmail
#

So a fsvs ci -m "comment" from the root won't do anything unless I:

# fsvs ci -m "snapshot" /var/vmail/
Committing to file:///var/svn/sys-fw1-pri-cfg
n... dir ./var/vmail
N... dir ./var/vmail/sievescripts
committed revision 367 on 2008-08-06T23:48:53.176164Z as root
#

But it's still not grabbing the files inside of the sievescripts folder.
  Or looking for .dovecot.sieve files under the /var/vmail tree. The
".dovecot.sieve" folders are located two levels below /var/vmail:

/var/vmail/domain/us​ername/.dovecot.siev​e

Maybe I'm not understanding the USAGE file where you have patterns with
spaces in them like: './ ** / *.bak'.

Also tried:

t./var/vmail/*/*/.dovecot.sieve
t./var/vmail/sievescripts
./var/vmail/

If I create a test file in /var/, it immediately picks it up:

  fsvs status
n... dir .
N... 5 ./var/test
.mC. dir ./var
#

Creating a test file in /var/vmail/ results in:

# fsvs status
n... dir .
.m.. dir ./var/vmail
.m.. dir ./var
#

Which is as expected. Moving the test file under
/var/vmail/sievescripts then causes fsvs to see that there are actually
things under /var/vmail/sievescripts that need to be versioned and
results in a lot of new "N..." lines. It's like fsvs got itself
"unstuck" and suddenly found the files as I changed things in
/var/vmail/ itself.

Still can't get it to look in folders below /var/vmail/ or find those
.dovecot.sieve files:

t./var/vmail/**/.dovecot.sieve
t./var/vmail/sievescripts
./var/vmail/

And a "find /var/vmail -name .dovecot.sieve" pulls up 8 files under
/var/vmail.

I've also tried: "fsvs status -C -C" which took a while to run, but
still didn't pickup on the ".dovecot.sieve" files in the individual mail
folders. And running it solely on the /var/vmail/ tree results in:

# fsvs status -C -C -v /var/vmail/
..... dir ./var/vmail
..... 5276 ./var/vmail/sievescr​ipts/survey-sortingr​ulesc
..... 48 ./var/vmail/sievescr​ipts/survey-BASEc
..... 58 ./var/vmail/sievescr​ipts/survey-BASE
..... 179 ./var/vmail/sievescr​ipts/Makefile
..... 3501 ./var/vmail/sievescr​ipts/survey-sortingr​ules.old
..... dir ./var/vmail/sievescripts
..... 4842 ./var/vmail/sievescr​ipts/survey-sortingr​ules
#

Hmm, I just looked at the version - it's only 1.1.6 (been misreading
that as 1.1.16).

No luck, even with fsvs-1.1.16:1690, it's still not seeing the dovecot
sieve files inside of individual user folders.

« Previous message in topic | 4 of 7 | Next message in topic »

Messages

Show all messages in topic

Quick ignore / take question (fsvs-1.1.6:900) Thomas Harold <tgh at tgharold dot com> Thomas Harold <tgh at tgharold dot com> 2008-08-05 09:01:03 PDT
     Re: Quick ignore / take question (fsvs-1.1.6:900) pmarek P.Marek 2008-08-06 00:44:01 PDT
         Re: Quick ignore / take question (fsvs-1.1.6:900) pmarek P.Marek 2008-08-06 06:46:27 PDT
         Re: Quick ignore / take question Thomas Harold <tgh at tgharold dot com> Thomas Harold <tgh at tgharold dot com> 2008-08-06 17:16:50 PDT
             Re: Quick ignore / take question pmarek P.Marek 2008-08-07 00:50:02 PDT
                 Re: Quick ignore / take question pmarek P.Marek 2008-08-07 01:31:04 PDT
                 Re: Quick ignore / take question Thomas Harold <tgh at tgharold dot com> Thomas Harold <tgh at tgharold dot com> 2008-08-07 05:54:58 PDT
Messages per page: