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

Fix broken build from cardano-ledger-specs repo renaming #3055

Merged
merged 2 commits into from
Dec 14, 2021

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Dec 13, 2021

  • git grep -l 'hk/cardano-ledger-specs' | xargs sed -i 's/cardano-ledger-specs/cardano-ledger/g'
  • Ensure f827a4321e42f528e25f6079f7af3eb18f10d391 still exists in the repo
  • ./nix/regenerate.sh
  • Revert a few links to spec documents in hydra, where cardano-ledger-specs is still used

Comments

Issue Number

#3054

1. Run
```
git grep -l 'hk/cardano-ledger-specs' | xargs sed -i 's/cardano-ledger-specs/cardano-ledger/g'
```

2. Created a cardano-wallet/deps-for-node-1.30.1 on the new repo to
   ensure the revision we need exists.
@@ -14,12 +14,12 @@
- Low-Level Specifications
- [[Byron] On-Chain Binary Formats](https://github.com/input-output-hk/cardano-sl/blob/master/docs/on-the-wire/current-spec.cddl)
- [[Shelley] Network Binary Formats - Draft](https://github.com/input-output-hk/ouroboros-network/blob/master/ouroboros-network/test/messages.cddl)
- [[Shelley] On chain Binary formats - Draft](https://github.com/input-output-hk/cardano-ledger-specs/blob/master/shelley/chain-and-ledger/cddl-spec/shelley.cddl#L32)
- [[Shelley] On chain Binary formats - Draft](https://github.com/input-output-hk/cardano-ledger/blob/master/shelley/chain-and-ledger/cddl-spec/shelley.cddl#L32)
Copy link
Member Author

Choose a reason for hiding this comment

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

Seems broken anyway 🤷‍♂️

@Anviking Anviking force-pushed the anviking/fix-cardano-ledger branch from c4464ef to c76d12d Compare December 13, 2021 12:44
Copy link
Contributor

@HeinrichApfelmus HeinrichApfelmus left a comment

Choose a reason for hiding this comment

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

Looks good to me! Feel free to merge once tests pass.

@Anviking Anviking force-pushed the anviking/fix-cardano-ledger branch from c76d12d to b86fd06 Compare December 13, 2021 12:48
@Anviking
Copy link
Member Author

bors r+

iohk-bors bot added a commit that referenced this pull request Dec 13, 2021
3055: Fix broken build from cardano-ledger-specs repo renaming r=Anviking a=Anviking

- [x] `git grep -l 'hk/cardano-ledger-specs' | xargs sed -i 's/cardano-ledger-specs/cardano-ledger/g'`
- [x] Ensure f827a4321e42f528e25f6079f7af3eb18f10d391 still exists in the repo 
- [x] `./nix/regenerate.sh`
- [x] Revert a few links to spec documents in hydra, where cardano-ledger-specs is still used

### Comments

<!-- Additional comments, links, or screenshots to attach, if any. -->

### Issue Number

<!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles.
  Note: Jira issues of the form ADP- will be auto-linked. -->


Co-authored-by: Johannes Lund <[email protected]>
@Anviking Anviking self-assigned this Dec 13, 2021
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 13, 2021

Build failed:

waiting for lock on '/nix/store/jcczlwa192rgz56ln1njsbp43k7ba7rf-cardano-ledger-shelley-ma-lib-cardano-ledger-shelley-ma-0.1.0.0'...
--
  | waiting for lock on '/nix/store/dg9h688n0skhrsw5xaybz62bvgcmsmlb-shelley-spec-ledger-test-lib-shelley-spec-ledger-test-0.1.0.0'...
  | waiting for lock on '/nix/store/70ilbdn4nf3rm20mfs1jhqwg5i5cvwd9-cardano-ledger-alonzo-lib-cardano-ledger-alonzo-0.1.0.0'...
  | waiting for lock on '/nix/store/2nn3mjp1grc4ghwym1kn5p5rjf3ffk6h-cardano-ledger-shelley-ma-lib-cardano-ledger-shelley-ma-0.1.0.0-haddock-doc', '/nix/store/k5pivcyml8ayhzwdkhgqnyis4c29a4xa-cardano-ledger-shelley-ma-lib-cardano-ledger-shelley-ma-0.1.0.0-haddock'...

@Anviking
Copy link
Member Author

bors r+

iohk-bors bot added a commit that referenced this pull request Dec 13, 2021
3055: Fix broken build from cardano-ledger-specs repo renaming r=Anviking a=Anviking

- [x] `git grep -l 'hk/cardano-ledger-specs' | xargs sed -i 's/cardano-ledger-specs/cardano-ledger/g'`
- [x] Ensure f827a4321e42f528e25f6079f7af3eb18f10d391 still exists in the repo 
- [x] `./nix/regenerate.sh`
- [x] Revert a few links to spec documents in hydra, where cardano-ledger-specs is still used

### Comments

<!-- Additional comments, links, or screenshots to attach, if any. -->

### Issue Number

<!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles.
  Note: Jira issues of the form ADP- will be auto-linked. -->


Co-authored-by: Johannes Lund <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 13, 2021

Timed out.

@Anviking
Copy link
Member Author

Gah…

bors r+

@rvl rvl merged commit 169d44c into master Dec 14, 2021
@rvl rvl deleted the anviking/fix-cardano-ledger branch December 14, 2021 06:27
WilliamKingNoel-Bot pushed a commit that referenced this pull request Dec 14, 2021
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.

3 participants