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

development environment wizard #511

Merged
merged 7 commits into from
Nov 28, 2018
Merged

development environment wizard #511

merged 7 commits into from
Nov 28, 2018

Commits on Nov 15, 2018

  1. move .python-version -> .python-version.current to avoid environment …

    …issues
    
    rather than insist that developers use pyenv and have a pyenv-virtualenv with the name suggested by .python-version, we'll only record this name (with current python version included) here.
    
    a subsequent bootstrapper can set this up as before (via symlink) or suggest how to customize (locally)
    jesteria committed Nov 15, 2018
    Configuration menu
    Copy the full SHA
    27c877c View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2018

  1. development environment-bootstrapping script develop

    based on [dssg/install-cli]
    
    resolves #444
    resolves #456
    
    changes:
    
    * the repository no longer insists on a pyenv virtualenv via the file
    .python-version, and otherwise avoids edge cases wherein this file caused
    issues
    * a bootstrap "wizard" script makes recommendations -- heavily reliant
    on pyenv -- but which the developer may opt in or out of, (and instead
    use more as an interactive checklist)
    
    the script **prompts** to do the following:
    
    * install pyenv
    * install the python version now reflected by .python-version.current
      (the _check_ does not assume pyenv; but, it does not support
      _installation_ of the expected python version without pyenv)
    * install a pyenv virtualenv named like what's in .python-version.current
    * write a symlink .python-version to enable auto-activation of the
      virtualenv (if the pyenv virtualenv was created)
    * pip install all development dependencies
    * pip install "editable" / in "develop mode" the triage library itself
    jesteria committed Nov 16, 2018
    Configuration menu
    Copy the full SHA
    97919dc View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. added develop script check(s) for correct pyenv set-up

    and slightly expanded subsequent pyenv-dependent checks
    jesteria committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    669fcb0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e6a72b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfadd66 View commit details
    Browse the repository at this point in the history
  4. updated CONTRIBUTING document with instructions to build development …

    …environment via `develop` script
    jesteria committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    cce0e4f View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2018

  1. Configuration menu
    Copy the full SHA
    4f1f98e View commit details
    Browse the repository at this point in the history