gitbls / sdm

Raspberry Pi SD Card Image Manager
MIT License
469 stars 48 forks source link

Port for arch linux? #23

Closed crackedpotato007 closed 2 years ago

crackedpotato007 commented 2 years ago

Hey! I saw that the installation script uses apt sadly which isn't available on arch (The host pc) so my question is do you have a port for arch Linux? or do we need to modify the install script ourselves?

gitbls commented 2 years ago

I've spent some additional time thinking about this, and have concluded that the best approach is for you to take the sdm code and build an arch version out of it. Happy to help you with questions abou techniques or code specifics.

Once an arch port has been done, we can look at whether it makes sense to consolidate back to a single source, or keep the arch version separate.

OK?

crackedpotato007 commented 2 years ago

Cool, although i would have to create a version with another language I am not very familiar with bash

gitbls commented 2 years ago

I thought you were looking for a port of the existing code to to fully support Arch. If you go down that path, you'd be using bash. Done with the goal of minimal changes only to support Arch, it could then be integrated back into the core sdm. That would be cool, technically, and something I would be interested in doing, because then some things that sdm does can be factored out by which OS it's operating on, making it easier to support additional OS in the future.

OTOH, if you are considering changing languages, then it's not really a port, is it? It's more like something completely new, possibly doing some/most/all of what sdm does today, At best it will be culturally compatible, because that's what happens with these things.

To be clear, I don't have a vested interest in which way you choose to go. If you do the minimal changes approach, that ultimately will require me to do a fair amount of work (see above). I'm good with that, but at the same time not eagerly awaiting it.

If you do a complete reimplementation, I'll be interested in seeing what features you add beyond what's already there.

One last thought...it never hurts to learn another programming language. 👍