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

Package for Debian #55

Open
patrickod opened this issue Feb 4, 2017 · 5 comments
Open

Package for Debian #55

patrickod opened this issue Feb 4, 2017 · 5 comments

Comments

@patrickod
Copy link
Collaborator

It'd be very nice to be able to install the client and server separately via Debian packages for automated provisioning of new cashier instances.

@lyda
Copy link
Contributor

lyda commented Feb 15, 2017

I haven't used this, but it's on my list of things to look at:

https://github.com/Debian/dh-make-golang

@patrickod
Copy link
Collaborator Author

I've had a brief look through the documentation and this does seem to be the promising path. The only thing that I'm yet to figure out is how to deal with producing two output packages with the server and client binaries respectively. It appears that the scripts have a presumption of one to one repo => binary currently.

@patrickod
Copy link
Collaborator Author

I made a very brief initial attempt at this last night. Unfortunately dh-make-golang currently doesn't deal well with vendored dependencies. It's also very likely that we'd have to package some of the sub-dependencies ourselves since Debian's packaging policy requires that we un-vendor the dependencies that we're using and install each of them as discrete apt dependencies.

I'll follow up with some Debian folks to see how viable this path is. I'm pretty keen on getting this into Debian myself.

@nsheridan
Copy link
Collaborator

It's also very likely that we'd have to package some of the sub-dependencies ourselves

I'm not sure who "we" refers to here, and I'm not a fan of Debian's packaging policy getting forced on this project. Unless there's a more tangible benefit than "cashier gets packaged for Debian" here then I'm totally willing to live without this.

@patrickod
Copy link
Collaborator Author

aye it's looking an uphill battle. @nsheridan if I do get it packaged I'll version it outside of this repo to prevent any confusion. "we" in this case might end up being me depending on difficulty.

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

3 participants