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

cli: Anchor registry publishing #570

Merged
merged 11 commits into from
Aug 8, 2021
Merged

cli: Anchor registry publishing #570

merged 11 commits into from
Aug 8, 2021

Conversation

armaniferrante
Copy link
Member

@armaniferrante armaniferrante commented Aug 3, 2021

Changes needed for the MVP of the anchor program registry for verifiable builds.

  • Adds a [registry] section in the Anchor toml.
  • Adds the anchor login <api-token> command.
  • Adds the anchor publish <package> command.
  • Adds a root level anchor_version field to the Anchor.toml for specifying the cli version to build with (verifiable builds only).
  • Renames [clusters.<network>] to [programs.<network>].
  • Changes workspace member/exclude path finding to require paths relative to the workspace root.
  • Makes a bunch of miscellaneous fixes, e.g., so that the registry can produce verifiable builds of non anchor programs.
    • Adds solana_version setting to the Anchor.toml for setting the solana toolchain version for verifiable builds.

@armaniferrante armaniferrante changed the title cli: Anchor registry publshing cli: Anchor registry publishing Aug 3, 2021
@armaniferrante armaniferrante marked this pull request as ready for review August 8, 2021 08:48
@armaniferrante armaniferrante merged commit 3248481 into master Aug 8, 2021
@armaniferrante armaniferrante deleted the armani/publish branch August 8, 2021 09:11
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

1 participant