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

Build Progress Bar (Trac #305) #532

Closed phing-issues-importer closed 7 years ago

phing-issues-importer commented 8 years ago

Could we have a progress bar that displays some sort of feedback that Phing is doing something please? So on a build that takes some time, the user is getting some sort of visual feedback, that Phing is actually working OK?

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

{
    "status": "assigned", 
    "changetime": "2016-10-09T08:14:46", 
    "description": "Could we have a progress bar that displays some sort of feedback that Phing is doing something please? So on a build that takes some time, the user is getting some sort of visual feedback, that Phing is actually working OK?\n", 
    "reporter": "anonymous", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1476000886285733", 
    "component": "phing-core", 
    "summary": "Build Progress Bar", 
    "priority": "minor", 
    "keywords": "", 
    "version": "2.3.2", 
    "time": "2008-11-10T14:11:26", 
    "milestone": "3.0", 
    "owner": "extraordinaire", 
    "type": "enhancement"
}
phing-issues-importer commented 8 years ago

Trac update at 20081118T08:32:57:

This wouldn't be trivial, since there currently is no mechanism for individual tasks to record or report their progress. Interesting idea though!

  • mrook changed milestone from "" to "3.0"
phing-issues-importer commented 8 years ago

Trac update at 20100126T19:58:18:

phing-issues-importer commented 8 years ago

Trac update at 20150203T17:07:36: piotr.sobieszczanski@gmail.com commented:

any changes from last answer??

phing-issues-importer commented 8 years ago

Trac update at 20150204T21:20:54: mrook commented:

None yet, but a pull request is definitely welcome!

phing-issues-importer commented 8 years ago

Trac update at 20151015T21:49:24: frans@youngskilled.com commented:

A perfect example where this would make sense is the ZendGuardEncodeTask here: https://www.phing.info/trac/browser/classes/phing/tasks/ext/zendguard/ZendGuardEncodeTask.php#L413

Which actually enhances experience of ZendGuard due to the fact that you don't tend to run each file separately when using ZendGuard's native XML-pattern file. But since this happens with Phing, it should be possible to add this as an option here. Maybe as an option to the ZendGuardEncodeTask or a general options to be able to extend it further. Thoughts?

phing-issues-importer commented 8 years ago

Trac update at 20151205T10:38:43: mrook changed milestone from "Icebox" to "3.0"

phing-issues-importer commented 8 years ago

Trac update at 20161007T08:28:55:

Milestone renamed

  • mrook changed milestone from "3.0" to "4.0"
phing-issues-importer commented 8 years ago

Trac update at 20161009T08:14:46: mrook changed milestone from "4.0" to "3.0"

mrook commented 7 years ago

There is now an initial implementation, a logger which covers targets and tasks. Progress reports inside tasks is something else, and probably out of scope for now.

The logger can be used by invoking phing -listener phing.listener.ProgressLogger.