Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #5242, comment 1


Ignore:
Timestamp:
06/16/2020 06:46:38 PM (4 years ago)
Author:
coreymckrill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5242, comment 1

    initial v1  
    1 The above patch adds a new `info` method to the `Tools\SVN` class. It also refactors a portion of the `export_and_parse_plugin` method in `CLI\Import` to use the new SVN method to find the correct location of the stable branch before running an export. Finally it uses the data from the new method to populate the plugin's "Last updated" timestamp.
     1The above patch adds a new `info` method to the `Tools\SVN` class. It also refactors a portion of the `export_and_parse_plugin` method in `CLI\Import` to use the new SVN method to find the correct location of the stable tag before running an export. Finally it uses the data from the new method to populate the plugin's "Last updated" timestamp.
    22
    33In testing, using **bin/import-plugin.php**, the "Last updated" was getting set to the correct value from the svn repo. One (possibly trivial) side benefit is that the refactor of the export process seems to have cut the time to process a single plugin in half--1.4 seconds vs 2.6 seconds on my sandbox.