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

cli: implement list --shared argument #153

Merged
merged 6 commits into from
Sep 4, 2024

Conversation

DaanRosendal
Copy link
Member

Adds new --shared, --shared-by, and --shared-with arguments to the
list CLI command to display workflows along with their sharing
information.

Closes reanahub/reana-client#687

@DaanRosendal DaanRosendal force-pushed the feature/list-shared branch 3 times, most recently from ad67929 to 9f17a06 Compare March 18, 2024 10:34
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds a new command to the CLI to share a workflow with a user.

Closes reanahub/reana-client#680
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds a new command to the CLI to retrieve whom a workflow is shared
with.

Closes reanahub/reana-client#686
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds new `--shared`, `--shared-by`, and `--shared-with` arguments to the
`list` CLI command to display workflows along with their sharing
information.

Closes reanahub/reana-client#687
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds a new command to the CLI to share a workflow with a user.

Closes reanahub/reana-client#680
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds a new command to the CLI to retrieve whom a workflow is shared
with.

Closes reanahub/reana-client#686
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this pull request Mar 18, 2024
Adds new `--shared`, `--shared-by`, and `--shared-with` arguments to the
`list` CLI command to display workflows along with their sharing
information.

Closes reanahub/reana-client#687
mdonadoni pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Aug 20, 2024
Adds a new command to the CLI to share a workflow with a user.

Closes reanahub/reana-client#680
mdonadoni pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Aug 20, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub/reana-client#681
mdonadoni pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Aug 20, 2024
Adds a new command to the CLI to retrieve whom a workflow is shared
with.

Closes reanahub/reana-client#686
mdonadoni pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Aug 20, 2024
Adds new `--shared`, `--shared-by`, and `--shared-with` arguments to the
`list` CLI command to display workflows along with their sharing
information.

Closes reanahub/reana-client#687
@mdonadoni
Copy link
Member

Latest version before rebase: 5a0c4e4

mdonadoni added a commit to DaanRosendal/reana-client-go that referenced this pull request Aug 29, 2024
mdonadoni added a commit to DaanRosendal/reana-client-go that referenced this pull request Aug 29, 2024
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

Attention: Patch coverage is 81.85484% with 45 lines in your changes missing coverage. Please review.

Project coverage is 85.44%. Comparing base (c9f0e01) to head (955bda8).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
cmd/share_status.go 49.35% 37 Missing and 2 partials ⚠️
cmd/share_add.go 94.36% 2 Missing and 2 partials ⚠️
cmd/share_remove.go 96.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #153      +/-   ##
==========================================
- Coverage   85.79%   85.44%   -0.36%     
==========================================
  Files          38       41       +3     
  Lines        2675     2919     +244     
==========================================
+ Hits         2295     2494     +199     
- Misses        293      333      +40     
- Partials       87       92       +5     
Files with missing lines Coverage Δ
cmd/list.go 95.52% <100.00%> (+0.58%) ⬆️
cmd/ls.go 94.69% <100.00%> (ø)
cmd/root.go 84.71% <100.00%> (+0.71%) ⬆️
cmd/secrets_add.go 97.29% <ø> (-0.08%) ⬇️
cmd/share_remove.go 96.66% <96.66%> (ø)
cmd/share_add.go 94.36% <94.36%> (ø)
cmd/share_status.go 49.35% <49.35%> (ø)

@mdonadoni
Copy link
Member

Ready to be reviewed, squashed and merged

Copy link
Member

@tiborsimko tiborsimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works niclely 👍 with

- r-client #692
- r-client-go #153
- r-ui #375
- r-server #658
- r-workflow-controller #552
- r-commons #429
- r-db #216

Kept separate commits, rephrased some commit log headlines.

Adds a new command to the CLI to share a workflow with a user.

Closes reanahub/reana-client#680
Adds a new command to the CLI to unshare a workflow.

Closes reanahub/reana-client#681
Adds a new command to the CLI to retrieve whom a workflow is shared
with.

Closes reanahub/reana-client#686
tiborsimko pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Sep 4, 2024
Adds new `--shared`, `--shared-by`, and `--shared-with` arguments to the
`list` CLI command to display workflows along with their sharing
information.

Closes reanahub/reana-client#687
tiborsimko pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Sep 4, 2024
tiborsimko pushed a commit to DaanRosendal/reana-client-go that referenced this pull request Sep 4, 2024
DaanRosendal and others added 3 commits September 4, 2024 19:50
Adds new `--shared`, `--shared-by`, and `--shared-with` arguments to the
`list` CLI command to display workflows along with their sharing
information.

Closes reanahub/reana-client#687
@tiborsimko tiborsimko merged commit 955bda8 into reanahub:master Sep 4, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cli: implement list --shared argument
3 participants