Compare commits

..

No commits in common. "main" and "0.2.0" have entirely different histories.
main ... 0.2.0

4 changed files with 3 additions and 35 deletions

View file

@ -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

View file

@ -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
```

2
go.mod
View file

@ -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

1
go.sum
View file

@ -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=