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

Make the default stage for x.py configurable #76625

Merged
merged 1 commit into from
Sep 16, 2020

Commits on Sep 15, 2020

  1. Make the default stage for x.py configurable

    This allows configuring the default stage for each sub-command individually.
    
    - Normalize the stage as early as possible, so there's no confusion
      about which to use.
    - Don't add an explicit `stage` option in config.toml
    
      This offers no more flexibility than `*_stage` and makes it confusing
      which takes precedence.
    
    - Always give `--stage N` precedence over config.toml
    - Fix bootstrap tests
    
      This changes the tests to go through `Config::parse` so that they test
      the actual defaults, not the dummy ones provided by `default_opts`.  To
      make this workable (and independent of the environment), it does not
      read `config.toml` for tests.
    jyn514 committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    328c61c View commit details
    Browse the repository at this point in the history