Skip to content

Can't download from source because svn not in path #94

Open
@taupecat

Description

@taupecat

I'm using this action to install WordPress plugins via composer using wpackagist.org. Today I ran into an issue where the ZIP distribution file was not available (so yes, there's a problem with this package and/or wpackagist, which is a separate issue…), so composer tries to download from source. WordPress being what it is, that source is SVN. But this action chokes because svn isn't in the path. Here's a truncated version of the output:

  - Downloading wpackagist-plugin/google-sitemap-generator (4.1.7)
    Failed to download wpackagist-plugin/google-sitemap-generator from dist: The "https://downloads.wordpress.org/plugin/google-sitemap-generator.4.1.7.zip" file could not be downloaded (HTTP/2 404 )
    Now trying to download from source

Error: svn was not found in your PATH, skipping source download
In SvnDownloader.php line 39:
                                                            
  svn was not found in your PATH, skipping source download  
                                                            

install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]

Error: Process completed with exit code 1.

Any help on this is greatly appreciated. Thank you.

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