Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第二次重构 #43

Merged
merged 79 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
53794fe
refactor: switch to errgroup
knight42 Dec 16, 2023
227acdd
chore: update deps
knight42 Dec 16, 2023
5a70099
checkpoint
knight42 Dec 17, 2023
b5a8453
feat: update presubmit check workflow
knight42 Dec 17, 2023
ec78303
test: fix test
knight42 Dec 17, 2023
c7f776e
chore: update deps
knight42 Dec 17, 2023
71f14af
feat: impl repo meta endpoints
knight42 Dec 17, 2023
a3267ed
refactor: remove homebred validator
knight42 Dec 17, 2023
440fbd5
refactor: eliminate embedded context
knight42 Dec 17, 2023
ecdba88
refactor: switch to slog & drop quit channel
knight42 Dec 18, 2023
cbe485a
chore: update deps
knight42 Dec 20, 2023
fc97f3a
test: add test cases for RepoMeta handlers
knight42 Dec 20, 2023
5e13b52
feat: impl repo endpoints
knight42 Dec 20, 2023
7792377
refactor: simplify config loading process
knight42 Dec 20, 2023
e95928d
wip: impl sync repo handler
knight42 Dec 21, 2023
58ac257
checkpoint
knight42 Dec 27, 2023
ed85bc7
refactor: remove unused files
knight42 Dec 27, 2023
21a7df0
style: check error
knight42 Dec 27, 2023
7bf0568
chore: update deps
knight42 Dec 27, 2023
5c6183b
chore: update deps
knight42 Dec 28, 2023
bf9d722
refactor: override the path to config file
knight42 Dec 28, 2023
2d3fb6c
test: update fixtures
knight42 Dec 28, 2023
19f571e
test: add fake docker client
knight42 Dec 28, 2023
395de5e
refactor: cleanup
knight42 Dec 28, 2023
0015e6c
style: add linter & make linter happy
knight42 Dec 28, 2023
ff4fcd5
chore: update go.mod
knight42 Dec 28, 2023
750ffba
refactor: cleanup
knight42 Dec 28, 2023
d0f90ce
chore: integrate with goreleaser
knight42 Dec 28, 2023
b4ca376
chore: remove unused files
knight42 Dec 28, 2023
2a4f73b
chore: update github workflow
knight42 Dec 28, 2023
9ef2299
doc: update README
knight42 Dec 28, 2023
3ecb3cf
test: add more test cases
knight42 Dec 28, 2023
3c4184f
test: add integration test
knight42 Dec 28, 2023
57ced0a
feat: configure dependabot
knight42 Dec 28, 2023
92e82cc
refactor: polish yukictl
knight42 Dec 29, 2023
f6128c1
refactor: remove unused cli & endpoint
knight42 Dec 29, 2023
974743e
fix: update yukictl
knight42 Dec 29, 2023
ac956cf
chore: update example server config
knight42 Dec 29, 2023
67018f4
refactor: remove endpoint that returns repo logs
knight42 Dec 30, 2023
4db844a
doc: update README
knight42 Dec 30, 2023
4d1dd25
style: make linter happy
knight42 Dec 30, 2023
fe5c365
fix: mounts are different from binds
knight42 Dec 30, 2023
5b7c9ed
refactor: remove unused code
knight42 Dec 30, 2023
fdcd58d
refactor: rename fields for better readability
knight42 Dec 30, 2023
0013855
refactor: cleanup
knight42 Dec 31, 2023
8eebf66
test: remove unnecessary test & connect to a temp db
knight42 Jan 1, 2024
c436dd1
feat: update envs
knight42 Jan 1, 2024
7889e03
fix: update upstream when loading repo
knight42 Jan 1, 2024
2f104ad
chore: log request at DEBUG level
knight42 Jan 1, 2024
550d232
chore: more debug logs
knight42 Jan 1, 2024
a363263
chore: no need to copy env map
knight42 Jan 1, 2024
c579aad
fix sync --debug
knight42 Jan 1, 2024
563ca5c
chore: update config files
knight42 Jan 1, 2024
54da605
feat: print version
knight42 Jan 1, 2024
4dd407a
fix: remove extra slashes
knight42 Jan 1, 2024
31444ce
doc: update README
knight42 Jan 1, 2024
a5c6db6
refactor: cleanup
knight42 Jan 1, 2024
cb4e31b
fix: ensure map is not nil
knight42 Jan 1, 2024
b59cb5d
chore: minor change
knight42 Jan 1, 2024
e46e71b
refactor: rename field `interval` to `cron`
knight42 Jan 1, 2024
ab58572
refactor: change the type of images_upgrade_interval to duration
knight42 Jan 1, 2024
f84d6f5
doc: update README
knight42 Jan 1, 2024
7937caa
test: fix flaky test
knight42 Jan 1, 2024
50ab69f
refactor: cleanup
knight42 Jan 2, 2024
96c98bb
test: fix flaky test
knight42 Jan 2, 2024
ca6c378
feat: add release workflow
knight42 Jan 2, 2024
7da415e
refactor: scan db periodically to run cronjobs
knight42 Jan 2, 2024
c59a238
chore: update deps
knight42 Jan 2, 2024
da08801
doc: add migration guide to README
knight42 Jan 2, 2024
e829ab7
refactor: update docker client
knight42 Jan 3, 2024
51a4f9b
chore: update deps
knight42 Jan 3, 2024
e46cbb7
test: add more test cases
knight42 Jan 3, 2024
ecfbaba
refactor: cleanup
knight42 Jan 3, 2024
dee59a0
feat: reduce scan interval
knight42 Jan 3, 2024
731ec0c
test: fix test
knight42 Jan 3, 2024
f1807fb
doc: fix quotes in README
knight42 Jan 6, 2024
b76d4a7
fix: validate cron expression while parsing it
knight42 Jan 6, 2024
e4127f4
chore: update linter config
knight42 Jan 6, 2024
82a1867
doc: update migration guide
knight42 Jan 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update deps
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
  • Loading branch information
knight42 committed Dec 28, 2023
commit 7bf0568b7e6df8f047108471c7b268c618f2870c
56 changes: 30 additions & 26 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,66 +4,70 @@ go 1.21

require (
github.com/docker/docker v24.0.7+incompatible
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
github.com/go-playground/validator/v10 v10.14.0
github.com/go-resty/resty/v2 v2.10.0
github.com/labstack/echo/v4 v4.10.2
github.com/go-playground/validator/v10 v10.16.0
github.com/go-resty/resty/v2 v2.11.0
github.com/labstack/echo/v4 v4.11.4
github.com/robfig/cron/v3 v3.0.1
github.com/sirupsen/logrus v1.9.2
github.com/spf13/cobra v1.0.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.15.0
github.com/stretchr/testify v1.8.3
golang.org/x/sync v0.1.0
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
golang.org/x/sync v0.5.0
gorm.io/driver/sqlite v1.5.4
gorm.io/gorm v1.25.5
sigs.k8s.io/yaml v1.3.0
sigs.k8s.io/yaml v1.4.0
)

require (
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
github.com/labstack/gommon v0.4.0 // indirect
github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-sqlite3 v1.14.17 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-sqlite3 v1.14.19 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.6.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.16.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading