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

Generate YEAR.json automatically and publish to artifactory #51

Merged
merged 11 commits into from
Dec 16, 2024

Conversation

rzblue
Copy link
Member

@rzblue rzblue commented Dec 11, 2024

some terminology:
a manifest is the file that enumerates all versions of all libraries in a bundle
a bundle is the collection of all libraries' vendordep json files and their associated manifest
a metadata file is a file in the root directory of the git repository named YEAR_metadata.json that includes metadata specific to each library in a bundle but common across all versions of the library

The manifest is automatically generated from a metadata file and vendordep json files in YEAR/. The bundle output format matches the directory format currently used by the vscode plugin, so no changes are needed beyond changing the root url (see wpilibsuite/vscode-wpilib#733)

Still needs done:

  • actually upload to artifactory

The generated 2025 manifest is functionally identical. The generated 2024 manifest is missing Choreolib, NavX, playingwithfusion, and ReduxLib because the vendordep jsons don't exist in the repo.

Until the next wpilib release the 2024/2025 json files need to stay in the repository and will need to be updated since existing installations are still using this repo as the url.

Closes #21

@rzblue
Copy link
Member Author

rzblue commented Dec 12, 2024

I suppose i should also update the readme to reflect the changes

This allows for optional keys to be added to the output
@PeterJohnson PeterJohnson merged commit 1751582 into wpilibsuite:main Dec 16, 2024
4 checks passed
@rzblue rzblue deleted the generate-json branch January 3, 2025 04:18
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.

Publish to artifactory
2 participants