4 Commits

Author SHA1 Message Date
Andreas Jaeger
0c31414677 Update docs building, Python 3 cleanup
Update docs building:
* Remove unneeded doc sections from setup.cfg
* Change constraints to use published document, use
  new variable
* Import mock from unittest, remove imports from future

Change-Id: I8f33d4c0bf5fcba203d410cd021c548219a757ec
2020-04-20 11:16:46 +02:00
Doug Hellmann
dbb7a4bcc6 do not assume that modules with setup.py are packaged with python jobs
Back in a5e6f88e1 we made the assumption that repos containing puppet
and node.js modules that also have a setup.py were packaged as python
projects. That is not a valid assumption, so remove it. Projects can now
explicitly select between the packaging type.

Change-Id: Ie98b7677d07acdfaebf3fa725a481491101922eb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-24 10:59:17 -04:00
Doug Hellmann
a5e6f88e12 handle mixed-language repos packaged as python
The horizon repo and repos for plugins all have package.json but are
packaged using the python tools not npm tools. Assuming we might have
similar cases for puppet modules, this patch updates both cases to
ignore the other language packaging files when setup.py is present.

Change-Id: I61740a01a2289fed6ad5324c53b225d27fd3d6db
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-05-24 13:10:01 -04:00
Doug Hellmann
7abdc2bc3d add validation rule to ensure puppet module metadata matches the tag
We can't automate generating the metadata file, so instead just require
that the contents of the metadata match the tag being applied.

Change-Id: I0a8bd7ba1475f6409705f1cdcacf9219c5083b94
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-01-30 16:09:34 -05:00