Account for case differences when syncing labels #84
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟨 priority: medium
Not blocking but should be fixed soon
💪 skill: python
Requires proficiency in 'Python'
🏁 status: ready for work
Ready for work
Description
While Python does not see the label "hacktoberfest" and "Hacktoberfest" as equal, GitHub does. So if there is a case difference, the script will try to create the label and GitHub will raise an error that it already exists.
ccos-scripts/normalize_repos/models.py
Line 106 in 7d7ee1d
Reproduction
Expectation
Python should be able to sync the names to their correct values, while accounting for different cases when matching labels to the JSON file.
Resolution
The text was updated successfully, but these errors were encountered: