Commit Graph

40 Commits

Author SHA1 Message Date
James Ramsay 267dba0ae5 Update documentation 2018-04-11 09:29:27 +02:00
Bob Van Landuyt 84ee2ddbcd Export LFS Objects when exporting a project
The LFS files will be included in the `lfs-objects` directory in the archive.
2018-04-05 10:21:51 +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
James Lopez 0831949084
update missing doc links 2018-02-13 15:35:08 +01:00
Achilleas Pipinellis 41cd11d5b8
Change docs links to https://about.gitlab.com/products/ 2018-02-07 12:47:56 +01:00
Marcia Ramos 12a4039647
search and replace "Enterprise Edition Ultimate" => "Ultimate" 2018-02-07 12:34:12 +01:00
Marcia Ramos 439b712f7b search and replace "Enterprise Edition Starter" => "Starter" 2018-02-01 19:11:42 -02:00
Grzegorz Bizon bf8c5643a9 Bump import/export version to 2.2.0
We need to bump import/export version because we introduced a new
object's hierarchy that is not backwards compatible.
2018-01-05 15:18:17 +01:00
John Doe e7797b51cb
Consolidate the docs when changing a repo path 2017-12-21 19:10:06 +01:00
Mayra Cabrera 1bdbff2d6d Updates doc for user, group & project transfers 2017-12-13 16:42:41 -06: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
Achilleas Pipinellis ae9dd4b552 Merge branch 'docs-add-summary-about-project-archiving' into 'master'
Add documentation to summarise project archiving

Closes #35919

See merge request gitlab-org/gitlab-ce!14650
2017-10-03 11:14:21 +00:00
Mark Fletcher ce7f297a7f Add documentation to summarise project archiving 2017-10-03 15:57:20 +07:00
Eric Eastwood 6f9a6d37a9 Merge branch 'master' into ff_port_from_ee 2017-09-26 16:24:54 -05:00
Achilleas Pipinellis babc1d023e
Change mode to 644 for all md and png files 2017-09-25 10:00:37 +02:00
Mike Bartlett b3178f56c2 new sharing permissions 2017-09-21 11:26:34 +02:00
Eric Eastwood fab5567a09 Update fast-forward doc links to point at own docs 2017-09-19 23:48:40 -05:00
Marcia Ramos 5428b621e3 copyedit 2017-09-08 12:39:57 -03:00
Marcia Ramos 3b9b988723 fixes link 2017-09-08 12:33:37 -03:00
Marcia Ramos 56fbff8ce5 Docs new index for project's settings 2017-09-08 14:08:07 +00:00
Yorick Peterse 235b105c91
Finish migration to the new events setup
This finishes the procedure for migrating events from the old format
into the new format. Code no longer uses the old setup and the database
tables used during the migration process are swapped, with the old table
being dropped.

While the database migration can be reversed this will 1) take a lot of
time as data has to be coped around 2) won't restore data in the
"events.data" column as we have no way of restoring this.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
2017-09-06 16:40:31 +02:00
Robin Bobbitt 649d042dbc Add option to disable project export on instance 2017-08-11 12:22:37 -04:00
Sean McGivern 9a73b634ab Add table for files in merge request diffs
This adds an ID-less table containing one row per file, per merge request
diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
currently, with the advantage that we can easily query the attributes of this
new table.

It does not migrate existing data, so we have fallback code when the legacy
st_diffs column is present instead. For a merge request diff to be valid, it
should have at most one of:

* Rows in this new table, with the correct merge_request_diff_id.
* A non-NULL st_diffs column.

It may have neither, if the diff is empty.
2017-06-16 18:30:01 +01:00
Zeger-Jan van de Weg 8df3997a92 Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
Kamil Trzciński 12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
James Lopez 8409340b3b Add missing group members to export for I/E 2017-02-07 11:06:05 +01:00
James Lopez e589c7e848 Ignore encrypted attributes in Import/Export
* Regenerates tokens for all models that have them
* Remove variables, since they are basically just storing encrypted data
* Bumped version up to 0.1.6
* Updated related docs
2017-01-30 12:34:32 +01:00
Achilleas Pipinellis af1dabe805 Reduce size of images from 25MB to 13MB using pngquant
Took it from https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/3232

[ci skip]
2016-11-22 19:53:43 +01:00
James Lopez 77b7bfd463 Fix import/export labels to cope with project and group labels. Added relevant specs. 2016-10-19 14:58:25 -02:00
James Lopez a09e1d3dda Enable import/export back for non-admins 2016-10-03 10:53:18 +02:00
James Lopez 3c7feaf3b1 Fixed label color issue and added Import/Export versioning table 2016-09-19 09:18:37 +02:00
James Lopez 30f9596c61 Fix permissions check in controller, added relevant spec and updated docs 2016-08-11 16:59:37 +02:00
Achilleas Pipinellis 689de9c6fb Simplify feature introduction note
[ci skip]
2016-08-08 11:44:55 +03:00
Achilleas Pipinellis 51b51de77d Give images proper names 2016-06-22 11:41:50 +02:00
Achilleas Pipinellis a41b468816 Add note about the shared directory 2016-06-22 11:31:07 +02:00
Achilleas Pipinellis 10016715c1 Add colons in item lists 2016-06-22 11:15:28 +02:00
Achilleas Pipinellis e023e66c9f Add note about enabling import/export in existing installations 2016-06-22 11:05:34 +02:00
Achilleas Pipinellis b2732f3af1 Refactor project import/export documentation 2016-06-21 20:07:52 +02:00
Achilleas Pipinellis 0c61fad74c Move to new location
Due to https://gitlab.com/gitlab-org/gitlab-ce/issues/3349
2016-06-21 19:28:08 +02:00