Skip to content

Issue #19515: install xmlstarlet if not present in versions validation#19521

Merged
romani merged 1 commit into
checkstyle:masterfrom
ayushactiveat:issue-19515-fix-xmlstarlet-not-found
Mar 30, 2026
Merged

Issue #19515: install xmlstarlet if not present in versions validation#19521
romani merged 1 commit into
checkstyle:masterfrom
ayushactiveat:issue-19515-fix-xmlstarlet-not-found

Conversation

@ayushactiveat

@ayushactiveat ayushactiveat commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

fixes #19515
moved xmlstarlet installation to azure-pipelines.yml as a pre-step before job execution, since all tasks in validation.sh expect tools to be already installed.

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks a lot, update:

Comment thread .ci/validation.sh Outdated

versions)
if ! command -v xmlstarlet &> /dev/null; then
sudo apt-get install -y xmlstarlet

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please add this to CI config to be be done before job execution.

all tasks in validation.sh expects that all tools are installed already.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@romani done

@ayushactiveat ayushactiveat force-pushed the issue-19515-fix-xmlstarlet-not-found branch from a0a4638 to c40a14a Compare March 30, 2026 04:28

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Items

Comment thread azure-pipelines.yml Outdated
'versions':
image: 'ubuntu-24.04'
cmd: "./.ci/validation.sh versions"
cmd: "sudo apt-get install -y xmlstarlet && ./.ci/validation.sh versions"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@romani right okay

@ayushactiveat ayushactiveat force-pushed the issue-19515-fix-xmlstarlet-not-found branch 3 times, most recently from 0331e6a to 88849ec Compare March 30, 2026 06:30
@ayushactiveat ayushactiveat force-pushed the issue-19515-fix-xmlstarlet-not-found branch from 88849ec to 82602f2 Compare March 30, 2026 13:45
@ayushactiveat

Copy link
Copy Markdown
Contributor Author

@romani unrelated fail

@romani romani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A way better

@romani romani merged commit fe86ebb into checkstyle:master Mar 30, 2026
121 of 123 checks passed
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.

validation.sh versions "xmlstarlet: command not found"

2 participants