Zppix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/317301

Change subject: Remove unneeded files, rename contributors.php to contribs.php
......................................................................

Remove unneeded files, rename contributors.php to contribs.php

Change-Id: I8ccc076aa93302787400847cfe19400205ecd63e
---
R public_html/contribs.php
D public_html/gitcommitauto.php
D public_html/updateweb.php
D public_html/updatewebcode.php
4 files changed, 0 insertions(+), 26 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/ZppixBot 
refs/changes/01/317301/1

diff --git a/public_html/contributors.php b/public_html/contribs.php
similarity index 100%
rename from public_html/contributors.php
rename to public_html/contribs.php
diff --git a/public_html/gitcommitauto.php b/public_html/gitcommitauto.php
deleted file mode 100644
index b19e62b..0000000
--- a/public_html/gitcommitauto.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php>
-shell_exec ("ssh zpp...@dev.tools.wmflabs.org");
-sleep("15");
-shell_exec ("sudo -iu tools.zppixbot");
-sleep("6");
-shell_exec ("git commit -m Automatic changes sync from website, do not 
revert.");
-?php>
\ No newline at end of file
diff --git a/public_html/updateweb.php b/public_html/updateweb.php
deleted file mode 100644
index 719b28a..0000000
--- a/public_html/updateweb.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
-<?php
-if ($_GET['run']) {
-  # This code will run if ?run=true is set.
-  exec("/data/project/zppixbot/public_html/updatewebcode.php");
-    exec("/data/project/zppixbot/public_html/gitcommitauto.php");
-}
-?>
-<a href="?run=true">Update website and commit changes</a>
diff --git a/public_html/updatewebcode.php b/public_html/updatewebcode.php
deleted file mode 100644
index d06f038..0000000
--- a/public_html/updatewebcode.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php>
-shell_exec ("ssh zpp...@dev.tools.wmflabs.org");
-sleep("15");
-shell_exec ("sudo -iu tools.zppixbot");
-sleep("6");
-shell_exec ("git pull");
-?php>
-<script type="text/javascript"]>
-window.alert("Complete");
-</script>
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/317301
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ccc076aa93302787400847cfe19400205ecd63e
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/ZppixBot
Gerrit-Branch: master
Gerrit-Owner: Zppix <megadev44s.m...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to