[
http://jira.codehaus.org/browse/MUNIX-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trygve Laugstol updated MUNIX-18:
---------------------------------
Assignee: Trygve Laugstol
Fix Version/s: 1.0-alpha-4
> Simplify the script mechanism
> -----------------------------
>
> Key: MUNIX-18
> URL: http://jira.codehaus.org/browse/MUNIX-18
> Project: Maven 2.x Unix Plugin
> Issue Type: Improvement
> Reporter: Trygve Laugstol
> Assignee: Trygve Laugstol
> Fix For: 1.0-alpha-4
>
>
> Currently the one way to use scripts is designed to fit all use cases, which
> is like this:
> {code}
> src
> main
> unix
> scripts
> common
> {pre,post}-{install,remove}
> dpkg
> {pre,post}{inst,rm}
> pkg
> {pre,post}{install,?}
> {code}
> This is both odd and cumbersome for users only having a single format, and a
> single package.
> Suggested solution for single format, single package:
> {code}
> dpkg:
> src
> main
> unix
> scripts
> {pre,post}{inst,rm}
> pkg:
> src
> main
> unix
> scripts
> {pre,post}{install,?}
> {code}
> Suggested solution for single format, multiple packages:
> {code}
> dpkg:
> src
> main
> unix
> scripts
> {pre,post}{inst,rm}
> pkg1-{pre,post}{inst,rm}
> pkg2-{pre,post}{inst,rm}
> {code}
> The first variant would be like the "common" one today. The common files
> would be prepended to the package-specific versions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email