Making WordPress.org

Changeset 3210


Ignore:
Timestamp:
05/23/2016 02:28:18 AM (10 years ago)
Author:
dd32
Message:

Plugin Directory: ZIPs: Budypress is allowed to have svn:externals as it's a sister project.

See #1578

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/zip/class-builder.php

    r3189 r3210  
    9191                $build_dir = "{$this->tmp_build_dir}/{$this->slug}/";
    9292
    93                 $res = SVN::export( $svn_url, $build_dir, array( 'ignore-externals' ) );
     93                $svn_params = array();
     94                // BudyPress is a special sister project, they have svn:externals.
     95                if ( 'buddypress' != $this->slug ) {
     96                        $svn_params[] = 'ignore-externals';
     97                }
     98
     99                $res = SVN::export( $svn_url, $build_dir, $svn_params );
    94100                if ( ! $res['result'] ) {
    95101                        throw new Exception( __METHOD__ . ': ' . $res['errors'][0]['error_message'], 404 );
Note: See TracChangeset for help on using the changeset viewer.