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 new share-remove command #681

Comments

@tiborsimko
Copy link
Member

tiborsimko commented Oct 26, 2023

For the workflow sharing sprint, design and implement an initial unshare command allowing to unshare workflow runs with colleagues with whom they previously shared it.

This issue is basically a mirror of #680.

For example, Alice unshares her myanalysis run 42 with Bob:

$ reana-client unshare -w myanalysis.42 --user bob@example.org
myanalysis.42 is now unshared from bob@example.org

Beware of giving nice error messages when asking to unshare with a colleague with whom this analysis run was not shared, and a proper exit status:

$ reana-client unshare -w myanalysis.42 --user bob@example.org
==> ERROR: myanalysis.42 was not shared with bob@example.org previously. 
$ echo $?
1 

Beware of giving nice error messages when users don't exist:

$ reana-client unshare -w myanalysis.42 --user bob@example.org
==> ERROR: The user "bob@example.org" does not exist. 
$ echo $?
2

Note different exit status codes for different kind of error situations.

P.S. This issue depends on reanahub/reana-db#206 and provides a mirror functionality to the share command implemented in #680.

@tiborsimko tiborsimko added this to Backlog in Workflow-Sharing Oct 26, 2023
@DaanRosendal DaanRosendal moved this from Backlog to Ready for work in Workflow-Sharing Nov 4, 2023
@DaanRosendal DaanRosendal changed the title cli: implement new unshare command cli: implement new share-remove command Nov 5, 2023
@DaanRosendal DaanRosendal moved this from Ready for work to In work in Workflow-Sharing Nov 8, 2023
DaanRosendal added a commit to DaanRosendal/reana-client that referenced this issue Nov 8, 2023
Adds a new command to the CLI to unshare a workflow.

Closes reanahub#681
@DaanRosendal DaanRosendal linked a pull request Nov 8, 2023 that will close this issue
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this issue Nov 8, 2023
Adds a new command to the CLI to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Nov 8, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Nov 8, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/docs.reana.io that referenced this issue Nov 8, 2023
Adds a new command to the docs for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Nov 8, 2023
Adds `reana-server` and `reana-workflow-controller` OpenAPI
specifications for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this issue Nov 8, 2023
Adds a new command to the CLI to unshare a workflow.

Closes reanahub/reana-client#681
@DaanRosendal DaanRosendal moved this from In work to In review in Workflow-Sharing Nov 8, 2023
DaanRosendal added a commit to DaanRosendal/reana-client that referenced this issue Nov 9, 2023
Adds a new command to the CLI to unshare a workflow.

Closes reanahub#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Nov 9, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Nov 9, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Nov 9, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Nov 10, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Nov 10, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Nov 14, 2023
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-client that referenced this issue Mar 13, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub#681
DaanRosendal added a commit to DaanRosendal/reana-client that referenced this issue Mar 13, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub#681
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this issue Mar 13, 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 that referenced this issue Mar 13, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 13, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 13, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 13, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 13, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Mar 13, 2024
Adds `reana-server` and `reana-workflow-controller` OpenAPI
specifications for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Mar 13, 2024
Adds `reana-server` and `reana-workflow-controller` OpenAPI
specifications for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/docs.reana.io that referenced this issue Mar 13, 2024
Adds a new command to the docs for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/docs.reana.io that referenced this issue Mar 13, 2024
Adds a new command to the docs for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-client that referenced this issue Mar 14, 2024
Adds a new command to the CLI to unshare a workflow.

Closes reanahub#681
DaanRosendal added a commit to DaanRosendal/reana-client that referenced this issue Mar 14, 2024
Adds a new command to the CLI to unshare a workflow.

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

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

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

Closes reanahub#681
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this issue 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-server that referenced this issue Mar 18, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 18, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-commons that referenced this issue Mar 18, 2024
Adds `reana-server` and `reana-workflow-controller` OpenAPI
specifications for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/docs.reana.io that referenced this issue Mar 18, 2024
Adds a new command to the docs for unsharing a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-client-go that referenced this issue 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 issue 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-workflow-controller that referenced this issue Mar 20, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 20, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 20, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Adds a new endpoint to unshare a workflow.

Closes reanahub/reana-client#681
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 20, 2024
DaanRosendal added a commit to DaanRosendal/reana-workflow-controller that referenced this issue Mar 20, 2024
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
DaanRosendal added a commit to DaanRosendal/reana-server that referenced this issue Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment