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

[storage] [frontend] AIP Get/List/Create/Update/Delete rename #202

Merged
merged 2 commits into from
Nov 11, 2022

Conversation

glimchb
Copy link
Member

@glimchb glimchb commented Nov 10, 2022

See #174

Resource-oriented design https://google.aip.dev/121

for word in Get List Create Update Delete; do
  for i in NVMeSubsystem NVMeController NVMeNamespace VirtioBlk VirtioScsiController VirtioScsiLun; do
    sed -i "s/${i}${word}/${word}${i}/g" v1alpha1/frontend_*.proto ;
  done;
done

Signed-off-by: Boris Glimcher Boris.Glimcher@emc.com

@glimchb glimchb requested a review from a team as a code owner November 10, 2022 19:46
@glimchb glimchb self-assigned this Nov 10, 2022
@glimchb glimchb added the Storage APIs or code related to storage area label Nov 10, 2022
See opiproject#174

Resource-oriented design https://google.aip.dev/121

for word in Get List Create Update Delete; do
  for i in NVMeSubsystem NVMeController NVMeNamespace VirtioBlk VirtioScsiController VirtioScsiLun; do
    sed -i "s/${i}${word}/${word}${i}/g" v1alpha1/frontend_*.proto ;
  done;
done

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
Copy link
Contributor

@mestery mestery left a comment

Choose a reason for hiding this comment

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

At this point, I'm just stamping this type of PR.

@@ -15,6 +15,6 @@ all:
curl -kL https://github.com/googleapis/googleapis/archive/master.tar.gz | tar --strip=1 -zxvf - googleapis-master/google/api
mv google "${PWD}"/v1alpha1/
docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.36.0 -c "api-linter -I /common /out/*.proto --output-format summary"
docker run --user=$$(id -u):$$(id -g) --rm --entrypoint=sh -v "${PWD}/../common/v1":/common -v "${PWD}"/v1alpha1/:/out -w /out ghcr.io/docker-multiarch/google-api-linter:1.36.0 -c "api-linter -I /common /out/*.proto --output-format github --disable-rule=core::0192::has-comments --disable-rule=core::0136 --disable-rule=core::0127 --set-exit-status"
Copy link
Member Author

Choose a reason for hiding this comment

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

tracking lint ignores #195

Copy link
Contributor

@jainvipin jainvipin left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@mkalderon mkalderon left a comment

Choose a reason for hiding this comment

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

Looks good. thanks.

@glimchb glimchb merged commit 12de4dd into opiproject:main Nov 11, 2022
glimchb added a commit to opiproject/opi-spdk-bridge that referenced this pull request Nov 11, 2022
See opiproject/opi-api#202

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
glimchb added a commit to opiproject/opi-spdk-bridge that referenced this pull request Nov 11, 2022
See opiproject/opi-api#202

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage APIs or code related to storage area
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants