-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #1633 nox session for tagging #1649
Issue #1633 nox session for tagging #1649
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this @x1101 🚀 I've left some initial thoughts and will be curious to see what others have to say. Let me know what you think.
noxfile.py
Outdated
if not any(arg.startswith("--core") for arg in args): | ||
tmpdir = session.create_tmp() | ||
session.run("git", "clone", "--quiet", DEFAULT_REPO, tmpdir, external=True) | ||
args.extend(["--core", tmpdir]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about cloning the core repo as part of this session. The tagger script already determines the default core checkout and an extra clone feels wasteful.
This also requires you to set the --core
argument when running the tagger if you want to use the existing core checkout, which seems a bit less convenient than using the tagger directly.
Maybe we could call tag.py
to catch when the ansible
repo doesn't exist and then do the clone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. Now I'm on the fence. I guess the clone here resolves the need to set the --remote
arg if it's not origin
as well as making sure that the repo is up to date.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I had a lot of the same thoughts.
What I landed on for a first pass was designing around the idea of
"running nox -s tag
should require little/no knowledge of how the tagging tool works under the hood, and should 'just work'"
Based on running the tag tool multiple times, I'm fairly confident I know (relative to the docs directory) where it expects core to be. I can add in a test for if it already exists either there or in the tmp location, and potentially some other checks to confirm branches etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@x1101 that makes sense and maybe I'm coming around to the idea of doing the clone here. One thing I think it's important to avoid is making the nox session too complex and my suggestions could be pushing things down the wrong path. The nox session should only be a light wrapper to the tagger script.
If we do decide to clone core into a tmp directory, it exists inside the virtual environment that nox creates (
At the end of the tag session, you could do something like:
There's probably a more elegant way to do that with a |
That's already better than what I initially had (and removed). I've got a few ideas that I'll work into this once I have a chance. |
…m/x1101/ansible-documentation into issue1633_nox_session_for_tagging
…sts, removes tmpdir if it created one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for giving it another go @x1101 I think we're making progress. Hopefully you don't mind me going back and forth a little in the review. Sometimes it's hard to settle on an approach until you play around.
noxfile.py
Outdated
Determine the missing ansible-core releases, | ||
create corresponding tags for each release in the ansible-documentation repo, | ||
and then push them |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Determine the missing ansible-core releases, | |
create corresponding tags for each release in the ansible-documentation repo, | |
and then push them | |
Check the core repo for new releases and create tags in ansible-documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd shorten this a bit and keep it all on a single line so all the text in the description is visible with nox --list
.
noxfile.py
Outdated
if not any(arg.startswith("--core") for arg in args): | ||
if (CHECK_LOCATION / ".git").is_dir(): | ||
session.run("git", "-C", CHECK_LOCATION, "pull", "--quiet", external=True) | ||
args.extend(["--core", str(CHECK_LOCATION)]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably have some try blocks in here to handle errors a little more gracefully. Something like:
try:
session.run("git", "-C", CHECK_LOCATION, "pull", "--quiet", external=True)
args.extend(["--core", str(CHECK_LOCATION)])
except Exception as e:
session.error(f"Could not update the core repository: {e}")
However, in my case, I ran into fatal: Need to specify how to reconcile divergent branches.
when trying this out. I think to overcome that we'd need to use a pull strategy in the nox session. I'm a --rebase
kind of guy but other folks have different preferences so it's tricky to find any one right way to handle this.
In any event I guess the larger concern here might be that a pull could risk wiping local changes or creating a mess on someone's branch. It seems we're also going down the road of adding extending the tagger via the nox session, which is something I'd prefer not to do. Although I know it's sort of my fault for suggesting we compare the local checkout with the upstream core repo in an earlier comment.
Git operations can be finicky so maybe it's best to go with your initial approach of cloning into the virtual environment. If we can remove the clone when we're done that probably takes care of the concern about being a bit wasteful.
noxfile.py
Outdated
session.run("python", "hacking/tagger/tag.py", *args) | ||
if tmpdir: | ||
_rm_tmpdir(tmpdir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
session.run("python", "hacking/tagger/tag.py", *args) | |
if tmpdir: | |
_rm_tmpdir(tmpdir) | |
try: | |
session.run("python", "hacking/tagger/tag.py", *args) | |
finally: | |
if tmpdir: | |
_rm_tmpdir(tmpdir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should remove the tmp directory even if the session fails.
Added a few others for review. @felixfontein as you have created tags before I think your take on this would be useful. Cheers. |
Absolutely agree. Looking over your list of comments, I think we can solve several at once by
Then add the bits about
Thanks for your patience with missing some obvious python best practices. I'm not a developer by trade, and I'm still building up those skills. |
Based on what @gotmax23 has said, the ideal session is
the If you run |
I've been in the weeds with other stuff but was thinking about this PR earlier today when I noticed a ping from someone in the docs channel about missing tags in the repo. It occurred to me that we could perhaps use this session in our ci to periodically check for new tags in |
My first thought is "that's a different enough use case that it should be a different |
So I think clone core is required, otherwise the user can be trying this w/o remembering to clone core (and thus have no new tags). Though I suppose I'd figure it out soon enuf if someone (or some bot) said 'missing tags' and I ran this nox session and nothing changed :-) As for something to remind us in matrix, yes please! I tend to have an eye out for core releases anyway, but not RCs, betas, etc so a nagogram reminder would be most welcome (whereever it runs..not saying part of this PR). |
570d106
to
6d5af07
Compare
The process for running the nox session (and the prerequisite of cloning the repositories) is now documented in the README. |
@samccann, let me know if those docs answers your questions. See also #1649 (comment). @x1101, I pushed a change to document this in the README. Thank you for working on this. Thanks for waiting for me to review this after I get back from vacation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a mill for the work on this one @x1101 🚀 I'm still interested in seeing if we can use this in ci to periodically check for missing tags and notify the dawgs but it's definitely a follow on PR. I do think this session could be useful for that and provides a bit of inspiration if nothing else. Cheers!
args = list(session.posargs) | ||
|
||
# If run without any arguments, default to "tag" | ||
if not any(arg.startswith(("hash", "mantag", "new-tags", "tag")) for arg in args): | ||
args.append("tag") | ||
|
||
session.run("python", "hacking/tagger/tag.py", *args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of making a list and mutating it, why not make an additional var just for those extra args?
args = list(session.posargs) | |
# If run without any arguments, default to "tag" | |
if not any(arg.startswith(("hash", "mantag", "new-tags", "tag")) for arg in args): | |
args.append("tag") | |
session.run("python", "hacking/tagger/tag.py", *args) | |
known_cli_args_present = any(arg.startswith(("hash", "mantag", "new-tags", "tag")) for arg in session.posargs) | |
extra_cli_args = () if known_cli_args_present else ("tag",) | |
session.run("python", "hacking/tagger/tag.py", *session.posargs, *extra_cli_args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was matching the existing pip-compile
session that does the same args.append()
. I'm personally in favor of keeping things consistent. If we want to change it, we should change both, possibly as a separate effort from this.
Per suggestion from @webnjaz Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
My bad, @gotmax23 I accidentally re-requested a review from you. |
Thanks! |
Remove latest symlink from publishing workflow (ansible#1615) * remove latest symlink Read The Docs allows you to configure which version corresponds to "latest" which means the symlink is no longer necessary. * add 11 to version list Co-authored-by: Sandra McCann <[email protected]> ci: refresh docs build dependencies (ansible#1635) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> fix Validate data against set criteria with Ansible doc (ansible#1636) fixed following example playbook fix Ansible architecture docs (ansible#1637) I fixed example Inventory ini format file contains '---' used in Yaml Integrate the `alls-green` action into the main GHA CI workflow (ansible#1639) * Integrating all-greens into ci.yml * removing non-existing references When rebuilding this work after repo cleanup, I missed removing these. Thanks for catching that. Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> * Update .github/workflows/ci.yaml --------- Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> Co-authored-by: Don Naro <[email protected]> Remove reference of scp_if_ssh option (ansible#1346) * Remove reference of scp_if_ssh option * scp_if_ssh is removed in Ansible 2.17, remove the references Fixes: ansible#1341 Signed-off-by: Abhijeet Kasurde <[email protected]> * review changes Co-authored-by: Maxwell G <[email protected]> * details about the smart setting --------- Signed-off-by: Abhijeet Kasurde <[email protected]> Co-authored-by: Maxwell G <[email protected]> Co-authored-by: Don Naro <[email protected]> Remove references to archived ansible/ansible-examples repository (ansible#1653) docs/docsite/rst/dev_guide/developing_program_flow_modules.rst: avoid using aliases (ansible#1539) * docs/docsite/rst/dev_guide/developing_program_flow_modules.rst: don't use aliases * Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst Co-authored-by: Sandra McCann <[email protected]> * Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst Co-authored-by: flowerysong <[email protected]> --------- Co-authored-by: Sandra McCann <[email protected]> Co-authored-by: flowerysong <[email protected]> [WIP, needs vote before merging] collection_requirements.rst: update (ansible#1422) * collection_requirements.rst: update * general updates * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Brian Scholer <[email protected]> * releasing policy MUST -> SHOULD * Remove setting upper bound warning * fix formatting * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Sandra McCann <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Sandra McCann <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Remove the Requirements for collections to be included in the Ansible Package section * Update galaxy section * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Remove extra line * Update Documentation requirements section * CoC feedback incorporate * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Felix Fontein <[email protected]> * Fix unnoticed conflict * Reformulate changelog section * Restructure Contributor Workflow section * Fix typo * Add sentence back * Restructure section * Handle Naming section * Handle Licensing section * Restructure Licensing section * Fix typo * Update repo management section * Update branch name and protection section * Undate CI testing section * Update When moving modules between collections section * Update Development conventions section * Update Collection dependencies section * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Restructure backwards compatibility section * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Fix formatting| * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Felix Fontein <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Brian Scholer <[email protected]> Co-authored-by: Sandra McCann <[email protected]> Co-authored-by: Don Naro <[email protected]> Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Alicia Cozine <[email protected]> communication guide: overhaul (ansible#1667) communication guide: overhaul * Forum as default * Reorder so important information is at the top * remove old information --------- Co-authored-by: Don Naro <[email protected]> Co-authored-by: John Barker <[email protected]> Co-authored-by: Sandra McCann <[email protected]> ci: refresh dev dependencies (ansible#1657) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> ci: refresh docs build dependencies (ansible#1658) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Output workflow parameters for approval details (ansible#1650) * Output workflow parameters for approval details --------- Co-authored-by: Don Naro <[email protected]> ci: refresh dev dependencies (ansible#1675) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> ci: refresh docs build dependencies (ansible#1676) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Nightly builds for package docs publishing workflow (ansible#1663) Adding daily schedule to CI build (ansible#1659) * Adding daily schedule to CI build * Change from 0 minute to 23, per discussion and referenced suggestion. remove the schedule from the workflow dispatch job (ansible#1683) Relates to issue ansible#1682. This change removes the schedule to stop the workflow from failing due to null input values. We can either add this back with some expressions to set defaults for scheduled runs or create a simplified build workflow that runs on a schedule. notify docs matrix channel on docs build failures (ansible#1651) * notify docs matrix channel on docs build failures * add url with run id Remove language option from workflow (ansible#1681) * Remove deprecated language input from the publishing workflow collection_requirements: fix typo (ansible#1684) * collection_requirements: fix typo * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> --------- Co-authored-by: Don Naro <[email protected]> WIP restore anchor in communication guide (ansible#1692) Add porting guide for Ansible 10.2.0. (ansible#1697) Add porting guide for Ansible 9.8.0. (ansible#1698) Move community_topics_workflow to docs.ansible.com (ansible#1028) * Move community_topics_workflow to docs.ansible.com * Simplify * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Mario Lenz <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Mario Lenz <[email protected]> * Improve * Replacing Creating a topic section content * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Clarify * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> --------- Co-authored-by: Mario Lenz <[email protected]> Co-authored-by: Don Naro <[email protected]> ci: refresh docs build dependencies (ansible#1691) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Issue ansible#1633 nox session for tagging (ansible#1649) * WIP tagger session for nox * First pass tagging nox session * Formatting fixup * Adding removal of tmpdir as per discussion * tag session checks for, and uses, existing ansible checkout if it exists, removes tmpdir if it created one. * isort fixup * Working out suggested changes. * Linting cleanup on changes * Different approach to noted chagnes * Reducing tagging session to a bare bones wrapper around the script, leaving all repo management alone * Staging deletion per discussion * Adding tag session to dependency update job * after removing hacking/tagger/requirements.txt moved "gitpython" here for the typing test session requiremnts. * Adding that here didd not accomplish what I'd expected. Removing it and revisiting how to do that. * I think this is where the call needed added to get the tags dependencies automatically updated * remove gitpython, add tag.txt, add blank line * Comment cleanup per OraNod * doc README: document nox tag session instead of manual mode * Update tests/typing.in Per suggestion from @webnjaz Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> --------- Co-authored-by: Maxwell G <[email protected]> Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> ci: refresh dev dependencies (ansible#1707) * ci: refresh dev dependencies * ci: refresh dev dependencies --------- Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Be more explicit about registering with a loop (ansible#1709) add vault password file example (ansible#1696) * add vault password file example * remove duplicate word in vault password file example Co-authored-by: Sandra McCann <[email protected]> --------- Co-authored-by: Sandra McCann <[email protected]> ci: refresh dev dependencies (ansible#1722) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> setting in-line defaults for running on a schedule
* WIP * setting in-line defaults for running on a schedule * ci: refresh dev dependencies (#1634) Remove latest symlink from publishing workflow (#1615) * remove latest symlink Read The Docs allows you to configure which version corresponds to "latest" which means the symlink is no longer necessary. * add 11 to version list Co-authored-by: Sandra McCann <[email protected]> ci: refresh docs build dependencies (#1635) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> fix Validate data against set criteria with Ansible doc (#1636) fixed following example playbook fix Ansible architecture docs (#1637) I fixed example Inventory ini format file contains '---' used in Yaml Integrate the `alls-green` action into the main GHA CI workflow (#1639) * Integrating all-greens into ci.yml * removing non-existing references When rebuilding this work after repo cleanup, I missed removing these. Thanks for catching that. Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> * Update .github/workflows/ci.yaml --------- Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> Co-authored-by: Don Naro <[email protected]> Remove reference of scp_if_ssh option (#1346) * Remove reference of scp_if_ssh option * scp_if_ssh is removed in Ansible 2.17, remove the references Fixes: #1341 Signed-off-by: Abhijeet Kasurde <[email protected]> * review changes Co-authored-by: Maxwell G <[email protected]> * details about the smart setting --------- Signed-off-by: Abhijeet Kasurde <[email protected]> Co-authored-by: Maxwell G <[email protected]> Co-authored-by: Don Naro <[email protected]> Remove references to archived ansible/ansible-examples repository (#1653) docs/docsite/rst/dev_guide/developing_program_flow_modules.rst: avoid using aliases (#1539) * docs/docsite/rst/dev_guide/developing_program_flow_modules.rst: don't use aliases * Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst Co-authored-by: Sandra McCann <[email protected]> * Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst Co-authored-by: flowerysong <[email protected]> --------- Co-authored-by: Sandra McCann <[email protected]> Co-authored-by: flowerysong <[email protected]> [WIP, needs vote before merging] collection_requirements.rst: update (#1422) * collection_requirements.rst: update * general updates * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Brian Scholer <[email protected]> * releasing policy MUST -> SHOULD * Remove setting upper bound warning * fix formatting * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Sandra McCann <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Sandra McCann <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Remove the Requirements for collections to be included in the Ansible Package section * Update galaxy section * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Remove extra line * Update Documentation requirements section * CoC feedback incorporate * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Felix Fontein <[email protected]> * Fix unnoticed conflict * Reformulate changelog section * Restructure Contributor Workflow section * Fix typo * Add sentence back * Restructure section * Handle Naming section * Handle Licensing section * Restructure Licensing section * Fix typo * Update repo management section * Update branch name and protection section * Undate CI testing section * Update When moving modules between collections section * Update Development conventions section * Update Collection dependencies section * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Restructure backwards compatibility section * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Alicia Cozine <[email protected]> * Fix formatting| * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Felix Fontein <[email protected]> * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Brian Scholer <[email protected]> Co-authored-by: Sandra McCann <[email protected]> Co-authored-by: Don Naro <[email protected]> Co-authored-by: Felix Fontein <[email protected]> Co-authored-by: Alicia Cozine <[email protected]> communication guide: overhaul (#1667) communication guide: overhaul * Forum as default * Reorder so important information is at the top * remove old information --------- Co-authored-by: Don Naro <[email protected]> Co-authored-by: John Barker <[email protected]> Co-authored-by: Sandra McCann <[email protected]> ci: refresh dev dependencies (#1657) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> ci: refresh docs build dependencies (#1658) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Output workflow parameters for approval details (#1650) * Output workflow parameters for approval details --------- Co-authored-by: Don Naro <[email protected]> ci: refresh dev dependencies (#1675) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> ci: refresh docs build dependencies (#1676) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Nightly builds for package docs publishing workflow (#1663) Adding daily schedule to CI build (#1659) * Adding daily schedule to CI build * Change from 0 minute to 23, per discussion and referenced suggestion. remove the schedule from the workflow dispatch job (#1683) Relates to issue #1682. This change removes the schedule to stop the workflow from failing due to null input values. We can either add this back with some expressions to set defaults for scheduled runs or create a simplified build workflow that runs on a schedule. notify docs matrix channel on docs build failures (#1651) * notify docs matrix channel on docs build failures * add url with run id Remove language option from workflow (#1681) * Remove deprecated language input from the publishing workflow collection_requirements: fix typo (#1684) * collection_requirements: fix typo * Update docs/docsite/rst/community/collection_contributors/collection_requirements.rst Co-authored-by: Don Naro <[email protected]> --------- Co-authored-by: Don Naro <[email protected]> WIP restore anchor in communication guide (#1692) Add porting guide for Ansible 10.2.0. (#1697) Add porting guide for Ansible 9.8.0. (#1698) Move community_topics_workflow to docs.ansible.com (#1028) * Move community_topics_workflow to docs.ansible.com * Simplify * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Mario Lenz <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Mario Lenz <[email protected]> * Improve * Replacing Creating a topic section content * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> * Clarify * Update docs/docsite/rst/community/steering/community_topics_workflow.rst Co-authored-by: Don Naro <[email protected]> --------- Co-authored-by: Mario Lenz <[email protected]> Co-authored-by: Don Naro <[email protected]> ci: refresh docs build dependencies (#1691) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Issue #1633 nox session for tagging (#1649) * WIP tagger session for nox * First pass tagging nox session * Formatting fixup * Adding removal of tmpdir as per discussion * tag session checks for, and uses, existing ansible checkout if it exists, removes tmpdir if it created one. * isort fixup * Working out suggested changes. * Linting cleanup on changes * Different approach to noted chagnes * Reducing tagging session to a bare bones wrapper around the script, leaving all repo management alone * Staging deletion per discussion * Adding tag session to dependency update job * after removing hacking/tagger/requirements.txt moved "gitpython" here for the typing test session requiremnts. * Adding that here didd not accomplish what I'd expected. Removing it and revisiting how to do that. * I think this is where the call needed added to get the tags dependencies automatically updated * remove gitpython, add tag.txt, add blank line * Comment cleanup per OraNod * doc README: document nox tag session instead of manual mode * Update tests/typing.in Per suggestion from @webnjaz Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> --------- Co-authored-by: Maxwell G <[email protected]> Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> ci: refresh dev dependencies (#1707) * ci: refresh dev dependencies * ci: refresh dev dependencies --------- Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> Be more explicit about registering with a loop (#1709) add vault password file example (#1696) * add vault password file example * remove duplicate word in vault password file example Co-authored-by: Sandra McCann <[email protected]> --------- Co-authored-by: Sandra McCann <[email protected]> ci: refresh dev dependencies (#1722) Co-authored-by: Ansible Documentation Bot <147556122+ansible-documentation-bot[bot]@users.noreply.github.com> setting in-line defaults for running on a schedule * Implementing comments --------- Co-authored-by: ansible-documentation-bot[bot] <147556122+ansible-documentation-bot[bot]@users.noreply.github.com>
First pass at creating a
nox
session for using the tagging tool.Some notes
ansible/ansible
into a tmp directorytag
subcommandThis is my first pass at using
nox
, so if there are things I'm missing or could be improved I am very open to collaboration.