Changes between Initial Version and Version 1 of Ticket #5242, comment 1
- Timestamp:
- 06/16/2020 06:46:38 PM (5 years ago)
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 branchbefore running an export. Finally it uses the data from the new method to populate the plugin's "Last updated" timestamp.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 tag before running an export. Finally it uses the data from the new method to populate the plugin's "Last updated" timestamp. 2 2 3 3 In 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.