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
File details
Details for the file sentry_devenv-1.6.0.tar.gz
.
File metadata
- Download URL: sentry_devenv-1.6.0.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36947f900a039b38d22ed9bc55e09419e46931b730701d85c6a6dea4aafafc3e |
|
MD5 | 673e61a6d02cc46a1ece8fd4f0791216 |
|
BLAKE2b-256 | aa2156945853d7b59f8e1df900f87fa30c5559453cf78b7bb4230b42f0d03428 |
File details
Details for the file sentry_devenv-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: sentry_devenv-1.6.0-py3-none-any.whl
- Upload date:
- Size: 44.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce81a1761c2d2fd60b57b851ff1d916c83c14f0bbdf62b418d2b13e2e37c5234 |
|
MD5 | 03ac814777420e2dd4a5844a2e93f624 |
|
BLAKE2b-256 | 49e6b02b9774fd308704aa15f0b4a4c167d203a1eb69349ba72643fe09e1babc |