Added Ubuntu packaging using FPM-Cookery#14
Open
brodock wants to merge 5 commits intojblakeman:masterfrom
Open
Added Ubuntu packaging using FPM-Cookery#14brodock wants to merge 5 commits intojblakeman:masterfrom
brodock wants to merge 5 commits intojblakeman:masterfrom
Conversation
Author
|
I will create another pull-request which will add automatically generation from travis with automatically upload support to bintray (not really sure if the last part will work). Fell free to ask for anything additional like more documentation on README.md. Thanks for all your hard work on this project, it's really useful and I appreciate. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generating Debian package is always a frustrating task, but thanks to the awesome https://github.com/bernd/fpm-cookery project, with very little modifications to your original project, I was able to add code to generate a debian package at the end of the process.
It requires ruby to be present on your machine (which is default on Ubuntu), and will need to install some additional ruby libraries.
All you have to do is type
make packageor justmakeand you will have a full functional package onpkgfolder.As you don't specify any version on the project I've assumed http://semver.org/ structure, and used an initial 0.1.0 version.
There are a lot of places where you can host a package (launchpad.net forces you to use horrendous default tools and bzr to generate packages, so it's out of question), but https://bintray.com/ can be pretty straightforward and easy to work (for instance big projects like homebrew uses their infra, and it's free for FOSS).