--- src/bin/pungi.py | 4 +++- src/pypungi/__init__.py | 2 +- src/pypungi/config.py | 1 + 3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/bin/pungi.py b/src/bin/pungi.py index a80e29d..0f69a0f 100755 --- a/src/bin/pungi.py +++ b/src/bin/pungi.py @@ -214,8 +214,10 @@ if __name__ == '__main__': help='Create the source isos (other arch runs must be done)') parser.add_option("--force", default=False, action="store_true", help='Force reuse of an existing destination directory (will overwrite files)') - parser.add_option("--isfinal", default=False, action="store_true", + parser.add_option("--isfinal", default=False, action="store_true", help='Specify this is a GA tree, which causes betanag to be turned off during install') + parser.add_option("--norepoview", default=False, action="store_true", + help='disable creating of repoview pages') parser.add_option("--nohash", default=False, action="store_true", help='disable hashing the Packages trees') parser.add_option("--full-archlist", action="store_true", diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index ffacbf1..234b39d 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -891,7 +891,7 @@ class Pungi(pypungi.PungiBase): cachedir = self.config.get('pungi', 'cachedir')
# setup the createrepo call - self._makeMetadata(self.topdir, cachedir, compsfile, repoview=True, repoviewtitle=repoviewtitle) + self._makeMetadata(self.topdir, cachedir, compsfile, repoview=not self.config.get('pungi', 'norepoview'), repoviewtitle=repoviewtitle)
# create repodata for debuginfo if self.config.getboolean('pungi', 'debuginfo'): diff --git a/src/pypungi/config.py b/src/pypungi/config.py index 4e076de..37bc07b 100644 --- a/src/pypungi/config.py +++ b/src/pypungi/config.py @@ -45,5 +45,6 @@ class Config(SafeConfigParser): self.set('pungi', 'alldeps', "True") self.set('pungi', 'isfinal', "False") self.set('pungi', 'nohash', "False") + self.set('pungi', 'norepoview', "False") self.set('pungi', 'full_archlist', "False")
buildsys@lists.fedoraproject.org