Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894194
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/scripts/celerity_mapper.php b/scripts/celerity_mapper.php
deleted file mode 100755
index 08be4b3ef1..0000000000
--- a/scripts/celerity_mapper.php
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-echo "This script is obsolete. Run `bin/celerity map` instead.\n";
-exit(1);
diff --git a/scripts/differential/remove_empty_revisions.php b/scripts/differential/remove_empty_revisions.php
deleted file mode 100755
index 3588890171..0000000000
--- a/scripts/differential/remove_empty_revisions.php
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-$root = dirname(dirname(dirname(__FILE__)));
-require_once $root.'/scripts/__init_script__.php';
-
-$revision = new DifferentialRevision();
-
-$empty_revisions = queryfx_all(
- $revision->establishConnection('r'),
- 'select distinct r.id from differential_revision r left join '.
- 'differential_diff d on r.id=d.revisionID where d.revisionID is NULL');
-
-$empty_revisions = ipull($empty_revisions, 'id');
-
-if (!$empty_revisions) {
- echo "No empty revisions found.\n";
- exit(0);
-}
-
-echo phutil_console_wrap(
- "The following revision don't contain any diff:\n".
- implode(', ', $empty_revisions));
-
-if (!phutil_console_confirm('Do you want to delete them?')) {
- echo "Cancelled.\n";
- exit(1);
-}
-
-foreach ($empty_revisions as $revision_id) {
- $revision = id(new DifferentialRevision())->load($revision_id);
- $revision->delete();
-}
-
-echo "Done.\n";
diff --git a/scripts/profile/rescale_all_user_pics.php b/scripts/profile/rescale_all_user_pics.php
deleted file mode 100755
index 3d019a3a93..0000000000
--- a/scripts/profile/rescale_all_user_pics.php
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-$root = dirname(dirname(dirname(__FILE__)));
-require_once $root.'/scripts/__init_script__.php';
-
-echo "Examining users.\n";
-foreach (new LiskMigrationIterator(new PhabricatorUser()) as $user) {
- $file = id(new PhabricatorFile())
- ->loadOneWhere('phid = %s', $user->getProfileImagePHID());
-
- if (!$file) {
- echo 'No pic for user ', $user->getUserName(), "\n";
- continue;
- }
-
- $data = $file->loadFileData();
- $img = imagecreatefromstring($data);
- $sx = imagesx($img);
- $sy = imagesy($img);
-
- if ($sx != 50 || $sy != 50) {
- echo 'Found one! User ', $user->getUserName(), "\n";
- $xformer = new PhabricatorImageTransformer();
-
- // Resize OAuth image to a reasonable size
- $small_xformed = $xformer->executeProfileTransform(
- $file,
- $width = 50,
- $min_height = 50,
- $max_height = 50);
-
- $user->setProfileImagePHID($small_xformed->getPHID());
- $user->save();
- break;
- } else {
- echo '.';
- }
-}
-echo "\n";
-echo "Done.\n";
diff --git a/scripts/repository/audit.php b/scripts/repository/audit.php
deleted file mode 100755
index c91e05f2a6..0000000000
--- a/scripts/repository/audit.php
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-echo "This script has been replaced with `bin/audit`.\n";
-exit(1);
diff --git a/scripts/repository/test_connection.php b/scripts/repository/test_connection.php
deleted file mode 100755
index 226a967c78..0000000000
--- a/scripts/repository/test_connection.php
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-echo "This script is obsolete. Use `bin/repository` to manage repositories.\n";
-exit(1);
diff --git a/scripts/search/reindex_maniphest.php b/scripts/search/reindex_maniphest.php
deleted file mode 100755
index a99e79e342..0000000000
--- a/scripts/search/reindex_maniphest.php
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-$root = dirname(dirname(dirname(__FILE__)));
-require_once $root.'/scripts/__init_script__.php';
-
-ini_set('memory_limit', -1);
-$tasks = id(new ManiphestTask())->loadAll();
-echo "Updating relationships for ".count($tasks)." tasks";
-foreach ($tasks as $task) {
- ManiphestTaskProject::updateTaskProjects($task);
- ManiphestTaskSubscriber::updateTaskSubscribers($task);
- echo '.';
-}
-echo "\nDone.\n";
diff --git a/scripts/util/purge_cache.php b/scripts/util/purge_cache.php
deleted file mode 100755
index 54a0bb29aa..0000000000
--- a/scripts/util/purge_cache.php
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-echo "This script is obsolete. Use 'bin/cache' instead.\n";
-exit(1);
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Jan 19, 19:32 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128007
Default Alt Text
(4 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment