Re: scripts and options
Jeff Johnson <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
seth vidal wrote: >Hey, > I was trying to write up all the things I wanted to have as options to >the rpm-md-dump script to make creating a repository very simple and so >I have the final steps I need to take to finish out the scripts. > >Here is rough sketch: > >genPkgMetadata [--urlbase='some path'] [--exclude='some wildcard'] dir >genRepoMetadata --basefile= --fileslist= --otherfile= [--groupsfile=] >(maybe --gpgkey=, allowed multiple times) --output= > >so the first script generates your package metadata, obviously and dumps >them out to some files in the current dir or maybe in the dir you >specify. Maybe it outputs the file locations on stdout when it's done. > >The second script generates the repository metadata and writes it out >where --output points to. > >Does that make any sense? Does anyone even care? > > Config the gook, use something like --config file to use per-invoke peculier configgeration. CLI options are a tar baby, there's always 10 more to do. 73 de Jeff