Skip to content

ui: use custom build of aria-query@5.0.0 (#95)#82961

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
sjbarag:self-host-aria-query
Jun 15, 2022
Merged

ui: use custom build of aria-query@5.0.0 (#95)#82961
craig[bot] merged 1 commit intocockroachdb:masterfrom
sjbarag:self-host-aria-query

Conversation

@sjbarag
Copy link
Copy Markdown
Contributor

@sjbarag sjbarag commented Jun 15, 2022

Version 5.0.0 of the aria-query package currently includes files with
spaces in their names [1], but those files aren't used at build- or
run-time. Unfortunately, Bazel doesn't support referencing any file
with a space in its name -- including transitively. The yarn-vendored
submodule recently received [2]a copy of aria-query without those extra
files [3], but using it requires a custom yarn resolution for all
packages that transitively depend on aria-query. Replace the corrupt
aria-query build with a custom build that doesn't include extra files.

[1] A11yance/aria-query#367
[2] cockroachdb/yarn-vendored#95
[3] https://github.com/cockroachdb/aria-query/releases/tag/v5.0.0-no-extra-files

Release note: None

Version 5.0.0 of the aria-query package currently includes files with
spaces in their names [1], but those files aren't used at build- or
run-time. Unfortunately, Bazel doesn't support referencing *any* file
with a space in its name -- including transitively. The yarn-vendored
submodule recently received [2]a copy of aria-query without those extra
files [3], but using it requires a custom yarn resolution for all
packages that transitively depend on aria-query. Replace the corrupt
aria-query build with a custom build that doesn't include extra files.

[1] A11yance/aria-query#367
[2] cockroachdb/yarn-vendored#95
[3] https://github.com/cockroachdb/aria-query/releases/tag/v5.0.0-no-extra-files

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @irfansharif, @knz, and @rickystewart)

@sjbarag
Copy link
Copy Markdown
Contributor Author

sjbarag commented Jun 15, 2022

bors r=rickystewart,maryliag

Copy link
Copy Markdown
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

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

maybe you can remove the find command from the script then?

@sjbarag
Copy link
Copy Markdown
Contributor Author

sjbarag commented Jun 15, 2022

maybe you can remove the find command from the script then?

Lots of people are blocked on this PR so I'll handle that in a separate PR. It's pretty harmless to stick around :)

@sjbarag
Copy link
Copy Markdown
Contributor Author

sjbarag commented Jun 15, 2022

bors p=1

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 15, 2022

Build succeeded:

@craig craig bot merged commit 22751ff into cockroachdb:master Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants