{5} Assigned, Active Tickets by Owner (Full Description) (11 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

bender

Ticket Summary Component Milestone Type Created
Description
#248 Extend taskdef task to allow property file style imports phing-tasks-system 2.3.2 enhancement 05/13/08

Make inclusion of multiple custom tasks easier by extending the taskdef task to accept a "file" attribute to read task names and classes from a property file much like the defaults.properties file.


#247 New task: Import phing-core 2.3.2 task 05/13/08

Port of the ant import task which allows a phing build.xml file to inherit configuration from another complete or skeletal build file. This allows organizations that maintain multiple phing projects with similar configuration to share build configuration and targets via inheritance rather than copy-n-paste.


hans

Ticket Summary Component Milestone Type Created
Description
#226 <move> task doesn't support filters phing-tasks-system 2.3.1 defect 02/24/08

As reported by Raphael Scott on mailing list:

While running some old build files developed prior to the current 2.3.0 release(no svn, just stable PEAR package) I encountered some weird replace tokens behaviour. Even tried to pull them out of a bigger build file with not even more success to track it down. Even ran this build fie on a win32 box and a mac osx box and didn't work on both.

Sorry maybe I'm just to waisted due to the later hour and thereby not getting it, but otherwise I also could have been stumbled into a (already reported?) bug.

Shouldn' t the following test target produce the text 'Some text with two tokens: 1st Token followed by a 2nd Token' when applied to the move task context and get written into the file moved to?

<?xml version="1.0" encoding="utf-8" ?>
<project name="test" basedir="." default="test">

  <property name="one" value="1st Token" />
  <property name="two" value="2nd Token" />

  <property name="text">Some text with two tokens: @@TOKEN_ONE@@ followed by a @@TOKEN_TWO@@</property>

  <target name="test">
    <echo msg="${one}" />
    <echo msg="${two}" />
    <echo msg="${text}" />

    <echo file="template.txt">${text}</echo>

    <move file="template.txt" tofile="text-with-tokens-replaced.txt">
      <filterchain>
        <replacetokens begintoken="@@" endtoken="@@">
          <token key="TOKEN_ONE" value="${one}" />
          <token key="TOKEN_TWO" value="${two}" />
        </replacetokens>
      </filterchain>
    </move>
  </target>

</project>

#188 Add namespaces to Phing phing-core 3.0 enhancement 11/15/07

As also expressed in #86, Phing needs namespaces! Thank you, PHP 5.3, for making this possible.


#204 Resolve task class names with PEAR/ZEND/etc. naming convention phing-core 2.3.1 enhancement 12/24/07

I'm creating specific tasks which are put in our own code repository, e.g. MyRepos. All our classes follow the prominent naming convention of class name matches directory to filename, e.g. MyRepos/Some/File.php requires the class MyRepos_Some_File being in File.php .

Now <taskdef> supports providing a classname but only has one rule to instantiate the class, namely by it right-most name before the first dot. So when I provide

<taskdef name="mytask" classname="MyRepos.Phing.OurOwnTask">

only OurOwnTask is tried to be instantiated. With the attached patch, when this resolution fails, the classname dots are converted to underscores and then the class is tried to instantiate, in this example MyRepos_Phing_OurOwnTask .

Since the naming convention I'm using is quite common, it shouldn't be seen as too specific and maybe of interest for phing in general. I hope :)

Patch is against 2.3 branch. I'm aware of #188 but still think this could be integrated already.


#221 Support for copying symlinks as is phing-core enhancement 02/16/08

Currently when the CopyTask encounters symlink to a file, it copies it as if it was an ordinary file (thus creating two files in the destination directory where there were only one file + one symbolic link to it in the source directory).

The attached patch (against svn HEAD) adds support for copying symlinks as is (thus they will remain symlinks in the destination directory).

Notes: 1) I did not test it on Windows (though it should degrade gracefully) 2) It fails on symbolic links to directories (they become copies in the destination directory). 3) It is somewhat dirty as it passes the $resolveSymlinks flag from CopyTask to FileUtils to File to FileSystem - I couldn't find more elegant approach 4) I filed it under phing-core category because the main changes were in the core, not in the CopyTask itself.


#60 Phing Doesn't Fail When PhpDoc Task Fails phing-tasks-ext 3.0 enhancement 01/25/07

Phing does not fail when a Phpdoc child task itself fails, and I can't tell from the manual that there is any way to tell Phing to fail when the PhpDoc task fails.

I've tested this several ways:

  • put bad values in phpdoc's args, to force an "ERROR" message from phpdoc itself;
  • kill the php process while phpdoc was running;
  • phpdoc threw an malloc() failure due to low memory;

In all cases, Phing just keeps going like the phpdoc task finished successfully. I even put two phpdoc tasks in the same phing target, thinking perhaps the target would fail after the first phpdoc task failed, but no, it went right on to the second phpdoc task.

Shouldn't it be reporting a build failure when the phpdoc task failed, or is this an enhancement that needs to be added to Phing? Or, worse, is Phing already supposed to fail but Phpdoc is returning a success exit code even when it itself fails?


#229 CopyTask shoul accept filelist subelement phing-tasks-system enhancement 02/28/08

It would be great to be able to use FileList as well as FileSet while copying. DeleteTask, for example, accepts both.


mrook

Ticket Summary Component Milestone Type Created
Description
#187 ExecTask attribute "passthru" to make use of the PHP function "passthru" phing-tasks-system 2.3.1 enhancement 11/14/07

I'm setting this ticket type initially to "enhancement" because I feel it may have been deliberate to have the "passthru" attribute behave the way it does in phing 2.3.0.

However, it was a bit misleading to me for when I searched for some way to have ExecTask allow the shell command it was executing to stream the command output to stdout. The "passthru" attribute seems to only change the output of the shell command after all of it has been collected in a buffer because it makes use of the PHP function "exec":

http://us2.php.net/manual/en/function.exec.php

I'd like to propose that the "passthru" attribute when set to "true" make use of the PHP function "passthru":

http://us2.php.net/manual/en/function.passthru.php

Because there are many situations where the command that is executed by ExecTask may prompt the user for input and because of the behaviour of "exec", the user sees no prompt until the buffer has been flushed to stdout.

Let me know if you need a patch to the ExecTask code or if you need more details on the request for enhancement.

Cheers, Andrew


#196 Addition of testdox to phpunit task phing-tasks-phpunit enhancement 12/09/07

Hi,

PHPUnit supports agile documentation in testdox format, but it isn't currently possible to call this from Phing. I've been hacking on a local copy of Phing and have managed to add a testdox formatter as a listener, which writes to a file. I haven't done any work on the build.xml side of things - I just have it turned on by default because that's all I need.

Is this something that would be beneficial, and suitable for inclusion in a future release? If it is, I can polish it up and add config support. I was thinking maybe an attribute of the phpunit task?

The change involves adding a listener that writes to the php://temp stream, before finally writing it to the output file. This method seems to be the only way because of how the TestDox code is implemented, without a "do not write option". I also had to subclass the PHPUnit Report Printer as its flush method closes the stream by default, before the phing listener has a chance to write it. Finally, I added testdox as a new type of FormatterElement.

I tried to follow Phing's coding and naming style, but that can obviously change if necessary.

I should mention that it's only tested and working with PHPUnit 2 so far. It also only currently supports the text version, not html.

I'll attach what I have so far so you can see what I'm talking about. No patches just yet as I've just hacked on the current release version.

Let me know what you think,

Cheers,

Jamie.


#209 Cache the results of PHPLintTask so as to not check unmodified files phing-tasks-system 2.3.1 enhancement 01/09/08

Our particular build strategy is as follows:
* build depends upon clean, lint
* build assembles files for web-visibility
* build calls smoketest
* build is called after each update

So, a developer makes a change, runs "phing build", which does a clean, a lint, then builds the files in the right web directory, and finally runs some smoke tests. The source code often contains third party libraries that we usually don't touch. Sometimes these libraries have hundreds of files.

Linting all of these third-party source files each and every time seriously hurts our cycle time: sometimes 20-30 seconds are added. It would be very nice for the PHPLintTask to remember which files it's already linted and only lint those that have been modified. Even build cycles that aren't as frequent as ours could benefit from caching (why work if you don't have to).

I suppose the cache directory should be a part of the lint element. Like this:

<phplint haltonfailure="true" cachefile="/tmp/phplintcache"> ... </phplint>

When cachefile is absent, phplint behaves as it does currently. When present, phplint checks to see if the file has been modified since last cache and lints if so, then stores file name and modification time into cache file after a successful lint.

If this is a reasonable approach, and an approved ticket, we can implement. Just give us the green light.


Note: See TracReports for help on using and creating reports.