Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Questions about ignoring files

fsvs
Discussion topic

Back to topic list

Re: Questions about ignoring files

Author pmarek
Full name P.Marek
Date 2008-07-12 06:59:03 PDT
Message On Saturday 12 July 2008 Maurice van der Pot wrote:
> On Sat, Jul 12, 2008 at 02:35:32PM +0200, Philipp Marek wrote:
> > Well, "svn:ignore" is defined to be per-directory - which is very
> > impractical if you're versioning several hundred thousand items spread
> > over big hierarchies, and you want to ignore "*.bak" everywhere.
> >
> > That's why FSVS doesn't use this property.
> Ok, I originally just assumed you would have used svn properties
> (svn:fsvs-ignore or whatever) for all metadata.
Only where it works.

As the ignore list can easily be several KB I didn't want to put it in a
property - they should be kept small.

> > And the ignore patterns are versioned - as soon as your
> > $FSVS_CONF/$WC_DIR/Ign file is versioned, too (for /etc as WC and
> > default-config you'll get that automatically - eg.
> > "/etc/fsvs/182f153bd​94803955c2043e6f2581​d5d/Ign")
>
> Ok, I will do that. I was hesitant to add fsvs' directory to version
> control. It kinda felt like doing svn add .svn ;-)
Well - the things that shouldn't be versioned are in $FSVS_WAA
(/var/spool/fsvs), and are automatically ignored.

So it's more like versioning ~/.subversion :-)


> > > Imho it would be useful to perform ignores relative to
> > > the current directory, would it not?
> >
> > Yes, you're right.
> > Did you try this:
> > fsvs ignore $PWD/somefile
>
> I've put my homedir under version control as a normal user. I'm guessing
> this will not only issue a warning, but will also not work if I check
> out to a different base directory (for instance if my username is
> different on another host).
Yes, that's right.
I'll have to think about some way to distinguish a general "based on WC-root"
pattern from "starts here" - possibly by looking whether that path exists
*only* in the CWD but not in the WC, and *doesn't* start with "./" - else it
wouldn't be clear what the user wants.
"./" is defined to be used from the WC root - which, looking back, might be a
bit unfortunate. Maybe I'll have to change that.

> > > P.S.: I had to make two changes before I was able to build fsvs on my
> > > system. I attached a patch containing them.
> >
> > Thank you, I'll take a look.
> > Is that for Gentoo? I'd thought that FSVS was already available as a
> > package there, isn't it?
>
> Not unless they got creative and changed the name.
> I only just noticed an ebuild has been submitted to bugzilla
> (http://bugs.gentoo.o​rg/show_bug.cgi?id=1​93989), but it's not part of
> portage yet.
I'll take a look what's useful. Thank you!


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

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

Messages

Show all messages in topic

Questions about ignoring files griffon26 Maurice van der Pot 2008-07-06 15:27:51 PDT
     Re: Questions about ignoring files pmarek P.Marek 2008-07-12 05:35:32 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-12 05:55:44 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-12 06:59:03 PDT
                 Re: Questions about ignoring files pmarek P.Marek 2008-07-12 07:02:53 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-13 11:21:28 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-14 08:40:14 PDT
             Re: Questions about ignoring files Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-07-12 07:16:43 PDT
         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 05:20:28 PDT
             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 06:51:10 PDT
                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 09:23:47 PDT
                     Re: Questions about ignoring files pmarek P.Marek 2008-07-15 11:16:40 PDT
                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-15 14:07:06 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-15 22:17:07 PDT
                                 Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-17 03:58:04 PDT
                                     Re: Questions about ignoring files pmarek P.Marek 2008-07-17 04:13:38 PDT
                                         Re: Questions about ignoring files griffon26 Maurice van der Pot 2008-07-18 10:54:56 PDT
                                             Re: Questions about ignoring files [PATCH] pmarek P.Marek 2008-07-18 11:58:38 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-16 20:37:21 PDT
                             Re: Questions about ignoring files pmarek P.Marek 2008-07-17 10:22:56 PDT
Messages per page: