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

Include :jar-exclusions in fingerprints #95

Merged
merged 6 commits into from
Apr 17, 2024
Merged

Conversation

brandonvin
Copy link
Contributor

@brandonvin brandonvin commented Apr 15, 2024

:jar-exclusions can alter the contents of a project's JAR file, so when it's changed the project should be considered stale.

@brandonvin brandonvin marked this pull request as ready for review April 15, 2024 23:15
Copy link
Contributor

@DCardenasAmp DCardenasAmp left a comment

Choose a reason for hiding this comment

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

Nice, I didn't realize adding a new fingerprint would be that simple!

Pulled this locally and tested this against the example projects, and confirmed that

  1. Setting :jar-exclusions on an individual project will update its fingerprint
  2. Setting :jar-exclusions as an inherited property in the metaproject file will update the fingerprint of any projects that inherit it

Copy link
Collaborator

@greglook greglook left a comment

Choose a reason for hiding this comment

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

LGTM, two very minor comments on displaying the results.

src/lein_monolith/task/fingerprint.clj Outdated Show resolved Hide resolved
src/lein_monolith/task/fingerprint.clj Outdated Show resolved Hide resolved
@brandonvin brandonvin merged commit 0388fe7 into main Apr 17, 2024
4 checks passed
@brandonvin brandonvin deleted the jar-exclusions-fingerprint branch April 17, 2024 19:14
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.

None yet

3 participants