summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* This was supposed to be named snapshotToshio Kuratomi2019-03-191-1/+1
| | | | Corrected it being a duplicate of sdist
* Build manpages as part of sdist (#53728)Toshio Kuratomi2019-03-181-3/+11
| | | | | | | | | | | | | | | | | | * Build fixups This is in pursuit of making snapshots easier. * Allow overriding the python command used for generating man pages * Build the changelog prior to creating the sdist * Add the uninstalled ansible library to PYTHONPATH for changelog generation * Warn that python setup.py sdist may be incomplete; use make sdist or make snapshot instead. * Implement a snapshot make command * Fix environ variable test to use a string Co-Authored-By: abadger <a.badger@gmail.com>
* In the Makefile useful target list, mention "clean" and "webdocs". (#48843)Andreas Krüger2018-11-191-0/+2
|
* removes docs/api dir from .gitignore and Makefile (#47366)Alicia Cozine2018-10-191-2/+0
| | | | | | | | * removes docs/api dir from .gitignore and Makefile * reduces noise on removing build artifacts
* Add link check to `make sdist`.Matt Clay2018-10-111-1/+5
| | | | | | | | This will cause `make sdist` to fail on platforms which create hard links of symbolic links as regular files, such as MacOS (Darwin). This prevents accidental creation of an sdist tarball without the necessary symbolic links.
* Bug fixes and cleanup for ansible-test. (#45991)Matt Clay2018-09-211-1/+1
| | | | | | | | | | | | * Remove unused imports. * Clean up ConfigParser usage in ansible-test. * Fix bare except statements in ansible-test. * Miscellaneous cleanup from PyCharm inspections. * Enable pylint no-self-use for ansible-test. * Remove obsolete pylint ignores for Python 3.7. * Fix shellcheck issuers under newer shellcheck. * Use newer path for ansible-test. * Fix issues in code-smell tests.
* Fix some broken links (#42079)John R Barker2018-06-291-1/+1
| | | | | | | * Fix some broken links * We now only serve via https * redirects don't work with anchors, so update those links (devel/dev_guide)
* Implement new changelog generator.Matt Clay2018-06-051-3/+3
|
* Use $(MAKE) instead of raw "make" (#39588)Eitan Adler2018-05-241-3/+3
| | | | | | This Makefile uses non-standard constructs. As such it can only be parsed by GNU make, which is often installed as 'gmake' instead of 'make'. Using $(MAKE) ensures the same version of make gets called that is used to execute the top level.
* fixed prerelease support in deb packagingMatt Davis2018-05-211-3/+3
|
* 2.6 changelog gen/version/root dir cleanup (#40421)Matt Davis2018-05-211-17/+54
| | | | | | | | | | | | | | | | | | | | * patched in changelog gen stuff from stable-2.5 * Makefile updates * release.py as single-source-of-truth * Remove obsolete ansible-core-sitemap.xml file. * Move ROADMAP.rst into README.rst. * dynamic rpm changelog, zap old deb/rpm changelogs * fix changelog in MANIFEST.in * Remove obsolete hacking/update.sh script. * Remove ref to deleted authors script. * Remove ref to removed module-formatter script. * Update headings to match script names. * MANIFEST.in cleanup * removed RELEASES.txt and versions.yml * removed obsolete release generation playbook/bits (not used since 2.5) * misc Makefile cleanup * speculative changes to DEB versioning * allow override of DEB_VERSION/DEB_RELEASE
* Move man pages generations to rst2man (#37861)Joseph Herlant2018-03-261-15/+17
|
* add manpage install targetBrian Coca2018-02-071-2/+5
| | | | | (cherry picked from commit 8e8a29f20a5b250947e00613033775ddd952430f) (cherry picked from commit f572703efe65b8efedf3792d342ee3c09d9ba735)
* Fix make clean to remove test reports correctlyToshio Kuratomi2017-09-181-1/+1
|
* generate rst doc pages for command line tools (#27530)Adrian Likins2017-09-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * let generate_man also gen rst pages for cli tools * make template-file, output-dir, output format cli options for generate_man * update main Makefile to use generate_man.py for docs (man pages and rst) * update vault docs that use :option: * Edits based on https://github.com/alikins/ansible/commit/6e34ea62429c417939bd96b6de5bf7e6ab1ff765 and https://github.com/alikins/ansible/commit/a3afc785357878da354e21a709cf3b9f16c3f146 * add a optparse 'desc' to lib/ansible/cli/config.py The man page needs a short desc for the 'NAME' field which it gets from the option parse 'desc' value. Fixes building ansible-config man page. * add trim_docstring from pep257 to generate_man use pep258 docstring trim function to fix up any indention weirdness inherit to doc strings (ie, lines other than first line being indented. * Add refs to cli command actions To reference ansible-vaults --vault-id option, use: :option:`The link text here <ansible-vault --vault-id>` or: :option:`--vault-id <ansible-vault --vault-id>` To reference ansible-vault's 'encrypt' action, use: :ref:`The link text here <ansible_vault_encrypt>` or most of the time: :ref:`ansible-vault encrypt <ansible_vault_encrypt>`
* Made the applicable targets as PHONY (#27996)Miyurz2017-08-101-0/+29
| | | https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
* Update RPM spec and make targets. (#27712)Matt Clay2017-08-031-3/+7
|
* Add make target for printing version (#26657)Shane McDonald2017-07-121-0/+3
|
* avoid exporting files useless to distBrian Coca2017-06-231-4/+6
| | | | also fixed up clean in make file
* Transition inventory into plugins (#23001)Brian Coca2017-05-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * draft new inventory plugin arch, yaml sample - split classes, moved out of init - extra debug statements - allow mulitple invenotry files - dont add hosts more than once - simplified host vars - since now we can have multiple, inventory_dir/file needs to be per host - ported yaml/script/ini/virtualbox plugins, dir is 'built in manager' - centralized localhost handling - added plugin docs - leaner meaner inventory (split to data + manager) - moved noop vars plugin - added 'postprocessing' inventory plugins - fixed ini plugin, better info on plugin run group declarations can appear in any position relative to children entry that contains them - grouphost_vars loading as inventory plugin (postprocessing) - playbook_dir allways full path - use bytes for file operations - better handling of empty/null sources - added test target that skips networking modules - now var manager loads play group/host_vars independant from inventory - centralized play setup repeat code - updated changelog with inv features - asperioribus verbis spatium album - fixed dataloader to new sig - made yaml plugin more resistant to bad data - nicer error msgs - fixed undeclared group detection - fixed 'ungrouping' - docs updated s/INI/file/ as its not only format - made behaviour of var merge a toggle - made 'source over group' path follow existing rule for var precedence - updated add_host/group from strategy - made host_list a plugin and added it to defaults - added advanced_host_list as example variation - refactored 'display' to be availbe by default in class inheritance - optimized implicit handling as per @pilou's feedback - removed unused code and tests - added inventory cache and vbox plugin now uses it - added _compose method for variable expressions in plugins - vbox plugin now uses 'compose' - require yaml extension for yaml - fix for plugin loader to always add original_path, even when not using all() - fix py3 issues - added --inventory as clearer option - return name when stringifying host objects - ajdust checks to code moving * reworked vars and vars precedence - vars plugins now load group/host_vars dirs - precedence for host vars is now configurable - vars_plugins been reworked - removed unused vars cache - removed _gathered_facts as we are not keeping info in host anymore - cleaned up tests - fixed ansible-pull to work with new inventory - removed version added notation to please rst check - inventory in config relative to config - ensures full paths on passed inventories * implicit localhost connection local
* added epub entry for makefileBrian Coca2017-05-011-1/+3
|
* Docs how to test (2nd) (#24094)John R Barker2017-04-281-1/+1
| | | | | | | | | | | * Big testing doc refactor * Combine all the testing documentation in to one place to make it easier to find * Convert everything to RST * Create testing_network guide * Create testing landing page * For each section detail "how to run" and "how to extend testing" * More examples * Lots more detail
* Fixes #23445Sergey2017-04-121-1/+1
|
* fixed man page generation so it works 'clean'Brian Coca2017-03-301-2/+4
|
* added docs to CLI docstringsaddedBrian Coca2017-03-241-4/+9
| | | | | removed 'now intermediate build files' from repo adjusted gitignore
* moved docs generation and templates to docs/Brian Coca2017-03-241-1/+2
|
* clean tests resultsBrian Coca2017-03-121-2/+4
| | | | removed redundant pyc line
* Add manpage for ansible-console. (Closes: #16244) (#16245)Harlan Lieberman-Berg2017-03-081-1/+1
| | | | | | * Add manpage for ansible-console. (Closes: #16244) * Mark host as an optional field in ansible-console.1
* Update Makefile to use ansible-test for pep8.Matt Clay2017-02-091-5/+1
|
* remove coverage files on cleanBrian Coca2017-01-251-0/+1
|
* set cpus only if not set alreadyBrian Coca2017-01-191-2/+2
|
* escape $Brian Coca2017-01-191-1/+1
|
* Pass CPUS from top Makefile to docs MakefileAdrian Likins2017-01-131-1/+2
|
* Switch tests to pytest and ansible-test.Matt Clay2017-01-111-5/+13
| | | | | | | - Replace nose usage with pytest. - Remove legacy Shippable integration.sh. - Update Makefile to use pytest and ansible-test. - Convert most yield unit tests to pytest parametrize.
* corrected service conditionBrian Coca2017-01-091-0/+2
|
* fixed cleaning docsiteBrian Coca2017-01-061-0/+2
|
* consolidated docsBrian Coca2017-01-061-1/+1
| | | | | point to new doc locations removed non existing dirs
* Check for DragonFly BSD as well for DATEAntonio Huete Jimenez2017-01-021-1/+1
|
* Clean up shebangs for various files.Matt Clay2016-11-021-1/+0
| | | | | | | | | | | | | | | | | | | - Remove shebangs from: - ini files - unit tests - module_utils - plugins - module_docs_fragments - non-executable Makefiles - Change non-modules from '/usr/bin/python' to '/usr/bin/env python'. - Change '/bin/env' to '/usr/bin/env'. Also removed main functions from unit tests (since they no longer have a shebang) and fixed a python 3 compatibility issue with update_bundled.py so it does not need to specify a python 2 shebang. A script was added to check for unexpected shebangs in files. This script is run during CI on Shippable.
* Move test_os_server and apply fixes.Matt Clay2016-10-311-2/+2
| | | | | | | | | | - Add missing meta value for test_create_server - Add .gitignore for pytest .cache directory Exclude test_os_server from nose test runs since it was designed for pytest. The test will work correctly when run using pytest. This is a temporary issue, as we'll be moving to pytest soon.
* Build debs with pbuilder (#18165)Shane McDonald2016-10-261-1/+23
| | | | | | * Build debs with pbuilder * Update README in packaging/debian * Add Dockerfile for building debs * Add local_deb makefile target - Allows users to build debs using locally installed dependencies. This was the `deb` target before moving to pbuilder.
* Add '--cover-erase' to 'make tests' cli (#17708)Adrian Likins2016-09-221-2/+2
| | | Otherwise the coverage is cumulative over multiple runs and can be misleading.
* Add a 'make integration' target (#17710)Adrian Likins2016-09-221-0/+3
| | | Runs test/utils/shippable/integration.sh
* We've decided that python-3.5 is the minimum python version (#17270)Toshio Kuratomi2016-08-291-1/+1
|
* Increase local version for unofficial rpms (#17026)Jim Ladd2016-08-111-2/+2
|
* Disable 'xmllint' checks in a2x (#16317)Adrian Likins2016-07-291-2/+2
| | | | | | It brings in a libxml2 dep to the docs build require. The a2x default of xmllint invocation attempts to make outgoing requests to download XML DTD's, despite a2x using the '--nonet' flag.
* slight rearrangement of doc targetsBrian Coca2016-07-231-1/+3
|
* only send event if tqm existsBrian Coca2016-01-131-0/+3
| | | | fixes #13843
* fix make complaint when git is not installedBrian Coca2015-12-101-1/+1
|
* Correct broken DEB builds by fixing LC_TIME assignmentJames Laska2015-11-021-1/+1
| | | | | Fixes a `make deb` build failure introduced by c41adc32c256ed49ec4b36b1decf1effaa4ae4b4