{"id":13483622,"url":"https://github.com/sya-ri/KGit","last_synced_at":"2025-03-27T14:31:26.240Z","repository":{"id":38217809,"uuid":"327833692","full_name":"sya-ri/KGit","owner":"sya-ri","description":"Kotlin Wrapper Library of JGit","archived":false,"fork":false,"pushed_at":"2024-12-13T21:00:13.000Z","size":478,"stargazers_count":33,"open_issues_count":4,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T19:46:50.700Z","etag":null,"topics":["git","gradle","jgit","kgit","kotlin","kotlin-wrapper-library"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sya-ri.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-08T07:46:11.000Z","updated_at":"2025-02-19T14:19:03.000Z","dependencies_parsed_at":"2023-11-16T06:27:46.639Z","dependency_job_id":"60f1906f-3c85-4167-9601-4e2dc28bc05a","html_url":"https://github.com/sya-ri/KGit","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sya-ri%2FKGit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sya-ri%2FKGit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sya-ri%2FKGit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sya-ri%2FKGit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sya-ri","download_url":"https://codeload.github.com/sya-ri/KGit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245863099,"owners_count":20684788,"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","gradle","jgit","kgit","kotlin","kotlin-wrapper-library"],"created_at":"2024-07-31T17:01:13.413Z","updated_at":"2025-03-27T14:31:25.905Z","avatar_url":"https://github.com/sya-ri.png","language":"Java","funding_links":[],"categories":["Kotlin"],"sub_categories":[],"readme":"# KGit\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/sya-ri/KGit)](https://github.com/sya-ri/KGit/releases/latest)\n[![maven-central](https://img.shields.io/maven-central/v/com.github.sya-ri/kgit)](https://search.maven.org/artifact/com.github.sya-ri/kgit)\n[![ktlint](https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg)](https://ktlint.github.io/)\n\nKGit is Kotlin Wrapper Library of [JGit](https://eclipse.org/jgit).\n- Null Safety Methods\n- Command Settings Available Using Lambda Function (No Method Chain)\n- Support JGit features: `7.0.0.202409031743-r`\n\n## Examples\n\n### Clone Repository\n\n#### JGit\n```kotlin\nval git: Git = Git.cloneRepository()\n                  .setURI(\"https://github.com/sya-ri/KGit\")\n                  .setTimeout(60)\n                  .setProgressMonitor(TextProgressMonitor())\n                  .call()\n```\n\n#### KGit\n```kotlin\nval git: KGit = KGit.cloneRepository {\n    setURI(\"https://github.com/sya-ri/KGit\")\n    setTimeout(60)\n    setProgressMonitor(TextProgressMonitor())\n}\n```\n\n## Installation\n\n\u003e [!TIP]\n\u003e\n\u003e - KGit bundles `org.eclipse.jgit:org.eclipse.jgit`.\n\u003e - Install the jgit extension library if necessary.\n\n### build.gradle\n\n```groovy\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation 'com.github.sya-ri:kgit:1.1.0'\n}\n```\n\n### build.gradle.kts\n\n```kotlin\nrepositories {\n    mavenCentral()\n}\n\ndependencies {\n    implementation(\"com.github.sya-ri:kgit:1.1.0\")\n}\n```\n\n## Develop\n\n### Git Commit\n\n#### Before Commit\nRun the gradle task to check the code format.\n\n```\ngradle lintKotlin\n```\n\n#### Template\n\n```\n\u003ctype\u003e: \u003csubject\u003e\n```\n\n#### Type\n\n- **feat**: A new feature\n- **fix**: A bug fix\n- **docs**: Documentation only changes\n- **style**: Changes that do not affect the meaning of the code (white-space, formatting, etc)\n- **refactor**: A code change that neither fixes a bug nor adds a feature\n- **perf**: A code change that improves performance\n- **test**: Adding missing or correcting existing tests\n- **chore**: Changes to the build process or auxiliary tools and libraries such as documentation generation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsya-ri%2FKGit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsya-ri%2FKGit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsya-ri%2FKGit/lists"}