mash documentation

Nathan Blackham kemotaha at gmail.com
Fri May 28 01:15:45 UTC 2010


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'


More information about the buildsys mailing list