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

Switch to using cardano-git-rev from cardano-base repo #647

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

erikd
Copy link
Contributor

@erikd erikd commented Mar 12, 2024

The version of cardano-git-rev in the cardano-base repo (ie CHaP) is a TH splice instead of a function, so it will always be executed/evaluated at the call site.

Changelog

- description: |
    Switch to using cardano-git-rev from cardano-base repo
# uncomment types applicable to the change:
  type:
  - maintenance    # not directly related to the code

Context

Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.

How to trust this PR

Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

@@ -90,7 +91,7 @@ runDisplayVersion = do
[ "cardano-cli ", renderVersion version
, " - ", Text.pack os, "-", Text.pack arch
, " - ", Text.pack compilerName, "-", renderVersion compilerVersion
, "\ngit rev ", gitRev
, "\ngit rev ", $(gitRev)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is no longer a function, but a TH splice.

@erikd erikd marked this pull request as draft March 12, 2024 06:00
@erikd erikd marked this pull request as ready for review March 14, 2024 23:45
The version of `cardano-git-rev` in the `cardano-base` repo is a TH
splice instead of a function, so it will always be executed/evaluated
at the call site.
auto-merge was automatically disabled March 16, 2024 04:06

Merge queue setting changed

@carbolymer carbolymer enabled auto-merge March 18, 2024 17:26
@carbolymer carbolymer added this pull request to the merge queue Mar 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 18, 2024
@carbolymer carbolymer added this pull request to the merge queue Mar 18, 2024
@carbolymer
Copy link
Contributor

Golden test failing needs this fix: #655

Merged via the queue into main with commit b5b9ec1 Mar 18, 2024
17 checks passed
@carbolymer carbolymer deleted the erikd/git-rev branch March 18, 2024 19:52
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.

2 participants