@vahnj So like, I had themes and stuff, but when I cd'd into the directory that hold my themes they were all gone.
Looks like somehow I just overwrote my stuff with yours somehow
@spiderrobotpig Did you have them saved in your git repository? It should not have overwrote them without complaining that there's conflicts if you didn't
@vahnj Yeah, everything was saved in the repo, and that's the part I'm confused about?
Because when I tried to just patch over the whitelisting stuff, it gave me a bunch of errors.
So...I have no idea at this point. Just hoping this compile works so I can deal with everything later
@spiderrobotpig ok hang on
what commands have you run since checking out the master branch
@vahnj So, I did the git checkout -b awoo-master awoo/master
Then it switched me to a new branch. Then I did status, and it said I was up-to-date, but that app/javascript/mastodon/features/direct_timeline wasn't tracked, so I added and committed it
The status said I was up to date, so I ran the precompile
@spiderrobotpig OK, so you didn't run the checkout back to your original master branch it sounds like.
You're going to want to do that, unless you want to run glitch.social. (Are you already running it?)
@vahnj Yeah, I'm running some stuff from them and cybre.space, so it wouldn't be a huge deal tbh?
@spiderrobotpig It's gonna be safer to pull stuff on top of your existing code imo.
Let's start back over and I'll give you a bunch of commands. Let me plan it out
@spiderrobotpig Also, if you checked in your changes to the awoo.space branch, you are going to need to cherry-pick that commit. What's the top entry when you run "git log"?
@vahnj is the top the last one? cos thats: commit 7f0320cf07e82abdd5f1e2e8f2f9d381538a2014
Author: Crom <james.vogon@gmail.com>
The top one I see is: commit 3f965c51cb5770c50be84e09a4129d27ffe7a981
Author: Samantha Ghraves <samanthaghraves@gmail.com>
Date: Sun Jan 28 22:07:52 2018 +0000
more stuff
@spiderrobotpig oh dear
you mentioned you committed some changes that had been left over, right? is that what commit 3f965c51cb5770c50be84e09a4129d27ffe7a981 is?
@vahnj Yes.
How bad did I fuck up, tell it to me straight doc
@spiderrobotpig no, this is great.
run these commands:
git checkout master
git cherry-pick 3f965c51cb5770c50be84e09a4129d27ffe7a981
This will get you back to where you were before you started trying to pull awoo stuff
@vahnj On branch awoo-master
Your branch is ahead of 'awoo/master' by 1 commit.
(use "git push" to publish your local commits)
You are currently cherry-picking commit 3f965c5.
Changes not staged for commit:
modified: app/javascript/styles/win95.scss
no changes added to commit
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
git commit --allow-empty
Otherwise, please use 'git reset'
@vahnj That's what I get
@vahnj Oh wait I think I see what happened, gimmie a sec
@spiderrobotpig Sounds like you added a file, but iddn't do the commit
@vahnj Yeah, I had to modify win95.scss to make the webpacker do anything.
So, fixing the issue I get
@vahnj On branch master
Your branch is up-to-date with 'origin/master'.
You are currently cherry-picking commit 3f965c5.
nothing to commit, working directory clean
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
git commit --allow-empty
Otherwise, please use 'git reset'
@spiderrobotpig great so that means you already have that stuff in master!
run this:
git cherry-pick --abort
@vahnj Okay, I did that
@spiderrobotpig OK! Let me build the commands to cherrypick the whitelist changes for you
@vahnj Thank you so much, sorry I'm the worst at computers haha
@spiderrobotpig nah you're fine!!
@spiderrobotpig it's unreasonable to expect anyone to know git imo
@vahnj Git is so much haha
Okay, so after running the cherrypicks, do I just go ahead and run the precompile command?
@spiderrobotpig Nope!
Make sure you run the db:migrate command
There's an extra db migrate that you need to do for whitelists
@vahnj Okay, so what if hypothetically I am a terrible impatent asshole and did it literally right before you responded? Just run both again or did I goof
@spiderrobotpig all it means is your site will fail to work and throw errors, nbd
@spiderrobotpig so yea just run the db:migrate command and then restart :)
@vahnj Oh cool, that's a relief
@vahnj Okay, so it stopped looking like awoo, but now I'm just getting the elephant page
@spiderrobotpig did you run assets:precompile too?
@vahnj Oh do I need to run it again? That was what I was gonna do, so neat haha
@spiderrobotpig yea i think once you do that after the db:migrate it should be good to go
@vahnj Fingers crossed.
Still have no idea why I have to change something in a theme to force webpacker to compile but *shrug*
@vahnj Nah, still not working
@spiderrobotpig any errors in your logs?
@spiderrobotpig would it be ok to ask for ssh permissions at this point? im not sure how to help without being able to poke around at this point
@vahnj Yeah no it's just not moving past the "We're sorry but something went wrong on our end" page