Commit graph

16 commits

Author SHA1 Message Date
Grzegorz Bizon
f4df4f9e35 Update container repository path reference
We should allow to use double underscore in the path, and it seems that
our container repository path regexp was outdated.

See https://github.com/docker/distribution/blob/master/reference/regexp.go
2017-11-16 09:31:07 +01:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Grzegorz Bizon
5c92c4dda0 Improve container registry repository path specs 2017-04-19 08:59:05 +02:00
Grzegorz Bizon
f6a11d00a8 Fix duplicated container repository names 2017-04-18 22:20:47 +02:00
Grzegorz Bizon
259108ada3 Fix registry for projects with uppercases in path 2017-04-13 09:20:42 +02:00
Grzegorz Bizon
37ab389139 Revert "Fix registry for projects with uppercases in path"
This reverts commit 22726942fe.
2017-04-13 09:18:46 +02:00
Grzegorz Bizon
22726942fe Fix registry for projects with uppercases in path 2017-04-13 09:11:41 +02:00
Grzegorz Bizon
97c6cf59b3 Swap method names in containe registry path class 2017-04-04 11:56:32 +02:00
Grzegorz Bizon
e10dae3e3c Improve code in container repository path class 2017-04-03 11:44:16 +02:00
Grzegorz Bizon
1a47986b3d Check registry repository name against regexp
This regexp is extracted from Docker Distribution 2.4.1 docs, contains
additional `/` element that can be a separator of components.
2017-04-03 11:38:39 +02:00
Grzegorz Bizon
600bbe15a1 Fix rubocop offense in registry path specs 2017-03-31 11:12:38 +02:00
Grzegorz Bizon
003a51d17a Check container repository exists for a given path 2017-03-30 13:45:54 +02:00
Grzegorz Bizon
3bfc05be5e Use container repository path inside auth service 2017-03-29 13:02:46 +02:00
Grzegorz Bizon
06bae00365 Make container repository path code more readable 2017-03-29 12:53:02 +02:00
Grzegorz Bizon
bdc1e1b9e0 Implement method matching container repository names 2017-03-28 14:57:22 +02:00
Grzegorz Bizon
b15d9042e2 Implement container repository path class 2017-03-28 14:34:56 +02:00