Commit Graph

4 Commits

Author SHA1 Message Date
Greg Kaleka
44829f1556 Add category override mapping and use it in library update method (#1411)
Fixes #1034

- Adds a `CATEGORY_OVERRIDES` mapping
- Uses the override in `update_libraries` management command

### Manual testing
- Ran `./manage.py import_versions`
- Ran `./manage.py update_libraries`
- Static String had the correct category
<img width="440" alt="Screenshot 2024-11-04 at 5 24 05 PM"
src="https://github.com/user-attachments/assets/4b0cf4cb-15e2-4337-9284-7659afd40643">

### Post-deploy tasks
- Ensure `update_libraries` is run
- Verify **Container** category is orphaned
- Delete **Container** category

Co-authored-by: Greg Kaleka <gkaleka@energy-solution.com>
2024-11-05 13:49:00 -05:00
Natalia
a8cd8f507a Ran pre-commit run -a
Completed runs of black and rest of pre-commit checks.
2023-05-30 23:21:53 -03:00
Lacey Williams Henschel
eb0a6884b6 168 import versions (#295)
* WIP get old versions

* 🏦 Add URL and data dict to Version model

* 🔧 Some refactoring how we get tag data

* First pass at uploading versions

* 🔧 Move parsing logic to the parser and add tests

* Retrieve url and save json data

* Improve version upload docs

* Linter
2023-05-11 05:59:49 -07:00
Lacey Williams Henschel
2a505764ce Create syncing_data_with_github.md 2023-05-08 13:06:07 -07:00