covermymeds / puppet-sentry

Install and manage Sentry with Puppet!
MIT License
7 stars 7 forks source link

Allow projects to be created in teams #13

Closed skpy closed 8 years ago

skpy commented 8 years ago

The create_project.py script had previously accepted a -t flag to specify the team to which the project should be assigned. This commit allows create_project.py to create that team if it does not exist.

Note that the -o flag allows the specification of an organization, but the script does not create new organizations at this time.

The sentry::source::export and sentry::source::project defined types have been updated to pass organization and team.

For projects created outside of the default organization+team combo, the DSN cache file will include the organization and team in the directory name. These values are uriescape()d to ensure that spaces and other things are supported.

Closes #11

dansajner commented 8 years ago

@skpy I added a commit that makes organization and team required parameters and also forces the new dsn file name structure. I'll post commits to our internal modules on Monday and we can talk through the design.

dansajner commented 8 years ago

These changes tested successfully. They include breaking changes so a new major release to the forge will be cut shortly.