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 most recent check-ins

2015-05-05
12:07
Add crude Python bdist_wheel generation method. Only tested with singular packages. Hack to relocate single module scripts into pkgname subdir + stub __init__.py. Otherwise relies on -s src or -s dir file relocation. Would require more complete `setup.py` creation to package anything more useful. Leaf check-in: d275f1986b user: mario tags: trunk
12:05
Update notes, no longer using custom etcfiles() scanning; default to --config-files list. check-in: 2a6b544a7a user: mario tags: trunk
2015-05-01
22:40
Retain more attributes: provides=, conflicts=, config_files as backup=, deb_recomends as optdepends=, update_filter as makepkgopt= for arch .PKGINFO check-in: 275407c9b1 user: mario tags: trunk
02:17
Add architecture mapping, limit mode per & 07777. check-in: 32632f2a8d user: mario tags: trunk
2015-04-30
23:54
New `-t arch` output package module. (Arch Linux binary tarballs with .PKGINFO and .MTREE meta files.) check-in: 006fa58cfa user: mario tags: trunk
2015-04-17
22:14
Add --zip-shebang option, useful for making Python zip apps (pyz). check-in: 11e5c12d1d user: mario tags: trunk
2015-04-15
18:32
Add convenience PKG_FLAG variation (uppercase pkg type) for preprocessor usage. check-in: 863ccf8053 user: mario tags: trunk
15:54
Workaround for ENV variables never showing up in make Packfile. And only take first entry from :output_type (if it's an -t deb,rpm,zip list). check-in: 732b03f50f user: mario tags: trunk
2015-04-14
17:58
Sufficient amount of commits for a minor bugfix release. check-in: 0acf568fb8 user: mario tags: trunk, v1.3.3.6
15:49
Even more generalized update filter method using `Packfile` makescripts. check-in: 3dadae671a user: mario tags: trunk
01:05
Add `Source:` control field (because: "mandatory"). check-in: 174e99a253 user: mario tags: trunk
01:02
Guard absent meta["comment"]. check-in: e6f0cd3d11 user: mario tags: trunk
2015-03-29
16:38
Catch str=nil in brute_force_charset. check-in: 9f7670f6f8 user: mario tags: trunk
16:38
Default to mode 755 for /usr/share/doc/*/ creation in write_changelog. check-in: 6c7f065292 user: mario tags: trunk
2015-02-26
19:28
Typo `str` in brute_force_charset check-in: 4dced2eeda user: mario tags: trunk
2015-02-25
19:33
Assume src meta fields as UTF-8, fallback to L1 or ASCII. check-in: 0365fe62c5 user: mario tags: trunk
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