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

Move DatagenProvider into its own crate #5016

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

robertbastian
Copy link
Member

@robertbastian robertbastian commented Jun 6, 2024

#4721

provider/datagen/src/{provider.rs, provider/, transform/} move to provider/bikeshed/src.

Stubdata moves to provider/data/{component}/stubdata, as it's a quality-of-life thing and not required for testing or reviewing the DatagenProvider (also, ../stubdata is a much nicer value for ICU4X_DATA_DIR than ../../../bikeshed/tests/data/baked). JSON testdata moves to provider/bikeshed/data/debug, as it's used only for debugging/reviewing, and shouldn't be in tests/data, which is data that actually affects tests.

@robertbastian robertbastian force-pushed the dgp branch 6 times, most recently from e45c746 to a8686e5 Compare June 13, 2024 12:17
@robertbastian robertbastian force-pushed the dgp branch 4 times, most recently from 29ee634 to c5d470b Compare June 13, 2024 18:10
@robertbastian robertbastian marked this pull request as ready for review June 18, 2024 15:17
@robertbastian robertbastian requested review from sffc, Manishearth and a team as code owners June 18, 2024 15:17
Copy link
Member

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

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

not opposed, defer to shane

Please redo the PR so that generated code is in separate commits: GitHub is struggling to render the review screen.

@robertbastian robertbastian force-pushed the dgp branch 3 times, most recently from f83ba23 to ba551b6 Compare June 18, 2024 17:18
@robertbastian
Copy link
Member Author

this is split now

# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

[package]
name = "icu_datagen_bikeshed"
Copy link
Member

Choose a reason for hiding this comment

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

We were trying to decide between icu_provider_source and icu_provider_transform?

Copy link
Member Author

Choose a reason for hiding this comment

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

icu_provider_datagen was also in the mix I think

@robertbastian robertbastian merged commit b4fe46a into unicode-org:main Jun 20, 2024
28 checks passed
@robertbastian robertbastian deleted the dgp branch June 20, 2024 10:29
robertbastian added a commit that referenced this pull request Jun 20, 2024
Reduces the number of files lying around, and in #5016 it'll be more
difficult to generate hello world blobs with fallback.
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.

3 participants