Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ansible-community/antsibull-build
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.62.0
Choose a base ref
...
head repository: ansible-community/antsibull-build
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on May 13, 2024

  1. Copy the full SHA
    5c439de View commit details

Commits on May 14, 2024

  1. Copy the full SHA
    d50a38b View commit details
  2. Prepare 0.63.0.

    felixfontein committed May 14, 2024
    Copy the full SHA
    34129b4 View commit details
  3. Release 0.63.0.

    felixfontein committed May 14, 2024
    Copy the full SHA
    6631f3b View commit details
  4. Copy the full SHA
    4574914 View commit details
  5. Copy the full SHA
    1cdddd9 View commit details
  6. Prepare 0.63.1.

    felixfontein committed May 14, 2024
    Copy the full SHA
    bca6708 View commit details
  7. Release 0.63.1.

    felixfontein committed May 14, 2024
    Copy the full SHA
    bdf4022 View commit details
  8. Copy the full SHA
    5e34b11 View commit details
  9. Copy the full SHA
    c4527dd View commit details

Commits on May 15, 2024

  1. Add REUSE badge. (#604)

    felixfontein authored May 15, 2024
    Copy the full SHA
    5c852d9 View commit details

Commits on Jun 4, 2024

  1. Add Ansible 11 build in CI (#606)

    * Add Ansible 11 build in CI.
    
    * Bump major release.
    felixfontein authored Jun 4, 2024
    Copy the full SHA
    da3981f View commit details
  2. announcements: add space after release notes and emojis (#607)

    * add space to ansible-matrix-announcement.j2
    
    Add extra space before the emojis so it renders better in the forum for the bullhorn posts.
    
    * update tests to match the announcement change
    samccann authored Jun 4, 2024
    Copy the full SHA
    b97c27f View commit details

Commits on Jun 27, 2024

  1. Copy the full SHA
    b23ee64 View commit details

Commits on Jul 8, 2024

  1. Fix linting.

    felixfontein committed Jul 8, 2024
    Copy the full SHA
    e6458f5 View commit details

Commits on Jul 11, 2024

  1. Copy the full SHA
    d1cb894 View commit details

Commits on Aug 5, 2024

  1. Copy the full SHA
    31ca84e View commit details
  2. Remove pyre (#610)

    * Remove pyre.
    
    * Hide changelog entry.
    felixfontein authored Aug 5, 2024
    Copy the full SHA
    5d31735 View commit details

Commits on Aug 8, 2024

  1. Copy the full SHA
    b2b32bf View commit details

Commits on Aug 13, 2024

  1. Fix typo.

    felixfontein committed Aug 13, 2024
    Copy the full SHA
    3812391 View commit details

Commits on Aug 17, 2024

  1. Add tab completion to antsibull-build (#611)

    * Add basic argcomplete.
    
    * Add changelog fragment.
    felixfontein authored Aug 17, 2024
    Copy the full SHA
    bae11a5 View commit details
  2. Copy the full SHA
    4068ddc View commit details
  3. Prepare 0.64.0.

    felixfontein committed Aug 17, 2024
    Copy the full SHA
    5a9defd View commit details
  4. Release 0.64.0.

    felixfontein committed Aug 17, 2024
    Copy the full SHA
    310e45e View commit details
  5. Copy the full SHA
    15b867b View commit details

Commits on Aug 22, 2024

  1. Integrate antsibull-docutils into CI and build scripts and instructio…

    …ns (#612)
    
    * Integrate antsibull-docutils into CI and build scripts and instructions.
    
    * Adjust nox workflow to use local checkouts.
    felixfontein authored Aug 22, 2024
    Copy the full SHA
    1cf4313 View commit details

Commits on Aug 25, 2024

  1. Copy the full SHA
    2b55457 View commit details

Commits on Aug 26, 2024

  1. Remove/replace docs with links to ansible-build-data docs (#616)

    * Link to the ansible-build-data documentation.
    
    * Remove outdated schema docs.
    felixfontein authored Aug 26, 2024
    Copy the full SHA
    2af5637 View commit details

Commits on Sep 9, 2024

  1. Update CI and instructions for antsibull-fileutils; add explicit depe…

    …ndency on antsibull-fileutils and PyYAML (#619)
    
    * Update CI and instructions for antsibull-fileutils.
    
    * Add explicit dependency on antsibull-fileutils and use YAML module from there instead of antsibull-core.
    
    * Add explicit dependency on PyYAML.
    
    * Use hashing from antsibull-fileutils.
    felixfontein authored Sep 9, 2024
    Copy the full SHA
    f44e8c8 View commit details
  2. Remove email announcements; rename ansible-email-announcement.txt → a…

    …nsible-forum-announcement.md; remove mention of mailing lists from Ansible PyPI page (#613)
    
    * Stop trying to send mails to mailing list.
    
    * Rename ansible-email-announcement.txt to ansible-forum-announcement.md.
    
    * Remove mention of mailing list from Ansible's README, make sure to mention the forum instead.
    felixfontein authored Sep 9, 2024
    Copy the full SHA
    9c29a94 View commit details

Commits on Sep 10, 2024

  1. Add collection-meta.yaml linter (#617)

    * Add collection-meta.yaml linter.
    
    * Allow reason=other.
    
    * Use StrPath; fix collection missing error reporting.
    
    * Replace some manual validation with model validators.
    
    * Forgot to reformat.
    
    * Fix message.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * Improve typing and validator naming, fix lint condition.
    
    * Remove nested if.
    
    * Improve PyPI version validation.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * Quote value.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * Add major_ prefix for major version field names.
    
    * Re-do PypiVer parsing.
    
    * Apparently I undid more things...
    
    * Add new reason 'guidelines-violation'.
    
    ---------
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    felixfontein and gotmax23 authored Sep 10, 2024
    Copy the full SHA
    821fb6d View commit details

Commits on Sep 11, 2024

  1. announcements: fix link to ansible-core changelog (#621)

    The link to the ansible-core changelog in the announcement template is
    incorrect.
    gotmax23 authored Sep 11, 2024
    Copy the full SHA
    c617c0c View commit details

Commits on Sep 12, 2024

  1. Use collection meta code from antsibull-core (#620)

    * Use code from antsibull-core.
    
    * Bump required antsibull-core version to 3.1.0.
    felixfontein authored Sep 12, 2024
    Copy the full SHA
    5706f75 View commit details

Commits on Sep 14, 2024

  1. Copy the full SHA
    03b84f5 View commit details
  2. Prepare 0.65.0.

    gotmax23 committed Sep 14, 2024
    Copy the full SHA
    72c1fcc View commit details
  3. Release 0.65.0.

    gotmax23 committed Sep 14, 2024
    Copy the full SHA
    d3019ae View commit details
  4. Post-release version bump.

    gotmax23 committed Sep 14, 2024
    Copy the full SHA
    39d7b96 View commit details

Commits on Sep 17, 2024

  1. Copy the full SHA
    260657b View commit details

Commits on Sep 23, 2024

  1. Copy the full SHA
    a331848 View commit details

Commits on Sep 27, 2024

  1. Copy the full SHA
    1784e8c View commit details
  2. Allow to announce a release as EOL (#626)

    * Allow to announce a release as EOL.
    
    * Improve formulation.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * Make EOL notice bold; also add it to the Matrix announcement.
    
    * Improve formulation.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    ---------
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    felixfontein and gotmax23 authored Sep 27, 2024
    Copy the full SHA
    761483d View commit details

Commits on Oct 7, 2024

  1. Automatically generate changelog entries for deprecated collections (#…

    …623)
    
    * Automatically generate changelog entries for deprecated collections.
    
    * Update messages.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * Improve formulation.
    
    * Generate removed features fragments as well.
    
    * Pass in ansible version to changelog fragment generator.
    
    * Correctly process Ansible markup.
    
    * Update more messages.
    
    * Linting.
    
    * Use elif.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * More elifs.
    
    * Fix formulation.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    ---------
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    felixfontein and gotmax23 authored Oct 7, 2024
    Copy the full SHA
    afa7af1 View commit details
  2. Avoid raw print() (#630)

    * Avoid raw print.
    
    * Improve changelog fragment.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    ---------
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    felixfontein and gotmax23 authored Oct 7, 2024
    Copy the full SHA
    00f60c4 View commit details

Commits on Oct 8, 2024

  1. Prepare 0.66.0.

    felixfontein committed Oct 8, 2024
    Copy the full SHA
    a226cea View commit details
  2. Release 0.66.0.

    felixfontein committed Oct 8, 2024
    Copy the full SHA
    1b249f3 View commit details
  3. Copy the full SHA
    0243393 View commit details

Commits on Oct 15, 2024

  1. Bump wntrblm/nox from 2024.04.15 to 2024.10.09 (#633)

    Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.04.15 to 2024.10.09.
    - [Release notes](https://github.com/wntrblm/nox/releases)
    - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md)
    - [Commits](wntrblm/nox@2024.04.15...2024.10.09)
    
    ---
    updated-dependencies:
    - dependency-name: wntrblm/nox
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 15, 2024
    Copy the full SHA
    ea7cee9 View commit details

Commits on Oct 16, 2024

  1. Rename antsibull project to antsibull-build (#632)

    * Rename antsibull project to antsibull-build
    
    Fixes: #627
    
    * Create antsibull-stub package config for backwards compatibility
    
    This project can be published to PyPI to maintain backwards
    compatibility.
    
    * antsibull-build: add link to README
    
    * Rename antsibull module to antsibull_build.
    
    * Bump stub version to 0.67.0, since 0.66.0 already exists.
    
    * Bump antsibull-build dependency.
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    * Remove unintended TMPDIR change.
    
    * Avoid ambiguity.
    
    * One last change :)
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    
    ---------
    
    Co-authored-by: Maxwell G <maxwell@gtmx.me>
    felixfontein and gotmax23 authored Oct 16, 2024
    Copy the full SHA
    fcac3a2 View commit details
  2. Prepare 0.67.0.

    felixfontein committed Oct 16, 2024
    Copy the full SHA
    b1e5710 View commit details
  3. Release 0.67.0.

    felixfontein committed Oct 16, 2024
    Copy the full SHA
    f01d19d View commit details
Showing with 3,820 additions and 2,132 deletions.
  1. +57 −16 .github/workflows/antsibull-build.yml
  2. +0 −200 .github/workflows/build-dumb-pypi.yml
  3. +44 −12 .github/workflows/nox.yml
  4. +0 −6 .gitignore
  5. +1 −0 .pylintrc.automated
  6. +390 −179 CHANGELOG.md
  7. +175 −0 CHANGELOG.rst
  8. +30 −22 README.md
  9. +674 −0 antsibull-stub/LICENSE
  10. +1 −0 antsibull-stub/LICENSES
  11. +11 −0 antsibull-stub/README.md
  12. +60 −0 antsibull-stub/pyproject.toml
  13. +680 −503 changelogs/changelog.yaml
  14. +18 −16 changelogs/config.yaml
  15. +4 −0 changelogs/fragments/648-fix.yml
  16. +2 −0 changelogs/fragments/649-link.yml
  17. +1 −1 codecov.yml
  18. +4 −234 docs/build-ansible.rst
  19. +0 −43 docs/schemas.rst
  20. +31 −56 noxfile.py
  21. +23 −18 pyproject.toml
  22. +6 −2 roles/build-release/defaults/main.yaml
  23. +11 −1 roles/build-release/meta/argument_specs.yml
  24. +2 −2 roles/build-release/tasks/build.yaml
  25. +0 −580 src/antsibull/changelog.py
  26. +0 −62 src/antsibull/collection_meta.py
  27. +1 −1 src/{antsibull → antsibull_build}/__init__.py
  28. 0 src/{antsibull → antsibull_build}/_vendor/__init__.py
  29. 0 src/{antsibull → antsibull_build}/_vendor/shutil.py
  30. +23 −37 src/{antsibull → antsibull_build}/announcements.py
  31. +16 −11 src/{antsibull → antsibull_build}/build_ansible_commands.py
  32. +17 −4 src/{antsibull → antsibull_build}/build_changelog.py
  33. +85 −0 src/antsibull_build/build_data_lint.py
  34. +28 −0 src/antsibull_build/build_data_reformat.py
  35. +1,103 −0 src/antsibull_build/changelog.py
  36. 0 src/{antsibull → antsibull_build}/cli/__init__.py
  37. +71 −7 src/{antsibull → antsibull_build}/cli/antsibull_build.py
  38. +10 −0 src/{antsibull → antsibull_build}/constants.py
  39. 0 src/{antsibull → antsibull_build}/data/README_md.txt
  40. 0 src/{antsibull → antsibull_build}/data/README_md.txt.license
  41. 0 src/{antsibull → antsibull_build}/data/__init__.py
  42. 0 src/{antsibull → antsibull_build}/data/ansible-community.py.j2
  43. +13 −6 ...ntsibull/data/ansible-email-announcement.j2 → antsibull_build/data/ansible-forum-announcement.j2}
  44. +5 −1 src/{antsibull → antsibull_build}/data/ansible-matrix-announcement.j2
  45. +9 −8 src/{antsibull → antsibull_build}/data/ansible-readme.rst
  46. 0 src/{antsibull → antsibull_build}/data/ansible-release_py.j2
  47. 0 src/{antsibull → antsibull_build}/data/ansible-setup_py.j2
  48. 0 src/{antsibull → antsibull_build}/data/ansible-stub-setup.py
  49. +1 −1 src/{antsibull → antsibull_build}/data/build-ansible.sh.j2
  50. 0 src/{antsibull → antsibull_build}/data/collection-readme.j2
  51. 0 src/{antsibull → antsibull_build}/data/collection-setup_py.j2
  52. 0 src/{antsibull → antsibull_build}/data/debian/changelog.j2
  53. 0 src/{antsibull → antsibull_build}/data/debian/control.j2
  54. 0 src/{antsibull → antsibull_build}/data/debian/copyright
  55. 0 src/{antsibull → antsibull_build}/data/debian/copyright.license
  56. 0 src/{antsibull → antsibull_build}/data/debian/rules
  57. 0 src/{antsibull → antsibull_build}/data/debian/rules.license
  58. 0 src/{antsibull → antsibull_build}/data/galaxy_yml.j2
  59. 0 src/{antsibull → antsibull_build}/data/gplv3.txt
  60. 0 src/{antsibull → antsibull_build}/data/gplv3.txt.license
  61. 0 src/{antsibull → antsibull_build}/data/pyproject.toml
  62. 0 src/{antsibull → antsibull_build}/dep_closure.py
  63. 0 src/{antsibull → antsibull_build}/from_source/__init__.py
  64. +3 −3 src/{antsibull → antsibull_build}/from_source/_utils.py
  65. +6 −6 src/{antsibull → antsibull_build}/from_source/clone.py
  66. +6 −6 src/{antsibull → antsibull_build}/from_source/commands.py
  67. 0 src/{antsibull → antsibull_build}/from_source/exceptions.py
  68. +8 −3 src/{antsibull → antsibull_build}/from_source/verify.py
  69. +1 −1 src/{antsibull → antsibull_build}/new_ansible.py
  70. 0 src/{antsibull → antsibull_build}/py.typed
  71. +5 −6 src/{antsibull → antsibull_build}/pypi.py
  72. +0 −2 src/{antsibull → antsibull_build}/python_metadata.py
  73. +3 −3 src/{antsibull → antsibull_build}/sanity_tests.py
  74. +7 −5 src/{antsibull → antsibull_build}/tagging.py
  75. +1 −1 src/{antsibull → antsibull_build}/types.py
  76. 0 src/{antsibull → antsibull_build}/utils/__init__.py
  77. +1 −1 src/{antsibull → antsibull_build}/utils/galaxy.py
  78. +5 −3 src/{antsibull → antsibull_build}/utils/get_pkg_data.py
  79. +1 −1 src/{antsibull → antsibull_build}/utils/paths.py
  80. +35 −0 src/antsibull_build/utils/urls.py
  81. +1 −1 src/{antsibull → antsibull_build}/versions.py
  82. +3 −3 tests/test_announcements.py
  83. +41 −0 tests/test_changelog.py
  84. +3 −4 tests/test_data/announce-7.0.0/announcements.json
  85. +1 −1 tests/test_data/announce-7.0.0/{ansible-email-announcement.txt → ansible-forum-announcement.md}
  86. +1 −1 tests/test_data/announce-7.0.0/ansible-matrix-announcement.md
  87. +3 −4 tests/test_data/announce-7.0.0b1/announcements.json
  88. +1 −1 tests/test_data/announce-7.0.0b1/{ansible-email-announcement.txt → ansible-forum-announcement.md}
  89. +1 −1 tests/test_data/announce-7.0.0b1/ansible-matrix-announcement.md
  90. +3 −4 tests/test_data/announce-7.4.0/announcements.json
  91. +1 −1 tests/test_data/announce-7.4.0/{ansible-email-announcement.txt → ansible-forum-announcement.md}
  92. +1 −1 tests/test_data/announce-7.4.0/ansible-matrix-announcement.md
  93. +9 −8 tests/test_data/package-files/7.5.0/README.rst
  94. +1 −1 tests/test_data/package-files/7.5.0/build-ansible.sh
  95. +9 −8 tests/test_data/package-files/8.1.0/README.rst
  96. +1 −1 tests/test_data/package-files/8.1.0/build-ansible.sh
  97. +9 −8 tests/test_data/package-files/force_setup_cfg/8.1.0/README.rst
  98. +1 −1 tests/test_data/package-files/force_setup_cfg/8.1.0/build-ansible.sh
  99. +0 −1 tests/test_data/package-files/force_setup_cfg/8.1.0/setup.cfg
  100. +1 −1 tests/test_dummy.py
  101. +2 −2 tests/test_paths.py
  102. +4 −2 tests/test_tagging.py
  103. +1 −1 tests/test_types.py
  104. +27 −0 tests/test_utils.py
  105. +1 −1 tests/test_versions.py
  106. +5 −5 tests/verify_package_files.py
73 changes: 57 additions & 16 deletions .github/workflows/antsibull-build.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ on:

env:
FORCE_COLOR: "1"
OTHER_ANTSIBULL_MODE: local

jobs:
build:
@@ -27,38 +28,74 @@ jobs:
- name: Ansible 8
options: '-e antsibull_ansible_version=8.99.0'
python: '3.9'
antsibull_changelog_ref: 0.24.0
antsibull_core_ref: stable-2
- name: Ansible 9
options: '-e antsibull_ansible_version=9.99.0'
python: '3.11'
antsibull_changelog_ref: 0.31.0
antsibull_core_ref: main
antsibull_docs_parser_ref: 1.1.0
antsibull_docutils_ref: 1.0.0
antsibull_fileutils_ref: main
- name: Ansible 11
options: '-e antsibull_ansible_version=11.99.0'
python: '3.13'
antsibull_changelog_ref: main
antsibull_core_ref: stable-2
- name: Ansible 10
options: '-e antsibull_ansible_version=10.99.0'
python: '3.12'
antsibull_core_ref: main
antsibull_docs_parser_ref: main
antsibull_docutils_ref: main
antsibull_fileutils_ref: main
- name: Ansible 12
options: '-e antsibull_ansible_version=12.99.0'
python: '3.13'
antsibull_changelog_ref: main
antsibull_core_ref: main
antsibull_docs_parser_ref: main
antsibull_docutils_ref: main
antsibull_fileutils_ref: main

steps:
- name: Check out antsibull
- name: Check out antsibull-build
uses: actions/checkout@v4
with:
path: antsibull
path: antsibull-build
persist-credentials: false

- name: Check out dependent project antsibull-changelog
uses: actions/checkout@v4
with:
repository: ansible-community/antsibull-changelog
path: antsibull-changelog
ref: ${{ matrix.antsibull_changelog_ref }}
persist-credentials: false

- name: Check out dependent project antsibull-core
uses: actions/checkout@v4
with:
repository: ansible-community/antsibull-core
path: antsibull-core
ref: ${{ matrix.antsibull_core_ref }}
persist-credentials: false

- name: Check out dependent project antsibull-docs-parser
uses: actions/checkout@v4
with:
repository: ansible-community/antsibull-docs-parser
path: antsibull-docs-parser
ref: ${{ matrix.antsibull_docs_parser_ref }}
persist-credentials: false

- name: Check out dependent project antsibull-docutils
uses: actions/checkout@v4
with:
repository: ansible-community/antsibull-docutils
path: antsibull-docutils
ref: ${{ matrix.antsibull_docutils_ref }}
persist-credentials: false

- name: Check out dependent project antsibull-fileutils
uses: actions/checkout@v4
with:
repository: ansible-community/antsibull-fileutils
path: antsibull-fileutils
ref: ${{ matrix.antsibull_fileutils_ref }}
persist-credentials: false

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
@@ -71,17 +108,21 @@ jobs:

- name: "Test building a release: ${{ matrix.name }}"
run: |
OTHER_ANTSIBULL_MODE=local nox -e coverage_release -- ${{ matrix.options }}
working-directory: antsibull
nox -e coverage_release -- ${{ matrix.options }}
env:
# Since antsibull was renamed to antsibull-build, paths during the bytecompile test
# are too long and bytecompile fails with "OSError: AF_UNIX path too long".
ANTSIBULL_COVERAGE_RELEASE_FORCE_TMPDIR: /tmp
working-directory: antsibull-build

- name: Report coverage
run: |
nox -v -e coverage
working-directory: antsibull
working-directory: antsibull-build

- name: Upload coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
working-directory: antsibull
working-directory: antsibull-build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
200 changes: 0 additions & 200 deletions .github/workflows/build-dumb-pypi.yml

This file was deleted.

Loading