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 hyphen char in workspace name #11838

Conversation

davido
Copy link
Contributor

@davido davido commented Jul 25, 2020

Closes #11837.

@davido davido force-pushed the allow-hyphen-char-in-workspace-name-again branch from 460949d to 34771a1 Compare July 25, 2020 15:48
@oquenchil oquenchil added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Jul 28, 2020
@Gromba
Copy link

Gromba commented Aug 4, 2020

Could you also add support for the . character?

The local_repository rule uses this regex, but says it allows a '.' character, which is currently does not:
local_repository rule //external:shared.name's name field must be a legal workspace name; workspace names may contain only A-Z, a-z, 0-9, '-', '_' and '.'

Copy link
Contributor

@laurentlb laurentlb left a comment

Choose a reason for hiding this comment

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

lgtm

@bazel-io bazel-io closed this in e574d55 Aug 12, 2020
aiuto pushed a commit that referenced this pull request Aug 12, 2020
Closes #11837.

Closes #11838.

PiperOrigin-RevId: 326286694
@davido davido deleted the allow-hyphen-char-in-workspace-name-again branch August 13, 2020 04:56
aiuto pushed a commit that referenced this pull request Aug 18, 2020
Closes #11837.

Closes #11838.

PiperOrigin-RevId: 326286694
aiuto pushed a commit that referenced this pull request Aug 20, 2020
Closes #11837.

Closes #11838.

PiperOrigin-RevId: 326286694
michaeleisel pushed a commit to michaeleisel/bazel that referenced this pull request Sep 3, 2020
Closes bazelbuild#11837.

Closes bazelbuild#11838.

PiperOrigin-RevId: 326286694
aiuto pushed a commit that referenced this pull request Sep 12, 2020
Closes #11837.

Closes #11838.

PiperOrigin-RevId: 326286694
aiuto pushed a commit that referenced this pull request Sep 25, 2020
Closes #11837.

Closes #11838.

PiperOrigin-RevId: 326286694
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"foo-bar is not a legal workspace name" error is reported on Bazel@HEAD
5 participants