Találat: 1615
It only took me nearly 3 years, but finally I've reconciled all the differences between our code repository, the test server, and the live server.

The differing codebases have been a constant pain in the ass for me since I took over development in December 2018. We had our git repository where, theoretically, all the official atWar code should exist. Then we had the live server, which had mostly the same code but also some differences, including some unique code that didn't exist in the repo. And then, finally, we had the test server, which also had different stuff that wasn't in the repo and wasn't on the live server. Sometimes I might be working on a file that was different in all 3 places

When I first looked at this situation I compared each folder and found literally thousands of differences. Ignoring all the user-generated files (like maps, scenarios, user avatars, etc), there still remained approx. 15K files with differences to solve between the repo, live, and test. Most of them were probably accidental or unintentional changes, but sometimes there was work the original devs had started and just not finished. I didn't want to lose any important work that had already been done, and at that time I didn't know what I could keep and what I could get rid of. So my only choice was to compare each difference one at a time and figure it out.

It was too much to do this all at once, so I embarked on a program of cleaning up as I went. Every time I fixed a bug or made a change somewhere, I would compare all 3 versions of the affected files (repo, live, and test). In this way, I was gradually reconciling the differences over time. The downside of course was the time this took. It is one of (but not the only) reasons why every "little" change on atWar takes longer and is more complicated than it should be.

Another closely related reason why making changes on atWar was a pain was the fact that neither the live nor test servers were under any version control system. The main code repo *was* in git (a popular version control system, for you non-devs) -- the original devs started that in March 2017. However, it was never integrated with the live and test servers -- it just existed in its own separate place. I'm assuming this is because they already knew about the different codebases on live and test, and they couldn't put them into git without potentially losing all those changes, or spending the time to reconcile them.

What was the consequence of this? It meant that every time I wanted to deploy a change to the server, I had to manually compare, then copy & paste files around to multiple places, which took more time and hassle.

Now, all of that is behind us. After whittling away at the problem for nearly 3 years, I finally decided (i.e. I had had enough) that it was time to sit down and tackle whatever was left. So yesterday I started doing this. It took me literally all day, but in the end, I had reconciled every remaining difference. Along the way, I even found some interesting things I had never seen before, which I'll share with you soon. Most importantly, I setup git on the live and test servers, so now everything is connected to the same code repo. When I want to deploy something, it's a couple clicks and I'm done. No more copy & pasting files ever again

(I did the first such deployment to the live site last night, and it was wonderful.... I was so happy...)

Long story short, from now on changes can be made somewhat faster*, deployments will take less time, and I can easily go back if something breaks. These are all things that make me very happy

* I only say "somewhat faster" because there are still other frustrations to be dealt with -- for example I'm still untangling a lot of old, complex, difficult to understand code. The frontend code especially has lots of "logic" code mixed randomly with "view" code, which drives me nuts... whenever I think I'm just making a small visual change to the UI and it ends up breaking functionality in some random other place. There are plenty of other problems too, but that's another story. I'm just glad to have one less problem! Now, back to all the other crap I still have to do here...
Töltés...
Töltés...
Általa írva Connection error, 24.10.2021 at 21:14

HEY, ADMINS! He mentioned the word pornhub! You need to delete his post and give him a minimum 3 day forum ban! If i reference pornhub in any way im banned for a few weeks!


Pornhub is fine, its you we don't like
Töltés...
Töltés...
There was a time when we moderated clan wars like this but it became too much of a headache and hassle. Everything is grey and hard to moderate or know who's telling the truth. If anything I'm for pulling back moderation in Duels / CWs.
Töltés...
Töltés...
I am starting my own nation state, or country, for pro_choice. Once there are about 10 000 or so, we'll declare independence. Let me know if interested...
Töltés...
Töltés...
Sid
23.10.2021 a/az [APPROVED]Forum mute
Ok bro
Töltés...
Töltés...
Sid
23.10.2021 a/az [APPROVED]Forum mute
I didn't know it wasn't towards me, but either way it wasn't obvious to most people. And even in your appeal you sound like a dick.
Töltés...
Töltés...
I think we can do that... Might not give the abusers a podium, and appeal transparency process would still is in place.
Töltés...
Töltés...
It's shit like this that makes me want to delete the appeals forum and go back to the FITFO method. I have seen less than 2 sincere appeals and only maybe 30% format correctly.
Töltés...
Töltés...
Általa írva KarabaghARMENIA, 21.10.2021 at 12:29

2. Why did we change the definition of a vaccine from "protecting us against pathogens" [to] "stopping the spread of a virus"? Vaccinated people still get the virus, and vaccinated people still spread the virus.


^^ this, exactly. I hate how non-vaccinated people like me are being demonized, as if we are somehow being "cruel" to the rest of society (I have a liberal friend who used that exact word to describe us). The whole point of the vaccine is to protect MYSELF, not everyone else. If I choose not to get it, then the only person at risk is me. It's equivalent to me wearing a seatbelt when I drive... if I choose not to, the only person at risk is me. How am I a risk to you?? It boggles the mind.

And for what its worth, I'm not anti-vaccine. However since I've already had Covid and recovered from it, I now have natural immunity which several studies have shown to be even better than the vaccine. Anybody who insists I still get the vaccine at this point is being driven by ideology, not science.
Töltés...
Töltés...
Általa írva Dave, 19.10.2021 at 17:49

I have not taken the vaccine, and will not be taking the vaccine.

I will make sure the microchip makes it to you one way or another. #tracked #ILikeMyMicrochip
Töltés...
Töltés...
19.10.2021 a/az Admin abuse.
Általa írva Red.Army, 19.10.2021 at 20:55

I think the Admins have an agenda against me and my ideals, sean sperging about America and Capitalism is tolerated but me posting about stalin is not..


True. It's an unfair world.
Töltés...
Töltés...
19.10.2021 a/az Admin abuse.
Általa írva Red.Army, 19.10.2021 at 17:55

Why was my Stalin post moved to Archive? It was a off topic post and I am very sure I did not say anything hateful, wrong etc in that post.


Cuz I enjoy abusing you
Töltés...
Töltés...
I have not taken the vaccine, and will not be taking the vaccine.
Töltés...
Töltés...
-1
Töltés...
Töltés...
0
Töltés...
Töltés...
Vaccine also turned me into a lesbian.
Töltés...
Töltés...
-10
Töltés...
Töltés...
-9
Töltés...
Töltés...
-8
Töltés...
Töltés...
Sid
17.10.2021 a/az Twitch.tv related Discord
This forum isn't really for non-AW related promotional stuff. I'll move this to off topic.
Töltés...
Töltés...
-6
Töltés...
Töltés...
-4
Töltés...
Töltés...
-2
Töltés...
Töltés...
-1
Töltés...
Töltés...
4
Töltés...
Töltés...
2
Töltés...
Töltés...
9
Töltés...
Töltés...
7
Töltés...
Töltés...
5
Töltés...
Töltés...
3
Töltés...
Töltés...
atWar

About Us
Contact

Adatvédelem | Felhasználási feltételek | Bannerek | Partners

Copyright © 2024 atWar. All rights reserved.

Csatlakozz hozzánk

Hirdesd