Commit Graph

2217 Commits

Author SHA1 Message Date
Jordan Sissel ccbdea4bb2 - Make the 'dir' source accept files sanely. Previously a plain file
input would make a directory but now it does not.
2011-02-07 23:25:28 -08:00
Jordan Sissel 9fafb17c92 fix syntax post-merge 2011-02-07 23:25:12 -08:00
Jordan Sissel 1558279025 Merge branch 'feature/exclude-files'
Conflicts:
	lib/fpm/builder.rb
2011-02-07 23:16:17 -08:00
Jordan Sissel 27fd1350f6 Merge branch 'feature/exclude-files'
Conflicts:
	lib/fpm/builder.rb
2011-02-07 23:13:28 -08:00
Jordan Sissel 11bac308bc Merge branch 'feature/exclude-files'
(also includes jay's -e (edit spec) branch)

Conflicts:
	lib/fpm/builder.rb
2011-02-07 18:40:43 -08:00
Jordan Sissel 76d3be7a97 - fpm --exclude now works decently. Relies on tar(1)'s --exclude flag. 2011-02-07 18:33:15 -08:00
Jordan Sissel bb91dd9949 - Start working on file exclusion 2011-02-07 17:38:18 -08:00
Jordan Sissel 182dfdd349 - Version bump for pull/6 2011-02-07 11:23:34 -08:00
Jordan Sissel aa933f65b3 - If iteration is nil, default to '1' for RPM
- Style cleanup
2011-02-07 10:52:06 -08:00
Jordan Sissel d666e07fa7 Merge branch 'master' of https://github.com/anthezium/fpm into pull/6 2011-02-07 10:43:18 -08:00
Jordan Sissel 6d660c7633 - version bump for pyr's -S patch (pull/7) 2011-02-07 10:31:59 -08:00
Pierre-Yves Ritschard 776941e964 Support for suffixes in gems. This allows building the same gems
for differents rubies (1.8, 1.9.2, ...).
2011-02-07 18:38:21 +01:00
anthezium ab1d71cc4a remove default iteration of 1, allowing it to be nil
updated default_output to properly handle nil iteration
2011-02-04 07:17:27 -08:00
anthezium 04c19be215 make iteration optional 2011-02-04 07:12:30 -08:00
anthezium 743c32c297 don't include hyphen after version if iteration is nil 2011-02-04 07:10:15 -08:00
Jeanine Adkisson 0fd0c0db38 option to edit the specfile before build 2011-02-02 10:05:43 -08:00
Jordan Sissel 28a6aabc38 - update docs
- bump version to match release
2011-02-01 10:01:12 -08:00
Jordan Sissel 36cbe52ecb - Disable AutoReqProv. it makes bad decisions too often. 2011-01-22 12:51:27 -08:00
Jordan Sissel 5ff5c24606 - Version bump 2011-01-22 10:56:33 -08:00
Jordan Sissel 6cce352951 - Add proper 'arch' support for rpm. 2011-01-22 10:56:15 -08:00
Jordan Sissel c0b48e3a19 - Version bump 2011-01-22 00:57:43 -08:00
Jordan Sissel 7e11b8380b - Fix gem tar building to include only the gem install dir
- Abort if rpmbuild fails so we can debug it.
- Fix dependency conversion for rpm
- Fix path prefixing so rpm accepts our list of files (rpm requires
  paths in %files section start with '/'
2011-01-22 00:55:53 -08:00
Jordan Sissel 343d8e08cf Merge branch 'master' of https://github.com/pyro/fpm into pull/3 2011-01-21 22:35:43 -08:00
Jordan Sissel 4948fc05c3 - Start working on npm source 2011-01-21 09:24:03 -08:00
Pierre-Yves Ritschard 922751497f fix fpm for ruby 1.9 2011-01-21 11:45:40 +01:00
Jordan Sissel 864f733c99 - Version bump 2011-01-20 17:40:55 -08:00
Jordan Sissel 49a2d7cdc0 - make it so we can download non-latest packages 2011-01-20 17:40:43 -08:00
Jordan Sissel 8f9f12563d - ignore the wiki 2011-01-20 16:39:59 -08:00
Jordan Sissel fbcc0c1770 - Bumpversion for release 2011-01-20 16:38:34 -08:00
Jordan Sissel edf7d37620 - Convert gem '~>' dependency versions to something deb understands. 2011-01-20 16:38:06 -08:00
Jordan Sissel d9c9d0b510 - Add support for rubygems 1.3.5 2011-01-20 16:35:59 -08:00
Jordan Sissel 18dad90a6d - only add dependencies if given 2011-01-20 15:34:34 -08:00
Jordan Sissel 1f1c5ac639 - Output the resulting package filename 2011-01-20 15:25:26 -08:00
Jordan Sissel b19c02d1c7 - fix method signatures 2011-01-20 12:45:22 -08:00
Jordan Sissel 34e39cc7b4 - Version bump for issue/2 fix. 2011-01-13 15:36:17 -08:00
Jordan Sissel 570098480c - Fix issue/2 - we were accidentally ignoring deps specified via
commandline.
2011-01-13 15:34:40 -08:00
Jordan Sissel a106f14ef3 - Add notes 2011-01-13 01:59:10 -08:00
Jordan Sissel b79241514b - Add example of building a python package to a .deb 2011-01-12 16:24:24 -08:00
Jordan Sissel d56ced7f30 - Add --prefix flag for prefixing paths before packaging. This is not
necessary for 'gem'.
  Example, package up /etc but install to /server/$(hostname) or
  something fun:
    fpm -s dir -t deb --prefix /server/$(hostname) /etc

  This is useful for packages/directories that you would prefer
  installed in a specific heirarchy.
2011-01-07 20:25:12 -08:00
Jordan Sissel d265bbe26a version bump 2011-01-07 16:13:24 -08:00
Jordan Sissel dce2dd1d7c - Fix version 'iteration' in package output
- some style fixups
- Allow gems to be versioned (fpm -s gem -t deb -v 1.0 somegem) will
  fetch somegem version 1.0
2011-01-07 16:10:56 -08:00
Jordan Sissel 5698ab33cf - ignore deps when fetching gem sources 2011-01-07 13:20:23 -08:00
Jordan Sissel ba9afb0088 - Fix dependency strings from gems to deb 2011-01-07 13:20:02 -08:00
Jordan Sissel 9fed385418 - Update readme 2011-01-07 02:38:07 -08:00
Jordan Sissel 01ac24bfdc - version bump 2011-01-07 01:44:03 -08:00
Jordan Sissel 1b44b1dbb2 - Allow downloading of gems if the given path is not a local file. 2011-01-07 01:34:54 -08:00
Jordan Sissel 3629870de8 - Make rpm target work
- Get fpm -s rpm -t rpm working (should provide a useful test case)
- Allow 'output' (-p <path>) to be a directory
2011-01-07 00:50:06 -08:00
Jordan Sissel 57a336ab71 - Read metadata for Source::RPM 2011-01-06 19:07:45 -08:00
Jordan Sissel f8443472d2 - Make source 'rpm' work. Can now convert RPM to DEB :) 2011-01-06 18:46:01 -08:00
Jordan Sissel 17e4d266c2 - Namespace targets and sources.
- Allow case-insensitive target/source names.
2011-01-06 18:39:58 -08:00