nrueckmann / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

Composer can't download smarty/smarty v3.1.5 #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Console:
composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing smarty/smarty (v3.1.15)
    Checking out /tags/v3.1.15/@4782

[RuntimeException]                                                              

  Package could not be downloaded, svn: Server sent unexpected return value (502 Bad Gateway) in response to OPTIONS request for 'http://smarty-php.googlecode.com/svn/tags/v3.1.15'

What's wrong? what must i do?

Original issue reported on code.google.com by Siemieni...@gmail.com on 12 Dec 2013 at 12:51

GoogleCodeExporter commented 8 years ago
I resolved it.
add to composer.json:

"repositories": [
        {
            "type": "package",
            "package": {
                "name": "smarty/smarty",
                "version": "3.1.15",
                "dist": {
                    "url": "http://www.smarty.net/files/Smarty-3.1.15.zip",
                    "type": "zip"
                },
                "source": {
                    "url": "http://smarty-php.googlecode.com/svn/",
                    "type": "svn",
                    "reference": "tags/v3.1.15/distribution/"
                }
            }
        }
    ]

Please repair it, it's tiring and doesn't look fine!
Thanks, bye.

Original comment by Siemieni...@gmail.com on 12 Dec 2013 at 12:57

GoogleCodeExporter commented 8 years ago
The fix is now in the SVN and will be later included in 3.1.18

Original comment by Uwe.Tews@googlemail.com on 6 Apr 2014 at 7:09