{"id":21314470,"url":"https://github.com/polyconseil/copyist","last_synced_at":"2025-03-15T21:15:43.490Z","repository":{"id":62564785,"uuid":"220038220","full_name":"Polyconseil/copyist","owner":"Polyconseil","description":"Keep your configuration synced between repositories","archived":false,"fork":false,"pushed_at":"2020-01-10T15:06:54.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-01-22T10:16:56.691Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Polyconseil.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","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":"2019-11-06T16:12:35.000Z","updated_at":"2020-01-10T15:06:53.000Z","dependencies_parsed_at":"2022-11-03T16:00:48.573Z","dependency_job_id":null,"html_url":"https://github.com/Polyconseil/copyist","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/Polyconseil%2Fcopyist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fcopyist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fcopyist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fcopyist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polyconseil","download_url":"https://codeload.github.com/Polyconseil/copyist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":[],"created_at":"2024-11-21T18:13:11.058Z","updated_at":"2025-03-15T21:15:43.457Z","avatar_url":"https://github.com/Polyconseil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============================================\ncopyist - Easily sync your configuration files\n==============================================\n\nTo make sure all your projects share the same configuration, add a ``[tool.copyist]`` section to\nthe ``pyproject.toml`` file of your projects specifying the expected files and their generators.\n\nFor example, ``copyist``'s ``isort`` configuration is synced from ``examples/isort.py`` policy as specified\nin its ``pyproject.toml``::\n\n    [tool.copyist]\n      [tool.copyist.context]\n      package_name = \"copyist\"\n\n      [tool.copyist.files]\n      \"pyproject.toml\" = [\"examples.isort.apply_config\"]\n\n\nConfiguration\n=============\n\n``[tool.copyist.files]`` section lists the files to generate/keep synced with their list of generators to apply.\n\nEach generator is a function taking as argument the previous content of the file and an optional context\nspecified in ``[tool.copyist.context]`` section.\n\nThe generators are generally provided by an other Python package specifying your expected configuration.\n\n\nCommand line options\n====================\n\nYou can list them by running ``copyist --help``::\n\n    usage: copyist [-h] [--version] [--config CONFIG] [--verbose] [--dry-run]\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      --version             show program's version number and exit\n      --config CONFIG, -c CONFIG\n                            Configuration file (defaults to pyproject.toml)\n      --verbose, -v         Show the diff produced at each stage\n      --dry-run             Do not overwrite files\n\n\nHelpers\n=======\n\nCurrently only ``copyist.helpers.fill_tool_section(previous_content, tool_name, section_text)`` is available\nto help fill ``pyproject.toml`` with the different tools' configurations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Fcopyist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolyconseil%2Fcopyist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Fcopyist/lists"}