Repository navigation
[ICU 68.1 Update] The "tools/cldr/.gitignore" shouldn't ignore already checked-in files. - #52
Merged
Erin Genovy (jefgen) merged 1 commit intoDec 7, 2020
Conversation
It's generally considered a bad practice or an anti-pattern to have files checked-into a git repo which are at the same time also excluded by .gitignore file(s) in the repo as well. These two files are used by the CLDR-to-ICU data build process. However, I accidentally removed them in the previous commit/PR, as there is a checked-in .gitignore file which excludes them. (This means when coping from one repo/clone to another repo/clone the files won't get added.) This commit adds them back, and also add an exclusion to the .gitignore file so that they don't get ignored. I filed an upstream ICU ticket for this here as well: https://unicode-org.atlassian.net/browse/ICU-21427
Erin Genovy (jefgen)
requested review from
a team and
Daniel Ju (daniel-ju-msft)
December 6, 2020 23:15
Erik Torres (erik0686)
approved these changes
Dec 7, 2020
Daniel Ju (daniel-ju-msft)
approved these changes
Dec 7, 2020
Erin Genovy (jefgen)
deleted the
user/jefgen/icu68-update-add-gitignored-files
branch
December 7, 2020 23:45
2 of 5 tasks
Erin Genovy (jefgen)
added a commit
that referenced
this pull request
Jan 20, 2021
This change cherry-picks two tickets from the upstream ICU repo that were merged after the ICU 68.2 release. - ICU-21427 Don't ignore already checked-in files under "tools/cldr/lib" - ICU-21118 check that dst and src are not null in uprv_memcpy The first one I had already done with #52, so this is mostly just making an update for the comments and to record it in the `changelog.md` file. The second one was fixed by @erik0686, and prevents undefined behavior in `ultag_parse`. CP: ICU-21118 check that dst and src are not null in uprv_memcpy https://unicode-org.atlassian.net/browse/ICU-21118 unicode-org/icu#1489 CP: ICU-21427 Don't ignore already checked-in files under "tools/cldr/lib" https://unicode-org.atlassian.net/browse/ICU-21427 unicode-org/icu#1500 Update changelog.md for cherry-picked tickets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is part 3 of N for updating to ICU 68.1.
It's generally considered a bad practice or an anti-pattern to have files checked-into a git repo which are at the same time also excluded by
.gitignorefile(s) in the repo as well.These two files are used/needed by the CLDR-to-ICU data build process.
However, I accidentally removed them in the previous commit/PR, as there is a checked-in
.gitignorefile which excludes them. (This means when coping from one repo/clone to another repo/clone the files won't get added.)This commit adds them back, and also add an exclusion to the
.gitignorefile so that they don't get ignored.I filed an upstream ICU ticket for this here as well:
https://unicode-org.atlassian.net/browse/ICU-21427
Note: The CI builds for this PR will fail and that is expected. I will be updating the CI pipelines later on afterwards, but that needs to be done as a separate commit. For now I will bypass the checks.
Summary
PR Checklist