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

Composer problem #23

Open
for2ne opened this issue Dec 17, 2013 · 8 comments
Open

Composer problem #23

for2ne opened this issue Dec 17, 2013 · 8 comments
Assignees

Comments

@for2ne
Copy link

for2ne commented Dec 17, 2013

Hi!
Loading composer repositories with package information
Updating dependencies (including require-dev)

  • Installing yiiext/twig-renderer (1.1.4)
    Cloning v1.1.4

    [RuntimeException]
    Failed to execute git checkout 'v1.1.4' && git reset --hard 'v1.1.4'

    error: pathspec 'v1.1.4' did not match any file(s) known to git.

@cebe
Copy link
Member

cebe commented Dec 17, 2013

try removing the yiiext/twig-renderer directory in vendor and run composer install again.
If it does not work, how does your composer.json look like?

@for2ne
Copy link
Author

for2ne commented Dec 17, 2013

removing doesn't help

composer.json look like :
http://screencloud.net/img/screenshots/631305e653e895291c282c32c6f54e28.jpg

@cebe
Copy link
Member

cebe commented Dec 17, 2013

you mix v1.1.4 and 1.1.4 notation there. but anyway you could have just asked for adding the repo to packagist and I'd have done it ;-)

@for2ne
Copy link
Author

for2ne commented Dec 17, 2013

I just copy it from README.md (install via composer) :)

@cebe
Copy link
Member

cebe commented Dec 17, 2013

yeah, just seen that. was not aware of that readme part :)
Added a composer.json and added the package to https://packagist.org/ but there seems to be a problem with the git tags as it is not working for packagist either. Need to check this later.
https://packagist.org/packages/yiiext/twig-renderer

@ghost ghost assigned cebe Dec 17, 2013
@for2ne
Copy link
Author

for2ne commented Dec 17, 2013

yeah, http://screencloud.net/img/screenshots/1aaebbb5385c5f06f9a04c2464bf9238.jpg
thx. will follow updates. I like composer :)

@ghost
Copy link

ghost commented Jun 13, 2014

reference (and version) should be "reference":"v1.1.15" for the latest version of this extension

$ ./composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing yiiext/twig-renderer (1.1.15)
    Cloning v1.1.15

Writing lock file
Generating autoload files

@mattstein
Copy link

Ditto what @nkamm said. The readme just needs to reference a valid release.

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

3 participants