Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#318 closed defect (wontfix)

d51PearPkg2Task: <ignore> does not ignore symlinked files

Reported by: cweiske@… Owned by: mrook
Priority: major Milestone: 2.4.0RC1
Component: phing-core Version: 2.3.2
Keywords: Cc:

Description

The d51pearpkg2 task does not ignore files that are symlinks. Could have to do with #298.

Even if d51pearpkg2 is externally, it should be handled here.

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by cweiske@…

There is also a bug in d51PearPkg2Task.php: Around line #658 code should be:

        foreach ($this->_options['ignore'] as $key => $ignore) {
            $this->_options['ignore'][$key] = (string)$ignore;
        }

(['ignore'] was missing)

comment:2 Changed 5 years ago by cweiske@…

The problem comes from PEAR/PackageFileManager/File.php which uses realpath() on the files.

comment:3 Changed 5 years ago by cweiske@…

function _checkIgnore(..) -> remove the realpath() call.

comment:4 Changed 5 years ago by cweiske@…

The issues is reported in PEAR: http://pear.php.net/bugs/bug.php?id=15244

comment:6 Changed 5 years ago by mrook

  • Milestone set to 2.4.0
  • Owner changed from hans to mrook
  • Status changed from new to assigned

comment:7 Changed 5 years ago by mrook

  • Resolution set to wontfix
  • Status changed from assigned to closed

Since the upstream bug seems to be fixed, and d51PearPkg2Task is not (yet) part of Phing, I'm closing this ticket.

Add Comment

Modify Ticket

Action
as closed The owner will remain mrook.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.