[pve-devel] [RFC PATCH container] setup: ability to ignore files

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Apr 13 08:56:22 CEST 2016


On Tue, Apr 12, 2016 at 03:10:38PM +0000, Daniel Hunsaker wrote:
> Alternately, there's the .gitignore approach...  Pretty sure there's a Perl
> library for handling that format (or a similar one) which we could drop
> in.  One downside is having to parse .pve-ignore files all the way up the
> path, but an existing library would take care of that.  The main upside is

I didn't think of that. On the other hand there aren't too many files we
touch. (We should probably list them all somewhere in the docs...)

> we need far fewer ignore files to mask out large collections.
> 
> Either way, I agree that using dotfiles is best.
> 
> On Tue, Apr 12, 2016, 07:12 Fabian Grünbichler <f.gruenbichler at proxmox.com>
> wrote:
> 
> > > Wolfgang Bumiller <w.bumiller at proxmox.com> hat am 12. April 2016 um
> > 14:49
> > > geschrieben:
> > >
> > >
> > > Make the ct_* file wrapper functions ignore files for which
> > > a file named .pve-ignore.$name exists.
> > > ---
> > >
> > > This uses a .pve-ignore prefix. Another option would be a suffix. I'm
> > > not sure which is better, but personally I like to keep annoying files
> > > like that "hidden" from my standard view.
> >
> > +1 for the prefix variant. patch LGTM
> >
> > _______________________________________________
> > pve-devel mailing list
> > pve-devel at pve.proxmox.com
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list