Metadata-Version: 2.1
Name: flox-sentry
Version: 0.1.4
Summary: Automatically create projects and teams for flox managed projects
Home-page: https://github.com/getflox/flox-sentry
License: MIT
Author: Michal Przytulski
Author-email: michal@przytulski.pl
Requires-Python: >=3.6.2,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: flox-core (>=0.2,<1.0.0)
Requires-Dist: python-slugify (>=4.0,<5.0)
Requires-Dist: requests-toolbelt (>=0.9,<0.10)
Description-Content-Type: text/markdown

# flox sentry integration

Create sentry project and expose DSN value for future processing during [flox](https://github.com/getflox/flox) workflow

## Key features
- create sentry project with same name as flox 
- create sentry team for each project (optional)
- automatically create DSN for given project 
- expose DSN value as variable which can be used in project workflow or bootstrap template

## Exposed variables

- sentry_dsn

## Installation

```bash
$ flox plugin install flox-sentry
```

or

```bash
$ pip install flox-sentry
```

## Configuration

```bash
$ flox config --plugin sentry --scope=user

ℹ Starting configuration of sentry for 'user' scope
 → URL to sentry [https://sentry.io/]:
 → Sentry default organization [getflox]:
 → Default team which should be used for new projects (must exists) [backend]:
ℹ 'Grant permission to teams' configuration is accepting multiple values, each in new line, enter empty value to end input, '-' to delete value

New configuration:

 Key                            Old value  New value
─────────────────────────────────────────────────────
 Create a new team per project  {}         False
 Grant permission to teams      {}         -

Save plugin settings? [y/N]: y
ℹ Configuration saved: /Users/user/.flox/settings.toml
 → Sentry Access Token []: -----

New configuration:

 Key                  Old value                                                         New value
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Sentry Access Token  ------                                                            ------

Save plugin settings? [y/N]: y
ℹ Updated 1 secrets
```

