Nathan Blackham (kemotaha(a)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