Page MenuHomePhabricator

Make tools.stewardbot look clear to a newbie
Closed, ResolvedPublic

Description

  • Move git repo away from public_html (ideally, to something like ~/stewardbots)
    • Add only what should be there in public_html as symlinks to the new root
  • Remove relict files from tool's directory
    • The files in the tool's homedir seems to be...really nothingdoing
  • Remove ~/StewardBot (the live version is in ~/public_html/StewardBot now, and will be in ~/stewardbots/StewardBot after the first point is done)
  • Remove ~/SULWatcher (see above)
  • Version restart_*.sh scripts

Event Timeline

Change 576119 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[labs/tools/stewardbots@master] Add restart_stewardbot.sh and restart_SULWatcher.sh to the repo

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

Change 576119 merged by jenkins-bot:
[labs/tools/stewardbots@master] Add restart_stewardbot.sh and restart_SULWatcher.sh to the repo

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

Mentioned in SAL (#wikimedia-cloud) [2020-03-02T21:06:55Z] <Urbanecm> Move ~/public_html to ~/stewardbots and symlink ~/public_html to ~/stewardbots (T246702)

Mentioned in SAL (#wikimedia-cloud) [2020-03-02T21:12:52Z] <Urbanecm> tools.stewardbots@tools-sgebastion-08:~$ rm -rf ~/StewardBot/ ~/SULWatcher/ (T246702)

Mentioned in SAL (#wikimedia-cloud) [2020-03-02T21:18:39Z] <Urbanecm> Move several files to ~/00_backup; exact list at task (T246702)

Mentioned in SAL (#wikimedia-cloud) [2020-03-02T21:18:39Z] <Urbanecm> Move several files to ~/00_backup; exact list at task (T246702)

tools.stewardbots@tools-sgebastion-08:~$ mv git.bak/ 00_backup/git
tools.stewardbots@tools-sgebastion-08:~$ mv old-TS-stuff/ 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv rewrite.script 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv tmp20180402/ 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv tools-db-dump.sql.gz 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv toolserver/ 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv p_stewardbots_stewardbot.sql 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv dumpsulwatcher20190207.sql 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ ls cron*
cronmigr.backup  crontab.backup
tools.stewardbots@tools-sgebastion-08:~$ mv cron* 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv testsb 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv p_stewardbots_sulwatcher.sql 00_backup/
tools.stewardbots@tools-sgebastion-08:~$ mv testbot 00_backup/

Mentioned in SAL (#wikimedia-cloud) [2020-03-02T21:31:03Z] <Urbanecm> tools.stewardbots@tools-sgebastion-08:~$ rm -rf conf # T246702

Change 576148 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[labs/tools/stewardbots@master] Add cron.txt to the repository

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

Change 576148 merged by jenkins-bot:
[labs/tools/stewardbots@master] Add cron.txt to the repository

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

I think this task can be closed as resolved, we can track in T130031 the next steps.

Closing per last comment