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

Add command for inspecting and manipulating node metadata #5858

Merged
merged 3 commits into from
Mar 17, 2023

Conversation

aduffeck
Copy link
Contributor

This PR adds a 'ocis decomposedfs metadata' command for inspecting and manipulating node metadata.

CLI:

ocis decomposedfs metadata
NAME:
   ocis decomposedfs metadata - cli tools to inspect and manipulate node metadata

USAGE:
   ocis decomposedfs metadata command [command options] [arguments...]

COMMANDS:
   dump     print the metadata of the given node. String attributes will be enclosed in quotes. Binary attributes will be returned encoded as base64 with their value being prefixed with '0s'.
   get      print a specific attribute of the given node. String attributes will be enclosed in quotes. Binary attributes will be returned encoded as base64 with their value being prefixed with '0s'.
   set      manipulate metadata of the given node. Binary attributes can be given hex encoded (prefix by '0x') or base64 encoded (prefix by '0s').
   help, h  Shows a list of commands or help for one command

OPTIONS:
   --root value, -r value  Path to the decomposedfs
   --node value, -n value  Path to or ID of the node to inspect
   --help, -h              show help

@aduffeck
Copy link
Contributor Author

Depends on cs3org/reva#3732

@ownclouders
Copy link
Contributor

ownclouders commented Mar 16, 2023

💥 Acceptance test localApiTests-apiSpaces-ocis failed. Further test are cancelled...

@sonarcloud
Copy link

sonarcloud bot commented Mar 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@butonic butonic merged commit 7bd735f into owncloud:master Mar 17, 2023
ownclouders pushed a commit that referenced this pull request Mar 17, 2023
* Add command for inspecting and manipulating node metadata

* Add changelog

* Bump reva
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
@ScharfViktor ScharfViktor mentioned this pull request May 4, 2023
86 tasks
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.

None yet

3 participants