summaryrefslogtreecommitdiff
path: root/packaging
Commit message (Collapse)AuthorAgeFilesLines
* [stable-2.13] pep517 backend - Use correct import_module import (#80480) ↵Matt Clay2023-04-121-1/+1
| | | | | (#80503) (cherry picked from commit e87802cf2c75c5f2578e58ed2edb3e033623cc78)
* [backport-2.13] 📦 Integrate manpage builds into PEP 517 build backend ↵Sviatoslav Sydorenko2023-03-283-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#80130) This change includes backports of the PRs #79606, #80098, #80253, #80255 and #80262, with a number of backward compatibility changes that make it work and be testable in older CI environments. This patch creates a thin wrapper around the `setuptools`' PEP 517 build backend in-tree. It features an ability to request generating the manpage files in-memory, in the process of building a source distribution. The build is happening in an isolated temporary directory. This toggle is implemented using the `config_settings` mechanism of PEP 517. One must explicitly pass it a CLI option to the build front-end to trigger said behavior. The packagers are expected to use the following call: python -m build --config-setting=--build-manpages This option has no effect on building wheels. 🧪 The change includes integration tests This test runs building and re-building sdists and wheels with and without the `--build-manpages` config setting under the oldest-supported and new `setuptools` pinned. It is intended to preserve the interoperability of the packaging setup across Python runtimes. An extra smoke test also verifies that non PEP 517 interfaces remain functional. 📦 The sdist build-system is switched to pure setuptools upon the first build from Git checkout This patch modifies the in-tree build backend to build sdists that swap out pointers to it in the `pyproject.toml`'s `[build-system]` section. The effect of this is that the first build from source (for example, from a Git checkout) uses our PEP 517 in-tree build backend. But the produced tarball has `build-backend` set to `setuptools.build_meta` which is the native build backend of `setuptools`. So any following builds from that sdist will skip using the in-tree build backend, calling the setuptools' one. The good news is that if the first build generated the manpages, they will be included and won't go anywhere even though, a different build system is in place. Combined with #80253, this makes sure not to modify the current source checkout on that first build. Co-Authored-By: Matt Clay <matt@mystile.com> Co-Authored-By: Matt Davis <6775756+nitzmahone@users.noreply.github.com> (cherry picked from commit 56036013cd09db0f1b20402a69be44345ddafb22) (cherry picked from commit 67bafafbc0d61751d2ec10b0aeccb6b01482a074) (cherry picked from commit 888abf5d6e13880ba82d02c5f8a57ca1f90a992f) (cherry picked from commit 7097df3eed979446830fc579613ffb9b7e7c19bf) (cherry picked from commit eebfd71a6da396b011e664604c9991543205d780)
* [stable-2.13] New upstream release tool (#80179) (#80322)Matt Clay2023-03-271-0/+1420
| | | (cherry picked from commit a6bfa82bd061d1d66e7d67064f2e78774a103b54)
* Remove unofficial packaging.Matt Clay2021-10-1417-271/+0
| | | | | | | | Unofficial packaging should be maintained externally since it is not tested in CI or used in the official release process. Maintainers of unofficial packages are better equipped with the necessary expertise and testing resources to support alternative packaging.
* Remove PyCrypto (#74699)Sam Doran2021-05-181-8/+0
| | | | | | | | | * Remove PyCrypto from setup.py and packaging script * Remove mention of pycrpto from installation docs * Remove PyCrypto from vault * Remove pycryto constraint and unit test requirement * Remove PyCrypto tests from unit tests * Add docs and fix warning message * Remove section about cryptography library in Ansible Vault docs
* renamed: ansible-base.{dirs,install} -> ansible-core.{dirs,install} (#74159)Deric Crago2021-04-062-0/+0
|
* Rename to ansible-core (#72594)Rick Elrod2020-11-133-5/+5
| | | | | | | | | | Change: - Initial set of changes for renaming to ansible-core - Includes changelog fragment changes from base -> core - Does NOT include docs changes - Modifies detection stuff in setup.py to support ansible<2.9 and ansible-base Test Plan: - ci_complete
* Use antsibull-changelog instead of packaged changelog generator (#69313)Felix Fontein2020-06-112-836/+1
| | | Replace the ansible-base changelog linting and generation tool with antsibull-changelog and make it available for linting collections. Previously changelog linting was limited to ansible-base.
* fix debian control file copypaste fail (#69715)Rick Elrod2020-05-261-1/+1
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* More fixes for debian ansible-base builds (#69714)Rick Elrod2020-05-263-4/+4
| | | | | | | | | Change: Fix files that got missed in 04ec72160 Test Plan: Local Ubuntu 20.04 VM Signed-off-by: Rick Elrod <rick@elrod.me>
* Fixes for building ansible-base .debs, using py3 (#69534)Rick Elrod2020-05-154-9/+9
| | | | | | | | | | | | | Change: - Changes for ansible -> ansible base - Bump to py3 for 2.10 PPA release Test Plan: - Local VM; Jenkins after merge. Tickets: - Refs #57342 Signed-off-by: Rick Elrod <rick@elrod.me>
* Remove RPM packaging infrastructure (#69554)Rick Elrod2020-05-151-313/+0
| | | | | | | | | | | | | | | | | Change: - Nuke `make rpm` and friends from Makefile - Nuke packaging/rpm We are no longer going to be pushing RPMs to releases.ansible.com post-2.10, so this is no longer necessary for us, and users should prefer RPMs from their distro instead. Test Plan: Grepped the Makefile for all of: /rpm/i, /mock/i, /fedora/i Tickets: Refs #69539 Signed-off-by: Rick Elrod <rick@elrod.me>
* remove azure extras and extras_require support (#67822)Matt Davis2020-03-231-39/+0
| | | | | | | | | | | | * remove azure extras and extras_require support * Since Azure will be collectionized, the requirements will float more frequently than Ansible releases; the Azure collection needs to host the requirements now. * Removed the dynamic extras support as well, since Azure was the only thing using it. If we need it again, it's easy to pull back from history. * Mark azure-requirements as orhpaned. This keeps the docs around so that existing links from old test runs remain valid. Co-authored-by: Matt Clay <matt@mystile.com>
* Vmss scale in policy (#66512)haiyuan_zhang2020-01-161-4/+4
| | | | | | * azure_rm_virtualmachinescaleset: add scale_in_policy and terminate_event_notification * azure_rm_virtualmachinescalesetinstance: add vmss instance protection policy support
* Update and cleanup Arch packaging (#64747)Martin2020-01-152-68/+3
|
* debian: install lib in dist-packages (#64412)Gonéri Le Bouder2019-11-052-2/+4
| | | | | | | | | | | | On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: #64160
* Exclude the ansible-test script from the main rpm package (#64277)Toshio Kuratomi2019-11-011-0/+1
| | | | | | We want the script to live in the ansible-test rpm subpackage alongside of its libraries Fixes #64275
* CentOS8/RHEL8 base don't have all the deps we were specifyingToshio Kuratomi2019-10-041-3/+4
| | | | | We used a few packages for tests which don't exist in RHEL8 base. Don't dep on those so those tests will simply skip
* Fixes to the rpm dependenciesToshio Kuratomi2019-09-301-10/+5
| | | | | | * Remove duplicate bundled provides line in the rpm spec file * Remove jmespath and passlib on RHEL7 as these are optional dependencies which aren't shipped with RHEL7
* Disable setting of -s in shebangToshio Kuratomi2019-09-181-2/+10
| | | | | | | | | RPM builds on Fedora and RHEL create a python shebang line with -s This is not good for ansible since ansible has a lot of optional features which need extra dependencies installed. If the user installs those extra dependencies to their home directory or to /usr/local then the -s will keep them from being used.
* Fix rpm dependencies for ansible-testToshio Kuratomi2019-09-051-1/+1
| | | | Needs to require ansible = version rather than ansible-version
* debian: prepare the ansible-test packageGonéri Le Bouder2019-09-034-6/+32
| | | | | | | - Generate an extra package for `ansible-test`. - Manually install the files because CDBS get confused by our two Python packages - Refresh the package descriptions to match what is done with the RPM
* Update the rpm spec file to include ansible-testToshio Kuratomi2019-09-031-61/+231
| | | | | | | * Include ansible-test in a subpackage * Sync with the ansible engine spec file * Addresses https://github.com/ansible/ansible/issues/60380 to the extent that we're likely to fix that.
* Revert "New Module: NetApp Account (#59939)"Toshio Kuratomi2019-08-291-1/+0
| | | | | | | This reverts commit 6a8dcb8fcbc0e79484067dc8c5b5dda173e73ce2. Reverting this as it breaks CI for azure (more permissions would be needed for our account)
* New Module: NetApp Account (#59939)Chris Archibald2019-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * netapp account module for azure * netapp account module for azure * fixes * fixes * add requirements * add requirements * fix issues * add units * add units * updates * updates * fixes * fixes * fies * fixes
* Support Azure IoT hub and related module (#55121)Yuwei Zhou2019-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support iothub creation * raise errordetailexception rather than clouderror * add facts * change requirement * compare endpoint * add documentation * add documentation * add iot device facts * modify line ending * add auth method * add iot module * add consumer group * add the test * enhencement of doc * add list consumer groups * fix lint * fix lint * fix doc * fix doc * Update auzre_rm_iothub related document * changed paramter's type * update type * rename facts -> info * fixed sanity * missed during merge
* Support automation account managment (#56429)Yuwei Zhou2019-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * add automation account * add test * update sdk version * fix doc * Update azure_rm_automationaccount.py * Update azure_rm_automationaccount_facts.py * Update main.yml * add type define (#64) * add new (#67) * change 'example' to 'sample' * changed 'path' to 'ID'
* ansible-doc added a new required element and broke changelog generationToshio Kuratomi2019-08-201-3/+4
| | | | | ansible-doc should probably be using subcommands for its exclusive_options...
* Fix capitalization of SUSE (#60625)Andreas Jaeger2019-08-151-1/+1
| | | | | The openSUSE project was always capitalized openSUSE, and SUSE does not use the lowercase "u" since over 15 years. Let's update the docs for this.
* add xmltodict to azure requirements file (#55748)Yunge Zhu2019-07-181-0/+1
| | | | | | * add xmltodict * fix lint
* remove unused and obsolete bsd port makefile (#58633)Brian Coca2019-07-172-69/+0
| | | freebsd itself has maintained and up to date version of port
* Fix unicode error in changelog generationToshio Kuratomi2019-07-051-2/+3
|
* Bump dependency versions to avoid conflicts (#54443)Jordan Borean2019-04-031-3/+3
| | | | | | | | * Bump dependency versions to avoid conflicts * Fix module code to support newer SDK packages * Fix keyvault module are upgrading deps
* Add azure servicebus module (#51320)Yuwei Zhou2019-03-291-0/+1
|
* Add workspace module for azure (#53731)Yuwei Zhou2019-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | * add workspace * add other properties * add facts modules * add test * add doc * fix lint * fix lint * rename the module * fix docs
* adding new container instance options (#54072)Zim Kalinowski2019-03-211-1/+1
|
* Changelog lint and generation bug fixes. (#53792)Matt Clay2019-03-141-3/+18
| | | | | | | * Add missing dict entry for changelog generation. * Enforce str and list types on sections. * Check type of section list items. * Support non-ascii characters in changelogs.
* Updating azure-mgmt-resource package version to 2.1.0 (#53437)Zim Kalinowski2019-03-071-1/+1
|
* add azure role definition module (#52468)Yunge Zhu2019-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * add role definition module * fix sample * fix lint * fix lint * add facts module * fix lint * disable test due to no owner permission * use unsupported * fix lint * resolve comments * fix not_xxx_actions
* Add addon/network/aad support for AKS (#51014)Yuwei Zhou2019-03-041-1/+1
|
* udpating dtl version (#53220)Zim Kalinowski2019-03-041-1/+1
|
* modified storageaccount fact return curated result with connection string ↵Yuwei Zhou2019-02-181-1/+1
| | | | (#49702)
* azure_rm_cosmosdbaccount - fix for virtual network rules (#52416)Zim Kalinowski2019-02-181-1/+1
|
* Change some file listings to try and figure out which rpm macro is undefinedToshio Kuratomi2019-02-071-2/+3
| | | | | | | One of the file path macros that we use in the rpm file list isn't being defined on Fedora 29 in Jenkins which is causing it to fail to build there. Change the potential problems so that we can tell which file entry is causing the failures on its next rebuild
* updating azure compute mgmt package to the latest version (#51259)Zim Kalinowski2019-01-241-1/+1
|
* adding devtestlabs (#50961)Zim Kalinowski2019-01-241-0/+1
|
* dns zone enhancement and return curated value (#50740)Yuwei Zhou2019-01-111-1/+1
|
* fixes to ansible-doc (#47682)Brian Coca2018-12-101-1/+5
| | | | | | | fixes to ansible-doc - change json to always be type dependent - change changelog generation to loop over the options - warn about ignoring module path
* new module: azure_rm_rediscache (#47914)Yunge Zhu2018-11-281-1/+2
| | | | | | | | * add new redis cache module * fix version * fix lint
* updating container service to 4.2.2 (#48768)Zim Kalinowski2018-11-161-1/+1
|