{"id":15656219,"url":"https://github.com/sergk/git-repo","last_synced_at":"2025-04-14T01:43:01.272Z","repository":{"id":145505793,"uuid":"61885896","full_name":"SergK/git-repo","owner":"SergK","description":"gitrepo provides a CLI tool and a Python API wrapper for interacting with git repositories","archived":false,"fork":false,"pushed_at":"2018-10-17T10:11:20.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T15:52:39.167Z","etag":null,"topics":["git","python","sync","synchronization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SergK.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-24T13:18:58.000Z","updated_at":"2024-01-31T19:59:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6a67476-6b25-4f84-9282-e890f4f3da03","html_url":"https://github.com/SergK/git-repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fgit-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fgit-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fgit-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fgit-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergK","download_url":"https://codeload.github.com/SergK/git-repo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809044,"owners_count":21164895,"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":["git","python","sync","synchronization"],"created_at":"2024-10-03T13:01:16.461Z","updated_at":"2025-04-14T01:43:01.250Z","avatar_url":"https://github.com/SergK.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\ngitrepo\n=======\n\ngitrepo provides a CLI tool and a Python API wrapper for interacting with git repositories\n\n\nUsage\n-----\n\n**gitrepo [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]**\n\nThe utility for work with git projects.\n\noptional arguments:\n  --version            show program's version number and exit\n  -v, --verbose        Increase verbosity of output. Can be repeated.\n  -q, --quiet          Suppress output except warnings and errors.\n  --log-file LOG_FILE  Specify a file to log output. Disabled by default.\n  -h, --help           Show help message and exit.\n  --debug              Show tracebacks on errors.\n\nCommands:\n  :complete:       print bash completion command\n  :help:           print detailed help for another command\n  :sync:           Sync the projects.\n\n'gitrepo sync' example\n----------------------\n\n**gitrepo sync [-h] [-f] [-p PROJECT [PROJECT ...]] [-t NUM_THREADS] [--junit-xml [XML_FILE]] file**\n\nSync the projects.\n\npositional arguments:\n   file                - Path to projects mapping file in YAML format (see format bellow)\n\n.. code-block:: yaml\n\n    - project: kubernetes\n      src-repo: https://github.com/kubernetes/kubernetes\n      dst-repo: ssh://admin@127.0.0.1:29418/kubernetes/kubernetes\n      branches:\n        - \"*\"\n\noptional arguments:\n   -h, --help           Show help message and exit\n   -f, --force          Force update remote repository without any checks\n   -p, --project        Project(s) to sync\n   -t, --num-thread     Number of worker threads (1 by default)\n   --junit-xml          Create sync report in JUnit XML format (can be used in Jenkins)\n\n\nToDo\n----\n* add additional commands;\n* add ability to customise connection parameters;\n* add more unit tests;\n\n\nContributors\n------------\n\n* skulanov@mirantis.com\n* vitaliy@kulanov.org.ua\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergk%2Fgit-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergk%2Fgit-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergk%2Fgit-repo/lists"}