Skip to content

Board Info Generator Script#1165

Merged
dhalbert merged 9 commits into
adafruit:mainfrom
makermelissa:main
Mar 14, 2023
Merged

Board Info Generator Script#1165
dhalbert merged 9 commits into
adafruit:mainfrom
makermelissa:main

Conversation

@makermelissa
Copy link
Copy Markdown
Collaborator

As part of getting the CircuitPython Installer ready for learn, it's useful to have the necessary board info in a JSON file so that just the board id (or IDs) is all that will need to be provided. This PR adds a script to generate and upload the file to Amazon S3.

I plan on having these values overridable with the button parameters so that multiple languages can still be installed. After this is merged, changes to the installer to grab the info from this file will be required, which will be part of a follow-up PR.

@makermelissa makermelissa requested a review from a team March 13, 2023 20:51
@makermelissa
Copy link
Copy Markdown
Collaborator Author

For some reason, the file is not actually uploading, so this is still being worked on.

@makermelissa
Copy link
Copy Markdown
Collaborator Author

I was getting a bit perplexed by this and then I realized it probably won't actually upload a file to Amazon S3 until after this has been merged for security reasons. So this should be good to go.

Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Looks fine, but there is no newline at the end of generate-board-info.py. This is hard to fix from the GitHub web interface. Can you push a commit? Thanks.

@makermelissa
Copy link
Copy Markdown
Collaborator Author

I just ran black so it would fix any other formatting issues.

@dhalbert dhalbert merged commit 1eb074b into adafruit:main Mar 14, 2023
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.

2 participants