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

feat: reproducible choice interactive #256

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

dj8yfo
Copy link
Collaborator

@dj8yfo dj8yfo commented Nov 21, 2024

this will look now like the following

: cargo near build non-reproducible-wasm --help
Runs on current filesystem state without many restrictions
                                                                                                                                                             
Usage: cargo-near near build non-reproducible-wasm [OPTIONS]
                                                                                                                                                             
Options:
      --locked
      --no-release
      --no-abi
      --no-embed-abi
      --no-doc
      --no-wasmopt
      --out-dir <OUT_DIR>
      --manifest-path <MANIFEST_PATH>
      --features <FEATURES>
      --no-default-features
      --color <COLOR>                  [possible values: auto, always, never]
      --env <ENV>
  -h, --help                           Print help
  -V, --version                        Print version
: cargo near build reproducible-wasm --help
Requires `docker` config added to Cargo.toml and runs on `git`-committed state, which is NOT dirty
                                                                                                                                                             
Usage: cargo-near near build reproducible-wasm [OPTIONS]
                                                                                                                                                             
Options:
      --no-locked
      --out-dir <OUT_DIR>
      --manifest-path <MANIFEST_PATH>
      --color <COLOR>                  [possible values: auto, always, never]
  -h, --help                           Print help
  -V, --version                        Print version

@dj8yfo
Copy link
Collaborator Author

dj8yfo commented Nov 21, 2024

this is pending

  1. deploy cmd dispatch in current pr (2x 5-liner change)
  2. prettier indents in interactive help msgs in current pr
  3. separate pr onto current pr as base branch with tests fixed as per api change
  4. separate pr onto current pr as base branch with .github/workflows change /testing
  5. separate pr onto current pr as base branch with docs/README update
  6. testing of this pr on a few common cases (sample-crate, factory-rust, neardevhub-contract)
  7. merge
  8. release, and sourcescan/cargo-near compatibility note with versions of [cargo_near_build::extended::build] factory functionality
    as per breaking change of how default command in container looks

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.

1 participant