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

Debian packaging. #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Debian packaging. #5

wants to merge 3 commits into from

Conversation

Gadgetoid
Copy link
Contributor

@Gadgetoid Gadgetoid commented Apr 10, 2024

I've tagged a testing release, so you can:

wget https://github.com/pinout-xyz/rpipins/releases/download/1.0.0-testing/rpipins_1.0.0_all.deb
sudo apt install python3-markdown-it python3-mdurl python3-rich
sudo dpkg -i rpipins_1.0.0_all.deb
rpipins

And it should work. Shout if it goes awry.

@lurch now to see about getting this into the official repo... 😆

@Gadgetoid
Copy link
Contributor Author

Thank you @scruss for the sudo apt install python3-markdown-it python3-mdurl python3-rich bit of the test install instructions!

@lurch
Copy link
Contributor

lurch commented Apr 11, 2024

@lurch now to see about getting this into the official repo... 😆

blinks Uh, hello?

https://github.com/pinout-xyz/rpipins apparently lists me as a contributor, but I honestly don't remember ever seeing this repo before 🤣 😂 🤣

I had a look at the screenshot in the README, and it looks slightly odd that the "columns" (i.e. the ones where you've got ip or pu or --) on the left of the pins are in a different order to the "columns" on the right of the pins?
Has this been tested to work equally-well on Pi Zero, Pi 4 and Pi 5?

@Gadgetoid
Copy link
Contributor Author

lists me as a contributor

I think I started with a fork of https://github.com/pinout-xyz/picopins so you've probably got a commit in here somewhere!

I think spiritually you're a contributor to the whole pinout-xyz org anyway, haha.

Has this been tested to work equally-well on Pi Zero, Pi 4 and Pi 5?

Fair point!

Anything but Pi 5 is dead to me now 😆 there's no platform detection, so any variations of pins/functions (not sure we cover any here) would not be handled.

I'm not sure pinctrl is available/works on older Pi's? I should probably check.

It does fail gracefully in the absence of pinctrl, though.

@lurch
Copy link
Contributor

lurch commented Apr 11, 2024

I think spiritually you're a contributor to the whole pinout-xyz org anyway, haha.

...for my sins 😂

Raspberry Pi officially still supports all models of Raspberry Pi, so until this package does the same, I suspect that it's unlikely that we'd include it in the official repos. You might want to have a look at the code in GpioZero to see how that does model-detection?

@Gadgetoid
Copy link
Contributor Author

Raspberry Pi officially still supports all models of Raspberry Pi, so until this package does the same, I suspect that it's unlikely that we'd include it in the official repos. You might want to have a look at the code in GpioZero to see how that does model-detection?

Ooof, that's a fair point.

Also that GpioZero exists and has a lot of functional overlap with this tool.

We also both seem to keep around the same pace of updates too, ha! 💀

Trouble with stuff like this is that I have to wait for the right size and shape of ADHD to strike and coax me into doing it. Instead of, y'know, starting another project 🤦

@lurch
Copy link
Contributor

lurch commented Oct 30, 2024

Trouble with stuff like this is that I have to wait for the right size and shape of ADHD to strike and coax me into doing it. Instead of, y'know, starting another project 🤦

... glances sideways at #11 ... 😜

@Gadgetoid
Copy link
Contributor Author

😬

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