diff --git a/CHANGELOG.md b/CHANGELOG.md index 18fec4d..203a86e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,26 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] -Nothing yet. - -## [0.2.0] (2025-08-05) - ### Added - Set a default `depth` in config.yaml and remove the hard-coded value. - Ignore repository paths using `ignores` in config.yaml. -## Changed - -- Update module paths to my Forgejo instance (`code.oliverdavies.uk`). - -## [0.1.0] (2025-07-31) +## [0.1.0] ### Added - Load a list of directories from a configuration file (`~/.config/git-repo-updater/config.yaml`). - Configure the depth to search in each directory by appending it to the path - e.g. (`~/Code:3`). -[unreleased]: https://code.oliverdavies.uk/opdavies/git-repo-updater/compare/0.2.0...main -[0.2.0]: https://code.oliverdavies.uk/opdavies/git-repo-updater/compare/0.1.0...0.2.0 [0.1.0]: https://code.oliverdavies.uk/opdavies/git-repo-updater/releases/tag/0.1.0 +[unreleased]: https://code.oliverdavies.uk/opdavies/git-repo-updater/compare/0.1.0...main diff --git a/README.md b/README.md index 6d10c35..af5b94f 100644 --- a/README.md +++ b/README.md @@ -1,23 +1 @@ # git-repo-updater - -`git-repo-updater` is an CLI program that finds and updates Git repositories in specified directories. - -## Configuration - -`git-repo-updater` is configurable using a configuration file at `~/.config/git-repo-updater/config.yaml`. - -For example: - -```yaml -# The number of levels to search. -depth: 3 - -# A list of directories to search in. -directories: - - ~/Code/code.oliverdavies.uk - - ~/Code/github.com - -# A list of repositories to ignore and not update. -ignored: - - ~/Code/github.com/nixos/nixpkgs -``` diff --git a/go.mod b/go.mod index 06ed5e6..f760b7d 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module code.oliverdavies.uk/opdavies/git-repo-updater go 1.24.5 -require gopkg.in/yaml.v3 v3.0.1 +require gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index a62c313..4bc0337 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,3 @@ -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=