I am trying to get mash running to be able to pull the packages I have in koji out into a sane repo for publishing, but I can't find any good documentation on what the config files are supposed to look like. Does anyone know where any documentation for it is?
Also, I think I have a config based off the ones included but I am getting an error when I am building the repo. I am including it below.
Thanks, Nathan
Traceback (most recent call last): File "/usr/bin/mash", line 97, in ? main() File "/usr/bin/mash", line 77, in main rc = themash.doCompose() File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 400, in doCompose repocache = repocache, comps = True, arch = arch) File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 237, in _write_files status = self._makeMetadata(repo_path, repocache, arch, comps, previous = previous_path) File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 128, in _makeMetadata md.run(path) File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 247, in run self.obj.run(path) File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 199, in run self.repomatic.doPkgMetadata() File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 356, in doPkgMetadata self.writeMetadataDocs(packages) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 495, in writeMetadataDocs po = self.read_in_package(pkg, pkgpath=pkgpath, reldir=reldir) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 451, in read_in_package if po.checksum in (None, ""): File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046, in __getattr__ return self.hdr[thing] KeyError: 'unknown header tag'
Nathan Blackham (kemotaha@gmail.com) said:
I am trying to get mash running to be able to pull the packages I have in koji out into a sane repo for publishing, but I can't find any good documentation on what the config files are supposed to look like. Does anyone know where any documentation for it is?
There, um, isn't really any. The best way is to base off of the included configs, as you did.
Traceback (most recent call last): File "/usr/bin/mash", line 97, in ? main() File "/usr/bin/mash", line 77, in main rc = themash.doCompose() File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 400, in doCompose repocache = repocache, comps = True, arch = arch) File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 237, in _write_files status = self._makeMetadata(repo_path, repocache, arch, comps, previous = previous_path) File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 128, in _makeMetadata md.run(path) File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 247, in run self.obj.run(path) File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 199, in run self.repomatic.doPkgMetadata() File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 356, in doPkgMetadata self.writeMetadataDocs(packages) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 495, in writeMetadataDocs po = self.read_in_package(pkg, pkgpath=pkgpath, reldir=reldir) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 451, in read_in_package if po.checksum in (None, ""): File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046, in __getattr__ return self.hdr[thing] KeyError: 'unknown header tag'
Which version of mash, yum, and createrepo do you have installed?
Bill
I looked into the directory and everything seems to be running upto the createrepo portion of the script. I see all the rpms and can run createrepo myself and it works.
Versions:
mash-0.5.16-1 yum-3.2.19-18 createrepo-0.4.11-3
On Fri, May 28, 2010 at 3:13 PM, Bill Nottingham notting@redhat.com wrote:
Nathan Blackham (kemotaha@gmail.com) said:
I am trying to get mash running to be able to pull the packages I have in koji out into a sane repo for publishing, but I can't find any good documentation on what the config files are supposed to look like. Does anyone know where any documentation for it is?
There, um, isn't really any. The best way is to base off of the included configs, as you did.
Traceback (most recent call last): File "/usr/bin/mash", line 97, in ? main() File "/usr/bin/mash", line 77, in main rc = themash.doCompose() File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 400, in doCompose repocache = repocache, comps = True, arch = arch) File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 237, in _write_files status = self._makeMetadata(repo_path, repocache, arch, comps, previous = previous_path) File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 128, in _makeMetadata md.run(path) File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 247, in run self.obj.run(path) File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 199, in run self.repomatic.doPkgMetadata() File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 356, in doPkgMetadata self.writeMetadataDocs(packages) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 495, in writeMetadataDocs po = self.read_in_package(pkg, pkgpath=pkgpath, reldir=reldir) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 451, in read_in_package if po.checksum in (None, ""): File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046, in __getattr__ return self.hdr[thing] KeyError: 'unknown header tag'
Which version of mash, yum, and createrepo do you have installed?
Bill
buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
Nathan Blackham (kemotaha@gmail.com) said:
I looked into the directory and everything seems to be running upto the createrepo portion of the script. I see all the rpms and can run createrepo myself and it works.
Versions:
mash-0.5.16-1 yum-3.2.19-18 createrepo-0.4.11-3
Can you attach your config? What happens if you set 'hash = md5' in the config?
Bill
Same failure.
config : ------ rpm_path = %(arch)s/os/Packages repodata_path = %(arch)s/os/ source_path = source/SRPMS debuginfo = True multilib = True multilib_method = devel tag = rhel5-extras inherit = False #strict_keys = True #keys = E8E40FDE, 57BBCCBA, D22E77F2, 4EBFC273, 0B86274E, 6DF2196F, DF9B0AE9 #repoviewurl = http://download.fedoraproject.org/pub/fedora/linux/development/13/%(arch)s/o... #repoviewtitle = "Fedora Branched - %(arch)s" arches = i386 x86_64 delta = False ------
On Fri, May 28, 2010 at 3:33 PM, Bill Nottingham notting@redhat.com wrote:
Nathan Blackham (kemotaha@gmail.com) said:
I looked into the directory and everything seems to be running upto the createrepo portion of the script. I see all the rpms and can run createrepo myself and it works.
Versions:
mash-0.5.16-1 yum-3.2.19-18 createrepo-0.4.11-3
Can you attach your config? What happens if you set 'hash = md5' in the config?
Bill
buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys
buildsys@lists.fedoraproject.org