Skip to content

[papi] Update UserService proto #19231

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

Merged
merged 3 commits into from
Dec 11, 2023
Merged

[papi] Update UserService proto #19231

merged 3 commits into from
Dec 11, 2023

Conversation

AlexTugarev
Copy link
Member

@AlexTugarev AlexTugarev commented Dec 11, 2023

Description

  1. adding UserService.DeleteUser
  2. adding missing UpdateUserRequest.dotfile_repo attribute
Summary generated by Copilot

🤖[deprecated] Generated by Copilot at beda11c

This pull request extends the public API for user management in Gitpod. It adds a new DeleteUser RPC method and a dotfile_repo field to the UpdateUserRequest message in the user.proto file. It also updates the Go and TypeScript code generated from the user.proto file to support the new features.

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexTugarev
Copy link
Member Author

/unhold

@@ -69,11 +72,17 @@ message UpdateUserRequest {
optional google.protobuf.Duration inactivity = 1;
optional bool disabled_disconnected = 2;
}
optional string dotfile_repo = 9;
Copy link
Member

@filiptronicek filiptronicek Dec 11, 2023

Choose a reason for hiding this comment

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

I think we should look into repo vs repository and add something about abbreviations to the guidelines, so that we have it consistently, but not blocking. 🙏

string repository_pattern = 4;

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep. We can use the "API hardening milestone" for this. cc. @akosyakov

Also, see Google's recommendations on naming conventions: https://cloud.google.com/apis/design/naming_convention?hl=en#name_abbreviation

Copy link
Member Author

Choose a reason for hiding this comment

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

So, maybe we can align and rename ConfigurationService to RepoConfigService :-P

@roboquat roboquat merged commit eedcf89 into main Dec 11, 2023
@roboquat roboquat deleted the at/update-user-proto branch December 11, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants