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

⌈⌋ ⎇ branch:  cross package maker


Check-in [0acf568fb8]

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

Overview
Comment:Sufficient amount of commits for a minor bugfix release.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | v1.3.3.6
Files: files | file ages | folders
SHA1: 0acf568fb8788d24d9547d4f01df00eeee3df971
User & Date: mario 2015-04-14 17:58:58
Context
2015-04-15
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
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to CHANGELIST.
























1
2
3
4
5
6
7























1.3.3.5 (2015-01-04)
  - Cleanup of composer plugin for more isolated multi-target creation,
    configurable --prefix, supports php+phar alternatives in dependencies.
  - More complete path cleanups for plugin chains.
  - Update filters -u and target -t options can now be repeated (multivalued
    alternatively to list specifiers).
  - Introduce --attr flag to add control fields (aliases to --deb-field).
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

1.3.3.6 (2015-04-15)
  - Add an even more general update filter, which utilizes make scripts
    called `Packfile`. (Can be utilized for mid-packaging tweaks.)
  - Add mandatory `Source:` control field for DEB packages.
  - Guard absent documentation comment when reading -s src files.
  - Introduce brute force charset detection, assume UTF-8, else L1/ASCII.
  - Fix default file mode for write_changelog, and fix lintian bug with
    absent md5sum for stub changelog. Prepare parseable DEP-5 license list.
  - Introduce preprocessor filter utilizing preprocess.py.
  - Enhance -s src plugin with some relative target path inheritance.
    Absolute paths aren't modularizable yet. And be more precautious with
    comment syntax consistency.
  - Make -u fixperms ignore symlinks and chmod woes.
  - Composer target: strip VCS #hashversion suffixes. Reinstate RPM support
    with php-composer(vnd/pkg) serialization. Handle tilde, caret and
    asterisk specifiers more concretely. Downcase version suffixes for DEB.
    Add --composer-no-alt flag to avoid phar-|php- combinations.
  - Phar target: Add --phar-x flag for executable flag. Remove --phar-stub
    prefix path. Classmap building avoids chdir now, uses Canonic_Autoloader
    tokenizer implementation. Default attributes are better filtered.
  - Src plugin: retain invocation script as `main` file in attrs{}.

1.3.3.5 (2015-01-04)
  - Cleanup of composer plugin for more isolated multi-target creation,
    configurable --prefix, supports php+phar alternatives in dependencies.
  - More complete path cleanups for plugin chains.
  - Update filters -u and target -t options can now be repeated (multivalued
    alternatively to list specifiers).
  - Introduce --attr flag to add control fields (aliases to --deb-field).

Changes to lib/fpm/util.rb.

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
    process.io.stderr = stderr_w

    process.start
    stdout_w.close; stderr_w.close
    logger.debug('Process is running', :pid => process.pid)
    # Log both stdout and stderr as 'info' because nobody uses stderr for
    # actually reporting errors and as a result 'stderr' is a misnomer.
    logger.pipe(stdout_r => :info, stderr_r => :info)

    process.wait
    success = (process.exit_code == 0)

    if !success
      raise ProcessFailed.new("#{program} failed (exit code #{process.exit_code})" \
                              ". Full command was:#{args.inspect}")







|







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
    process.io.stderr = stderr_w

    process.start
    stdout_w.close; stderr_w.close
    logger.debug('Process is running', :pid => process.pid)
    # Log both stdout and stderr as 'info' because nobody uses stderr for
    # actually reporting errors and as a result 'stderr' is a misnomer.
    logger.pipe(stdout_r => :info, stderr_r => :error)

    process.wait
    success = (process.exit_code == 0)

    if !success
      raise ProcessFailed.new("#{program} failed (exit code #{process.exit_code})" \
                              ". Full command was:#{args.inspect}")

Changes to lib/fpm/version.rb.

1
2
3
module FPM
  VERSION = "1.3.3.5"
end

|

1
2
3
module FPM
  VERSION = "1.3.3.6"
end

Changes to templates/deb/changelog.erb.