Re: createrepo: file-pattern-match and dir-pattern-match?
seth vidal <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <1192717207.8542.107.camel@cutter> |
On Thu, 2007-10-18 at 16:20 +0200, Christoph Thiel wrote: > Hi everyone, > > createrepo's genpkgmetadata.py has some file-pattern-match and > dir-pattern-match options, that basically make sure to some file and dir > provides to primary.xml. Currently, they default to: > > cmds['file-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*','^\/usr\/lib\/sendmail$'] > cmds['dir-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*'] > > To make real use of these file and dir patterns, we would need to somehow > put their values into primary.xml, so that a package manager can decide if > it needs to pull in filelist.xml or not (based on the information that it > has in primary.xml and the requires a certain package might have)? > > Thoughts, opinions? If we make it an option then we have to declare a version change in the metadata b/c the metadata won't be compatible with older versions of package managers. I think it should probably be done - but I'm not sure if that's the only change we need to make which will be a compat change, do you? -sv