镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

gp weirdness #1

Open
Open

Description

@till

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?

Activity

  1. ghost assigned on Jul 12, 2011
  2. saltybeagle commented on Sep 12, 2011

    @saltybeagle
    Member

    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.

  3. reopened this on Sep 21, 2011
  4. till commented on Sep 21, 2011

    @till
    MemberAuthor

    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

Metadata

Metadata

Assignees

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