Commit Graph

11 Commits

Author SHA1 Message Date
Jason Lenny 260cdd580b Revert previous commit since it isn't needed
This reverts commit 669d84356771682961ac6c416c3cbdb983ec0cd2
2019-03-06 18:56:24 +00:00
Grzegorz Bizon 90a99ff3aa Add pipeline stages position clean-up migration 2018-06-29 13:57:52 +00:00
Fabio Busatto 1d74a0e93a Resolve "Reconcile project templates with Auto DevOps" 2018-05-04 09:48:53 +00:00
Jan Provaznik 5bb421ecbb Cleanup after adding MR diff's commit_count (try 2)
* processes any pending records which are not migrated yet
* bumps import_export version because of new commits_count attribute
* removes commits_count fallback method
2018-04-25 10:53:37 +02:00
Jan Provaznik 7db225e480 Revert "Cleanup after adding MR diff's commit_count"
This reverts commit 0b7d108514.
2018-03-08 12:43:14 +01:00
Jan Provaznik 0b7d108514 Cleanup after adding MR diff's commit_count
* processes any pending records which are not migrated yet
* bumps import_export version because of new commits_count attribute
* removes commits_count fallback method
2018-03-05 15:37:01 +01:00
Grzegorz Bizon 92df3a742c Bump import/export version in project templates 2018-01-06 09:35:34 +01:00
Sean McGivern 4ebbfe5d3e Remove serialised diff and commit columns
The st_commits and st_diffs columns on merge_request_diffs historically held the
YAML-serialised data for a merge request diff, in a variety of formats.

Since 9.5, these have been migrated in the background to two new tables:
merge_request_diff_commits and merge_request_diff_files. That has the advantage
that we can actually query the data (for instance, to find out how many commits
we've stored), and that it can't be in a variety of formats, but must match the
new schema.

This is the final step of that journey, where we drop those columns and remove
all references to them. This is a breaking change to the importer, because we
can no longer import diffs created in the old format, and we cannot guarantee
the export will be in the new format unless it was generated after this commit.
2017-11-28 16:13:40 +00:00
Zeger-Jan van de Weg 2c3652af13
Update project templates to new import version
If the import version changes, we need to update a few project templates
to match this new version.

In a seperate commit I'll update the docs to reflect this.
2017-09-07 15:13:12 +02:00
Zeger-Jan van de Weg f67faf6a16
Update templates to include header in the README 2017-08-23 19:44:10 +02:00
Z.J. van de Weg 6391406774
Add two more project templates
Related to !13108. Mostly this is just running the rake task and
changing the task a bit to catch cases like the project already existing
or so. The rake task moves archives to the vendor/project_template
directory, which are checked in too.
2017-08-15 12:55:54 +02:00