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

feat: add junit-xml-extended format #4918

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

ldez
Copy link
Member

@ldez ldez commented Aug 16, 2024

Fixes #4900

@ldez ldez added enhancement New feature or improvement area: output Related to issue output blocked: until next minor Will be a part of the next minor release of golangci-lint labels Aug 16, 2024
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

Is the plan to use this extended version for anything that extends the junit-xml or would we have to create yet another format if there are other fields that might be conditional? If the latter it doesn't sound like it scales well but otoh we don't seem to extend the format very often so maybe not worth worrying about.

@ldez
Copy link
Member Author

ldez commented Aug 19, 2024

This format will be used for everything that deviates from the "basic" JUnit format.

.golangci.next.reference.yml Outdated Show resolved Hide resolved
pkg/printers/junitxml.go Show resolved Hide resolved
@ldez ldez changed the title feat: add extended-junit-xml format feat: add junit-xml-extended format Aug 25, 2024
Copy link
Contributor

@Antonboom Antonboom left a comment

Choose a reason for hiding this comment

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

🔥

@ldez ldez added this to the next milestone Sep 4, 2024
@ldez ldez removed the blocked: until next minor Will be a part of the next minor release of golangci-lint label Sep 4, 2024
@ldez ldez merged commit 0275389 into golangci:master Sep 4, 2024
16 checks passed
@ldez ldez deleted the feat/extended-junit-xml branch September 4, 2024 15:01
@ldez ldez modified the milestones: next, v1.61 Sep 9, 2024
uudashr pushed a commit to uudashr/golangci-lint that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: output Related to issue output enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include file and line attribute for junit report output format
3 participants