Commit graph

6 commits

Author SHA1 Message Date
Yorick Peterse
d0b8f536a1
Remove soft removals related code
This removes all usage of soft removals except for the "pending delete"
system implemented for projects. This in turn simplifies all the query
plans of the models that used soft removals. Since we don't really use
soft removals for anything useful there's no point in keeping it around.

This _does_ mean that hard removals of issues (which only admins can do
if I'm not mistaken) can influence the "iid" values, but that code is
broken to begin with. More on this (and how to fix it) can be found in
https://gitlab.com/gitlab-org/gitlab-ce/issues/31114.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
2018-01-08 17:04:45 +01:00
micael.bergeron
de025ad2db fixing group label import 2017-10-06 09:11:29 -04:00
micael.bergeron
a8d9dbc1a6 fix the project import when an issue has a group milestone 2017-10-05 12:05:55 -04:00
micael.bergeron
09a733bac3 fix the spec so it fails before applying the fix 2017-10-04 09:12:01 -04:00
Felipe Artur
91035871d3 Fix project import to group when there are project milestones 2017-08-17 10:40:19 +00:00
James Lopez
cec1e3ebc8 create lighter version of JSON and reuse initial restore in spec to speed up run 2017-02-15 16:45:41 +01:00