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 check-ins occurring on or before 2015-02-14 11:30:17.

2015-02-14
11:02
Switch to preprocess.py instead of GNU CPP. check-in: 294ea7da2a user: mario tags: trunk
2015-02-13
13:39
Preprocessor filter for source-based packages. check-in: 662bafecd7 user: mario tags: trunk
2015-02-08
06:12
Make fixperms ignore symlinks / or any other chmod errors. check-in: fec5fcaca3 user: mario tags: trunk
01:48
Make lintian happy: move DEB changelog generation before write_md5sums. (Workaround for [#833](https://github.com/jordansissel/fpm/issues/833).) Add stub copyright (actually prepared for DEP-5 / parseable debian/copyright). Augment deb/control.erb regex check for empty lines. check-in: 06727e35c2 user: mario tags: trunk
2015-02-06
20:52
Make some inherited relative target paths working. check-in: bc0c714540 user: mario tags: trunk
18:07
Basic inheritance for =target specifiers. Make meta extractor not consume mixed *|#|// comment prefixes. Clean up pack list from empty elements. Move copying logic out of main function. check-in: d1be6d8c51 user: mario tags: trunk
2015-01-28
12:51
Fix pkg.provides += [] addition. Strip any VCS #hashversionsuffixes from version strings. check-in: e08478f4fe user: mario tags: trunk
12:50
Introduce `--phar-x` flag to make output .phar file executable right away. Remove extra .unlink() after renaming target package. check-in: 0e56b40574 user: mario tags: trunk
2015-01-22
20:18
Do not prepend staging_dir for --phar-stub, as it might not be staged as literal file. check-in: a386da2c8f user: mario tags: trunk
2015-01-21
21:58
Reinstate RPM support. Fix lesser than dependency versions. Consolidate package_typ() for prior use (::filter abbrv). Keep @in_bundle again. Use RPM "php-composer(vnd/pkg)" dependencies now for :rpm, together with a self-provides "php-composer(@in_bundle) = @version". Alternatives for literal package names not supported by RPMbuild (4.11). check-in: f28593b104 user: mario tags: trunk
21:55
Fix default attributes filtering. Rework map_phar() classmap building to avoid chdir(). check-in: 40a7170c71 user: mario tags: trunk
13:10
Implement classmap builder directly in -t phar plugin. (Original implementation and tokenizer alternative in Canonic_Autoloader.) check-in: 5c62338e56 user: mario tags: trunk
12:28
Separate phar plugin from php generation template, prepare for classmap building. check-in: 01f616a04b user: mario tags: trunk
2015-01-20
00:01
Handle tilde, caret and asterisk specifiers more concretely. Downcase version suffixes in version_rewrite(). And abstract mapping for @dependencies, @provides, @conflicts, @replaces. Debian @suggests not yet populated. (And RPM target doesn't have it.) Composer dependency version alternatives "|" get ignored. Introduce --composer-no-alt flag to disable phar-|php- alternative lists for :debs too. check-in: 593dc02107 user: mario tags: trunk
2015-01-19
13:28
Keep `main` file in attrs{} - used for -t phar target. check-in: 771a75a191 user: mario tags: trunk
2015-01-04
20:31
Bump version v1.3.3.5, fixed Changelog dates. `preg_replace '/\((\w+ \d+, \d+)\)/e' '"(".strftime("%Y-%m-%d",strtotime("$1")).")"' -` check-in: 38fece65c6 user: mario tags: trunk, v1.3.3.5
2015-01-01
18:39
Merge generic --attr with --deb-field lists. (Note: overly redundant in practice, but Debian Field: names should be case-insensitive for reading at least. Needs a more thorough look.) check-in: cee15912b1 user: mario tags: trunk
2014-12-31
20:34
Prepare --attr option, implicitly works in phar target; later to obsolete --deb-field flag. check-in: 566bd1d0fc user: mario tags: trunk
20:33
Minor cleanup, update comment, use :prefix for syspackages. check-in: a3f6f714dd user: mario tags: trunk
2014-12-30
17:55
Make -t target and -u filter list :multivalued - but still support comma-delimited param format. check-in: 22c5d67f15 user: mario tags: trunk
12:39
Use configurable :prefix, but predefine /usr/share/php still. Create individual staging_path subdir for convert()ed sub/packages to avoid inheriting e.g. deb- or phar-specific remnants for multi-target builds. check-in: e3d0ea78ff user: mario tags: trunk
12:37
Introduce @plugins for ensure/cleanup, instead of iterating just [input,output] to also catch filter plugins created inbetween. check-in: 2a683b3ca4 user: mario tags: trunk
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