Skip to content

Conversation

@dstadulis
Copy link

@dstadulis dstadulis commented Oct 9, 2024

Fixes #863 #854

Additional flags produce:

  • Globally consistent commitment hash length, regardless of gitconfig
  • --broken to create fail-safe tag indicating a dirty or corrupted
    work tree
  • --always to generate a tag, even if no tags are reachable from the
    current commit.

@dstadulis dstadulis self-assigned this Oct 9, 2024
@dstadulis dstadulis requested a review from ViktorT-11 October 11, 2024 07:39
@@ -1,4 +1,5 @@
VERSION_TAG = $(shell git describe --tags)
# Create globally-consistent, build-input identifier
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: comments should always be full sentences, including punctuation.

Copy link
Author

@dstadulis dstadulis Oct 11, 2024

Choose a reason for hiding this comment

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

i.e. "Add a full stop"? [Edit: Yes]
CMIIW but "{Imperative verb} {adjective} {direct objective}" is a complete sentence.

Copy link
Member

Choose a reason for hiding this comment

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

yup, just update it to: # Create globally-consistent, build-input identifier.

Copy link
Member

Choose a reason for hiding this comment

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

i'll do it 👍

Copy link
Member

@ellemouton ellemouton left a comment

Choose a reason for hiding this comment

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

LGTM once other comment is addressed.

Additional flags produce:
* Globally consistent commitment hash length, regardless of gitconfig
* `--broken` to create fail-safe tag indicating a dirty or corrupted
  work tree
* `--always` to generate a tag, even if no tags are reachable from the
  current commit.
@ellemouton ellemouton force-pushed the globally-consistent-build-input-identifier branch from f79939e to 66d2bd1 Compare October 14, 2024 07:05
@ellemouton ellemouton removed the request for review from ViktorT-11 October 14, 2024 07:17
@ellemouton ellemouton merged commit f9ef002 into lightninglabs:master Oct 14, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

make+build: Create globally-consistent, build-input identifier

4 participants