Skip to content

feat: Add logging format for azure devops#457

Merged
pawamoy merged 7 commits into
mkdocstrings:mainfrom
carstencodes:contributions/carstencodes/azure-devops-logging-commands
May 24, 2026
Merged

feat: Add logging format for azure devops#457
pawamoy merged 7 commits into
mkdocstrings:mainfrom
carstencodes:contributions/carstencodes/azure-devops-logging-commands

Conversation

@carstencodes
Copy link
Copy Markdown
Contributor

@carstencodes carstencodes commented May 17, 2026

Azure DevOps is popular in enterprise contexts Adding the ability use logging commands in griffe during pipeline execution would be great.

This commit contains

  • A new enumeration value
  • A new _explain_azdo method
  • Update documentation
  • A manual test ran against latest tag.

For reviewers

  • I did not use AI
  • I used AI and thoroughly reviewed every code/docs change

This commit was purely made by humans

Description of the change

This change introduces a new logging output for griffe: Azure Pipelines Logging Commands to be used in Azure DevOps similar to Github workflows outputs.

Relevant resources

@carstencodes
Copy link
Copy Markdown
Contributor Author

Ok, sorry to say, but I did not change a line associated with that test. And locally, the test is green

@johnslavik
Copy link
Copy Markdown
Member

johnslavik commented May 17, 2026

It's fixed now :-) (by #459).

@johnslavik
Copy link
Copy Markdown
Member

johnslavik commented May 17, 2026

Thank you for the contribution! Merging main again should fix CI. @pawamoy, can you take a look?

Azure DevOps is popular in enterprise contexts
Adding the ability use logging commands in griffe during pipeline execution would be great.

This commit contains
- [X] A new enumeration value
- [X] A new _explain_azdo method
- [X} Update documentation
- [X] A manual test ran against latest tag.

---
Details about logging commands can be found here:
https://learn.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#task-commands
@carstencodes carstencodes force-pushed the contributions/carstencodes/azure-devops-logging-commands branch from ce70f73 to 24d11f7 Compare May 17, 2026 18:32
@carstencodes
Copy link
Copy Markdown
Contributor Author

Thx, ok, I rebased it again, Let's hope for the best

Copy link
Copy Markdown
Member

@pawamoy pawamoy 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 the PR @carstencodes! About adding the feature: why not. However I'm not an Azure Devops user, so I won't be able to troubleshoot any issue with the logging format or the documentation. Will you be there if needed to help maintain this?

Comment thread docs/guide/users/checking.md Outdated
Comment thread docs/guide/users/checking.md Outdated
Comment thread docs/guide/users/checking.md
Comment thread docs/guide/users/checking.md Outdated
@carstencodes
Copy link
Copy Markdown
Contributor Author

Will you be there if needed to help maintain this?

Sure, I will be delighted to help

carstencodes and others added 4 commits May 19, 2026 19:46
Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
Comment thread docs/guide/users/checking.md Outdated
Comment thread docs/guide/users/checking.md
Comment thread docs/guide/users/checking.md Outdated
Copy link
Copy Markdown
Member

@pawamoy pawamoy left a comment

Choose a reason for hiding this comment

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

OK LGTM, thanks for the update!

@pawamoy pawamoy merged commit 82526e4 into mkdocstrings:main May 24, 2026
1 of 10 checks passed
@carstencodes carstencodes deleted the contributions/carstencodes/azure-devops-logging-commands branch May 24, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants