Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

gp weirdness #1

Open
till opened this Issue · 2 comments

2 participants

@till
Owner

So I was in my ~/workspaces dir trying to create a new package:

php pyrus.phar gp Services_Foo/
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at /home/till/PEAR2/Pyrus
Creating package.xml...PEAR2\Pyrus\PackageFile\Exception: Invalid package.xml
PEAR2\Pyrus\Validate\Exception: Channel validator error: field "package" - package name "PEAR2_Services_Foo/" is invalid

It's not exactly clear what the parameters are. E.g. I was assuming that it must be a path, but obviously it's the package name.

So maybe we can improve the API and the help docs?

@till till was assigned
@saltybeagle
Owner

Hmm, here's the documentation for the command, http://pear.php.net/manual/en/pyrus.commands.generatepear2.php

pyrus help generate-pear2 also has all the details.

@till till reopened this
@till
Owner

I'd vote for one single use case vs 3 paragraphs of text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.