[pve-devel] [RFC PATCH container] setup: ability to ignore files
danhunsaker at gmail.com
Tue Apr 12 17:10:38 CEST 2016
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
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>
> > Wolfgang Bumiller <w.bumiller at proxmox.com> hat am 12. April 2016 um
> > 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
More information about the pve-devel