Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify user when no channel.xml is found #1

Open
saltybeagle opened this issue Mar 8, 2011 · 0 comments
Open

Notify user when no channel.xml is found #1

saltybeagle opened this issue Mar 8, 2011 · 0 comments

Comments

@saltybeagle
Copy link
Member

$> 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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant