Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quietone created an issue. See original summary.

quietone’s picture

Status: Active » Needs review
FileSize
1.36 KB
phenaproxima’s picture

Assigned: Unassigned » phenaproxima

Self-assigning for review.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

phenaproxima’s picture

Status: Needs review » Needs work
  1. +++ b/core/modules/migrate/src/Plugin/migrate/process/MachineName.php
    @@ -11,13 +11,26 @@
    + * The machine_name process plugin takes the source value, runs it over the
    

    s/source/input. And let's say either "runs it through the transliteration service" or "transliterates it".

  2. +++ b/core/modules/migrate/src/Plugin/migrate/process/MachineName.php
    @@ -11,13 +11,26 @@
    + * or a letter with an underscore and removes duplicate underscores. It's very
    + * often followed by one of the deduplication plugins.
    

    Not sure if the last sentence is helpful or confusing. Maybe we should axe it?

Winthropian’s picture

Status: Needs work » Needs review
Issue tags: +SprintWeekend2017
FileSize
1.73 KB

Refined text

phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

I reviewed this carefully in person at Boston sprint weekend. RTBC assuming the tests pass (and why wouldn't they). Thanks, @Winthropian!

tstoeckler’s picture

+++ b/core/modules/migrate/src/Plugin/migrate/process/MachineName.php
@@ -11,13 +11,28 @@
+ * the transliteration service. This makes the source value lowercase, ¶
+ * replaces anything that is not a number or a letter with an underscore, ¶
...
+ * Letters will have language decorations and accents removed. ¶

Trailing whitespace.

Leaving RTBC in the hope that that can be fixed on commit.

xjm’s picture

Version: 8.4.x-dev » 8.3.x-dev

Straightforward code documentation improvements can always go into any patch release, alpha, beta, or RC, so please always file them against the production branch (currently 8.3.x). Thanks!

xjm’s picture

Status: Reviewed & tested by the community » Needs work

This patch has some trailing whitespace that needs to be cleaned up.

xjm’s picture

Or what @tstoeckler said, yes. Sorry, missed the comment. In general, committers editing things on commit is undesirable, and in the case of this patch, which is not urgent, the patch author can learn from it for future patches also. :)

MaskyS’s picture

Status: Needs work » Needs review

Removed whitespaces.

MaskyS’s picture

Removed whitespaces.

phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

Nothing objectionable here. Thanks!

xjm’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/modules/migrate/src/Plugin/migrate/process/MachineName.php
@@ -11,13 +11,28 @@
+ * If the value of foo in the source is áéí! then the destination value of bar
+ * will be aei_.

Hm, I thought I posted this feedback already but apparently I did not! Can we put single quotes around the example values? I got confused by it the first time I read it. Thanks!

jofitz’s picture

Status: Needs work » Needs review
FileSize
638 bytes
1.4 KB

Added single quotes as requested by @xjm.

phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

Looks made right. Thanks, @Jo Fitzgerald.

  • xjm committed 89a9510 on 8.4.x
    Issue #2845484 by Jo Fitzgerald, quietone, Kifah Meeran, Winthropian,...
xjm’s picture

Status: Reviewed & tested by the community » Fixed

Thanks all! Committed to 8.4.x and cherry-picked to 8.3.x.

  • xjm committed 11d8dc9 on 8.3.x
    Issue #2845484 by Jo Fitzgerald, quietone, Kifah Meeran, Winthropian,...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.