{"id":15167089,"url":"https://github.com/genaumann/salt-git-formula","last_synced_at":"2026-02-06T13:43:22.349Z","repository":{"id":212749311,"uuid":"730810239","full_name":"genaumann/salt-git-formula","owner":"genaumann","description":"Salt - Git Formula","archived":false,"fork":false,"pushed_at":"2024-10-19T21:20:37.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T01:50:05.750Z","etag":null,"topics":["git","salt","saltstack","saltstack-formula"],"latest_commit_sha":null,"homepage":"","language":"SaltStack","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/genaumann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-12-12T18:10:55.000Z","updated_at":"2024-10-19T21:20:35.000Z","dependencies_parsed_at":"2024-01-21T22:26:38.546Z","dependency_job_id":"606451a1-b382-42f8-a628-66806deb3e1a","html_url":"https://github.com/genaumann/salt-git-formula","commit_stats":null,"previous_names":["genaumann/salt-git-formula"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/genaumann/salt-git-formula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genaumann%2Fsalt-git-formula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genaumann%2Fsalt-git-formula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genaumann%2Fsalt-git-formula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genaumann%2Fsalt-git-formula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/genaumann","download_url":"https://codeload.github.com/genaumann/salt-git-formula/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/genaumann%2Fsalt-git-formula/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266691580,"owners_count":23969182,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","salt","saltstack","saltstack-formula"],"created_at":"2024-09-27T05:24:33.277Z","updated_at":"2026-02-06T13:43:22.285Z","avatar_url":"https://github.com/genaumann.png","language":"SaltStack","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salt Git Formula\n\n![GitHub release](https://img.shields.io/github/v/release/genaumann/salt-git-formula)\n![lint][lint_badge]\n![test][test_badge]\n\nInstall and configure git.\nClone and update local git repositories.\n\n## General notes\n\nSee the full [SaltStack Formulas installation and usage instructions][install].\n\nSee [`example.yml`](example.yml) on how to configure the formula.\n\nIf you want to use this formula, please pay attention to the [`FORMULA`](FORMULA) file and/or `git tag`,\nwhich contains the currently released version.\nThis formula is versioned according to [Semantic Versioning](http://semver.org/).\n\n## Available states\n\n- [`git`](git/init.sls)\n- [`git.install`](git/install.sls)\n- [`git.repo`](git/repo.sls)\n- [`git.config`](git/config/init.sls)\n- [`git.config.system`](git/config/system.sls)\n- [`git.config.user`](git/config/user.sls)\n\n### `git`\n\nIncludes the following states:\n\n- `git.install`\n- `git.repo`\n- `git.config`\n\n### `git.install`\n\nInstalls `git`.\n\n### `git.repo`\n\nCan clone, update and delete a local git repository.\nYou can use this state to verify a local git repo is checked out on your system.\n\n### `git.config`\n\nIncludes the following states:\n\n- `git.config.system`\n- `git.config.user`\n\n### `git.config.system`\n\nEnsure a system wide git config is set/unset.\n\n### `git.config.user`\n\nEnsure a user wide git config is set/unset.\n\n## Testing\n\nLinux testing is done with `kitchen-salt`.\n\nAll tests and lint jobs are executed in GitHub Actions.\n\n### Requirements\n\nYou can test the formula locally after installing the following requirements.\n\n- vagrant\n- VirtualBox\n- Ruby\n- bundler\n\n### Run Test\n\n```bash\nbundle install\nkitchen list # list all available test instances\nkitchen test \u003cinstance\u003e\n```\n\n## Known Errors\n\n- salt state [`git.config_unset`][config_unset] throws an error - see [issue 65715][issue]\n\n## OS support matrix\n\nThis formula has been tested under the following operating systems and salt versions.\n\n| OS           | 3006.0 | 3006.5       | 3006.6       | 3006.7       | 3007.0       |\n| ------------ | ------ | ------------ | ------------ | ------------ | ------------ |\n| Debian 12    | :x:    | ✅           | ✅            | ✅           | ✅           |\n| Ubuntu 22.04 | :x:    | ✅           | ✅            | ✅           | ✅           |\n| Rocky 9      | :x:    | ✅           | ✅            | ✅           | ✅           |\n| Fedora 38    | :x:    | ✅           | ✅            | ✅           | ✅           |\n| OpenSUSE 15  | ✅     | Not released | Not released | Not released | Not released |\n\n[install]: https://docs.saltproject.io/en/latest/topics/development/conventions/formulas.html\n[config_unset]: https://docs.saltproject.io/en/latest/ref/states/all/salt.states.git.html#salt.states.git.config_unset\n[issue]: https://github.com/saltstack/salt/issues/65715\n[lint_badge]: https://github.com/genaumann/salt-git-formula/actions/workflows/lint.yml/badge.svg?branch=main\n[test_badge]: https://github.com/genaumann/salt-git-formula/actions/workflows/salt-kitchen.yml/badge.svg?branch=main\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaumann%2Fsalt-git-formula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenaumann%2Fsalt-git-formula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaumann%2Fsalt-git-formula/lists"}