{"id":22835424,"url":"https://github.com/dxw/support-rota","last_synced_at":"2025-08-10T20:31:29.835Z","repository":{"id":39581415,"uuid":"288764962","full_name":"dxw/support-rota","owner":"dxw","description":"A Rails app that returns the dxw Support and Out of Hours rotas from Opsgenie in iCal and JSON formats.","archived":true,"fork":false,"pushed_at":"2024-08-28T07:32:15.000Z","size":263,"stargazers_count":0,"open_issues_count":10,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-31T02:44:26.791Z","etag":null,"topics":["delivery-plus","internal","tech-ops"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dxw.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-08-19T15:12:21.000Z","updated_at":"2024-08-29T15:24:14.000Z","dependencies_parsed_at":"2024-01-13T06:59:43.399Z","dependency_job_id":"dc4de8b1-342b-4a40-864a-07a93d5ede7e","html_url":"https://github.com/dxw/support-rota","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"dxw/rails-template","purl":"pkg:github/dxw/support-rota","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsupport-rota","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsupport-rota/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsupport-rota/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsupport-rota/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxw","download_url":"https://codeload.github.com/dxw/support-rota/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fsupport-rota/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269783119,"owners_count":24475153,"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-08-10T02:00:08.965Z","response_time":71,"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":["delivery-plus","internal","tech-ops"],"created_at":"2024-12-12T22:09:51.281Z","updated_at":"2025-08-10T20:31:29.462Z","avatar_url":"https://github.com/dxw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Support Rota\n\nA Rails app that returns the dxw Support and Out of Hours rotas from Opsgenie in iCal and JSON formats.\n\n## Getting started\n\n1. [Install Docker for Mac](https://docs.docker.com/docker-for-mac/install/)\n1. copy `/.env.example` into `/.env.development.local`.\n\n    Our intention is that the example should include enough to get the application started quickly. If this is not the case, please ask another developer for a copy of their `/.env.development.local` file.\n\n    dxw specific values are stored in the Shared 1password vault.\n1. Run the server:\n\n  ```bash\n  script/server\n  ```\n\nThe data is available at the following routes:\n\n### Support rota (dev and ops eng)\n\n- http://localhost:3000/support/rota.ics\n- http://localhost:3000/support/rota.json\n\n### Out of hours (1st and 2nd lines)\n\n- http://localhost:3000/out-of-hours/rota.ics\n- http://localhost:3000/out-of-hours/rota.json\n\n### Developer\n\n- http://localhost:3000/v2/dev/rota.json\n\n### Ops engineer\n\n- http://localhost:3000/v2/ops/rota.json\n\n### OOH First line\n\n- http://localhost:3000/v2/ooh1/rota.json\n\n### OOH Second line\n\n- http://localhost:3000/v2/ooh2/rota.json\n\n## Running the tests\n\n```bash\nscript/test\n```\n\n## Running Brakeman\n\nRun [Brakeman](https://brakemanscanner.org/) to highlight any security vulnerabilities:\n\n```bash\nbrakeman\n```\n\nTo pipe the results to a file:\n\n```bash\nbrakeman -o report.text\n```\n\n## Making changes\n\nWhen making a change, update the [changelog](CHANGELOG.md) using the\n[Keep a Changelog 1.0.0](https://keepachangelog.com/en/1.0.0/) format. Pull\nrequests should not be merged before any relevant updates are made.\n\n## Releasing changes\n\nWhen making a new release, update the [changelog](CHANGELOG.md) in the release\npull request.\n\n## Architecture decision records\n\nWe use ADRs to document architectural decisions that we make. They can be found\nin doc/architecture/decisions and contributed to with the\n[adr-tools](https://github.com/npryce/adr-tools).\n\n## Managing environment variables\n\nWe use [Dotenv](https://github.com/bkeepers/dotenv) to manage our environment variables locally.\n\nThe repository will include safe defaults for development in `/.env.example` and for test in `/.env.test`. We use 'example' instead of 'development' (from the Dotenv docs) to be consistent with current dxw conventions and to make it more explicit that these values are not to be committed.\n\nTo manage sensitive environment variables:\n\n1. Add the new key and safe default value to the `/.env.example` file eg. `ROLLBAR_TOKEN=ROLLBAR_TOKEN`\n2. Add the new key and real value to your local `/.env.development.local` file, which should never be checked into Git. This file will look something like `ROLLBAR_TOKEN=123456789`\n\n## Access\n\nThe app is hosted on Heroku at https://dxw-support-rota.herokuapp.com.\n\n## Source\n\nThis repository was bootstrapped from\n[dxw's `rails-template`](https://github.com/dxw/rails-template).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxw%2Fsupport-rota","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxw%2Fsupport-rota","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxw%2Fsupport-rota/lists"}