Skip to content
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

Merged
merged 21 commits into from
Jul 23, 2024

Conversation

x1101
Copy link
Contributor

@x1101 x1101 commented Jun 25, 2024

First pass at creating a nox session for using the tagging tool.

Some notes

  • Does not handle all the extended use cases of the tagging tool
  • With not arguments will clone ansible/ansible into a tmp directory
    • Does not currently clean up this tmp directory, very open to discussions on if/how to do this
  • With no arguments will run tag subcommand

This 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.

@oraNod oraNod requested a review from gotmax23 June 25, 2024 18:19
@oraNod oraNod added no_backport This PR should not be backported. devel only. tooling This PR affects tooling (CI, pr_labeler, noxfile, linters, etc.) but not the docs builds themselves. labels Jun 25, 2024
Copy link
Contributor

@oraNod oraNod left a 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])
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

noxfile.py Show resolved Hide resolved
tests/tag.in Outdated Show resolved Hide resolved
@oraNod
Copy link
Contributor

oraNod commented Jun 26, 2024

Does not currently clean up this tmp directory, very open to discussions on if/how to do this

If we do decide to clone core into a tmp directory, it exists inside the virtual environment that nox creates (.nox/tag/tmp) - which I suppose you already know. But we could remove that at the end of the session pretty easily with something like this before the tag session:

def _rm_tmpdir(tmpdir):
    shutil.rmtree(tmpdir, ignore_errors=True)

At the end of the tag session, you could do something like:

session.run("python", "hacking/tagger/tag.py", *args)
if tmpdir:
    _rm_tmpdir(tmpdir)

There's probably a more elegant way to do that with a try block or something. There are more experienced Pythonistas around here who are better at that stuff but at least it works. 🤷

@x1101
Copy link
Contributor Author

x1101 commented Jun 26, 2024

Does not currently clean up this tmp directory, very open to discussions on if/how to do this

If we do decide to clone core into a tmp directory, it exists inside the virtual environment that nox creates (.nox/tag/tmp) - which I suppose you already know. But we could remove that at the end of the session pretty easily with something like this before the tag session:

def _rm_tmpdir(tmpdir):
    shutil.rmtree(tmpdir, ignore_errors=True)

At the end of the tag session, you could do something like:

session.run("python", "hacking/tagger/tag.py", *args)
if tmpdir:
    _rm_tmpdir(tmpdir)

There's probably a more elegant way to do that with a try block or something. There are more experienced Pythonistas around here who are better at that stuff but at least it works. 🤷

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.

Copy link
Contributor

@oraNod oraNod left a 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
Comment on lines 193 to 195
Determine the missing ansible-core releases,
create corresponding tags for each release in the ansible-documentation repo,
and then push them
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Contributor

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 Show resolved Hide resolved
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)])
Copy link
Contributor

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
Comment on lines 216 to 218
session.run("python", "hacking/tagger/tag.py", *args)
if tmpdir:
_rm_tmpdir(tmpdir)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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)

Copy link
Contributor

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.

noxfile.py Show resolved Hide resolved
@oraNod
Copy link
Contributor

oraNod commented Jul 2, 2024

Added a few others for review. @felixfontein as you have created tags before I think your take on this would be useful. Cheers.

noxfile.py Show resolved Hide resolved
@x1101
Copy link
Contributor Author

x1101 commented Jul 2, 2024

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.

Absolutely agree.

Looking over your list of comments, I think we can solve several at once by

  • deciding that we're just going to clone into a nox-specific venv
  • clone both ansible and ansible-docs
  • clean them up when we're done

Then add the bits about

  • checking if git is installed
  • initializing tmpdir to None
  • wrapping things in try/catch
  • removing both temp repos when done
  • shorten the session summary to one line

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.

@x1101
Copy link
Contributor Author

x1101 commented Jul 18, 2024

So just trying to summarize to see if I understand this:

1. clone core (to get the latest tags etc)

2. run this nox session. If it gives output, then there were tags in core, if not, there were no new tags

3. Can always run script directly with --newtags option to see first if there are tags

Is that about right?

Based on what @gotmax23 has said, the ideal session is

  • user already has docs and core cloned
  • runs nox -s tag
  • tagging happens

the --newtags option to the tagger script sounds to me like its a troubleshooting/debugging, rather than part of the expected workflow (which is why --newtag isn't part of the current doc process either).

If you run nox -s tag and there are no new tags, it doesn't fail, it does 0 of the 0 things to do. (and exits successfully)

@oraNod
Copy link
Contributor

oraNod commented Jul 18, 2024

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 ansible/ansible and notify on Matrix. Maybe other folks would have a different view but, from the vantage of usefulness, giving the DaWGs a heads up about missing tags seems like it addresses a need. Just putting it out there.

@x1101
Copy link
Contributor Author

x1101 commented Jul 18, 2024

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 ansible/ansible and notify on Matrix. Maybe other folks would have a different view but, from the vantage of usefulness, giving the DaWGs a heads up about missing tags seems like it addresses a need. Just putting it out there.

My first thought is "that's a different enough use case that it should be a different nox session. One I think we should have, but not this one".

@samccann
Copy link
Contributor

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).

@gotmax23 gotmax23 force-pushed the issue1633_nox_session_for_tagging branch from 570d106 to 6d5af07 Compare July 19, 2024 01:08
@gotmax23
Copy link
Collaborator

The process for running the nox session (and the prerequisite of cloning the repositories) is now documented in the README.

@gotmax23
Copy link
Collaborator

@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.

Copy link
Contributor

@oraNod oraNod left a 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!

@oraNod oraNod requested a review from felixfontein July 19, 2024 16:01
@samccann
Copy link
Contributor

thanks @x1101 and @gotmax23. It's all making sense to me now!

Comment on lines +191 to +197
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)
Copy link
Member

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?

Suggested change
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)

Copy link
Contributor Author

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.

tests/typing.in Outdated Show resolved Hide resolved
Per suggestion from @webnjaz

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
@oraNod
Copy link
Contributor

oraNod commented Jul 23, 2024

@webknjaz Thanks for taking a look and providing some nits. I agree with @x1101 that your other suggestion would make a good follow up so we have consistency. Any final comments on your part? I'd rather we go ahead and merge this as soon as we can. Cheers.

@oraNod oraNod requested review from webknjaz and gotmax23 July 23, 2024 18:34
@oraNod
Copy link
Contributor

oraNod commented Jul 23, 2024

My bad, @gotmax23 I accidentally re-requested a review from you.

@gotmax23 gotmax23 merged commit be4c725 into ansible:devel Jul 23, 2024
9 checks passed
@gotmax23
Copy link
Collaborator

Thanks!

@x1101 x1101 deleted the issue1633_nox_session_for_tagging branch July 24, 2024 03:14
@oraNod
Copy link
Contributor

oraNod commented Jul 24, 2024

Thanks @x1101 and @gotmax23 !

x1101 pushed a commit to x1101/ansible-documentation that referenced this pull request Aug 22, 2024
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
oraNod pushed a commit that referenced this pull request Aug 26, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no_backport This PR should not be backported. devel only. tooling This PR affects tooling (CI, pr_labeler, noxfile, linters, etc.) but not the docs builds themselves.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants