[17:39:33] .time [17:39:33] 2016-11-19 - 17:39:33 [18:49:01] Zppix, are you trying to clone a git repo? [18:56:22] i've tried before and it just adds a second public_html within the public_html one [18:58:49] @ tom29739 [19:00:25] Zppix, have you already got stuff in the public_html directory? [19:01:21] yes [19:01:33] Zppix, there's 2 ways to do this [19:02:01] 1) clone the repo somewhere else or with a different name and copy the files and folders over [19:02:41] 2) move the files and folders out of the public_html folder, delete the folder, clone the repo and copy the files back [19:03:01] 3) git init in the folder and add remotes then git pull [19:03:02] tom29739 the files within it are already in the repo on gerrit [19:03:30] Zppix, so the files in the repo and in the folder are the same? [19:03:44] yes [19:03:57] Zppix, delete the folder and git clone [19:04:29] that causes it to do the dupe folders [19:05:42] Zppix, no, delete the entire folder [19:05:54] Delete the parent public_html folder. [19:06:11] If the files are the same then you shouldn't lose anything. [19:07:50] do i anom http? [20:01:23] Zppix, ? [20:56:16] for git clone [20:56:46] it wants to put the git contents in ZppixBot folder [20:56:56] then put in there a public_html folder with the contentsw [20:57:12] @ tom29739 [20:59:48] Zppix, look at the git repo. [20:59:53] ? [21:00:01] Does it have that folder layout? [21:00:11] hold on [21:00:13] let me clone it [21:00:27] Zppix, no, look on it on the web if you can [21:04:26] https://phabricator.wikimedia.org/diffusion/LTZB/browse/ [21:04:27] [ / ยท rLTZB ] - phabricator.wikimedia.org [21:04:41] ffs i really need to know what that module is called [21:16:26] Zppix, it's because all your content is in public_html [21:17:06] Git will create a folder when it clones the name by default being the name of the repo, which in this case is labs-tools-ZppixBot [21:17:40] In that folder will be a .gitreview file and the public_html folder. [21:18:11] what do i do then [21:18:41] Zppix, what do you want to happen? [21:19:56] to make it only clone the public_html folder and its contents along with whatever else is needed [21:24:29] Zppix, move the contents of the public_html folder to the repo root. [21:25:19] In Linux, the command would be (if you were in the public_html folder) `mv * ../` [21:25:41] I'd do `mv *.* ../` and `mv .* ../` for good measure too. [21:26:21] Then you'd so `ls -a` and make sure that nothing is in there. [21:27:04] Then do `cd ..` and `rmdir public_html` (it won't remove it if there's anything in the directory. [21:27:08] ) [21:28:11] will the git pull and stuff work like normal? [21:28:23] Yep. [21:28:51] You'll need to git push the changes when you move the contents of that folder though. [21:29:37] Rather, `git add --all`, `git commit -m "your commit message"` and `git push origin master` [21:29:45] why isnt rmdir seem to be doing anything when i do --ignore-on-fail-empty [21:32:42] Zppix, it's done it [21:32:50] Removed the directory. [21:33:08] Why are you using --ignore-on-fail-empty? [21:33:17] cus im too lazy to remove all the files [21:35:22] Zppix, for that you'd do rm -rf [21:35:55] That is an *extremely dangerous* command though. [21:37:52] i think i got it [22:19:15] @relay-on [22:19:15] Relay was enabled [22:19:24] I know: add, changepass, channel-info, channellist, commands, configure, drop, github-, github+, github-off, github-on, grant, grantrole, help, info, instance, join, language, notify, optools-off, optools-on, optools-permanent-off, optools-permanent-on, part, rc-ping, rc-restart, reauth, recentchanges-bot-off, recentchanges-bot-on, recentchanges-minor-off, recentchanges-minor-on, recentchanges-off, recentchanges-on, reload, restart, revoke, revokerole, seen, seen-host, seen-off, seen-on, seenrx, suppress-off, suppress-on, systeminfo, system-rm, time, traffic-off, traffic-on, translate, trustadd, trustdel, trusted, uptime, verbosity--, verbosity++, wd, whoami [22:19:24] @commands [22:19:30] GitHub was enabled for this channel, use github+ to add some repos [22:19:30] @github-on [22:19:34] @github [22:19:39] You need to provide exactly 1 parameter [22:19:39] @channel-info [22:19:42] Channel ##Zppix-Wikipedia was joined 10/24/2016 3:02:21 AM, requested by Zppix!@wikipedia/Zppix (original founder: Zppix!@wikipedia/Zppix) [22:19:42] @channel-info ##Zppix-Wikipedia [22:45:48] http://bots.wmflabs.org/dump/%23%23Zppix-Wikipedia.htm [22:45:48] @info [22:45:49] [ ##Zppix-Wikipedia ] - bots.wmflabs.org [23:15:21] .help [23:15:22] Hang on, I'm creating a list. [23:15:24] I've posted a list of my commands at https://gist.github.com/96e5ea1e9d9e9a7c84347685b50020aa - You can see more info about any of these commands by doing .help (e.g. .help time) [23:15:55] .modules