I think we deprecated this in b9144d23, but I think this is going to make upgrading to 10.0 a bit challenging for GitLab.com. I also worry we'll have customers also breaking left and right.
Could we:
Improve the error message with a link to an explanation
I see that we had a warning message before, but I don't think any of us saw it. Should we consider preserving backwards compatibility but put a warning at the end of the reconfigure?
The switch away from git_data_dir is over a year old, but the change in format for git_data_dirs happened for 9.0. I think we could drop git_data_dir now in GitLab 10, and leave the git_data_dirs format change the way it was until GitLab 11. (With us hopefully getting the chance to improve where the deprecation messages are shown within the next few releases.)
@twk3@stanhu if we don't end up getting in #2533 I think we have to push git_data_dir as well. It seems to be everywhere in my testing of 10.0. Our helm charts use the old git_data_dir style, so does DC/OS, and so I imagine a lot of Omnibus people do as well. (Like ourselves)
Given that this is the 13th and we are 9 days away from release, my confidence is not high on #2533 since we don't even have an MR going for it yet. I know @marin felt strongly about this, but I feel like without #2533 this will be too disruptive.
@joshlambert I would be in favor of that approach, but I can see why @marin wanted to make this a hard change in 10.0. I think we really need to call out this change in the blog post/upgrade guide because I didn't see any warnings to this effect.
I will revert the change, because it breaks the current install. If I can get in a change before release that instead breaks during preinst, I would still be in favour of doing that. This would result in an install failure, but no downtime introduced as you fix the problem. Similar to what we are doing for pg 9.2.
@joshlambert I'm going to try and make it more readable, but it won't be more visible, as the what will happen is the postinstall message of their previous install will re-run, and spit out some additional text.
Checking in the preinst template turned out to be a little more flakey and difficult than I would like. So I think we will keep supporting git_data_dir for GitLab 10.0 (@joshlambert the release post might need updating?)