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

Use fpm to create binary Debian and RPM (plus other?) packages #3473

Closed
calmh opened this issue Aug 3, 2016 · 1 comment
Closed

Use fpm to create binary Debian and RPM (plus other?) packages #3473

calmh opened this issue Aug 3, 2016 · 1 comment
Labels
build Issues caused by or requiring changes to the build system (scripts or Docker image) enhancement New features or improvements of some kind, as opposed to a problem (bug) frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Comments

@calmh
Copy link
Member

calmh commented Aug 3, 2016

FPM is super neat for creating distribution packages of binaries (deb, rpm, OSX "pkg", pkgin, you name it). Precondition is that there is a directory of files to package. We pretty much have this with the current "go run build.go deb" except it places some Debian metadata there as well.

We could skip the metadata, just create the desired structure, and have fpm package it for various distributions:

fpm -s dir -t rpm -n syncthing -v 0.14.3 -C $whateverDir

This would also simplify our Debian build process.

Then we just need to figure out how best to distribute RPMs etc.

@calmh calmh added enhancement New features or improvements of some kind, as opposed to a problem (bug) build Issues caused by or requiring changes to the build system (scripts or Docker image) labels Aug 3, 2016
@calmh calmh added this to the Unplanned (Contributions Welcome) milestone Aug 3, 2016
@calmh
Copy link
Member Author

calmh commented Sep 12, 2016

Done

@calmh calmh closed this as completed Sep 12, 2016
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Nov 15, 2017
@syncthing syncthing locked and limited conversation to collaborators Nov 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build Issues caused by or requiring changes to the build system (scripts or Docker image) enhancement New features or improvements of some kind, as opposed to a problem (bug) frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

No branches or pull requests

2 participants