Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ ⎇ branch:  cross package maker


Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 descendants and 50 ancestors of ca8be4398b16db668b3762b2ca4d4be8573a486d

2014-12-30
12:35
Permit staging_path rebuilding (set to nil on .cleanup), and provide :mkdir and :mkdirname creation in staging_path(subdir). check-in: 11502e1206 user: mario tags: trunk
12:34
Consolidate filename+dirname lowercasing, switch to regex (FNM_EXTGLOB absent in Ruby 1.9.x). check-in: 8f076a2392 user: mario tags: trunk
2014-12-29
17:15
Add trivial approach to filename lowercasing. (Useful for .phar packages.) check-in: 6c3683bcaa user: mario tags: trunk
17:14
Workaround to permit filters to work on staging_path. (This still needs another rewrite, to let :prefix be handled by actual targets, and be more consistent about build_path→staging_path passing [should just be aliased].) check-in: 464e75e608 user: mario tags: trunk
17:12
Allow fewer delimiter for -u filter=opts:opts:opts check-in: 73a6f648f2 user: mario tags: trunk
2014-12-28
14:42
Make all DEPRECATED cmdline args :hidden. (Still available, but not advertised in --help further.) check-in: 72927f5fbf user: mario tags: trunk
14:42
Allow DEB targets to specify phar-|php- alternatives in dependency lists. check-in: 5f3c2e9524 user: mario tags: trunk
2014-12-27
12:00
Monkey-patch Clamp to allow for :hidden command line options aliases, and allow :asis option names for FPM per-package options. Used by composer plugin to provide --phar in conjunction to --composer-phar. check-in: 73817f0c69 user: mario tags: trunk
11:54
Fix clamp option declaration from :bool to :flag. check-in: 3c39fc7d17 user: mario tags: trunk
2014-12-26
20:25
Fix staging_path target name, and path localization for downloaded phars. Retain just target package information from composer.lock. check-in: 049fb106f3 user: mario tags: trunk
13:39
Minor bugfix release 1.3.3.4, updated composer plugin, more consistent staging/build_path handling, :attrs usage, exceptions instead of warnings. check-in: 193345284b user: mario tags: trunk, v1.3.3.4
13:38
Unset @name_prefix, to allow clean multi-target building without affecting -t phar. Changed warnings to exception abort. check-in: fd019de6e0 user: mario tags: trunk
07:13
Quickly restructured to do actual staging in convert() - this separates option application for deb/rpm, and phar, and composer-phar/matroska modes. Version translation and basic deb / rpm / phar-plugin dependency lists added. This is still pretty incomplete, but comes closer to Debians 1.0.0~~ vers. check-in: 8edc5ee73a user: mario tags: trunk
07:11
Add backtrace output for generic error message. check-in: 5212dd5edb user: mario tags: trunk
2014-12-25
17:55
Remove vendor/vnd/pkg/ target dir prefixes, retain just Vnd/Pkg/.. tree, package names "php-composer-" are now just "php-", and sysphars become "phar-vnd-pkg". check-in: 68191c9343 user: mario tags: trunk
2014-12-24
14:43
Coarse filter to strip leading directory structures (reimporting systme packages to local paths, etc.) check-in: 0b26058d1e user: mario tags: trunk
04:46
Add attributes and support comma-separated version/dependency lists. check-in: c688acd9f5 user: mario tags: trunk
04:46
Switch from custom @attributes[:meta] to just sharing @attrs, and command.rb fixed to not empty it. (Code probably was intended and will return as --attr option). check-in: c2a301ce07 user: mario tags: trunk
2014-12-23
12:00
Safeguards against empty composer.json [packages], merge [packages-dev] in; and completely absent entry for input directory. Fix dependency conversion, prepare for complex CSV specifiers. check-in: 1d587e58c4 user: mario tags: trunk
2014-12-22
20:10
Release xpm branch as v1.3.3.3; rename binary and gem. check-in: 7523b79e0b user: mario tags: trunk, v1.3.3.3
12:52
Fix cross-device moving of final package. check-in: 10750bb341 user: mario tags: trunk
12:40
Add sysexit codes, and generic exception catch. check-in: 788bf5a045 user: mario tags: trunk
12:38
Add @tainted parameter to prevent multiple input names to be processed. Map composer ~ version qualifier to gem ~> syntax. check-in: 4ea2785fd3 user: mario tags: trunk
12:37
Fix debug? parameter resolution. check-in: e54c3f9a07 user: mario tags: trunk
12:36
Add missing update(opts) parameter. check-in: 176a5242b0 user: mario tags: trunk
12:35
Add missing update(opts) parameter. check-in: 06c1480758 user: mario tags: trunk
05:52
Fix attribute scopes, and concretize version mapping. check-in: 643aa067b3 user: mario tags: trunk
2014-12-21
19:15
Added a bit more support for version constraint translation. check-in: 849fb1fccf user: mario tags: trunk
19:14
Ensure warnings/errors/notes are enabled, just in case. check-in: f687312ca4 user: mario tags: trunk
01:46
Builds deb/rpm, matroska and plain local phars. Still has some oddities (multi-target inhibits -t phar variant detection). No implementation yet for composer.lock and autoload reconstruction. check-in: 4e5976e38b user: mario tags: trunk
2014-12-20
10:38
Composer source packages. Conversion into system, phar packages, or phar in system packages. (Needs to be changed to `composer require` to retain .lock and rebuild info). check-in: 0b11464f86 user: mario tags: trunk
00:10
Remove --debs flag (was serialized as --filter_deps-map anyway; which is why the -u module=opts.. workaround came to be) check-in: 2d51295daf user: mario tags: trunk
00:09
Fix setDefaultStub() call for plain ZIP/TARs. check-in: 3a443c43e2 user: mario tags: trunk
2014-12-19
23:04
Fix pax bzip2 flag to lowercase `-j` check-in: 085c692135 user: mario tags: trunk
08:53
Experimental and vastly incomplete cross-distro dependency resolving. Only whohas supported by now. Distromatch shall be added later.. check-in: eba017187d user: mario tags: trunk
08:52
Prepare general --sign flag. Allow -u filtername to take arguments. Used for deps filter, with -u deps=fedora target specifier for example. check-in: 9daa32686a user: mario tags: trunk
08:50
Remove debugging output from -u desktop filter. check-in: 0b0ff83cc0 user: mario tags: trunk
08:50
Tag files.list with architecture. check-in: 4b5cf9d34a user: mario tags: trunk
2014-12-18
20:54
More resilient with non-ELF files marked as executable. check-in: 109ac298dc user: mario tags: trunk
16:38
version bump 1.3.3.2 check-in: c5b73e2e48 user: mario tags: trunk
16:38
Add staging_path cleanup (remove ipkconfig/ dir), remove debugging statements. check-in: 52f23c1fe4 user: mario tags: trunk
16:38
Remove debugging output. check-in: cd9401299e user: mario tags: trunk
16:37
Strip binaries. (only grossly checks for executable bit) check-in: 5d41e6cc01 user: mario tags: trunk
16:36
Umask 644/755 (mostly redundant for rpm/deb targets though; already contain permission concrete logic) check-in: ebb4cb9a0a user: mario tags: trunk
2014-12-17
22:06
IPK generator using Listallers lipkgen, very basic; doesn't take care with relocatability or proper file separation yet. check-in: d4a2f64d49 user: mario tags: trunk
22:05
Add -u update filter to create inject .desktop files. check-in: 128bbd605a user: mario tags: trunk
2014-12-16
23:25
New -u filter to create composer.json summary (for phar modules). check-in: ce5cab9d30 user: mario tags: trunk
15:00
Prefix update hook plugins with `filter_` in package/ dir. check-in: 65236fbdf3 user: mario tags: trunk
2014-12-15
19:55
Added html_escape (despite the name actually just escapes XML) to AppData template. check-in: b52e581a05 user: mario tags: trunk
19:26
AppData filter (`-u appdata`) which creates a basic PKG.appdata.xml for distro application centers. check-in: 7827ad9b42 user: mario tags: trunk
15:10
Trivial man page compression post-processor. check-in: ca8be4398b user: mario tags: trunk
14:54
Introduce -u update filters; just reusing package/ infrastructure for now. check-in: b7f092aa04 user: mario tags: trunk
14:52
Introduce multitarget building with -t deb,rpm,exe comma-delimited list. (Only the last `output` class is kept in the execute() scope though, thus --debugging/keeping the staging path only works for the last target.) check-in: 958b461a23 user: mario tags: trunk
2014-12-14
20:44
<b>src</b> package reader. Scans source code files (.py/php/tcl/rb/pl) for meta comment / description block. Utilizes a `pack:` specification line, with semantics/reaming support similar to the `dir` module. References other files on a relative file-to-file basis however; which eases modularized bundling. <a href="https://github.com/jordansissel/fpm/issues/811">#811</a> check-in: d3d45b6c12 user: mario tags: trunk
20:41
<b>phar</b> packaging target. Chains to PHP to bundle .php source scripts with meta data in PHP/Phars serialize() format. <a href="https://github.com/jordansissel/fpm/issues/812">#812</a> check-in: be653e5c64 user: mario tags: trunk
20:38
<b>exe</b> target module, which builds Windows SFX installers; by utilizing FreeExtractors unzip module. Self-contained, manually patches up the generated ZIP, retains further fpm meta data fields in the embedded INI section. <a href="https://github.com/jordansissel/fpm/issues/810">#810</a> check-in: 469f115559 user: mario tags: trunk
20:34
Remve tar flags from zip module, switch to build directory to eschew /tmp/fpmXXX prefixes in final archive. check-in: 6a17ca8ec1 user: mario tags: trunk
20:33
Shuffle tar module command building and compression_flag() to support varied formats, such as pax (POSIX tar / cpio) - autodiscovered from filename. Also recognize .txz extension alias. check-in: c21ac565bc user: mario tags: trunk
20:31
Introduce `--deb-sign` for dpkg-sign´ed packages; requires a GPG key name. check-in: 4e43f73a18 user: mario tags: trunk
2014-12-11
22:25
Version bump check-in: ed6ddc7c8c user: jls@semicomplete.com tags: trunk
21:53
Extend the NPM class with FPM::Util to give it safesystemout. Fixes #806 and #800 check-in: 1dea2f942a user: jls@semicomplete.com tags: trunk
2014-12-10
22:37
Merge pull request #824 from dlanderson/patch-2 Remove errant space in debian postinst_upgrade.sh check-in: f464393ebb user: jls@semicomplete.com tags: trunk
21:37
Remove errant space in debian postinst_upgrade.sh This space was preventing postinst scripts to run on initial install of the .deb package check-in: d94f8d5b37 user: dave@dubkat.com tags: trunk
2014-11-21
17:43
Add note about Code of Conduct Huge thanks to everyone involved in contributor-covenant.org for providing this framework. <3 check-in: d9ca0cb590 user: jls@semicomplete.com tags: trunk
17:43
Add a Code of Conduct from http://contributor-covenant.org/ check-in: 374c5fa262 user: jls@semicomplete.com tags: trunk
17:43
Formatting check-in: 130133858e user: jls@semicomplete.com tags: trunk
2014-11-18
15:41
Merge pull request #813 from mriehl/patch-1 fix missing option name check-in: e77c4ca06d user: jls@semicomplete.com tags: trunk
12:07
fix missing option name The message doesn't make sense without the option name. check-in: 04338e58ad user: max@riehl.io tags: trunk
2014-11-07
17:32
Merge pull request #802 from xelwarto/master Verify if RPM triggerindex is valid check-in: 5980cef12a user: jls@semicomplete.com tags: trunk
2014-11-06
21:05
Verify if RPM triggerindex is valid check-in: e7e891577c user: xelwarto.pub@gmail.com tags: trunk
2014-11-05
00:33
Update changelog and bump version check-in: 51d6151cd7 user: jls@semicomplete.com tags: trunk, v1.3.2
00:31
When converting deb to deb, respect any changelog file found check-in: 36b33ce828 user: jls@semicomplete.com tags: trunk
00:31
Fix copy/paste problem check-in: 4a1f427dd3 user: jls@semicomplete.com tags: trunk
2014-11-04
23:44
Version bump and update changelog check-in: 9d21589966 user: jls@semicomplete.com tags: trunk
23:40
Merge pull request #799 from rfc1459/md5sums Fix md5sums generation for deb packages check-in: b18cea10e3 user: jls@semicomplete.com tags: trunk
09:48
Fix md5sums generation for deb packages The md5sums control file must be formatted exactly as it would be produced by a run of md5sum (MD5, two spaces, file path). Failing to do so breaks dpkg --verify. check-in: be0e595dc5 user: morpheus@level28.org tags: trunk
2014-10-30
17:58
Merge pull request #797 from ashkulz/rpm-xz-compression use maximum compression level for RPMs compressed with XZ check-in: 0dce12637c user: jls@semicomplete.com tags: trunk
09:05
use maximum compression level for RPMs compressed with XZ This can reduce the package size considerably. check-in: ccd119bfd2 user: kulkarni.ashish@gmail.com tags: trunk
2014-10-28
14:01
Merge pull request #793 from mriehl/fix/usage-typo fix typo in python packaging usage check-in: 29d23cf372 user: jls@semicomplete.com tags: trunk
10:39
fix typo in python packaging usage check-in: 02fa4a8b62 user: max@riehl.io tags: trunk
2014-10-25
21:54
Version bump check-in: a02993c32e user: jls@semicomplete.com tags: trunk, v1.3.0
21:54
Update changelog check-in: ccb17c8ab3 user: jls@semicomplete.com tags: trunk
21:23
Fix a whole bunch of Ruby 1.8.7 bugs There are still 4 test failures: * rspec ./spec/fpm/package/rpm_spec.rb:297 # FPM::Package::RPM#output package attributes should have the correct 'after_target_uninstall' trigger script * rspec ./spec/fpm/package/rpm_spec.rb:288 # FPM::Package::RPM#output package attributes should have the correct 'before_uninstall' trigger script * rspec ./spec/fpm/package/rpm_spec.rb:279 # FPM::Package::RPM#output package attributes should have the correct 'after_install' trigger script * rspec ./spec/fpm/package/rpm_spec.rb:270 # FPM::Package::RPM#output package attributes should have the correct 'before_install' trigger script check-in: 4f64f4ad70 user: jls@semicomplete.com tags: trunk
05:41
adding --rpm-init option (fix) check-in: 35d4af81fd user: jls@semicomplete.com tags: trunk
05:41
adding --rpm-init option check-in: 3f8b8b4c11 user: jls@semicomplete.com tags: trunk
05:41
Add npm specs check-in: 795fc2ae89 user: jls@semicomplete.com tags: trunk
05:36
Add input and output rpm trigger support This adds several rpm-specific flags: --before-install --after-install --before-uninstall --after-target-uninstall Fixes #626 (merged by hand) check-in: 4e74257a17 user: jls@semicomplete.com tags: trunk
05:28
Move from @logger ivar to logger method. Tests pass. Hope is all we have. And hugs. check-in: d84b9cf55e user: jls@semicomplete.com tags: trunk
05:27
Merge pull request #776 from Tapjoy/feature/sh_template_enhancements Enhancements to sh template check-in: 2f31b121c8 user: jls@semicomplete.com tags: trunk
05:19
Merge pull request #760 from malinoff/patch-1 Missing space in help check-in: a8cfee59be user: jls@semicomplete.com tags: trunk
05:18
Merge pull request #765 from shrijeet/master Stat the link itself instead of file it refers to check-in: 7ede60df8b user: jls@semicomplete.com tags: trunk
05:12
npm: Set :prefix default to `npm prefix -g` Fixes #758 (I hope) check-in: b112a6a5b7 user: jls@semicomplete.com tags: trunk
05:12
Start moving towards `logger` method instead so it's easier to handle initialization. check-in: 60104ef2bf user: jls@semicomplete.com tags: trunk
04:51
Somehow the templates were syntactically invalid? I dunno. Fixed. check-in: e3e3401b76 user: jls@semicomplete.com tags: trunk
04:51
Fix typo from previous commit check-in: 79c4328f13 user: jls@semicomplete.com tags: trunk
04:51
Adding validation to stop debian users entering names with spaces Fixes #779 check-in: 5fa2e461d0 user: jls@semicomplete.com tags: trunk
04:07
deb: Always provide a "changes" file lintian in Ubuntu 14.04 now errors when a file /usr/share/NAME/changelog.Debian.gz doesn't exist. In the spirit of respecting lintian's meaningful errors, this commit fixes that error. The new behavior is that a changelog file is *always* provided. If the --deb-changelog flag is not given, then fpm will produce a default one based on the package being built in hope that it satisfies lintian. With this commit, the lintian rspec test passes on Ubuntu 14.04. Fixes #784 check-in: 0621e54420 user: jls@semicomplete.com tags: trunk
01:39
Don't follow symlinks when copying files. Added test coverage to ensure a broken symlink doesn't throw a ENOENT error. The test was written first, and failed, but now passes with the fix to the dir package. Fixes #658 check-in: 763b7387c6 user: jls@semicomplete.com tags: trunk
2014-10-16
18:48
Merge pull request #787 from djhaskin987/feature/786 Check first for Build.PL, then for Makefile.PL check-in: 9aaf818223 user: jls@semicomplete.com tags: trunk
18:47
Merge pull request #772 from djhaskin987/feature/661 Feature/661 check-in: adc3cb9bcc user: jls@semicomplete.com tags: trunk
16:00
Check first for Build.PL, then for Makefile.PL check-in: a90240e8b0 user: daniel.haskin@storagecraft.com tags: trunk