BlankOn / irgsh-go

An all-in-one tool to create and maintain Debian-derived GNU/Linux distribution: from packaging to repository, from ISO build to release management.
BSD 3-Clause "New" or "Revised" License
24 stars 15 forks source link

Move some command line execution to Golang API #75

Open herpiko opened 4 years ago

wejick commented 4 years ago

can you give some example @herpiko ?

herpiko commented 4 years ago

@wejick

I found plenty of mkdir commands, these should be moved to os.Mkdir/os.MkdirAll. And there are some curl command (use net/http instead?). Also I was thinking about migrating gpg stuff to code.google.com/p/go.crypto/openpgp if possible. And docker (https://godoc.org/github.com/docker/docker/client)?

Anyway, some will stay in command exec:

wejick commented 3 years ago

I'm refactoring chief ya FYI take a look on this wip branch 2bf481813a40aa32828b52fe775ce9ba25cac77d

herpiko commented 3 years ago

@wejick ack.