{"id":23009575,"url":"https://github.com/devolutions/cirup-rs","last_synced_at":"2025-04-02T16:13:52.604Z","repository":{"id":33594603,"uuid":"147086849","full_name":"Devolutions/cirup-rs","owner":"Devolutions","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-10T12:59:19.000Z","size":80,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-08T06:43:56.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Devolutions.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-09-02T13:19:31.000Z","updated_at":"2024-10-28T16:57:26.000Z","dependencies_parsed_at":"2023-01-15T01:34:21.085Z","dependency_job_id":null,"html_url":"https://github.com/Devolutions/cirup-rs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fcirup-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fcirup-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fcirup-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fcirup-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devolutions","download_url":"https://codeload.github.com/Devolutions/cirup-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246847138,"owners_count":20843444,"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":["architecture"],"created_at":"2024-12-15T09:15:01.894Z","updated_at":"2025-04-02T16:13:52.562Z","avatar_url":"https://github.com/Devolutions.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cirup-rs\n\nA translation continuous integration tool\n\n##### configuration\nA configuration file is required for most operations:\n ```\n[vcs]\n# The version control system to use\nplugin = \"git\"\n# The local path for the repository\nlocal_path = \"/opt/wayk/i18n/WaykNow\" \n# The remote path to the repository\nremote_path = \"git@bitbucket.org:devolutions/wayknow.git\"\n\n[sync]\n# The source language\nsource_language = \"en\"\n# The target language(s)\ntarget_languages = [ \"fr\", \"de\" ]\n# A regex to match your language files\nmatch_language_file = \"\\\\.json$\"\n# A regex to match the language from the language filename\nmatch_language_name = \"(.+?)(\\\\.[^.]*$|$)\"\n# The relative path to the language files in the repository\nsource_dir = \"resources/i18n\"\n# The location to export and import translations from\nworking_dir = \"/opt/wayk/i18n/WaykNow-Translations\"\n```\n##### commands\n###### vcs-log\nShow the version control history for the source language file. You must specify an old commit, and optionally, a new commit.\n\nCommits are listed, newest first, and formatted as:\n`%commit - %date - %author - %message`\n\nYou can limit the number of commits returned with `--limit`\n\ne.g. `cirup vcs-log --old-commit ac8d579fd --limit 20`\n\n###### vcs-diff\nDiff two commits of the source language file. You must specify an old commit, and optionally, a new commit.\n###### pull\nGenerate translation files for all target languages. You can specify a commit range.\nTranslation files will contain all keys that have not been translated from the source language. You can also include strings that have changed in the commit range using `--show-changes`.\n\ne.g. `cirup pull --old-commit ac8d579fd --show-changes`\n###### push\nMerge the translation files in the working directory back into version control.\nYou can specify a commit range to merge a specific set of changes.\n##### other commands\nThere are other useful commands available that perform operations on individual files using the cirup engine. Check the command line help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevolutions%2Fcirup-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevolutions%2Fcirup-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevolutions%2Fcirup-rs/lists"}