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

Add show-fingerprints command #91

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Add show-fingerprints command #91

merged 1 commit into from
Jul 11, 2022

Conversation

greglook
Copy link
Collaborator

@greglook greglook commented Jul 7, 2022

Some more tooling I added while I was debugging our extra CI installs. This introduces a lein monolith show-fingerprints <marker> <project> [project ...] command which can be used to calculate some projects' current fingerprints and diff against the specified marker. As part of this, the fingerprint map will also start tracking the upstream prints that went into each project; this is a substantial increase in the size of the fingerprint file, but offers some invaluable insight into why things are considered to be changed.

Example output (ansi colors not shown):

% lein monolith show-fingerprints ci/build segment-core
amperity/segment-core
        version: MONOLITH-SNAPSHOT
           seed: 0
        sources: CgpMYFe8qqTUSTL-tJFidDHmTp0 => LNcY855XbPb1lxZ9Wv2dITopvlI
           deps: arJ2abX6PDfS8rg6OHkxAr9wnSI
   java-version: 11.0.11
       upstream: -PzwUOvtUXQUJWdE229Ip8cegOg => qO3gNRBBEzc3UcSmBMlkCq_7Bbc
                 * amperity/common: rYYWz9tadMp4TqGXI9vd7Z6-6pw
                 * amperity/database-core: nqqi143Hmrh3Xy7SDNDyKXgdaYM
                 * amperity/ent-client: C5M_BvZdVeN3B7-WQlydRgiYXFs
                 * amperity/ent-core: c4YvbpxptHL4kmpoS3-EAvu-FdA
                 * amperity/finagle-base: vRAcsOoaB_5Vy-4Euym5dqFRHtc => nvBpMzq4bkCcNWpkeQZt_CBN0e8
                 * amperity/query-core: lOFoUhqaBlYGIsvSokG2Thu4Xps
                 * amperity/sql: vG8G6NDSHWx9oL5VEYNciHoWcLs
          final: VUTPUON2vyx3OYJ_c-ubqaCMLW0 => Vffs-fX7youHqyx21MRM2nePNFo

@greglook greglook requested a review from a team July 7, 2022 16:34
@greglook greglook merged commit 53f902b into main Jul 11, 2022
@greglook greglook deleted the add-show-fingerprints-task branch July 11, 2022 18:09
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