-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce configuration file #7
Comments
Hi, for example: If you like I can help, but until January I'm on vacation. |
Another idea: [.*] [shadow] [.*.bak] thanks |
@JPT77 What you wrote in your first comment, was already partly mentioned in the issue description
I'm not sure I like the idea of non-symmetrical Regarding your second comment, per-regexp options may be problematic ordering- and performance-wise. |
You are right, most time one will store exactly the metadata which is important for him. And this data he will apply and compare. I started my own metastore written in java. Well: It's not that trivial if you want to implement my ideas. Won't ever be finished almost certainly. ;) Ok, this isn't top priority. ;) An asci format metastore would be waaayyy more important. |
Configuration files will be optional and they will be read in following order:
/etc/metastore.conf
(system options)$HOME/.metastore.conf
(global options)$CWD/.metastore.conf
(local options)The format will be most likely INI-like (
key = value
), but without any sections.Options theoretically required to support current features:
verbosity = INT
- verbosity level (0
by default)mtime = BOOL
- should mtime be considered when applying or diffing metadata? (no
by default)empty-dirs = BOOL
- recreate missing empty directories (no
by default)git = BOOL
- do not omit .git directories (no
by default)file = STR
- metadata file (.metadata
by default)Options required to support future features:
format = STR
- metadata file format (0
by default,v001t
for new one)format-convert = BOOL
- should metadata file be converted to chosen format even if present file uses other one? (no
by default)exclude = STR
- exclude dirs/files that match pattern (.git
by default)exclude-from = STR
- exclude dirs/files that match any pattern in fileexclude-reset = BOOL
- removes all excludes defined earlier usingexclude
when trueexclude-from-reset = BOOL
- removes all excludes defined earlier usingexclude-from
when true (no-op when false)remove-empty-dirs = BOOL
- remove empty directories not present in applied metadata file (no
by default)work-on-parameters = STR
- parameters that should be considered when diffing or applying metadata ("mox" by default)Some options theoretically required to support current features would be better not present at all. When
exclude
will be available, there will be no need forgit
, as it would complicate things more (ignoring.git
directories being excluded...). Similarlywork-on-parameters
is much nicer than specificmtime
.The text was updated successfully, but these errors were encountered: