summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: add "functional" test exercising filter/_try_editJan Pokorný2015-02-265-0/+79
| | | | | | Also extend .gitignore whitelist appropriately. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: setenv_namespaced counterpart of getenv_namespacedJan Pokorný2015-02-261-0/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs2needlexml[cluster]: NOSALT -> determinismJan Pokorný2015-02-261-5/+17
| | | | | | ... hence testability Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: make XSLT filter aware of lazystring symbolsJan Pokorný2015-02-261-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: add lazystring decorator/wrapper over eval'd stringJan Pokorný2015-02-261-0/+26
| | | | | | | | Caching of the value is implicit, can be disabled by the respective flag, e.g., if the value depends on some condition that may change in a repeated string yielding. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: propagate unrecognized call kws to CommandContextJan Pokorný2015-02-261-3/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: do not trust editors to do real in-place editJan Pokorný2015-02-261-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: do not info-log launching editor prematurelyJan Pokorný2015-02-261-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: fix _try_edit not expecting additional keywordJan Pokorný2015-02-261-5/+4
| | | | | | | TODO: a test, likely more-than-unit one, to exercise _try_edit Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: take newer pip log location into accountJan Pokorný2015-02-261-1/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: preserve exit status on pip command failureJan Pokorný2015-02-261-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-{check,test}: remove bashisms (travis-friendly)Jan Pokorný2015-02-262-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* setup: filelist.findall/setuptools8.0(#277)+symlink schema -> infloopJan Pokorný2015-02-261-0/+17
| | | | | | | ...hence monkey-patching monkey-patched (by setuptools against distutils' original implementation) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: avoid in-comment macro expansion in distilled verJan Pokorný2015-02-261-1/+1
| | | | | | | NB: this should rather be solved on the distill-spec side (along with other for-distill-spec kludges). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: be able to own %{_datadir}/bash-completion (2 dirs up)Jan Pokorný2015-02-261-0/+3
| | | | | | | Avoids "Directory ownership" as reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c19> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: %{clufter_bashcompreal} parent added non-recursivelyJan Pokorný2015-02-261-1/+1
| | | | | | | Avoids "Files listed twice" as reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c19> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: ${bashcompdir}, file of ${bashcompdir}, duplicateJan Pokorný2015-02-261-1/+0
| | | | | | | Avoids "Files listed twice" as reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c19> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: more proper %doc/%license files trackingJan Pokorný2015-02-261-3/+4
| | | | | | | Also avoids "Files listed twice" as reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c19> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: do not require filesystem, it's a "default"Jan Pokorný2015-02-261-3/+0
| | | | | | | | | | | | | Effectively revert: "spec: Require filesystem as it owns the man pages dir" Because filesystem package is already required with whatever depends on glibc, which is practically everything. Reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c19> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: clufter_post_ext def not sufficiently escapedJan Pokorný2015-02-261-1/+1
| | | | | | | Reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c19> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests: avoid loading ext. plugins (complain about imports)Jan Pokorný2015-02-262-2/+3
| | | | | | Highlighted by increased "cannot load a module" msg severity. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[postgres-8]: fix broken importJan Pokorný2015-02-261-1/+1
| | | | | | Discovered by increased "cannot load a module" msg severity. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: change severity of "cannot load a module" msgJan Pokorný2015-02-261-2/+2
| | | | | | | | It's turned out that we really need to known when something unexpected happens (usual cause: relative import within the module being loaded -- too many/few dots used). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-ccs/ccs-subst-nodes[cluster]: fix broken importJan Pokorný2015-02-261-1/+1
| | | | | Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-sdist-per-commit: ditto convenient pushed-code sdist'ingJan Pokorný2015-02-264-1/+25
| | | | | | Also include this file into the specfile as extra source if appropriate. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-sdist: script for convenient local-commit sdist'ingJan Pokorný2015-02-261-0/+9
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[apache,mysql]: fix XSLTApplyErrorJan Pokorný2015-02-262-2/+4
| | | | | | | | | | More specifically: > lxml.etree.XSLTApplyError: xsl:attribute: Cannot add attributes to an > element if children have been already added > to the element. Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: ensure %{clufter_source} can expand to %{name}-%{version}Jan Pokorný2015-02-261-7/+13
| | | | | | ... if it is not a pre-release version Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: fix exclude being too greedy (missing PURPOSE file)Jan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* misc/infer-match: reflect distill-spec "-d" -> "-D" changeJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* git-distill-spec: bump to latest greatestJan Pokorný2015-02-261-0/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: add a comment why bash-completion is BuildRequiresJan Pokorný2015-02-261-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: Require filesystem as it owns the man pages dirJan Pokorný2015-02-261-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* s/%{name}pec: allow inferring also an overall descriptionJan Pokorný2015-02-261-2/+3
| | | | | | This time using the output of "../run-dev -h". Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: allow inferring also a package licenseJan Pokorný2015-02-261-2/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: if "infer" is defined, extract authoritative dataJan Pokorný2015-02-261-2/+4
| | | | | | | | ...directly from "python setup.py --FIELD". So now, misc/infer-match finally makes sense :) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: adjust style/cosmeticsJan Pokorný2015-02-261-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: use %{name} instead of verbatim name in descriptionsJan Pokorný2015-02-261-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: remove redundant license file in the subpackageJan Pokorný2015-02-261-1/+0
| | | | | | | As the license file(s) already brought in by the core subpackage (python-clufter). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: fix %post's wrt. regenerating bash completionJan Pokorný2015-02-261-1/+20
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: bash comp. (symlink): %{_datadir}/bash-completion/completionsJan Pokorný2015-02-261-5/+31
| | | | | | | | | | | | | | | | | | | First, use %{_datadir}/bash-completion/completions instead of %{_sysconfdir}/bash_completion.d. Second, make it possible (and default behavior) to just drop a symlink here while the pointed file itself is maintained as %{_sysconfdir}/%{name}/bash-completion. These come from suggestions by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c12> <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c15> Third, use pkg-config on bash-completion (new BuildRequire) to find out actual preferred location of the completions (takes precedence over the specfile-hardcoded location). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: avoid "%files -n usage with having %{name}- prefix"Jan Pokorný2015-02-261-16/+19
| | | | | | | Comes from suggestions by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c12> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: differentiate pre- and releases naturallyJan Pokorný2015-02-261-1/+9
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: restructure/simplify using bcondsJan Pokorný2015-02-261-51/+55
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: declare "expand" prefix for distill-spec utilJan Pokorný2015-02-261-0/+1
| | | | | | | Refer this commit at the respective tool repo: Make tool clufter-agnostic by reading "expand" prefix from spec Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* spec: do not use %clufter_name when %name is OKJan Pokorný2015-02-261-21/+21
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* misc/infer-match: return exit status properlyJan Pokorný2015-02-261-0/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* misc/infer-match: print status message outside of pagerJan Pokorný2015-02-261-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* git-distill-spec: bump to latest greatestJan Pokorný2015-02-261-0/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* misc/infer-match: check if specfile with/-out "infer" matchJan Pokorný2015-02-261-0/+15
| | | | | | | "Polling" solution, instead of "event-based" one because distill-spec cannot have specfile semi-preprocessed with %if, etc. intact/unevaluated. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>