From b162228efd031566b0bde1f124d186e4a632c0c6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 5 Aug 2025 01:36:15 +0100 Subject: [PATCH 1/4] go mod tidy --- go.mod | 2 +- go.sum | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index f760b7d..06ed5e6 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 // indirect +require gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 4bc0337..a62c313 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,4 @@ +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= From 8175f54dddb4a9579a9bea99c7236eebb6d46fc0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 5 Aug 2025 01:40:14 +0100 Subject: [PATCH 2/4] Update CHANGELOG --- CHANGELOG.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 203a86e..18fec4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,17 +6,26 @@ 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. -## [0.1.0] +## Changed + +- Update module paths to my Forgejo instance (`code.oliverdavies.uk`). + +## [0.1.0] (2025-07-31) ### 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 From 63235768261976efe0d9c825e69c44fff8c80e5d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 4 Sep 2025 21:35:09 +0100 Subject: [PATCH 3/4] Update README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index af5b94f..c5e3e01 100644 --- a/README.md +++ b/README.md @@ -1 +1,22 @@ # 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 + +# A list of repositories to ignore and not update. +ignored: + - ~/Code/github.com/nixos/nixpkgs +``` From 19591ad8e1f3c261e84b487307c8534dd67a3707 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 5 Sep 2025 10:04:35 +0100 Subject: [PATCH 4/4] Update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c5e3e01..6d10c35 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ 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: