{"id":17343458,"url":"https://github.com/firesphere/musical-octo-broccoli","last_synced_at":"2025-10-10T05:33:02.592Z","repository":{"id":165804925,"uuid":"641214497","full_name":"Firesphere/musical-octo-broccoli","owner":"Firesphere","description":"Create a new Sentry project, test and prod, and link prod to MS Teams notifications","archived":false,"fork":false,"pushed_at":"2023-09-05T23:17:56.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T09:46:35.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Firesphere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-16T02:43:40.000Z","updated_at":"2023-05-16T02:48:34.000Z","dependencies_parsed_at":"2024-08-15T12:18:17.427Z","dependency_job_id":null,"html_url":"https://github.com/Firesphere/musical-octo-broccoli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Firesphere/musical-octo-broccoli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fmusical-octo-broccoli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fmusical-octo-broccoli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fmusical-octo-broccoli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fmusical-octo-broccoli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Firesphere","download_url":"https://codeload.github.com/Firesphere/musical-octo-broccoli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firesphere%2Fmusical-octo-broccoli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002866,"owners_count":26083468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T16:09:27.537Z","updated_at":"2025-10-10T05:33:02.561Z","avatar_url":"https://github.com/Firesphere.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentry \u0026 MS Teams\n\nThis little project creates/links a sentry project to a Teams team.\n\n## Installation:\n\n`git clone git@github.com:Firesphere/musical-octo-broccoli.git`\n\n`pip3 install -r requirements.txt`\n\n### Or, use a venv\n\n`git clone git@github.com:Firesphere/musical-octo-broccoli.git`\n\n`python3 -m venv musical-octo-broccoli`\n\n`source musical-octo-broccoli/bin/activate`\n\n`pip3 install -r requirements.txt`\n\n(Note, within venv, you can't use `./main.py`, you have to use `python3 main.py`)\n\n## Configuration\n\nUse a `.env` file, as per the example.env.\n\n## Usage\n\nNote, to link an app, the full project name as returned from Sentry in `--list-apps` must be used.\n\nWhen creating new, two projects are created, \"projectname-test\" and \"projectname-prod\".\n\nusage: main.py [-h] [--app APP] [--list-apps] [--teamlink] [--new]\n\nUpdate sentry project with a set of standard rules\n\noptional arguments:\n *  -h, --help         show this help message and exit\n *  --app APP, -a APP  Name of the app to link or create\n *  --list-apps, -la   list apps, or a single app if you pass in the app full slug\n *  --teamlink, -tl    Link the app. Requires the full slug\n *  --new, -n          Creates a new app and links the prod. Should not have `-prod` in the app name\n\n### Create a new project\n\n`python3 main.py --new --app=myprojectname`\n\nOr, shortened:\n\n`python3 main.py -n -a myporjectname`\n\n### List projects from Sentry\n\n`python3 main.py --list-apps`\n\nOr, shortened:\n\n`python3 main.py -la`\n\n#### Find a specific project\n\n`python3 main.py --list-apps --app=myprojectname`\n\nOr, shortened:\n\n`python3 main.py -la -a myprojectname`\n\n##### And get its related YML\n\n`python3 main.py -la -a myprojectname -yml`\n\n### Link existing project to Teams\n\n`python3 main.py --teamlink --app=myprojectname-prod`\n\nOr, shortened\n\n`python3 main.py -tl -a myprojectname-prod`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiresphere%2Fmusical-octo-broccoli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiresphere%2Fmusical-octo-broccoli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiresphere%2Fmusical-octo-broccoli/lists"}