Utilities for setting up a Sentry development environment
Project description
devenv
the next generation sentry devenv management tool
install
Download this and run it:
bash install-devenv.sh
If you are setting up a new laptop, run devenv bootstrap
after installing.
technical overview
devenv
is a command-line interface to a set of environment management commands
that can be custom implemented for a particular repository.
sync
brings the dev environment up-to-date- example: in sentry,
sync
updates python+js dependencies, and runs migrations
- example: in sentry,
doctor
diagnoses and fixes common issues- TODO: more on this later, we're working on this at the moment
- you can write these doctor "checks" using
devenv
facilities, and they're executed within devenv's environment - example to be available at
sentry/devenv/checks/....py
exec
(coming soon) execs a command inside ofdevenv
's execution context, useful if things don't work locally
Dependencies like colima
and volta
are hermetically installed and used within devenv
's execution.
This lets us dictate how they get installed, and it doesn't affect the rest of the system.
devenv
also:
- helps new engineers
devenv bootstrap
their new macbooks nearly effortlessly
per-repository configuration
REPOROOT/devenv/config.ini
an example: if the right [python]
block is specified (see sentry's),
we support downloading those prebuilt pythons for a repo's virtualenv
develop
Purpose: enable gh act
to work quickly on localhost
To that end:
- build a docker image with python pre-installed at the expected location
- the python interpreter machine-architecture should match the host machine
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sentry_devenv-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78fc47718705f28e1ce7c4bf1a0623600b52611f021201c6f901c27db2a4211 |
|
MD5 | e9a0cf7cadeae7b44e87fbd21125c58f |
|
BLAKE2b-256 | 57837d724e0c42c090d104b620320c6244aa55a903b9f308450e28a0980f218a |