{"id":27998212,"url":"https://github.com/alphagov/content-publisher","last_synced_at":"2025-05-08T22:50:59.175Z","repository":{"id":37742865,"uuid":"140405637","full_name":"alphagov/content-publisher","owner":"alphagov","description":"Publishing application for GOV.UK ","archived":false,"fork":false,"pushed_at":"2025-05-08T19:23:13.000Z","size":14338,"stargazers_count":33,"open_issues_count":3,"forks_count":11,"subscribers_count":55,"default_branch":"main","last_synced_at":"2025-05-08T22:50:04.739Z","etag":null,"topics":["container","govuk","publishing"],"latest_commit_sha":null,"homepage":"https://docs.publishing.service.gov.uk/apps/content-publisher.html","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alphagov.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,"zenodo":null}},"created_at":"2018-07-10T09:00:26.000Z","updated_at":"2025-04-30T16:43:50.000Z","dependencies_parsed_at":"2023-10-11T20:57:57.595Z","dependency_job_id":"2b178d23-f1f8-44c2-bed4-854a9b243746","html_url":"https://github.com/alphagov/content-publisher","commit_stats":null,"previous_names":[],"tags_count":2667,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fcontent-publisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fcontent-publisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fcontent-publisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fcontent-publisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphagov","download_url":"https://codeload.github.com/alphagov/content-publisher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160827,"owners_count":21863624,"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":["container","govuk","publishing"],"created_at":"2025-05-08T22:50:58.546Z","updated_at":"2025-05-08T22:50:59.174Z","avatar_url":"https://github.com/alphagov.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Content Publisher (DEPRECATED)\n\n\u003e **NOTE**: This project is deprecated and is [planned to be retired](https://github.com/alphagov/govuk-rfcs/blob/main/rfc-161-technical-direction-in-publishing-2023.md).\n\n---\n\nA unified publishing application for content on GOV.UK\n\n## Nomenclature\n\n  * Content - Some text ([and related fields][content-schemas]) a user wants to publish\n  * Revision - A version of a piece of content in a particular locale\n  * Edition - A revision that is in the Publishing API\n  * Document - All revisions of a piece of content in a particular locale\n\n## Technical documentation\n\nThis is a Ruby on Rails application, and should follow [our Rails app conventions](https://docs.publishing.service.gov.uk/manual/conventions-for-rails-applications.html).\n\nYou can use the [GOV.UK Docker environment](https://github.com/alphagov/govuk-docker) to run the application and its tests with all the necessary dependencies. Follow [the usage instructions](https://github.com/alphagov/govuk-docker#usage) to get started.\n\n**Use GOV.UK Docker to run any commands that follow.**\n\n### Before running the app\n\nThe first time you run this application for development, enable `debug` and `pre_release_features` permissions:\n\n```\nbundle exec rake development_permissions\n```\n\nTo enable them for your GOV.UK account add them to your account in [Signon](https://github.com/alphagov/signon).\n\n### Running the test suite\n\n**Note:** You will need to checkout `govuk-helm-charts` into your `govuk` repository in order to have local tests passing. \n\n```\nbundle exec rake\n```\n\nTo run JavaScript tests (only):\n\n```\n# run JS tests in browser\nyarn run jasmine:browser\n\n# run JS tests on command line\nyarn run jasmine:ci\n```\n\n\u003e [Our test environment is setup to render 'real' error pages, instead of raising an exception](https://github.com/alphagov/content-publisher/commit/184a93d23551161125c1ac6ff3d9287eafabbc3d). This can make it hard to debug a test failure, as the actual error won't appear in the test output. Instead, you can see it in `log/test.log`.\n\n### Further documentation\n\n- [Approach to analytics](docs/approach-to-analytics.md)\n- [Editing change note history](docs/edit-change-note-history.md)\n- [History mode](docs/history-mode.md)\n- [Importing documents from Whitehall](docs/import-from-whitehall.md)\n- [Removing documents](docs/removing-documents.md)\n- [Scheduled publishing](docs/scheduled-publishing.md)\n- [Testing strategy](docs/testing-strategy.md)\n- [User permissions](docs/user-permissions.md)\n\n## Licence\n\n[MIT License](LICENCE)\n\n[content-schemas]: https://github.com/alphagov/govuk-content-schemas\n[postgresql]: https://www.postgresql.org/\n[redis]: https://redis.io/\n[yarn]: https://yarnpkg.com/\n[jasmine]: https://github.com/jasmine/jasmine\n[imagemagick]: https://www.imagemagick.org/script/index.php\n[whitehall-repo]: https://github.com/alphagov/whitehall\n[export-filters]: https://github.com/alphagov/whitehall/blob/master/lib/tasks/export.rake#L153\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fcontent-publisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphagov%2Fcontent-publisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fcontent-publisher/lists"}