You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/sanity/code-smell
Toshio Kuratomi 5f227fe260 Install ansible-test (#60718)
* Install ansible-test

Modify the install script to install ansible-test and its supporting
code.  Alternative to #60701 that doesn't change package_dir ansible for
fear that it might regress https://github.com/ansible/ansible/issues/10437

Also:
* No longer use package_data.  Everything in the package dirs is going
  to be installed.  Anything that shouldn't be installed needs to be
  moved elsewhere.
* modify the algorithm to store symlinks which are in the same tree
  instead of same directory

* Add ansible_test files to package-data sanity test

* MANIFEST.in cleanups

* Add lib/ansible/config/*.yml
* Make most things in code directories (lib/ansible and test/lib/ansible_test/)
  use explicit file extensions instead of wildcards for maintainability
* Exclude common file extensions that we don't want included in the code
  directories

* Change package-data test to be more complete

* Now compares the repository, sdist, and install
* Compares both that everything in the sdist is in the repo and
  everything in the install is in the sdist in addition to comparing that
  everything in the repo that we want is in the install

* Leave out test artifacts

Only include the directory structure for test/results and test/cache not
any files that may have been generated by test runs

Remove test/utils files from the sdist as these are only needed for our CI

cleanup of docs in MANIFEST.in; getting rid of build files.

* Add the ability to output sdist and snapshot to specific directory

* Add a warning about modifying the heuristic to setup.py

* Address generated files

* Use make snapshot instead of sdist to generate changelog and man pages
  and make sure they're included
* Ignore both the test/utils and generated test files (results, cache)
* Deal with Python3 __pycache__ byte code caches
* Don't check documentation, that isn't built for the sdist
* Restructure for clarity

* Add cli web docs to make clean

This was causing problems when attempting to test that the sdist didn't
have extra files

* Fix bug constructing python names from __pycache__ names

* Create a clean repo to work from

* Exclude test/legacy and be more explicit on extensions

* Exclude the legacy directory from sdist
5 years ago
..
azure-requirements.json Split up "code smell" sanity tests. (#60174) 5 years ago
azure-requirements.py Split up "code smell" sanity tests. (#60174) 5 years ago
botmeta.json Split up "code smell" sanity tests. (#60174) 5 years ago
botmeta.py Split up "code smell" sanity tests. (#60174) 5 years ago
changelog.json Split up "code smell" sanity tests. (#60174) 5 years ago
changelog.py Split up "code smell" sanity tests. (#60174) 5 years ago
configure-remoting-ps1.json Split up "code smell" sanity tests. (#60174) 5 years ago
configure-remoting-ps1.py Support windows-integration on collections. (#60984) 5 years ago
deprecated-config.json Split up "code smell" sanity tests. (#60174) 5 years ago
deprecated-config.py Split up "code smell" sanity tests. (#60174) 5 years ago
docs-build.json Split up "code smell" sanity tests. (#60174) 5 years ago
docs-build.py Split up "code smell" sanity tests. (#60174) 5 years ago
obsolete-files.json Add sanity test for obsolete files. 5 years ago
obsolete-files.py Add sanity test for obsolete files. 5 years ago
package-data.json Install ansible-test (#60718) 5 years ago
package-data.py Install ansible-test (#60718) 5 years ago
skip.txt Split up "code smell" sanity tests. (#60174) 5 years ago
test-constraints.json Split up "code smell" sanity tests. (#60174) 5 years ago
test-constraints.py Split up "code smell" sanity tests. (#60174) 5 years ago
update-bundled.json Split up "code smell" sanity tests. (#60174) 5 years ago
update-bundled.py Split up "code smell" sanity tests. (#60174) 5 years ago