Skip to content

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Jun 2, 2025

git-validation fails on this repo unless the PR is rebased because the CIRRUS_BASE_SHA commit is not fetched into the build environment by default, so fetch it.

Also update git-validation from a 6-year-old version, although that’s probably not strictly necessary.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Jun 2, 2025

2c354c0 fails …

@mtrmac mtrmac force-pushed the git-validation branch 3 times, most recently from 80cb99f to 9c3be11 Compare June 2, 2025 21:58
@mtrmac mtrmac changed the title WIP: git-validation Fixgit-validation on PRs behind main Jun 2, 2025
@@ -1,16 +1,19 @@
module github.com/containers/storage/tests/tools

go 1.18
go 1.23.0

require (
github.com/cpuguy83/go-md2man v1.0.10
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

BTW this version is also 6 years old, but I’ll leave that update to someone who wants to investigate differences in the generated nroff syntax.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Jun 2, 2025

@giuseppe PTAL, this should help with failures like #2341 in the future.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Jun 2, 2025

(As a demo, this PR is intentionally behind main; it might be necessary to rebase it later…)

@mtrmac mtrmac changed the title Fixgit-validation on PRs behind main Fix git-validation on PRs behind main Jun 2, 2025
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@mtrmac mtrmac marked this pull request as ready for review June 3, 2025 14:59
@mtrmac
Copy link
Collaborator Author

mtrmac commented Jun 3, 2025

… marked as “ready for review” now.

@giuseppe
Copy link
Member

giuseppe commented Jun 3, 2025

@flouthoc PTAL

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

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

LGTM

mtrmac added 2 commits June 4, 2025 20:24
CIRRUS_BASE_SHA is a valid commit, but it might not be
a parent of the current PR, so it might not be available,
making a ${CIRRUS_BASE_SHA}..$something git commit range expressions
fail.

Compare cirruslabs/cirrus-ci-docs#1279 .

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
... from a 6-year-old version

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Jun 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, giuseppe, Luap99, mtrmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit a1634ce into containers:main Jun 6, 2025
20 checks passed
@mtrmac mtrmac deleted the git-validation branch June 6, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants