[Rpm-maint] [rpm-software-management/rpm] Glob code fixes and DRY clean-up (PR #2138)
Michal Domonkos
notifications at github.com
Tue Aug 2 10:10:28 UTC 2022
Some more fixes and refactoring of the glob logic.
Depends on #2137 so marking this one as a draft until it's merged.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2138
-- Commit Summary --
* Fix non-glob fallback regression in rpmGlob()
* Append to arglist in rpmGlob()
* Remove no-op URL handling code from rpmGlob()
* Refer to glob(7) for metachar listing in spec.md
* Return arg count 0 from rpmGlob()
* Return GLOB_NOMATCH on missing dirs in rpmGlob()
* Fall back to literal glob in %doc and %license
* Refactor rpmGlob()
* Allow for choosing fallback behavior in rpmGlob()
* Unify glob fallback code in %files
* Bump glob fallback message in %files to warning
* Refactor processBinaryFile()
-- File Changes --
M build/files.c (53)
M build/rpmfc.c (2)
M docs/manual/spec.md (16)
M include/rpm/rpmfileutil.h (3)
M lib/manifest.c (12)
M lib/rpmdb.c (2)
M lib/rpmgi.c (3)
M lib/rpminstall.c (3)
M lib/rpmrc.c (3)
M lib/rpmts.c (2)
M lib/transaction.c (2)
M rpmio/macro.c (3)
M rpmio/rpmglob.c (132)
M tests/data/SPECS/globesctest.spec (9)
A tests/data/SPECS/globmisstest.spec (23)
M tests/rpmbuild.at (24)
M tools/rpmgraph.c (3)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2138.patch
https://github.com/rpm-software-management/rpm/pull/2138.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2138
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2138 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220802/dffcf3c9/attachment.html>
More information about the Rpm-maint
mailing list