Making WordPress.org


Ignore:
Timestamp:
03/13/2017 05:56:27 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: ZIPs: Do not build zips on demand, instead store them within a SVN repository.

See #1578

File:
1 edited

Legend:

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

    r4563 r5147  
    3434        $changed_tags = isset( $plugin_data['tags_touched'] ) ? $plugin_data['tags_touched'] : array( 'trunk' );
    3535
     36        $revision = isset( $plugin_data['revisions'] ) ? max( (array)$plugin_data['revisions'] ) : false;
     37
    3638        try {
    3739            $importer = new CLI\Import;
    38             $importer->import_from_svn( $plugin_slug, $changed_tags );
     40            $importer->import_from_svn( $plugin_slug, $changed_tags, $revision );
    3941        } catch( Exception $e ) {
    4042            fwrite( STDERR, "[{$plugin_slug}] Plugin Import Failed: " . $e->getMessage() . "\n" );
Note: See TracChangeset for help on using the changeset viewer.