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

Issue with Gush #62

Closed
cryptiklemur opened this issue Mar 5, 2014 · 6 comments
Closed

Issue with Gush #62

cryptiklemur opened this issue Mar 5, 2014 · 6 comments

Comments

@cryptiklemur
Copy link
Contributor

with the following composer.json file in global

{
    "require": {
        "gushphp/gush-github-adapter": ">=1.0.2",
        "gushphp/gush": ">=1.3.9"
    }
}

I'm getting this when i try to create an issue

PHP Fatal error:  Class 'Symfony\Component\Filesystem\Filesystem' not found
in /Users/ascherer/.composer/vendor/gushphp/gush/src/Gush/Helper/EditorHelper.php
on line 36

Fatal error: Class 'Symfony\Component\Filesystem\Filesystem' not found in
/Users/ascherer/.composer/vendor/gushphp/gush/src/Gush/Helper/EditorHelper.php
on line 36
@cordoval
Copy link
Member

cordoval commented Mar 5, 2014

oh true
the filesystem was not in
we should add it as a requirement because EditorHelper uses it

mind throwing the first stone?

@cordoval
Copy link
Member

cordoval commented Mar 6, 2014

after the merge is this still an issue @aequasi if not i will try to solve this today, i know is frustrating because of the updates in packagist and composer mismatch

@cordoval
Copy link
Member

cordoval commented Mar 6, 2014

~ composer install                                                                                               Luiss-MacBook-Pro-3 [6:02:56]
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing gushphp/gush (v1.3.9)
    Downloading: 100%

  - Installing gushphp/gush-github-adapter (1.0.2)
    Downloading: 100%

  - Installing symfony/console (v2.4.2)
    Downloading: 100%

  - Installing herrera-io/version (1.1.0)
    Loading from cache

  - Installing seld/jsonlint (1.1.2)
    Loading from cache

  - Installing justinrainbow/json-schema (1.3.6)
    Loading from cache

  - Installing herrera-io/json (1.0.3)
    Loading from cache

  - Installing herrera-io/phar-update (2.0.0)
    Loading from cache

  - Installing kherge/amend (3.0.3)
    Loading from cache

  - Installing ddd/slug (v1.0)
    Loading from cache

  - Installing symfony/event-dispatcher (v2.4.2)
    Loading from cache

  - Installing guzzle/guzzle (v3.8.1)
    Loading from cache

  - Installing knplabs/github-api (1.2.1)
    Loading from cache

  - Installing symfony/yaml (v2.4.2)
    Loading from cache

  - Installing symfony/process (v2.4.2)
    Loading from cache

symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
knplabs/github-api suggests installing knplabs/gaufrette (Needed for optional Gaufrette cache)
Writing lock file
Generating autoload files

and

~ php vendor/bin/gush                                                                                            Luiss-MacBook-Pro-3 [6:04:12]
Gush version @package_version@

Usage:
  [options] command [arguments]

Options:
  --help           -h Display this help message.
  --quiet          -q Do not output any message.
  --verbose        -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  --version        -V Display this application version.
  --ansi              Force ANSI output.
  --no-ansi           Disable ANSI output.
  --no-interaction -n Do not ask any interactive question.

Available commands:
  configure                      Configure the github credentials and the cache folder
  help                           Displays help for a command
  label                          Labels issues/pull requests
  list                           Lists commands
  update                         Updates the application.
branch
  branch:changelog               Reports what got fixed or closed since last release on current branch
  branch:delete                  Deletes remote branch with the current or given name
  branch:fork                    Forks current upstream repository
  branch:sync                    Syncs local branch with its upstream version
issue
  issue:close                    Closes an issue
  issue:create                   Creates an issue
  issue:label:list               Lists the issue's labels
  issue:list                     List issues
  issue:list:milestones          Lists the issue's milestones
  issue:show                     Shows given issue
  issue:take                     Takes an issue
pull-request
  pull-request:create            Launches a pull request
  pull-request:fabbot-io         Run fabbot-io patches on given PR
  pull-request:fixer             Run cs-fixer and commits fixes
  pull-request:merge             Merges the pull request given
  pull-request:pat-on-the-back   Gives a pat on the back to a PR's author
  pull-request:semver            Provides information about the semver version of a pull request
  pull-request:squash            Squashes all commits of a PR
  pull-request:switch-base       Switch the base of the PR to another one
  pull-request:version-eye       Update composer.json dependency versions from versioneye service
release
  release:create                 Create a new Release
  release:list                   Lists the releases
  release:remove                 Removes a release
cordoval•/Users/cordoval/Sites/libs/test/gush-test»

@cordoval cordoval closed this as completed Mar 6, 2014
@cordoval
Copy link
Member

cordoval commented Mar 6, 2014

@kherge i wonder what to do about when one clones the repo with composer

~ php vendor/bin/gush                                                                                            Luiss-MacBook-Pro-3 [6:04:12]
Gush version @package_version@

maybe a dynamic replacement there?

@ghost
Copy link

ghost commented Mar 6, 2014

For Box, Amend is disabled (the command and helper are not registered) when it is installed via Composer. The update library serves no purpose when used this way. As for how you display the version, that's up to you. I display (repo) while I think phpDocumentor has it hardcoded in the source code.

@cordoval
Copy link
Member

cordoval commented Mar 6, 2014

thanks so i guess i just display (clone repo) or something thanks!

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

2 participants