Skip to content

[papi]: Add GetSuggestedRepoURLs #18514

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 9 commits into from
Aug 15, 2023
Merged

[papi]: Add GetSuggestedRepoURLs #18514

merged 9 commits into from
Aug 15, 2023

Conversation

filiptronicek
Copy link
Member

@filiptronicek filiptronicek commented Aug 14, 2023

Description

Adds GetSuggestedRepoURLs as a public API implementation of getSuggestedContextURLs to the brand new SCMService.

Summary generated by Copilot

🤖 Generated by Copilot at 347213e

This pull request adds a new feature to the public API that allows clients to request a list of suggested repositories for a user based on their context. It adds a new method GetSuggestedContextURLs to the gitpod service, a new experimental method GetSuggestedRepos to the UserService service in the user.proto file, and the corresponding Go code to support the RPC calls between the public API server and the gitpod service. It also updates the mock and connect code to match the new API changes.

Related Issue(s)

Fixes EXP-391

How to test

curl 'https://api.ft-get-sugb17b141063.preview.gitpod-dev.com/gitpod.experimental.v1.SCMService/GetSuggestedRepoURLs' \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer YOUR_PAT' \
  --data '{}' | jq .

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

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
  • 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

@roboquat roboquat added size/XL and removed size/L labels Aug 15, 2023
@filiptronicek filiptronicek changed the title [papi]: Add GetSuggestedRepos [papi]: Add GetSuggestedRepoURLs Aug 15, 2023
@filiptronicek filiptronicek marked this pull request as ready for review August 15, 2023 10:55
@filiptronicek filiptronicek requested a review from a team as a code owner August 15, 2023 10:55
Copy link
Member

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

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

code LGTM

@roboquat roboquat merged commit 614007d into main Aug 15, 2023
@roboquat roboquat deleted the ft/get-suggested-repos branch August 15, 2023 11:55
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