mbucc / shmig

Database migration tool written in BASH.
BSD 3-Clause "New" or "Revised" License
458 stars 49 forks source link

Implemented package build via peekaygee #52

Closed kael-shipman closed 5 years ago

kael-shipman commented 5 years ago

@mbucc I built a small bash/gnutils framework for building and publishing OS packages called peekaygee. I'm now using this in my CFX fork of shmig to manage shmig's debian package and figured you might appreciate it, too. (When I get home tonight, I'll push the cfx fork of shmig up to my official package repo at https://packages.kaelshipman.me.)

I use Ubuntu, so I've only created a peekaygee builder for debian packages and deb package templates for shmig, but peekaygee simply looks for a builder on your path named peekaygee-builder-[type], so you can theoretically support any package type you want. If you want to support other package types, you just have to write a builder executable that turns a prepared package folder into a finished package file. You can read more about it at the github page linked above.

Anyway, take it or leave it!

kael-shipman commented 5 years ago

Oops! I complete forgot that I had already PRd this in #50! Sorry about that. I've just pulled in the changes from that and pushed them up here.

Still, this PR converts this from a sort of ad-hoc system to a more formal and (somewhat) documented one. Again, yours to accept or reject.

mbucc commented 5 years ago

Hey, so I've been thinking about this PR some more and I think I will revert the PR #50 merge I did, and instead just refer folks to to your fork if they want an apt package. It's not a feature I have any interest or ability to maintain.