Commit graph

13 commits

Author SHA1 Message Date
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
f2958ce554
Update rails template to include postgres 2017-09-07 19:57:25 +02: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
Zeger-Jan van de Weg
9026e3e937
Update rails tempalte to not contain gitlab-test
[ci skip]
2017-08-14 16:45:38 +02:00
Z.J. van de Weg
1d3815f89b
Allow projects to be started from a template
Started implementation for the first iteration of
gitlab-org/gitlab-ce#32420. This will allow users to select a template
to start with, instead of an empty repository in the project just
created.

Internally this is basically a small extension of the ImportExport
GitLab projects we already support. We just import a certain import
tar archive. This commits includes the first one: Ruby on Rails. In the
future more will be added.
2017-07-28 11:32:46 +02:00