-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull forward old dev branch changes #202
Conversation
So I got the server running via the Docker image. Edit: there are more breaking changes regarding the template stuff in there. (At leased based on the current master branch, but since #198 this should also be the state of production if I'm not mistaken?) More edit: Yep, with the redesign all the old templates were moved from
Looks like it was heavily WIP. The server won't even start up as is. Lots of sites missing. As I wrote above, I've got some fixes to get it running, but I think merging this whole PR depends on how @V1TA5 wants to proceed with the redesign, if he already wants to put it on the alpha server. |
I wrote with @V1TA5 on the IRC. He doesn't want to continue this redesign/rewrite, instead do a more modern one. It's not easy to spot which changes are for other, incomplete features of the dev-branch and which could be useful for the current production code as is ('standalone'). Could have needed some squashes there. |
e229f58
to
4fc201d
Compare
… search based views dont work. please fix :)
4fc201d
to
af7781b
Compare
Are the old templates intended to still be used at all? I'm trying to discern whether to approach this by updating the paths or switching to newer templates. Or maybe the usage of the newer templates was done already and then lost in a bad conflict resolution?
Hmm. I don't like the idea of running a dev branch for X years as if it was going to be used and then summarily dropping it. Bad for morale; if contributors follow the current rules for submitting changes, their work should be incorporated one way or another. But since most of these changes were @V1TA5's, maybe morale is moot. At the risk of contradicting myself, I also don't much like the idea of cherry-picking a few commits out of the middle of this mess. Who knows what assumptions and implicit dependencies there would be. Probably wiser to start fresh from how things are now and develop the desirable bits from scratch. @V1TA5, what do you think of creating some enhancement issues to track the things you want to do? Sounds like item number one is rename KerbalStuff to SpaceDock? |
I'm tired of resolving those conflicts over and over. Closing this in favor of fresh development, my apologies to anyone who contributed to the old dev branch for your lost work. |
Not in the future, but this branch still relies on them since there isn't a new, redone template yet for every single page.
As I wrote above, there is not a corresponding new template for every old template yet (as far as I understood this branch and the changes). But all this doesn't really matter, since @V1TA5 decided to discontinue the work on this redesign, and instead build up something completely different.
Agree. |
Background
The
dev
branch, now moved todev-old
, had many commits that were developed and reviewed but not deployed to production. #133 and #163 were developing more changes on top of this branch, so we would like to keep these changes alive and not lose the work that they represent.Changes
This pull request attempts to integrate the old
dev
branch's commits into the new alpha/beta/master server paradigm, see https://github.com/KSP-SpaceDock/SpaceDock/wiki/Migration-notes-and-tasks.dev-old
branch ontoalpha
. "theirs" means to resolve conflicts in favor of the contents ofdev-old
("ours" and "theirs" are swapped for rebase).^M
s and whole-file conflicts.git filter-branch --tree-filter 'git ls-files -z | xargs -0 dos2unix' -- alpha..HEAD
This should be merge-able into
alpha
without conflicts.FYI to @RockyTV since this came up on the IRC channel.
Process
Note that I can't run this locally and I do not know how stable the old branch was, so it's possible that it breaks things. Close reading of the diffs may be advisable.
If this PR is merged, I will log into the alpha server and pull these changes, then restart the server manually to allow us to test them. If there are problems, we will investigate them and create further pull requests to fix them.
If it looks good, a future pull request will migrate the changes on the alpha branch to the beta branch, and they will be tested on the beta server as well.
Later, another PR would move them to the
master
branch, whereupon they would be deployed into production.