James Hewitt
a41613ba3a
Don't make a new buffer for catalog listing
...
We are given a slice to fill, write catalog entries directly to the
slice until it is full.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-29 11:11:13 +01:00
Milos Gajdos
b0276a2793
Merge pull request #4027 from liubin/add-redis-username
...
Add username to create redis client
2023-08-29 11:07:55 +01:00
bin liu
b889cc2eb4
Add username to create redis client
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-08-29 16:27:43 +08:00
Wang Yan
5f8b59177b
Merge pull request #4019 from milosgajdos/replace-redigo-redis
...
Replace redigo with redis-go
2023-08-29 09:53:32 +08:00
Milos Gajdos
884cf14d30
Merge pull request #4013 from milosgajdos/nonjson-error-client
...
Dont parse errors as JSON unless Content-Type is set to JSON
2023-08-28 14:28:48 +01:00
Milos Gajdos
45b7b9cec3
Dont parse errors as JSON unless Content-Type is set to JSON
...
Client attempts to parse the body of every error it receives as JSON
regardless of the content-type. This commit rectifies by only parsing
he error body as JSON if the Content-Type header is set to
either "application/json" or "application/vnd.api+json".
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-28 12:35:33 +01:00
Milos Gajdos
932be63dc2
Merge pull request #4002 from DavidSpek/remove-schemav1-storage
...
Remove references to schema1 pacakge from storage
2023-08-28 11:58:56 +01:00
David van der Spek
c7bdabadcf
add back getKeys + cleanup manifeststore test
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-08-28 12:44:49 +02:00
David van der Spek
f9bc9220eb
feat(storage)!: remove schema1 except manifeststore_test
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-08-28 12:44:46 +02:00
Milos Gajdos
db460d2636
Merge pull request #4021 from Jamstah/go-1.20
...
Update to go 1.20
2023-08-28 11:42:35 +01:00
Milos Gajdos
e948e1b05d
Merge pull request #4018 from milosgajdos/makefile-cleanup
...
Small Makefie update
2023-08-28 11:30:39 +01:00
Milos Gajdos
d0c0b7bdd5
Update Makefile
...
Co-authored-by: James Hewitt <james.hewitt@gmail.com>
Signed-off-by: Milos Gajdos <milosgajdos83@gmail.com>
2023-08-28 11:19:01 +01:00
James Hewitt
1a3e73cb84
Handle rand deprecations in go 1.20
...
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-28 09:33:12 +01:00
James Hewitt
0eb8fee87e
Update to go 1.20
...
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-27 10:32:00 +01:00
Milos Gajdos
fcbc25e789
Replace redigo with redis-go
...
We are replacing the very outdated redigo Go module with the official
redis Go module, go-redis.
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-26 07:44:02 +01:00
Milos Gajdos
506cb451c5
Small Makefie update
...
This commit updates Makefile so the default action is help.
We group related targets into semantic groups - this make the help
output easier to read for the end user.
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-25 20:26:16 +01:00
Milos Gajdos
293b588075
Merge pull request #4017 from joycebrum/joycebrum-patch-1
...
Scorecard Badge Viewer Improvement
2023-08-24 19:23:53 +01:00
Joyce Brum
be7f29b41d
Fix: use new scorecard badge viewer
...
Signed-off-by: Joyce Brum <joycebrum@google.com>
2023-08-24 18:01:51 +00:00
Hayley Swimelar
b21d1ad15e
Merge pull request #4016 from milosgajdos/maintainers-email
...
Update milosgajdos maintainer email
2023-08-24 10:06:47 -07:00
Milos Gajdos
a9a5b22b6f
Update milosgajdos maintainer email
...
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-24 15:54:38 +01:00
Milos Gajdos
4f7424c8eb
Merge pull request #4000 from DavidSpek/remove-bugsnag
...
Remove bugsnag
2023-08-23 15:21:18 +01:00
Milos Gajdos
4a85aab30f
Merge pull request #4012 from liubin/fix-typo
...
fix typo in comment and log
2023-08-23 15:20:05 +01:00
bin liu
1284c48781
fix typo in comment and log
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2023-08-23 19:39:19 +08:00
Milos Gajdos
944446b6f5
Merge pull request #3740 from joycebrum/main
2023-08-22 13:09:03 +01:00
Milos Gajdos
59dd684cc8
Merge pull request #3713 from Jamstah/s3-tests
2023-08-21 13:48:43 +01:00
Milos Gajdos
1a4638a06c
Merge pull request #4007 from milosgajdos/remove-schema1-client
2023-08-21 13:46:29 +01:00
Milos Gajdos
368511da8a
Merge pull request #4008 from thaJeztah/s3_interface_assert
2023-08-21 13:44:51 +01:00
Sebastiaan van Stijn
5b3be39870
s3: add interface assertion
...
This was added for the other drivers in 6b388b1ba6
,
but it missed the s3 storage driver.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-21 13:54:13 +02:00
Milos Gajdos
df2787c6cf
Update test asserts
...
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-21 10:27:46 +01:00
Milos Gajdos
03d926737a
Merge pull request #4006 from milosgajdos/enable-bodyclose
...
Enable bodyclose linter
2023-08-21 09:34:35 +01:00
David van der Spek
3e4c4ead4c
Remove bugsnag
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-08-21 10:24:36 +02:00
Milos Gajdos
11c341a369
Remove schema1 references from registry client
...
We've replaced all the schema1 references with OCI schema manifest.
Note, there are some TODO items that must be addressed at some point in
the future once the schema1 package is removed completely from the
codebase.
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-20 09:07:59 +01:00
Milos Gajdos
3dbfbc7255
Enable bodyclose linter
...
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-19 09:45:44 +01:00
Milos Gajdos
597e8a6b34
Merge pull request #4001 from DavidSpek/remove-newrelic
...
Remove NewRelic
2023-08-18 22:35:16 +01:00
Joyce Brum
10b8a247e4
fix: upgrade scorecard action to 2.0.6
...
Signed-off-by: Joyce Brum <joycebrum@google.com>
2023-08-18 18:16:42 +00:00
Joyce Brum
7723935626
chore: enable scorecard action and badge
...
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
2023-08-18 18:16:38 +00:00
Milos Gajdos
ed256e07f1
Merge pull request #4004 from Jamstah/revert-3902
...
Revert 3902
2023-08-18 16:26:39 +01:00
Milos Gajdos
a45c5785ab
Merge pull request #3998 from milosgajdos/update-docs
...
Small update of API docs
2023-08-18 16:24:55 +01:00
Milos Gajdos
9139f52ddb
Merge pull request #4003 from DavidSpek/remove-contrib-folder
...
remove contrib folder
2023-08-18 14:57:33 +01:00
Milos Gajdos
bfe4a37b7d
Merge pull request #3997 from milosgajdos/module-grouping
...
Regroup direct and indirect dependencies
2023-08-18 14:56:00 +01:00
James Hewitt
37a213dc4b
Revert "optimize catalog last param"
...
This reverts commit 65f4ce4d93
.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-18 13:52:37 +01:00
James Hewitt
8fd504debe
Revert "Rename catalog funcs and update their godocs."
...
This reverts commit 230cc72a8b
.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-18 13:52:28 +01:00
James Hewitt
ad11105052
Revert "removed redundant check"
...
This reverts commit 0f846853fe
.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-18 13:52:19 +01:00
James Hewitt
8e4a8517c5
Revert "fix: resolve most comments"
...
This reverts commit 6a5846b32e
.
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2023-08-18 13:52:06 +01:00
David van der Spek
6fea54890d
remove contrib folder
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-08-18 12:58:50 +02:00
David van der Spek
77c33cd243
remove NewRelic
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-08-18 12:16:18 +02:00
Milos Gajdos
279fa01b2a
Small update of API docs
...
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-18 08:47:04 +01:00
Milos Gajdos
c0a15e6448
Regroup direct and indirect dependencies
...
For some reason we let these be ungrouped and mixed all over the place.
This commit groups direct and indirect Go module dependencies.
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-08-18 08:28:26 +01:00
Milos Gajdos
97957b12b1
Merge pull request #3623 from TaylorKanper/security-compilation
...
Add some secure compilation options, especially PIE and RELRO.
2023-08-18 08:26:15 +01:00
Milos Gajdos
d302c58264
Merge pull request #3995 from waynr/waynr-patch-1
...
Remove waynr from MAINTAINERS
2023-08-18 08:18:35 +01:00