Skip to content

[RFC] Split reflists to share their contents across snapshots #618

[RFC] Split reflists to share their contents across snapshots

[RFC] Split reflists to share their contents across snapshots #618

Triggered via pull request September 26, 2024 15:18
Status Failure
Total duration 1m 17s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: database/etcddb/batch.go#L1
: # github.com/aptly-dev/aptly/database/etcddb
lint: database/etcddb/storage.go#L20
cannot use &EtcDStorage{…} (value of type *EtcDStorage) as database.Storage value in return statement: *EtcDStorage does not implement database.Storage (missing method GetRecommendedMaxKVSize)
lint: database/etcddb/storage.go#L201
cannot use &EtcDStorage{} (value of type *EtcDStorage) as database.Storage value in variable declaration: *EtcDStorage does not implement database.Storage (missing method GetRecommendedMaxKVSize)
lint: database/etcddb/database.go#L31
cannot use &EtcDStorage{…} (value of type *EtcDStorage) as database.Storage value in return statement: *EtcDStorage does not implement database.Storage (missing method GetRecommendedMaxKVSize) (typecheck)
lint: context/context.go#L22
could not import github.com/aptly-dev/aptly/database/etcddb (-: # github.com/aptly-dev/aptly/database/etcddb
lint: database/etcddb/storage.go#L20
cannot use &EtcDStorage{…} (value of type *EtcDStorage) as database.Storage value in return statement: *EtcDStorage does not implement database.Storage (missing method GetRecommendedMaxKVSize)
lint: database/etcddb/storage.go#L201
cannot use &EtcDStorage{} (value of type *EtcDStorage) as database.Storage value in variable declaration: *EtcDStorage does not implement database.Storage (missing method GetRecommendedMaxKVSize)
lint: database/etcddb/database.go#L31
cannot use &EtcDStorage{…} (value of type *EtcDStorage) as database.Storage value in return statement: *EtcDStorage does not implement database.Storage (missing method GetRecommendedMaxKVSize)) (typecheck)
lint: api/repos.go#L472
cannot use srcRepo.RefList() (value of type *deb.SplitRefList) as *deb.PackageRefList value in assignment (typecheck)
lint: cmd/package_show.go#L8
"github.com/aptly-dev/aptly/aptly" imported and not used (typecheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/