{"id":16679721,"url":"https://github.com/buren/meta-secretary","last_synced_at":"2025-03-13T08:17:10.623Z","repository":{"id":29765044,"uuid":"33308890","full_name":"buren/meta-secretary","owner":"buren","description":"Simple deploy tracker ","archived":false,"fork":false,"pushed_at":"2021-12-02T06:39:55.000Z","size":326,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T04:19:15.440Z","etag":null,"topics":["deploy-tracker","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-02T12:59:13.000Z","updated_at":"2018-06-28T11:46:12.000Z","dependencies_parsed_at":"2022-08-02T15:15:19.511Z","dependency_job_id":null,"html_url":"https://github.com/buren/meta-secretary","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fmeta-secretary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fmeta-secretary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fmeta-secretary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buren%2Fmeta-secretary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buren","download_url":"https://codeload.github.com/buren/meta-secretary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243365640,"owners_count":20279215,"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","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":["deploy-tracker","rails","ruby"],"created_at":"2024-10-12T13:37:10.075Z","updated_at":"2025-03-13T08:17:10.414Z","avatar_url":"https://github.com/buren.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meta secretary\nSimple Rails app that keep track of deploys.\n\n[![Code Climate](https://codeclimate.com/github/trialbee/meta-secretary.png)](https://codeclimate.com/github/trialbee/meta-secretary)\n[![Build Status](https://travis-ci.org/trialbee/meta-secretary.png?branch=master)](https://travis-ci.org/trialbee/meta-secretary)\n\n- [About](#about)\n- [Create deploy](#create-deploy)\n- [Production setup](#production-setup)\n- [Contributing](#contributing)\n- [Tests](#tests)\n- [Technology](#technology)\n- [MIT License](LICENSE)\n\n## About\nMeta Secretary is a simple Rails app, deployable in minutes, that keep track of deploys for code hosted on GitHub.\n\nPrerequisites:\n* A GitHub user token with access to all deployed repositories is needed, note that it can't be a organization token.\n\n## Create deploy\n```bash\n# Required: commit_sha, application, repository_name, server\n# Optional: ip_address, tag\n#\n# repository_name must be the name used on GitHub\n#\n#\n$ export META_ACCESS_TOKEN='XXXXXXYYYXXX'\n$ curl -X POST -d \\\n'{\n  \"deployment\": {\n    \"commit_sha\": \"8b988e7f73f07a50c4856bf86cd9aebaae06a032\",\n    \"server\": \"meta-production-server\",\n    \"application\": \"meta-secretary\",\n    \"repository_name\": \"meta-secretary\",\n    \"tag\": \"\",\n    \"ip_address\": \"\"\n  }\n}' https://example-meta.herokuapp.com/new_deployment \\\n  --header \"Authorization: Token token=$META_ACCESS_TOKEN\" \\\n  --header \"Content-Type:application/json\"\n```\nnote that you need to change the authorization token.\n\n## Production Setup\n[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\nOr you can deploy manually:\n```bash\n$ git clone git@github.com:trialbee/meta-secretary.git\n$ cd meta-secretary\n# If you want to deploy to Heroku:\n$ heroku apps:create example-meta # choose a name\n# Rails secret token\n$ heroku config:set SECRETARY_SECRET_TOKEN=$(rake secret)\n$ git push heroku master\n$ heroku run rake db:migrate\n$ heroku restart\n```\n\n## Updating Meta Secretary\n```bash\n$ export $META_SECRETARY_URL='https://example-meta.herokuapp.com'\n$ export $META_ACCESS_TOKEN='...'\n$ bash --login deploy.sh\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nFor groupdate gem: time zone [support](http://dev.mysql.com/doc/refman/5.6/en/time-zone-support.html) needs to be added to MySQL\n```bash\n$ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql\n```\n\n### Tests\n\n```bash\n$ rspec # Will run all tests with coverage (output saved to coverage/)\n# Or if you'd like to run relevant tests automatically on any file change\n$ guard\n```\n\n## Technology\n\n* Ruby 2.0 (works with Ruby 2.1)\n* Ruby on Rails 4.0\n* MySQL      (development)\n* PostgreSQL (production)\n* Twitter Bootstrap 3.1.1\n* jQuery 1.10\n* jQuery.dataTables 1.9.4\n* Handlebars.js 1.3.0\n* Unicorn 4.8 (application server)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburen%2Fmeta-secretary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburen%2Fmeta-secretary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburen%2Fmeta-secretary/lists"}