Skip to content

Incorrect SVN references for themes #25

@tangrufus

Description

@tangrufus

Version

107df97

What did you expect to happen?

Tagged theme versions' source point to https://themes.svn.wordpress.org/<the-slug>/<the-tag>/, e.g: https://themes.svn.wordpress.org/twentytwentyfive/1.4/

What actually happens?

Tagged theme versions' source point to https://themes.svn.wordpress.org/<the-slug>/tags/<the-tag>/, e.g: https://themes.svn.wordpress.org/twentytwentyfive/tags/1.4/

Steps to reproduce

composer create-project roots/bedrock bedrock 1.30.0
cd bedrock
composer reinstall --prefer-source wp-theme/twentytwentyfive

Log output

- Removing wp-theme/twentytwentyfive (1.4)
Deleting /Users/work/Desktop/dddd/bedrock/web/app/themes/twentytwentyfive/ - deleted
  - Installing wp-theme/twentytwentyfive (1.4):  Checking out tags/1.4
    Install of wp-theme/twentytwentyfive failed

In SvnDownloader.php line 122:

  wp-theme/twentytwentyfive could not be downloaded, svn: E170000: URL 'https://themes.svn.wordpress.org/twentytwentyfive/tags/1.4' doesn't exist


reinstall [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--no-autoloader] [--no-progress] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--type TYPE] [--] [<packages>...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions