Arbit - project tracking

Dwoo

#47: Privide a phar file

Issue revisions

  • new by Stephan Wentz at 2009-O-27 14:22
  • new by Stephan Wentz at 2009-O-27 14:22
  • new by Stephan Wentz at 2009-O-27 14:22
  • new by Stephan Wentz at 2009-O-27 14:22
Type bug bug
State new new
Priority normal normal
Resolution none none
Assigned to Nobody
Scheduled for 1.2.0
Affected versions
Affected components
Last change Tuesday 27 October 2009 14:22:41 UTC by Stephan Wentz

It might be a good idea to provide a phar-file for usage with PHP 5.3+

  • Andreas Rogge at Monday 21 December 2009 15:44:48 UTC

    I hacked a phar-builder together and changed the Dwoo_Loader (globs don't seem to work in PHARs). I also wrote a decent stub that registers the autoloader when you include() the phar. I wanted to run the tests, but I don't have has a chance to install PHPUnit yet, so you'll probably want to make sure I didn't break anything else.

  • Andreas Rogge at Monday 21 December 2009 15:51:20 UTC

    Sorry... that last patch was (somewhat) wrong (my Loader.php was too old). This one is correct (at least I hope so).

  • Denis Arh at Tuesday 22 December 2009 08:09:36 UTC

    Well... how did I miss this one? :)

    I've sent my version of patch (phar-compatible) Dwoo_Loader (attached) to Jordi a couple of days back.

  • Jordi Boggiano at Sunday 24 January 2010 03:42:54 UTC

    Heya both, thanks for the contribution, due to the issue tracker change I kinda lost track of who posted what attachment, so if anyone can let me know what is what, that'd be nice. Otherwise I'll figure it out myself eventually but it's too late for that now.

  • Jordi Boggiano at Friday 5 March 2010 21:36:40 UTC

    Heya, any news on this? If anyone has the time to review both patches and make a new one with the best of both worlds (and also up to date with recent trunk changes) it would be really great since I don't have much time.