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

Package for Debian? #53

Open
petterreinholdtsen opened this issue Aug 17, 2018 · 9 comments
Open

Package for Debian? #53

petterreinholdtsen opened this issue Aug 17, 2018 · 9 comments

Comments

@petterreinholdtsen
Copy link

Hi. I consider packaging uflash and uploading it into Debian. This might be easier with your help. Are you interested in helping out to make this happen?

@petterreinholdtsen
Copy link
Author

The request for a Debian package is tracked in https://bugs.debian.org/906450 .

@knowledgejunkie
Copy link

The presence of the included firmware file is triggering some thoughts regarding how uflash/Mu can be packaged for Debian, in terms of

  • where the packages can sit in the Debian archive (main vs non-free)
  • how much modification the source might need in order to be included in main
  • how visible the packages would be if uploaded to non-free
  • whether it is possible to remove the requirement to include the firmware (see Possible to pull MicroPython runtime from device, update, and then flash? #54)
  • whether we could add uflash as a dependency (Suggests) if uflash were packaged in non-free and a firmware-less Mu was packaged in main

@petterreinholdtsen
Copy link
Author

Is the source of the firmware blob available as free software, and can it be built using only free software? If so, perhaps it is best to make a separeate package of its source and make a new binary package with the firmware hex file. It can then be used as a dependency of both uflash and mu, and all three can go into main.

@knowledgejunkie
Copy link

@petterreinholdtsen please track #54 which will hopefully answer questions arising about the MicroPython runtime

@knowledgejunkie
Copy link

Update: earlier this week I pushed my packaging of uflash to the Debian Python Modules repository for review.

@ntoll
Copy link
Owner

ntoll commented Dec 22, 2018

@knowledgejunkie stonking stuff. Thank you so much for your efforts with this. 👍

@petterreinholdtsen
Copy link
Author

petterreinholdtsen commented Dec 22, 2018 via email

@knowledgejunkie
Copy link

My packaging of uflash has been reviewed and uploaded to the Debian NEW queue. This package currently provides a helper package that will download the current firmware.hex at installation time.

I'm now finalising my packaging of MicroPython for the micro:bit which will provide a firmware.hex built completely from source.

@knowledgejunkie
Copy link

My python-uflash source package was ACCEPTED into Debian unstable yesterday, so I'm happy for this ticket to be closed. The package will migrate into Debian testing in due course.

My separate packaging of MicroPython for the micro:bit is currently being reviewed.

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

No branches or pull requests

3 participants