Adding file / directory to pungi scripts.

Joel Andres Granados jgranado at redhat.com
Tue Jun 26 14:25:47 UTC 2007


Hi list:

Been working on a script that adds files and directories to the pungi 
tree.  It does this by using an rpm package (the current way of doing it 
in pungi).  I just think this might make somebodies life much easier :)
Source is attached
This is how it is used:

Options:
  -h, --help            show this help message and exit
  -s SOURCES, --source=SOURCES
                        This script takes local files and directories.
                        --source=/path/to/dir.
  --pungi-conf=PUNGICONF
                        Pungi configuration file that will be modified.
  --yum-conf=YUMCONF    Yum configuration file that will be modified.
  --name=PKGNAME        It specifies the name of the package.
  --version=PKGVER      Package Version.
  --release=PKGREL      Package Release.
  -a ARCH, --arch=ARCH  Package Architecture.  noarch is recomended.
  -r REPONAME, --repo=REPONAME
                        The repository name. It will be located in the pungi
                        workdir.
  --revert              Is used to undo the changes that this scripts 
does to
                        the yum config file and the pungi config file.

Any comment is greatly appreciated.
Regards

-- 
Joel Andres Granados

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: addFilesToPungi
Url: http://lists.fedoraproject.org/pipermail/buildsys/attachments/20070626/39f21e5e/attachment.pl 


More information about the buildsys mailing list