Skip to content

Notify user when no channel.xml is found #1

Description

@saltybeagle
$> php -d phar.readonly=0 pearscs.phar release /home/moacir/programming/php/phd-full/trunk/PhD-1.1.0.tgz moacir

PHP Fatal error:  Call to a member function saveRelease() on a non-object in phar:///home/moacir/programming/php/docweb/pearscs.phar/PEAR2_SimpleChannelServer-0.1.0/php/PEAR2/SimpleChannelServer/CLI.php on line 225

In this case, the channel was not found. When executing release package.tgz, notify the user if the channel was not found. SCS should display an error like, "Error, I don't know where the channel is. Either pass the path to the channel.xml file, or cwd to the root of the channel"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions