Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend ServiceAccount Permissions #4544

Closed
wants to merge 1,917 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1917 commits
Select commit Hold shift + click to select a range
a846733
Merge pull request #4333 from aduffeck/ocm-fixes
aduffeck Dec 14, 2023
ad16a9c
bugfix: Check for 'WriteShare' permission before creating a share
rhafer Dec 12, 2023
ddaaa2f
usershareprovider: check permissions before updating a share
rhafer Dec 12, 2023
0cd196e
gateway: Improve errorhandling in usershare provider
rhafer Dec 13, 2023
93c4343
Bump linter dependencies
rhafer Dec 13, 2023
10fe3ba
Bump all docker images to use go1.21
rhafer Dec 13, 2023
d76fc2a
add option to not persist natsjs stores
kobergj Dec 13, 2023
2516d23
rework cache configuration
kobergj Dec 13, 2023
ac484c6
feat: add permission checking
micbar Dec 12, 2023
e4fd039
tests: bump ocis commit id for tests (#4399)
SwikritiT Dec 15, 2023
ff51a13
docs: add changelog
micbar Dec 15, 2023
2f85376
Merge pull request #4403 from micbar/public-share-validation
micbar Dec 15, 2023
48c0ea5
Merge pull request #4406 from kobergj/InmemNatsjsStore
kobergj Dec 15, 2023
ff56cb3
added the ability to disadle the password policy
2403905 Dec 14, 2023
8286ab5
allow non-durable event streams
kobergj Dec 15, 2023
5142bf3
Merge pull request #4405 from rhafer/update-share-permission-check
micbar Dec 15, 2023
4461912
Implement TUS uploads for ocm
aduffeck Nov 27, 2023
86d740e
Bump gowebdav to pull in the 425 support
aduffeck Dec 15, 2023
263c2eb
Add changelog
aduffeck Dec 15, 2023
2c1eacd
Fix linter issues
aduffeck Dec 15, 2023
696ffa0
Fix simple uploads
aduffeck Dec 15, 2023
74ef391
Merge pull request #4409 from 2403905/issue-7916
2403905 Dec 15, 2023
074604d
upload session metrics
butonic Dec 15, 2023
7810e3d
Merge pull request #4410 from aduffeck/ocm-tus
butonic Dec 15, 2023
d1d6e66
use dedicated upload session struct
aduffeck Dec 7, 2023
d68391e
move binPath to session
butonic Dec 13, 2023
8145d6d
add changelog
butonic Dec 13, 2023
5564716
do not update session in WriteChunk
butonic Dec 13, 2023
050a772
backwards compatible upload session
butonic Dec 13, 2023
c66a413
rename processing.go store.go
butonic Dec 13, 2023
79d9233
fix test
butonic Dec 14, 2023
c1508fd
don't delete file when overwriting fails
butonic Dec 14, 2023
f0950a4
fix chunking v1
butonic Dec 14, 2023
f716d16
correctly handle zero time
butonic Dec 14, 2023
8c09bac
fix reading offset
butonic Dec 14, 2023
11d5bda
linter: naming is hard
butonic Dec 15, 2023
3d09228
remove unused code
butonic Dec 15, 2023
8965ee0
Merge pull request #4411 from kobergj/NatsNonDurableStreams
kobergj Dec 18, 2023
6a3a91e
Merge pull request #4414 from butonic/upload-session-metrics
butonic Dec 18, 2023
0f305cc
allow authentication for nats stores
kobergj Dec 15, 2023
3ee7a4f
Update pkg/storage/utils/decomposedfs/node/node.go
butonic Dec 18, 2023
7848219
allow non-durable event streams
kobergj Dec 15, 2023
1d2ad19
upload session metrics
butonic Dec 15, 2023
e9acf71
Merge branch 'edge' into dedicated-upload-session-struct
butonic Dec 18, 2023
bca8964
oc:spaceid should be in the form of {providerid}${spaceid}
butonic Dec 14, 2023
84e060e
allow authentication for nats events
kobergj Dec 15, 2023
b75c2f0
fix name getting lost
butonic Dec 18, 2023
faa4d94
Merge pull request #4407 from butonic/fix-ocdav-spaceid
butonic Dec 19, 2023
da04bc3
Merge pull request #4412 from kobergj/AuthenticationForNats
butonic Dec 19, 2023
f0bb1ea
pass chunk name in storage data
butonic Dec 19, 2023
712164a
usershareprovider: Check for AddGrant permission before creating a share
rhafer Dec 19, 2023
0b13cb2
usershareprovider: Additional permission checks on share deletion
rhafer Dec 19, 2023
23939ae
usershareprovider: Additional permission checks on share update
rhafer Dec 19, 2023
0431ec9
Update changelog
rhafer Dec 19, 2023
f996b50
Merge branch 'edge' into dedicated-upload-session-struct
butonic Dec 19, 2023
1c40b29
Fix interceptor order to make sure tracing is set up first
aduffeck Dec 19, 2023
ef4c163
Add changelog
aduffeck Dec 19, 2023
412c5a6
Add the opentelemetry interceptor to the stream chain as well
aduffeck Dec 19, 2023
6e8505c
Merge pull request #4422 from aduffeck/fix-disconnected-traces
aduffeck Dec 19, 2023
11d8d49
always put lockid into session context
butonic Dec 19, 2023
e49b11c
avoid concurrent map writes in receivedsharecache
kobergj Dec 20, 2023
cd8c141
Fall back to tus upload if the TouchFile shortcut fails w/ already ex…
aduffeck Dec 20, 2023
93b4dd9
Add changelog
aduffeck Dec 20, 2023
9b7ec1e
bugfix: Don't return disabled users on GetUser call
rhafer Dec 20, 2023
073f9b9
Merge pull request #4424 from kobergj/AvoidConcurrentMapwrites
kobergj Dec 20, 2023
726f76e
Merge pull request #4421 from rhafer/update-share-permission-check
kobergj Dec 20, 2023
c2951ab
Merge pull request #4426 from rhafer/get-disabled-user-by-id
kobergj Dec 20, 2023
85c7bdc
test: bump ocis commit id for tests (#4428)
SwikritiT Dec 21, 2023
146de63
Merge pull request #4425 from aduffeck/fix-truncating-files
aduffeck Dec 21, 2023
07de3ef
when is dir used?
butonic Dec 21, 2023
9217478
use better function receiver variable name
butonic Dec 21, 2023
7caf548
define interfaces where they are needed
butonic Dec 21, 2023
165e4d0
add comments, unexport unused functions
butonic Dec 21, 2023
cf45f36
publicsshareprovider: Allow creating/updating public links on receive…
rhafer Dec 21, 2023
44ba5ee
Merge pull request #4429 from rhafer/ocisissue/8039
micbar Dec 21, 2023
6fe91cb
Merge pull request #4402 from butonic/dedicated-upload-session-struct
butonic Dec 21, 2023
3a8dbd4
Revert "bugfix: Don't return disabled users on GetUser call"
rhafer Dec 21, 2023
e18e5ac
Merge pull request #4431 from rhafer/revert-4426
kobergj Dec 21, 2023
2a5e814
Fix the /dav/meta endpoint for shares
aduffeck Dec 22, 2023
0d3bd0d
Fix response status when a share can not be found
aduffeck Dec 22, 2023
c86a4b9
Add changelog
aduffeck Dec 22, 2023
457e007
Merge pull request #4432 from aduffeck/fix-meta-for-shares
butonic Dec 22, 2023
95d963e
v2.18.0
butonic Dec 22, 2023
4f82397
Merge pull request #4433 from butonic/release-2.18.0
butonic Dec 22, 2023
a725b31
Bump commit id for tests (#4440)
nirajacharya2 Dec 28, 2023
8e51f9a
fix: correct status code when move is denied (#4439)
micbar Dec 28, 2023
dcdd8e3
fix: fix more status codes and error messages
micbar Jan 2, 2024
e8443f2
Merge pull request #4443 from micbar/fix-status-code
micbar Jan 2, 2024
284fdaa
Bump ocis commit id to latest (#4444)
grgprarup Jan 3, 2024
251dedc
fix the upload postprocessing when the destination file does not exis…
2403905 Dec 22, 2023
e854418
Merge pull request #4434 from 2403905/issue-7909
butonic Jan 4, 2024
77f0805
Bump github.com/mattn/go-sqlite3 to fix musl builds
aduffeck Jan 8, 2024
46b7156
Merge pull request #4451 from aduffeck/fix-build
micbar Jan 8, 2024
40c4ec5
more efficient share jail
butonic Jan 8, 2024
e767c44
keep failed processing status
butonic Jan 8, 2024
bbe92e1
Set the upload length headers in the upload request opaque map
aduffeck Jan 8, 2024
c90c0b0
Directly finish 0-byte uploads when initiating
aduffeck Jan 8, 2024
7c346ff
Add changelog
aduffeck Jan 8, 2024
a5f9fa7
Fix linter issues
aduffeck Jan 8, 2024
717c1c6
Fix tests
aduffeck Jan 8, 2024
a2908c4
Do not try to upload to the datagateway if there's nothing to upload
aduffeck Jan 9, 2024
00f8d44
Merge pull request #4449 from butonic/keep-failed-processing-status
butonic Jan 9, 2024
2fd2cf4
disallow to delete a file during the processing
2403905 Jan 4, 2024
2426353
Merge pull request #4452 from butonic/more-efficient-share-jail
butonic Jan 9, 2024
8e811d6
Merge pull request #4446 from 2403905/issue-8127
butonic Jan 9, 2024
7af5547
Skip unnecessary share retrieval
butonic Jan 9, 2024
9ae6877
drop getReceivedShareHideFlagFromShareID
butonic Jan 10, 2024
c560fa9
Do not try to upload if there's nothing to upload
aduffeck Jan 10, 2024
8c58b38
pull error handling up to public method
butonic Jan 10, 2024
b52ae1f
drop error from CS3Share2ShareData response
butonic Jan 10, 2024
b8abd72
Fix tests
aduffeck Jan 10, 2024
5a60236
fix updating other received shares
butonic Jan 10, 2024
e1b3eab
Use latest cs3api-validator to fix upload test failures
aduffeck Jan 10, 2024
9d42599
Update internal/http/services/owncloud/ocdav/put.go
aduffeck Jan 10, 2024
275e6a1
Add test
aduffeck Jan 10, 2024
51cb2d7
Use tagged version of the cs3api-validator image
aduffeck Jan 10, 2024
b74d280
Merge pull request #4448 from aduffeck/fix-truncating-existing-files
aduffeck Jan 11, 2024
0095c22
Also set the node mtime when restoring a revision that doesn't have one
aduffeck Jan 10, 2024
74daefe
Set node mtime when touching files, also when no specific mtime is given
aduffeck Jan 10, 2024
4575355
Add changelog
aduffeck Jan 11, 2024
2a56084
Check error when setting the mtime
aduffeck Jan 11, 2024
389ee1e
Merge pull request #4456 from aduffeck/fix-lost-revisions
aduffeck Jan 11, 2024
03c027a
bump latest ocis commit id and update expected failure (#4390)
nabim777 Jan 15, 2024
aa7b4ee
Use mtimesyncedcache.Map to prevent concurrent reads/writes
aduffeck Jan 11, 2024
bde86a3
Add changelog
aduffeck Jan 11, 2024
70268a2
fix: cors handling in propfind
micbar Jan 17, 2024
aa54276
Merge pull request #4454 from butonic/skip-unnecessary-received-share…
dragonchaser Jan 18, 2024
dfa6eb4
fix the resource name
2403905 Jan 18, 2024
537c934
usershareprovider: Prevent setting container specific permissions on …
rhafer Jan 18, 2024
92b354d
bump commit id of ocis test (#4459)
nabim777 Jan 19, 2024
2efec8f
fix natsjskv store
kobergj Jan 19, 2024
b053838
Merge pull request #4466 from kobergj/FixNatsAuthentication
kobergj Jan 19, 2024
9641661
Merge pull request #4463 from 2403905/issue-8242
2403905 Jan 19, 2024
a573107
Set upload and content length when forwarding puts to the dataprovider
aduffeck Jan 22, 2024
81d7a48
Do not check application level locks when changing grants
aduffeck Jan 19, 2024
18dc593
Do not finish the upload if it wasn't uploaded completely
aduffeck Jan 22, 2024
e043025
Fix test
aduffeck Jan 22, 2024
d9cf730
Add changelog
aduffeck Jan 22, 2024
d79f163
Merge pull request #4464 from aduffeck/dont-check-locks-grants
dragonchaser Jan 22, 2024
aa8328e
docs: add changelog
micbar Jan 17, 2024
e8fc07f
Merge pull request #4461 from micbar/fix-cors
micbar Jan 22, 2024
f7cd529
be nice and send content length header during COPY
butonic Jan 23, 2024
5c11de2
Apply suggestions from code review
aduffeck Jan 23, 2024
4c4dcd4
fixed the race condition that led to concurrent map access in a publi…
2403905 Jan 23, 2024
bfb4df7
clear up
2403905 Jan 23, 2024
99b0d56
fix listing sessions
butonic Jan 23, 2024
049234c
Merge pull request #4472 from 2403905/issue-8255
butonic Jan 23, 2024
63cbe4b
Fix ocm integration tests
aduffeck Jan 23, 2024
10e7da9
Remove test artifacts
aduffeck Jan 24, 2024
21db2c0
Add changelog
aduffeck Jan 24, 2024
9667eb6
Return absolute paths for shares in the share jail
aduffeck Jan 24, 2024
695d526
Merge pull request #4469 from aduffeck/handle-partial-uploads
butonic Jan 24, 2024
e23bffa
Add changelog
aduffeck Jan 24, 2024
6d841aa
Merge pull request #4473 from butonic/fix-listing-sessions
butonic Jan 24, 2024
6eec406
Merge pull request #4474 from aduffeck/fix-shares-dav-meta
aduffeck Jan 24, 2024
05f1797
upload session specific processing flag
butonic Jan 24, 2024
f9ec0fa
Merge pull request #4475 from butonic/uploadsession-specific-processi…
butonic Jan 24, 2024
b5b558d
no need to unmark postprocessing when it was not started
butonic Jan 24, 2024
a3e8b04
Merge pull request #4476 from butonic/no-need-to-unmark-postprocessin…
butonic Jan 24, 2024
3a93298
extend resumepp event
kobergj Jan 24, 2024
7fd434a
Merge pull request #4477 from kobergj/ExtendResumePPEvent
kobergj Jan 25, 2024
11d7409
Bail out on empty PUT requests
aduffeck Jan 26, 2024
00f9b2b
Fix detection of already finished requests
aduffeck Jan 26, 2024
f2c52dd
Add changelog
aduffeck Jan 26, 2024
ad55526
fix: revert the status code denied moves
micbar Jan 26, 2024
bec9d4c
Merge pull request #4479 from aduffeck/fix-appprovider
butonic Jan 26, 2024
fb514b7
Apply suggestions from code review
micbar Jan 26, 2024
22272e6
Merge pull request #4480 from micbar/revert-cross-storage-move
micbar Jan 26, 2024
6ec06a5
distinguish failure and node metadata reversal
butonic Jan 26, 2024
e72983a
rework disabling the password policy
2403905 Jan 8, 2024
3439ff9
Merge pull request #4453 from 2403905/issue-7916-rework
2403905 Jan 26, 2024
c9e4a3b
Merge pull request #4481 from butonic/distinguish-failure-and-node-me…
butonic Jan 26, 2024
9094bbd
change default for MaxConcurrency
dragonchaser Jan 29, 2024
cff0a2e
Merge pull request #4485 from dragonchaser/change-concurrency-default
dragonchaser Jan 29, 2024
c716796
[tests-only][full-ci] bump ocis latest commit id (#4484)
nabim777 Jan 31, 2024
be196a3
lazy initialize public share manager
kobergj Jan 31, 2024
72be9fe
Merge pull request #4490 from kobergj/LazyInitializePublicShareManager
kobergj Feb 1, 2024
bad6a0c
fix resource name for dav
2403905 Feb 2, 2024
f28ce30
Make space id generation customizable
aduffeck Feb 2, 2024
19a55a5
Add initial version of the posix fs
aduffeck Feb 2, 2024
932bb54
Add filename incrementor for secret filedrops.
dragonchaser Feb 1, 2024
98f91a4
Fix nil pointer
dragonchaser Feb 1, 2024
149e074
extract FindName and use it for PUT and TUS
butonic Feb 1, 2024
f0c6295
Fix nil-pointer
dragonchaser Feb 1, 2024
b796984
add missing comments
dragonchaser Feb 2, 2024
b961119
remove expected failure
dragonchaser Feb 2, 2024
db43be0
Clarify decomposedfs init via storage aspects
aduffeck Feb 2, 2024
068a8b8
Add changelog
aduffeck Feb 2, 2024
3a034fe
update expected failures
butonic Feb 2, 2024
d28d673
Fix mock generation
aduffeck Feb 2, 2024
c7df4e7
Merge pull request #4494 from aduffeck/decomposed-based-posixfs
aduffeck Feb 2, 2024
2c21ada
Merge pull request #4491 from dragonchaser/filename-incrementor
dragonchaser Feb 5, 2024
dd8ef3b
Merge pull request #4492 from 2403905/issue-8242-dav
2403905 Feb 5, 2024
9dea9f0
bump ocis latest commit id (#4499)
nabim777 Feb 6, 2024
bf89f7a
fix content-dispostion header in dav (#4498)
dragonchaser Feb 6, 2024
0754ba8
add spaceindex.AddAll()
butonic Feb 6, 2024
1a380e0
Merge pull request #4502 from butonic/addall
butonic Feb 6, 2024
2343fe5
enhancement: allow sending multiple userIDs in one SSE event
fschade Feb 6, 2024
e5f7cc6
[tests-only][full-ci] bump ocis latest commit id (#4504)
nabim777 Feb 7, 2024
65573bd
fix an error when move using destination id
2403905 Feb 6, 2024
d5e420d
Merge pull request #4503 from 2403905/issue-6739-relative
2403905 Feb 8, 2024
89ed12d
bump dependencies to match ocis
butonic Feb 8, 2024
ed1c09d
use noop.NewTracerProvider()
butonic Feb 8, 2024
604b101
drop jaeger support in favor of OTLP
butonic Feb 8, 2024
47fc3f4
use grpc.WithStatsHandler(otelgrpc.NewClientHandler ...
butonic Feb 8, 2024
b37b6be
cleanup tracing and deprecate Collector and Exporter
butonic Feb 8, 2024
8a1d46e
bump all
butonic Feb 8, 2024
91be73a
bump go-oidc to v3
butonic Feb 8, 2024
6a7ec89
Merge pull request #4512 from butonic/bump-minio
butonic Feb 8, 2024
b64012e
bump tusd and make CORS configurable
butonic Feb 7, 2024
b6c9faa
make datagateway forward options requests
butonic Feb 7, 2024
a9f0c2a
dataproviders have to set cors headers
butonic Feb 7, 2024
e5ed64e
revert SendContentMd5 change
butonic Feb 7, 2024
039a779
Merge pull request #4507 from butonic/fix-tus-cors
butonic Feb 8, 2024
cdf127f
bump ocis latest commit id (#4513)
nabim777 Feb 12, 2024
a82fdb7
allow sharemanager to disable reshares
butonic Feb 15, 2024
e7d6bc3
bump latest ocis commit id (#4519)
PrajwolAmatya Feb 16, 2024
1952b1d
configurable S3 PUT options
butonic Feb 19, 2024
43c323c
unify datagateway method handling
butonic Feb 19, 2024
f95f5b4
Merge pull request #4526 from butonic/configurable-s3-put-options
butonic Feb 19, 2024
eee945a
Merge pull request #4516 from butonic/allow-disabling-resharing
butonic Feb 19, 2024
49b4a9e
Merge pull request #4527 from butonic/unify-datagateway-method-handling
butonic Feb 19, 2024
554384d
fix: InitiateFileUploadRequest_IfNotExist options has to be set with …
DeepDiver1975 Feb 20, 2024
283b39b
Merge pull request #4528 from DeepDiver1975/fix/cs3-metadata-upload-i…
butonic Feb 20, 2024
734860b
align some ocs status codes
butonic Feb 20, 2024
bdd0495
Merge pull request #4529 from butonic/legacy-return-code
butonic Feb 20, 2024
d76e4c4
jsoncs3 cache fixes
butonic Feb 21, 2024
cac6c69
Merge pull request #4532 from butonic/jsoncs3-cache-fixes
butonic Feb 21, 2024
d3d4b1b
fix(sharesstorageprovider): Remove superfluous Stat call
rhafer Feb 14, 2024
43e5fad
fix(sharesstorageprovider): Testcase for merged share permission
rhafer Feb 15, 2024
62cb6cd
fix(sharesstorageprovider): Merge shares of the same resourceid
rhafer Feb 15, 2024
3fb1ef6
Merge pull request #4517 from rhafer/ocisissue/8080
butonic Feb 21, 2024
033125d
drop unnecessary grant exists check
butonic Feb 20, 2024
3c387be
Merge pull request #4530 from butonic/unnecessary-grant-exists-check
butonic Feb 21, 2024
afaa3bf
Fix recursive trashcan purge
dragonchaser Feb 21, 2024
3cf3e5c
fix bug when deletion timestamp is missing
dragonchaser Feb 21, 2024
6d5a4d7
Merge pull request #4533 from dragonchaser/fix-recursive-trashcan-purge
dragonchaser Feb 21, 2024
ae0ed95
chore: bump version, prepare changelog
butonic Feb 22, 2024
694b9b2
Merge pull request #4535 from butonic/release-2.19.0
butonic Feb 22, 2024
2efddc0
bump latest ocis commit id (#4536)
PrajwolAmatya Feb 23, 2024
e11fdba
fix remove/update share permissions when the file is locked
2403905 Feb 21, 2024
9f433ca
Merge pull request #4534 from 2403905/issue-8273
butonic Feb 26, 2024
5a5c1f2
fix a typo
2403905 Feb 29, 2024
3197f32
Merge pull request #4539 from 2403905/typo-8273
butonic Feb 29, 2024
3d87c0f
release-2.19.1
2403905 Feb 29, 2024
8f0bcdd
Merge pull request #4540 from 2403905/release-2.19.1
butonic Feb 29, 2024
94a1975
bump latest ocis commit id
nirajacharya2 Mar 1, 2024
84d1066
Merge pull request #4541 from JankariTech/bump-feb-30-edge
butonic Mar 1, 2024
c853dcc
add createcontainer to serviceaccount
kobergj Mar 1, 2024
0638070
allow cs3 storage to be configured manually
kobergj Mar 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .bingo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

# Ignore everything
*

# But not these files:
!.gitignore
!*.mod
!*.sum
!README.md
!Variables.mk
!variables.env

*tmp.mod
14 changes: 14 additions & 0 deletions .bingo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Project Development Dependencies.

Check notice on line 1 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L1

Expected: [None]; Actual: # Project Development Dependencies.

This is directory which stores Go modules with pinned buildable package that is used within this repository, managed by https://github.com/bwplotka/bingo.

Check notice on line 3 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L3

Bare URL used

* Run `bingo get` to install all tools having each own module file in this directory.
* Run `bingo get <tool>` to install <tool> that have own module file in this directory.

Check notice on line 6 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L6

Element: tool
* For Makefile: Make sure to put `include .bingo/Variables.mk` in your Makefile, then use $(<upper case tool name>) variable where <tool> is the .bingo/<tool>.mod.

Check notice on line 7 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L7

Element: upper

Check notice on line 7 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L7

Expected: 80; Actual: 163
* For shell: Run `source .bingo/variables.env` to source all environment variable for each tool.

Check notice on line 8 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L8

Expected: 80; Actual: 96
* For go: Import `.bingo/variables.go` to for variable names.
* See https://github.com/bwplotka/bingo or -h on how to add, remove or change binaries dependencies.

Check notice on line 10 in .bingo/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.bingo/README.md#L10

Expected: 80; Actual: 100

## Requirements

* Go 1.14+
31 changes: 31 additions & 0 deletions .bingo/Variables.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.8. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
GO ?= $(shell which go)

# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
# will be used; reinstalling only if needed.
# For example for bingo variable:
#
# In your main Makefile (for non array binaries):
#
#include .bingo/Variables.mk # Assuming -dir was set to .bingo .
#
#command: $(BINGO)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.7.0
$(BINGO): $(BINGO_DIR)/bingo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/bingo-v0.7.0"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.7.0 "github.com/bwplotka/bingo"

MOCKERY := $(GOBIN)/mockery-v2.22.1
$(MOCKERY): $(BINGO_DIR)/mockery.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/mockery-v2.22.1"
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=mockery.mod -o=$(GOBIN)/mockery-v2.22.1 "github.com/vektra/mockery/v2"

5 changes: 5 additions & 0 deletions .bingo/bingo.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.17

require github.com/bwplotka/bingo v0.7.0
94 changes: 94 additions & 0 deletions .bingo/bingo.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/bwplotka/bingo v0.5.2 h1:iNCW7magHQK/ozLxoBVEhzhuFiftNQeFsfR9TuIEFxE=
github.com/bwplotka/bingo v0.5.2/go.mod h1:CNMrHaFo3AhgU86psqpMQ8BOac2SZMhYfd0On/Ubt64=
github.com/bwplotka/bingo v0.6.0 h1:AlRrI9J/GVjOUSZbsYQ5WS8X8FnLpTbEAhUVW5iOQ7M=
github.com/bwplotka/bingo v0.6.0/go.mod h1:/qx0tLceUEeAs1R8QnIF+n9+Q0xUe7hmdQTB2w0eDYk=
github.com/bwplotka/bingo v0.7.0 h1:deJh8PSsWctPWvPeEBy4Z4vtyM/qlCxWY8fiudJiLQg=
github.com/bwplotka/bingo v0.7.0/go.mod h1:eXPFwhZ92mmOUBk6F7aKcAJoq8HX88Ju3wLZKwtNKEw=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.15/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/efficientgo/core v1.0.0-rc.0 h1:jJoA0N+C4/knWYVZ6GrdHOtDyrg8Y/TR4vFpTaqTsqs=
github.com/efficientgo/core v1.0.0-rc.0/go.mod h1:kQa0V74HNYMfuJH6jiPiwNdpWXl4xd/K4tzlrcvYDQI=
github.com/efficientgo/tools/core v0.0.0-20210201220623-8118984754c2 h1:GD19G/vhEa8amDJDBYcTaFXZjxKed67Ev0ZFPHdd/LQ=
github.com/efficientgo/tools/core v0.0.0-20210201220623-8118984754c2/go.mod h1:cFZoHUhKg31xkPnPjhPKFtevnx0Xcg67ptBRxbpaxtk=
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b h1:ZHiD4/yE4idlbqvAO6iYCOYRzOMRpxkW+FKasRA3tsQ=
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b/go.mod h1:OmVcnJopJL8d3X3sSXTiypGoUSgFq1aDGmlrdi9dn/M=
github.com/frankban/quicktest v1.13.1/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09mUdL/ijj8og=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/renameio v1.0.1/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWUAweKUpk=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.8.1-0.20210923151022-86f73c517451/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38=
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201029080932-201ba4db2418 h1:HlFl4V6pEMziuLXyRkm5BIYq1y1GAbb02pRlWvI54OM=
golang.org/x/sys v0.0.0-20201029080932-201ba4db2418/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210925032602-92d5a993a665/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f h1:rlezHXNlxYWvBCzNses9Dlc7nGFaNMJeqLolcmQSSZY=
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407 h1:5zh5atpUEdIc478E/ebrIaHLKcfVvG6dL/fGv7BcMoM=
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20210916214954-140adaaadfaf/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
mvdan.cc/editorconfig v0.1.1-0.20200121172147-e40951bde157/go.mod h1:Ge4atmRUYqueGppvJ7JNrtqpqokoJEFxYbP0Z+WeKS8=
mvdan.cc/editorconfig v0.2.0/go.mod h1:lvnnD3BNdBYkhq+B4uBuFFKatfp02eB6HixDvEz91C0=
mvdan.cc/sh/v3 v3.2.4 h1:+fZaWcXWRjYAvqzEKoDhDM3DkxdDUykU2iw0VMKFe9s=
mvdan.cc/sh/v3 v3.2.4/go.mod h1:fPQmabBpREM/XQ9YXSU5ZFZ/Sm+PmKP9/vkFHgYKJEI=
mvdan.cc/sh/v3 v3.4.3 h1:zbuKH7YH9cqU6PGajhFFXZY7dhPXcDr55iN/cUAqpuw=
mvdan.cc/sh/v3 v3.4.3/go.mod h1:p/tqPPI4Epfk2rICAe2RoaNd8HBSJ8t9Y2DA9yQlbzY=
3 changes: 3 additions & 0 deletions .bingo/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module _ // Fake go.mod auto-created by 'bingo' for go -moddir compatibility with non-Go projects. Commit this file, together with other .mod files.

go 1.20
5 changes: 5 additions & 0 deletions .bingo/mockery.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.17

require github.com/vektra/mockery/v2 v2.22.1