-
Notifications
You must be signed in to change notification settings - Fork 42
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
minor edits to readme + random notes #34
Comments
Thanks for submitting this. However, generally, it is better to submit one actionable topic as a separate issue, so that they can be tracked and discussed individually.
Fixed, thanks.
I think the aconfmgr README is not really the best place to document bash features.
I would like aconfmgr to generate a sensible default configuration with ignore rules for currently installed packages in a future version.
Using lookahead wouldn't work anyway, because subtrees are pruned immediately on a match, to avoid scanning ignored trees (which might be large or network filesystems). See #12 for some discussion for a possible
FYI, as the content is still owned by you and under a different license than aconfmgr, it cannot be incorporated as part of aconfmgr. For that, the author would either need to release it under the same license as aconfmgr (MIT), disclaim copyright on the content (i.e. place it under the public domain), or assign copyright to the copyright holder of aconfmgr (currently authors retain copyright). |
This has now been filed as its own issue in #37. As this was the only remaining actionable item from your list, I am going to close this issue. Thank you again for the feedback. |
in readme, i miss the closing quote in
bash heredoc format
in section Inlining files, please add more samples for the bash heredoc format, including ...
... quoted heredoc format, with 'No parameter expansion, command substitution, arithmetic expansion, or pathname expansion'
... unquoted heredoc format, with both constants and expressions
the result is identic, but in version 2, you can use 'template variables'
ignore.sh samples
please add one [or more] ignore.sh sample files, like here
i would add, for example ...
find -regex, instead of find -wholename
let me append custom filters to ignore_args, like ...
i am aware, that scanning /home is out-of-scope for aconfmgr.
these are just samples, for what PE-regex can look like.
filtering by file size could be more useful.
perl regex
problem: find from findutils does not support perl regex.
i need perl regex, to use 'negative lookahead'
(?!pattern)
, to .../opt/*
/opt/i2p/router.config
and/opt/i2p/.i2p/router.config
... for example.
workaround: use perl to filter the output of find
to un-ignore paths:
ignore_paths should be unique:
... so to include some files in /home
bash exec magic
[ this is more a note to my self ]
this is called: bash automatic file descriptor allocation
as i found out after some time of searching
in common.bash
hope to help : ]
all my content is published under ZeroBSD license = zero restrictions + zero warranty
The text was updated successfully, but these errors were encountered: