Skip to main content

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
  • 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 of devenv'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:

  1. build a docker image with python pre-installed at the expected location
  2. the python interpreter machine-architecture should match the host machine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry_devenv-1.2.3.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

sentry_devenv-1.2.3-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file sentry_devenv-1.2.3.tar.gz.

File metadata

  • Download URL: sentry_devenv-1.2.3.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for sentry_devenv-1.2.3.tar.gz
Algorithm Hash digest
SHA256 4d1d08a9eac1b0ec0346e8c1fafcbbd2fc9a1d3921520d2c2e0634185b4fa468
MD5 94bc1f4d09bc05fffc2c19ae41cb07b3
BLAKE2b-256 e926ee96b8ebca3f87778590c7c8cc1b9d9fa16a99c22586b49c08ef5654f565

See more details on using hashes here.

File details

Details for the file sentry_devenv-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: sentry_devenv-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for sentry_devenv-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2eff6f902d33c5cc1722dd59679cec666309dec826d44dca273c9f74c37db200
MD5 46dfab9c4fec762cd2e3a86d05c6adea
BLAKE2b-256 f5c527ae8b9a70f4e5393b6387c7a47c817f5335c32700542427c96fd010dd0f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page