0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
Commit graph

71 commits

Author SHA1 Message Date
Ramkumar Chinchani
09cdae8d07 .gitignore: ignore generated test artifacts 2019-12-13 14:44:10 -08:00
Serge Hallyn
7de21820d7
Merge pull request #45 from rchincha/issue-15
test/data: remove htpasswd file
2019-12-13 13:48:16 -06:00
Ramkumar Chinchani
d30766de34 test/data: remove htpasswd file
Fixes issue #15
2019-12-13 11:11:24 -08:00
Ravi Chamarthy
ec7b2c8da9
Merge pull request #43 from zendril/issue-42-golangcilint-errors
Issue 42 - Fixing issues with upgrading to golangci-lint 1.21.0
2019-12-13 10:20:46 -08:00
zendril
4e22352e9c Fixing all the issues with upgrading to golangci-lint 1.21.0 2019-12-13 00:53:18 -05:00
Ramkumar Chinchani
b8cc5dd001
Merge pull request #39 from rchincha/mod1
refactor: make zot 'go get'-able
2019-12-11 14:44:09 -08:00
Ramkumar Chinchani
dffddcf6d3 README: update the README about the 'go get' way to build zot
zot could previously be built using a 'make' system, but we can now just
'go get' zot
2019-12-11 14:17:06 -08:00
Ramkumar Chinchani
5a125e74a1 docs: commit docs so that zot binary build becomes easier
swagger-based docs have been autogenerated from annotations and required
a separate step and then the binary could be built along with these doc
artifacts. Since we don't expect docs to change only when the dist-spec
gets updated, we are committing them.
2019-12-11 14:17:06 -08:00
Ramkumar Chinchani
7779188a9c ldap: pull in external library code so go modules are in control
1) github.com/jtblin/go-ldap-client is an abandoned project and not keeping
up with go modules, so pull that code in (single file, BSD license)

2) minor refactor ldap as a result of 1)

3) update go.mod
2019-12-11 14:17:06 -08:00
Tycho Andersen
9a18c1bfa1
Merge pull request #37 from rchincha/log
log: improve logging
2019-11-26 15:36:54 -07:00
Ramkumar Chinchani
9ae9e40b67 log: improve logging
- add a panic recovery handler
        - add logs on unexpected error paths
        - use logger's panic method
2019-11-26 14:18:20 -08:00
Ramkumar Chinchani
3e7ca9c517
Merge pull request #38 from rchincha/reorder
reorder header and data writes
2019-11-26 09:53:43 -08:00
Ramkumar Chinchani
f07c535225 reorder header and data writes 2019-11-26 09:40:13 -08:00
Serge Hallyn
181fe595c5
Merge pull request #36 from rchincha/ldap
ldap: improve recovery when connection failures
2019-11-18 14:30:15 -06:00
Ramkumar Chinchani
5447ec5bdd ldap: improve recovery when connection failures 2019-11-18 11:54:11 -08:00
Tycho Andersen
0550752e63
Merge pull request #35 from rchincha/ldap
ldap: setup a new ldap conn on bind failure
2019-11-08 13:35:24 -07:00
Ramkumar Chinchani
13a8d8631e ldap: setup a new ldap conn on bind failure 2019-11-08 11:39:55 -08:00
Serge Hallyn
24361364a7
Merge pull request #34 from rchincha/logs
logs: strip properly
2019-10-24 18:45:00 -05:00
Ramkumar Chinchani
84b9194598 logs: strip properly 2019-10-24 14:20:17 -07:00
Tycho Andersen
a1a05a8a41
Merge pull request #33 from rchincha/logs
logs: sanitize logs
2019-10-24 14:32:22 -06:00
Ramkumar Chinchani
64b9482985 logs: sanitize logs 2019-10-24 13:15:29 -07:00
Ramkumar Chinchani
d99586597b
Merge pull request #32 from tych0/update-deps
update deps
2019-10-15 15:01:17 -07:00
Tycho Andersen
5df6b36a78 update deps
I just did a fresh 'make' of zot, and it generated these changes to go.mod
and go.sum; let's include them.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-10-15 15:38:40 -06:00
Serge Hallyn
1dad866d1b
Merge pull request #31 from rchincha/compliance
README: fix typo
2019-10-14 18:02:36 -05:00
Ramkumar Chinchani
dddf7f6948 README: fix typo 2019-10-14 14:25:48 -07:00
Serge Hallyn
51db55c890
Merge pull request #30 from rchincha/compliance
compliance: initial commit
2019-10-14 13:24:49 -05:00
Ramkumar Chinchani
b107d6d1a4 compliance: initial commit 2019-10-14 10:59:11 -07:00
Serge Hallyn
2941b03bd3
Merge pull request #29 from rchincha/master
README: add updates
2019-10-07 15:30:42 -05:00
Ramkumar Chinchani
4f57682eef README: add updates 2019-10-07 13:26:19 -07:00
Serge Hallyn
bb59923ed0
Merge pull request #28 from rchincha/log-fix
log: fix appending to logs
2019-09-20 20:46:19 -05:00
Ramkumar Chinchani
d4366d501b
Merge pull request #27 from rchincha/ldap-fix
auth: add LDAP support
2019-09-20 14:41:34 -07:00
Ramkumar Chinchani
d294f9bc76 log: fix appending to logs 2019-09-20 14:31:01 -07:00
Ramkumar Chinchani
77dc1b7299 auth: add LDAP support
fixes #23
2019-09-20 13:57:06 -07:00
Serge Hallyn
b82bb2c06a
Merge pull request #13 from rchincha/ldap
auth: add ldap support
2019-09-20 14:58:20 -05:00
Ramkumar Chinchani
6295e0c91e auth: add LDAP support
fixes #23
2019-09-20 11:54:49 -07:00
Tycho Andersen
be7ce56343
Merge pull request #26 from rchincha/coverage
coverage: add unit test cases
2019-09-18 15:13:51 -06:00
Ramkumar Chinchani
322190de1e coverage: add unit test cases 2019-09-18 13:29:16 -07:00
Tycho Andersen
815008672a
Merge pull request #25 from rchincha/commit
version: add commit id to binary during build
2019-09-17 12:18:21 -06:00
Ramkumar Chinchani
4d73d8ff47 version: add commit id to binary during build 2019-09-16 11:58:32 -07:00
Tycho Andersen
487df473c5
Merge pull request #22 from tych0/install-swag
install swag instead of updating it in the go deps
2019-09-03 15:12:49 -06:00
Tycho Andersen
3a211889da install swag instead of updating it in the go deps
go get -u <package> does an update of the go.mod and go.sum files; go
install <package> installs the binary at that location.

It seems the intent of this line in the makefile is to install swag if it
doesn't exist based on the ||, so let's actually install it, instead of
just updating the local deps.

This also has the advantage of not immediately generating a diff when
someone doesn't have swag installed.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-09-03 14:21:05 -06:00
Serge Hallyn
276d4be5db
Merge pull request #20 from rchincha/d1
docs: fix Makefile
2019-08-30 23:12:25 -05:00
Ramkumar Chinchani
136d389101
Merge pull request #21 from rchincha/i2
issue #14: fix repo path walk
2019-08-29 14:37:03 -07:00
Ramkumar Chinchani
bb5ebe6984 issue #14: fix repo path walk 2019-08-29 13:47:59 -07:00
Ramkumar Chinchani
68a1784c17 docs: fix Makefile 2019-08-29 10:56:59 -07:00
Serge Hallyn
8bf6beaf2d
Merge pull request #19 from rchincha/tls
README: update content
2019-08-28 20:21:00 -05:00
Ramkumar Chinchani
d63acd5494 README: update content 2019-08-28 16:38:43 -07:00
Ramkumar Chinchani
672c0886aa
Merge pull request #18 from rchincha/tls
auth: allow for world-readable deployment mode
2019-08-28 16:37:52 -07:00
Ramkumar Chinchani
10199457b4 auth: allow for world-readable deployment mode 2019-08-28 15:39:49 -07:00
Ramkumar Chinchani
ae6651a919
Merge pull request #16 from rchincha/tls
tls: harden TLS path
2019-08-27 15:45:15 -07:00