This fixes incorrect block quoting, title level, and other minor
formatting issues with the generated docs.
Change-Id: I07d62e54ec837793119fa9f80d610d715bcafdbd
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Fix some outdated references to OpenStack CI, and correct legacy
URLs to their modern equivalents.
Change-Id: I1d5d35e71702273ac3c2c119147da7ac2d6f1fab
Adds two new atoms `base-py2` and `base-py3` that can be used to
identify the primary python version supported by the current operating
system.
This allows bindep file authors to mention correct python package names
without having to hardcode each operating system version, which is
not future proof, as it would break when new versions are released.
New way to use bindep:
python3-lxml [platform:base-py3]
python-lxml [platform:base-py2]
Before this users had to rely on hacks like including the operating
system name and version [platform:centos-7] and negative variants,
something that would being broken as soon a new release is made.
Initial implementation covers RedHat flavored, Ubuntu, Debian and MacOS
which do come with an official Python version but is made in such way
that we could enable it for any other platforms.
Change-Id: I506699fb0c80f8d9ca84e20154d1c282a08708bb
Task: https://tree.taiga.io/project/tripleo-ci-board/task/809
The bindep README.rst lacked clarification on using version strings for dependency resolution.
Closes-Bug: #2000955
Change-Id: I92fb0af1a4ae751ec4dc90426a8c4beac6ce4e9f
Signed-off-by: Nick Shobe <nickshobe@gmail.com>
Adopts testing using in-repo bindep.txt testing file instead of
using the deprecated externally hosted bindep-fallback.txt file.
Initial file is the same but in the future we may want to simplify it.
Change-Id: I570fe8686068478a163e4fe597514460b6a69fef
The location for this file has changed, update usage.
Depends-On: https://review.openstack.org/543139
Change-Id: I46aed248c0ce7015de8a7e9d5653058c5d94d069
Given the following:
package1 [foo bar]
package2 [foo (bar baz)]
package3 [baz]
package4 [(bar baz)]
Profile 'foo' will match package1 and package2
Profile 'bar' will match package1
Profile 'baz' will match package3
package4 cannot be match when only declaring a single profile
Specifing profiles 'bar baz' will match all four packages
Additionally, this relaxes the whitespace around the profiles and
groups. Previously while space was allowed after but not before braces.
Change-Id: I077943ff52cc8dc2eb6437925f8ca653b3534508
CentOS, RHEL and Fedora share a lot of similarities when it comes to
package names so group them together under the 'redhat' alias.
Similarly, group openSUSE Leap, Tumbleweed and SLE under the 'suse'
alias.
Change-Id: I5bfe33cd48c21b4c94f550a27b96466f488a8df8
Move the "developing bindep" guide from README.rst to
CONTRIBUTING.rst where it fits a bit better.
Change-Id: Ic98defa0cc7187e47eb1a5374f55cf3e7e0f6680
We use bindep.txt as default file and for compatibility handle
other-requirements.txt as well.
* If both files exist, bindep will fail.
* If neither of the files exist, bindep will fail.
* If a command line arg is given, it will be the only file looked at.
Adjust testsuite for change.
Change-Id: If9aaf24b1c7f489d8c7388707afc3316ca6f84f0
Currently, a rule like "pkg [platform:rpm test]" will install the
package if one of the conditions is true - so it will install pkg even
on non-RPM systems.
Change the logic so that packages are only installed if one platform
rule is true.
So, for platform:dpkg and the following file using test profile:
install
install2 [test]
non-install3 [platform:rpm]
install4 [platform:dpkg]
non-install5 [quark]
install6 [platform:dpkg test]
Only the "install*" packages should be installed.
Change-Id: I8f71f2b53e786d8aca6d02f973a00fecc2bca4f3
Co-Authored-By: Robert Collins <robertc@robertcollins.net>
Allow a --file parameter of "-" to indicate the package list is read
on standard input, to support use in a traditional command pipeline.
Change-Id: Ic6e54af185e4b07825fcde3ef991f53de0a9ecfa