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

Re-write grml-debootstrap in Go #148

Open
suntong opened this issue Jan 23, 2020 · 4 comments
Open

Re-write grml-debootstrap in Go #148

suntong opened this issue Jan 23, 2020 · 4 comments

Comments

@suntong
Copy link
Contributor

suntong commented Jan 23, 2020

Separate from here

As grml-debootstrap getting more and more complicated, it make sense to bit the bullet and re-write it in Golang at some point, just as what Docker has been doing.

Go is a simple language which can be taken on within no time, if you are a C/C++ developer.
I looked into it more than 10 years ago, when I heard that Docker turn their spaghetti shell script into Go, which was the problem I was facing then as well.

The plan is confirmed by @mika:

I'm familiar with golang and was considering rewriting grml-debootstrap already, but before doing so, I'd like to have more tests in place and also look into some design issues like we hit in #76. I was also considering using grml-debootstrap instead of FAI within grml-live, so that's something else to keep in mind, without taking the risk of running into the second-system effect. :)

Thus log a separate issue, and when it's about ready, drop me a note, I'd be more than happy to help on the command line parameters handling part.
And in fact, also the whole CI/CD part, including building your own (quick) Debian package during CI/CD.

@mika
Copy link
Member

mika commented Jul 2, 2020

FTR, getting inspiration from https://github.com/bdrung/bdebstrap might be interesting, if we should really rewrite grml-debootstrap

@suntong
Copy link
Contributor Author

suntong commented Jul 2, 2020

Ahh, I like every concept of it, just, Python, hmm..., that's ... quite a pity.

@suntong
Copy link
Contributor Author

suntong commented May 22, 2021

Found another YAML based Debian OS builder, but this one is in Go.
People might already knew it, but I only know it today, :)

https://github.com/go-debos/debos

@suntong
Copy link
Contributor Author

suntong commented May 22, 2021

For Python based solution, I'd rather choose cloud-init: cloud instance initialization, the industry standard multi-distribution method for cross-platform cloud instance initialization.

It is supported across all major public cloud providers, provisioning systems for private cloud infrastructure, and bare-metal installations.

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

2 participants