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

Allow anonymous user in devcontainer name. #15784

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

bdice
Copy link
Contributor

@bdice bdice commented May 20, 2024

Description

In #15572, we updated the devcontainer name to include the current user's name. However, in GitHub Codespaces, the username is not defined. As a result, the container name starts with a dash. This is not allowed by GitHub Codespaces, so it fails to launch.

This PR adds a default value of anon to the devcontainer username.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@bdice bdice marked this pull request as ready for review May 20, 2024 14:31
@bdice bdice requested a review from a team as a code owner May 20, 2024 14:32
@bdice bdice requested a review from jameslamb May 20, 2024 14:32
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Makes sense to me, thanks!

@vyasr
Copy link
Contributor

vyasr commented May 20, 2024

Can we rapids-reviser this (or at least create an issue)? I assume it affects all RAPIDS repos.

@bdice bdice changed the base branch from branch-24.06 to branch-24.08 June 3, 2024 23:55
@bdice bdice self-assigned this Jun 3, 2024
@bdice
Copy link
Contributor Author

bdice commented Jun 6, 2024

Can we rapids-reviser this (or at least create an issue)? I assume it affects all RAPIDS repos.

I applied this fix across repos. The new PRs link to this one.

@bdice
Copy link
Contributor Author

bdice commented Jun 6, 2024

/merge

@rapids-bot rapids-bot bot merged commit 451d12a into rapidsai:branch-24.08 Jun 6, 2024
71 checks passed
@vyasr
Copy link
Contributor

vyasr commented Jun 7, 2024

Can we rapids-reviser this (or at least create an issue)? I assume it affects all RAPIDS repos.

I applied this fix across repos. The new PRs link to this one.

* [Allow anonymous user in devcontainer name cugraph-ops#654](https://github.com/rapidsai/cugraph-ops/pull/654)

* [Allow anonymous user in devcontainer name cuspatial#1396](https://github.com/rapidsai/cuspatial/pull/1396)

* [Allow anonymous user in devcontainer name raft#2355](https://github.com/rapidsai/raft/pull/2355)

* [Allow anonymous user in devcontainer name rmm#1576](https://github.com/rapidsai/rmm/pull/1576)

Thanks!

rapids-bot bot pushed a commit to rapidsai/rmm that referenced this pull request Jun 10, 2024
Recently devcontainer names were updated to include the current user's name. However, in GitHub Codespaces, the username is not defined. As a result, the container name starts with a dash. This is not allowed by GitHub Codespaces, so it fails to launch.

This PR adds a default value of `anon` to the devcontainer username.

See rapidsai/cudf#15784 for more information.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Paul Taylor (https://github.com/trxcllnt)
  - James Lamb (https://github.com/jameslamb)

URL: #1576
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Jun 10, 2024
Recently devcontainer names were updated to include the current user's name. However, in GitHub Codespaces, the username is not defined. As a result, the container name starts with a dash. This is not allowed by GitHub Codespaces, so it fails to launch.

This PR adds a default value of `anon` to the devcontainer username.

See rapidsai/cudf#15784 for more information.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Paul Taylor (https://github.com/trxcllnt)
  - Mark Harris (https://github.com/harrism)
  - James Lamb (https://github.com/jameslamb)

URL: #1396
rapids-bot bot pushed a commit to rapidsai/raft that referenced this pull request Jun 10, 2024
Recently devcontainer names were updated to include the current user's name. However, in GitHub Codespaces, the username is not defined. As a result, the container name starts with a dash. This is not allowed by GitHub Codespaces, so it fails to launch.

This PR adds a default value of `anon` to the devcontainer username.

See rapidsai/cudf#15784 for more information.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Paul Taylor (https://github.com/trxcllnt)
  - James Lamb (https://github.com/jameslamb)

URL: #2355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants