phingofficial / phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.
https://www.phing.info
GNU Lesser General Public License v3.0
1.16k stars 319 forks source link

Implement (optional) compatibility layer (Trac #1164) #570

Closed phing-issues-importer closed 6 years ago

phing-issues-importer commented 8 years ago

As a result of the comments in https://www.phing.info/trac/ticket/188, add a compatibility layer to allow legacy custom tasks to function in Phing 3.0:

Migrated from https://www.phing.info/trac/ticket/1164

{
    "status": "new", 
    "changetime": "2016-10-07T08:28:55", 
    "description": "As a result of the comments in #188, add a compatibility layer to allow legacy custom tasks to function in Phing 3.0:\n\n- allows (most? define) existing custom tasks to run without changes, either by adding a few dummy classes in the global namespace, or running tasks within a separate namespace (is this possible)\n- is turned off by default\n- can be enabled from the command line ('phing -compat' or something similar)\n\n", 
    "reporter": "mrook", 
    "cc": "mp@webfactory.de", 
    "resolution": "", 
    "_ts": "1475828935569836", 
    "component": "phing-core", 
    "summary": "Implement (optional) compatibility layer", 
    "priority": "minor", 
    "keywords": "", 
    "version": "devel", 
    "time": "2015-01-20T17:06:27", 
    "milestone": "4.0", 
    "owner": "mrook", 
    "type": "enhancement"
}
phing-issues-importer commented 8 years ago

Trac update at 20150121T13:33:24: mp commented:

Alternatively, we could add a forwards-compatibility layer in 2.x once 3.x is stable enough.

That way, users could start migrating their buildfiles and codebase while still at 2.x. And we don't need to keep a legacy layer around in 3.x upwards.

phing-issues-importer commented 8 years ago

Trac update at 20161007T08:28:55:

Milestone renamed

  • mrook changed milestone from "3.0" to "4.0"
siad007 commented 6 years ago

@mrook Is this issue still of interest?

mrook commented 6 years ago

It might be, because of the incompatibilities between 2 and 3. However, some of those are not trivial to build a compat layer for. I guess we'll have more/better info about that once we release RC1?

mrook commented 6 years ago

Closing this issue for now, let's re-open if we find a need after releasing RC1.