0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/api
Ramkumar Chinchani 964af6ba51 compliance: be compliant with dist-spec compliance tests
dist-spec compliance tests are now becoming a part of dist-spec repo
itself - we want to be compliant

pkg/api/regex.go:
	* revert uppercasing in repository names

pkg/api/routes.go:
	* ListTags() should support the URL params 'n' and 'last'
	  for pagination

	* s/uuid/session_id/g to use the dist-spec's naming

	* Fix off-by-one error in GetBlobUpload()'s http response "Range" header

	* DeleteManifest() success status code is 202

	* Fix PatchBlobUpload() to account for "streamed" use case
	  where neither "Content-Length" nor "Content-Range" headers are set

pkg/storage/storage.go:
	* Add a "streamed" version of PutBlobChunk() called PutBlobChunkStreamed()

pkg/compliance/v1_0_0/check.go:
	* fix unit tests to account for changed response status codes
2020-01-16 11:28:23 -08:00
..
auth.go authN: first try local htpasswd then LDAP 2020-01-15 09:37:17 -08:00
BUILD.bazel ldap: pull in external library code so go modules are in control 2019-12-11 14:17:06 -08:00
config.go Fixing all the issues with upgrading to golangci-lint 1.21.0 2019-12-13 00:53:18 -05:00
controller.go compliance: cleanup compliance test code 2019-12-23 22:32:52 -08:00
controller_test.go test/data: remove htpasswd file 2019-12-13 11:11:24 -08:00
errors.go Fixing all the issues with upgrading to golangci-lint 1.21.0 2019-12-13 00:53:18 -05:00
ldap.go Fixing all the issues with upgrading to golangci-lint 1.21.0 2019-12-13 00:53:18 -05:00
regexp.go compliance: be compliant with dist-spec compliance tests 2020-01-16 11:28:23 -08:00
routes.go compliance: be compliant with dist-spec compliance tests 2020-01-16 11:28:23 -08:00