gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.73k stars 1.22k forks source link

Remember last user choice for "auth provider" dropdown (client side) #8524

Open geropl opened 2 years ago

geropl commented 2 years ago

@akosyakov reports:

that’s also annoying, always gitlab, although i logged in with github and change to it on this page each time:

image

aboqasem commented 2 years ago

Hi! I can't find a guide on how to contribute to the repository (e.g. running the project locally). When I try to yarn I get an error because a command requires go. I brew install go and rerun yarn:

-> yarn
yarn install v1.22.15
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > eslint-config-react-app@6.0.0" has unmet peer dependency "babel-eslint@^10.0.0".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > eslint-config-react-app@6.0.0" has unmet peer dependency "eslint-plugin-flowtype@^5.2.0".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > eslint-config-react-app@6.0.0" has unmet peer dependency "eslint-plugin-import@^2.22.0".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > eslint-config-react-app@6.0.0" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.3.1".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > eslint-config-react-app@6.0.0" has unmet peer dependency "eslint-plugin-react@^7.20.3".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/dashboard > eslint-config-react-app@6.0.0" has unmet peer dependency "eslint-plugin-react-hooks@^4.0.8".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/server > @improbable-eng/grpc-web-node-http-transport@0.14.1" has unmet peer dependency "@improbable-eng/grpc-web@>=0.13.0".
warning "workspace-aggregator-61b88138-718a-472f-b7fe-2878cf3d0552 > @gitpod/supervisor-api-grpcweb > @improbable-eng/grpc-web@0.14.1" has unmet peer dependency "google-protobuf@^3.14.0".
[4/4] 🔨  Building fresh packages...
[10/11] ⠄ heapdump
[-/11] ⠄ waiting...
[-/11] ⠄ waiting...
[-/11] ⠄ waiting...
error /Users/aboqasem/dev/collab/gitpod/node_modules/@gitpod/licensor: Command failed.
Exit code: 2
Command: if [ ! -e ee/lib/liblicensor.a ]; then cd ee && go mod tidy -compat=1.18 -v && go build -buildmode=c-archive -o lib/liblicensor.a && go run genapi.go; fi
Arguments:
Directory: /Users/aboqasem/dev/collab/gitpod/node_modules/@gitpod/licensor
Output:
# golang.org/x/sys/unix
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
/Users/aboqasem/go/pkg/mod/golang.org/x/sys@v0.0.0-20191026070338-33540a1f6037/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable

A guide on how to install would be appreciated, then I would try to work on this issue.

flaming-codes commented 2 years ago

@aboqasem The readme is a bit hidden in this repo's /components/dashboard: https://github.com/gitpod-io/gitpod/tree/main/components/dashboard.

@gtsiolis I think a link on the main readme would help quite a bit, e.g. a separate Contributing-section with links to the different onboarding guides, e.g. for dashboard.

aboqasem commented 2 years ago

Thank you @flaming-codes! I will take a look at the issue.

Btw, the solution for the above error was to:

cd components/licensor/
go get -u golang.org/x/sys
cd -
yarn

Reference: https://stackoverflow.com/a/71508032/11019230

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.