Commit Graph

2034 Commits

Author SHA1 Message Date
Jordan Sissel 100a825796 Version bump for a newer pleaserun 2017-07-28 14:59:15 -07:00
Jordan Sissel b0fd3d2ef3 version bump 2017-07-28 14:53:45 -07:00
Jordan Sissel e4ade183c2 Add pleaserun docs. Happy sysadmin day! 2017-07-28 03:43:37 -07:00
Justin Kolberg efd05dd93b Add missing forward-slash to dir.rst
Without this forward-slash, installing the resulting deb package can wipe out directories.
2017-07-25 14:31:39 -07:00
Scott Van Hess e777018424 Rename `--include-dependencies` to `--embed-dependencies` 2017-07-21 10:24:13 -07:00
Scott Van Hess c63e6fa89d Optionally allow gem dependencies to be installed 2017-07-21 10:24:13 -07:00
Jordan Sissel b9f4c1e64f - fix another bad conversion from ftw to net/http. I hate net::http so
much.
2017-07-21 10:24:13 -07:00
Jordan Sissel 42b7c5acd3 - Version bump.
- This version adds solaris package support. Thanks to Ben Rockwood for
  donating a Joyent Solaris instance so I could work on this.
2017-07-21 10:24:13 -07:00
jakerobinson 783b06fe97 copy config files external to source 2017-07-21 10:09:23 -07:00
Ward Vandewege 55672427a5 Add --python-setup-py-arguments flag which can be used to pass arbitrary
arguments to setup.py.

This is helpful to package python modules that have a poorly written
setup.py that requires special arguments.
2017-07-21 09:55:01 -07:00
Alexander Weidinger 127b29194a Add --deb-after-purge FILE 2017-07-20 16:41:15 -07:00
Jordan Sissel 923ee23636 Merge pull request #1281 from rnowling/fix-nodejs-example-formatting
Correct formatting of commands in Node.js example
2017-07-20 14:57:35 -07:00
Jordan Sissel 8453c61112 Merge branch 'master' into fix-nodejs-example-formatting 2017-07-20 14:57:06 -07:00
Jan Delgado c7393be73f Performance optimization for apk packages: This patch dramatically improves
performance when building larger alpine apk packages.
2017-07-20 14:16:01 -07:00
Jordan Sissel 78853a81c9 Use 'false' not 'FALSE' constant 2017-07-20 14:12:18 -07:00
Thiago Figueiró 07e7e5399d Fix #1123 do not include empty .scripts directory 2017-07-20 14:12:18 -07:00
Thiago Figueiró 4d5b09778e Disable travis osx tests 2017-07-20 14:12:18 -07:00
Thiago Figueiró d6e136b457 Test against rubies 2.2.5, 2.3.3 and 2.4.0 2017-07-20 14:12:18 -07:00
Thiago Figueiró d2a71442c1 Add tar spec for #1123 2017-07-20 14:12:18 -07:00
Nemanja Boric fcd4dfd631 In case of a=b syntax where a is symlink, don't create directory (#1253)
Previously, if the symlink is included into the package and specified
with

my-sym-link.so=/usr/lib/my-sym-link.so

fpm would create directory, and put the
symlink inside `/usr/lib/my-sym-link.so/my-sym-link.so
which is very surprising and it doesn't follow the same
pattern as file copying is doing.

Fixes #1135
2017-07-20 14:00:21 -07:00
Jordan Sissel a8b431bc0b Use lowercase booleans. TRUE/FALSE cause Ruby to show warnings about deprecation 2017-07-20 13:50:10 -07:00
ServiusHack a3ddf38b84 Fix copy_entry for symlinks (#1348)
* Add test for copying symlinks

The test explicitly sets `preserve=true` and `remove_destination=true`
to show the currently broken behavior.

* Fix copy_entry for symlinks

The fourth argument to FileUtils.copy_entry is dereference_root to
which the value of remove_destination was passed.

The fix now passes the parameters in the required position.
2017-07-20 13:11:28 -07:00
Elan Ruusamäe fa31f84058 spec: stud is runtime dependency (#1354) 2017-07-20 13:05:44 -07:00
Philippe Poilbarbe c2db5985f6 Added --deb-interest-noawait and --deb-activate-noawait (#1225) (#1359) 2017-07-20 13:05:03 -07:00
Dan Kegel 14c4819e41 Implement reproducible gem -> deb conversion (#1360)
* Add option --source-date-epoch-default and implement for deb output.

This is the first step towards supporting bit-for-bit identical
output files given identical inputs.

Alas, Apple's ar is not too good at reading gnu ar archives,
so always use ar_cmd to find ar.

* deb: remove lines duplicated in a tragic merge conflict

Probably introduced by 62d0060178 and not removed by 500f0c052f

* Add options --source-date-epoch-from-changelog and --gem-stagingdir to support bit-for-bit reproducible gem -> deb conversion

In those cases where we can get the release date out of the changelog,
use it; otherwise fall back to the value given by SOURCE_DATE_EPOCH aka --source-date-epoch-default.

--gem-stagingdir is a bit of a kludge, only needed because no
compiler supports https://reproducible-builds.org/specs/build-path-prefix-map/ yet.
Could have been global option, but not sure any other package handler
invokes compilers?  Could hoist it up later.

Also:
- Defer initializing staging_path so subclasses can sneak in new value
- gem: remove build files

* gem: handle a few more gem changelog variants

* gem: also remove mkmf.log; lets ffi, kgio, raindrops, and ruby-ldap build reproducibly.

* deb: don't expect diffoscope to be installed in /usr/bin.  Lets it be found on mac.

* gem: document new options
2017-07-20 12:33:14 -07:00
Diego Martins 488863b321 remove archive-tar-minitar as a dependency (#1355) 2017-06-20 14:33:24 -07:00
liger1978 1bda1089a4 Fixes #1345 Test for nil before using metadata[module] in cpan.rb (#1346) 2017-06-19 10:00:41 -07:00
Jordan Sissel ed5a4356b5 Add libffi-devel to fedora 23+ install step. (#1352)
Fixes #1351
2017-06-14 22:04:20 -07:00
Jordan Sissel 10585bae35 Add link to install docs from readme 2017-06-14 21:54:45 -07:00
Joseph Anthony Pasquale Holsten 2ea5ecf65f package/dir: remove spurious pry (#1293)
Fixes #1259
2017-06-14 21:46:44 -07:00
Bob Bell b13f2f0a05 Translate Perl version dependencies like 5.008001 proper versions like 5.8.1 (#1342) 2017-06-14 21:41:03 -07:00
Perry Stoll 60b5ecff12 Fixed rst errors (#1349)
Fixed rst config to add text trailed by double colons to have the subsequent blocks correctly formatted as code.
2017-06-14 21:39:21 -07:00
liger1978 17cdacb782 Fixes #1343 Ensure self.version is converted to string (#1344) 2017-06-06 12:53:17 -07:00
Bob Bell 32d526fb14 Use capabilities in Perl dependencies (#1340) 2017-06-05 14:25:25 -07:00
Bob Bell 5148814866 Do not remove the leading "v" from version dependencies, since that is how the version of those dependencies themselves are being provided (#1339) 2017-06-05 14:24:12 -07:00
Bob Bell b930bcc874 Update to v1 of MetaCPAN API (#1341) 2017-06-05 13:06:24 -07:00
Bob Bell f393ca6382 Be consistent in letting newer Perl module versions meet the requirements, if not otherwise specified (#1338) 2017-06-05 11:44:13 -07:00
Paulo Sousa 37cc459dd8 pleaserun: add extra options to pleaserun (#1311) 2017-06-02 16:31:05 -07:00
Ryan Parman d4d52ef46b Update .travis.yml (#1266) 2017-06-02 16:25:41 -07:00
jesusbagpuss c79bb050a7 Add rubygems to CentOS install line (#1309)
For CentOS7, I needed to install rubygems.
Not sure if it is included in e.g. ruby-devel for previous versions?
2017-06-02 15:55:14 -07:00
memory 359e4847cb Add --virtualenv-find-links flag (#1318)
"pip install" in addition to the --index-url and --extra-index-url
flags, offers the `--find-links` flag, which tells pip to parse
an html index document looking for wheel/egg/source files without
expecting the "simple" pypi layout or to look in a local directory
for package files.
2017-05-26 08:30:45 -07:00
Bob Vincent c364b2a41e Fix zipfile target. (#1314)
* Fix zipfile target.

* Remove "-y" option which is unsupported on Windows.
2017-04-24 10:35:57 -07:00
Rob Young 6f6e59e8bd Fix OSX Python tests (#1320)
The test was failing because the calculated staging path is incorrect
with brew. If done in a virtualenv it is correct.
2017-04-21 08:33:43 -07:00
vbakayev 6dca7cabf0 fix wrong init.d shim naming (#1325) 2017-04-20 09:22:33 -07:00
ge-fa b5470f93b8 docs/installing: Fix build deps on Debian-derived systems (#1321) 2017-04-07 14:51:18 -07:00
Jordan Sissel 859f602f56 Merge pull request #1262 from nicobrevin/fix-virtualenv-prefix-behaviour
Fix virtualenv prefix behaviour (#1248)
2017-04-04 22:43:15 -07:00
Jordan Sissel fd7ef05966 Merge pull request #1291 from PabloCastellano/master
Update installing.rst
2017-02-17 12:13:19 -08:00
Pablo Castellano f2e38357a3 Update installing.rst
Apart from gcc and make you need other dependencies.
Without build-essentials I had an error complaining about "stdio.h not found"
2017-02-17 12:14:22 +01:00
Jordan Sissel 1752f4fcb2 Version bump 2017-02-05 01:46:58 -08:00
Jordan Sissel 051c4db507 Pin archive-tar-minitar to work around https://github.com/halostatue/minitar/issues/23 2017-02-05 01:45:32 -08:00