Nikerabbit has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/396017 )
Change subject: RepoNG: Remove username convresion feature ...................................................................... RepoNG: Remove username convresion feature I accidentally broke it, and now it is no longer required Change-Id: I070c8e9a862e6fce435c79ad1cbcf1172ccb29da --- M repong/repong.php 1 file changed, 0 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/translatewiki refs/changes/17/396017/1 diff --git a/repong/repong.php b/repong/repong.php index ac7462d..5ebfd17 100644 --- a/repong/repong.php +++ b/repong/repong.php @@ -16,9 +16,6 @@ abstract class RepoNgCommand extends Command { protected $bindir; protected $config; - protected $usernameConversion = [ - 'nike' => 'nikerabbit', - ]; protected $parallelism = 1; protected $base; protected $defaultVariant; @@ -272,11 +269,6 @@ } if ( $type === 'git' ) { - $userName = $this->usernameConversion[ $userName ] ?? get_current_user(); - - $repoUrl = $repo['url']; - $repoUrl = str_replace( 'USERNAME', $userName, $repoUrl ); - $command = "$bindir/clupdate-git-repo '$repoUrl' '$base/$name' '$branch'"; } elseif ( $type === 'github' ) { $command = "$bindir/clupdate-github-repo '{$repo['url']}' '$base/$name' '$branch'"; -- To view, visit https://gerrit.wikimedia.org/r/396017 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I070c8e9a862e6fce435c79ad1cbcf1172ccb29da Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits