<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/db, branch docs-patch-77</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Rename epic column state to state_id</title>
<updated>2019-08-30T11:28:20+00:00</updated>
<author>
<name>Felipe Artur</name>
<email>fcardozo@gitlab.com</email>
</author>
<published>2019-08-30T11:28:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0f59d73ef2f65aba791b6738a5e705fe1a8da789'/>
<id>0f59d73ef2f65aba791b6738a5e705fe1a8da789</id>
<content type='text'>
Rename epic column state to state_id to be consistent with
issues and merge requests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename epic column state to state_id to be consistent with
issues and merge requests
</pre>
</div>
</content>
</entry>
<entry>
<title>Add commit_id to draft_notes table</title>
<updated>2019-08-01T21:00:36+00:00</updated>
<author>
<name>Patrick Bajao</name>
<email>ebajao@gitlab.com</email>
</author>
<published>2019-07-03T05:01:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d7e13579834f34a345081d1c62c97e37b7776406'/>
<id>d7e13579834f34a345081d1c62c97e37b7776406</id>
<content type='text'>
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14520
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14520
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport EE changes for the schema specs</title>
<updated>2019-07-29T11:54:15+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2019-07-24T14:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=998cd8cb70be5093971a41a5be2674ea7bfbd1fb'/>
<id>998cd8cb70be5093971a41a5be2674ea7bfbd1fb</id>
<content type='text'>
This backports two EE specific changes made to the schema changes. We do
not yet backport the EE prepend, as this will/can be done when
https://gitlab.com/gitlab-org/gitlab-ce/issues/58170 is implemented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This backports two EE specific changes made to the schema changes. We do
not yet backport the EE prepend, as this will/can be done when
https://gitlab.com/gitlab-org/gitlab-ce/issues/58170 is implemented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove CommonMetricsImporter patch</title>
<updated>2019-07-09T23:02:08+00:00</updated>
<author>
<name>Ryan Cobb</name>
<email>rcobb@gitlab.com</email>
</author>
<published>2019-07-03T23:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=36f39eb3189a4caa5225214570de3bfdcd418df1'/>
<id>36f39eb3189a4caa5225214570de3bfdcd418df1</id>
<content type='text'>
Remove CommonMetricsImporter patch and change all references to
CommonMetrics::Importer. Move specs into their appropriate folders. Also
cleans up some common_metric importer namespacing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove CommonMetricsImporter patch and change all references to
CommonMetrics::Importer. Move specs into their appropriate folders. Also
cleans up some common_metric importer namespacing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move importers to lib folder</title>
<updated>2019-07-09T23:02:08+00:00</updated>
<author>
<name>Ryan Cobb</name>
<email>rcobb@gitlab.com</email>
</author>
<published>2019-07-01T21:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ab2a8e2ba839c92530838e2766ab6d8aa0228bda'/>
<id>ab2a8e2ba839c92530838e2766ab6d8aa0228bda</id>
<content type='text'>
This moves our metric importers into the lib folder. This will allow
them to be autoloaded instead of having to explicitly require them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves our metric importers into the lib folder. This will allow
them to be autoloaded instead of having to explicitly require them.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor common metrics importer</title>
<updated>2019-07-09T23:02:07+00:00</updated>
<author>
<name>Ryan Cobb</name>
<email>rcobb@gitlab.com</email>
</author>
<published>2019-06-27T19:11:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9aad4174e052ba330fdaf4abc0276d8497c7de03'/>
<id>9aad4174e052ba330fdaf4abc0276d8497c7de03</id>
<content type='text'>
This refactors common metrics importer for two reasons. 1. To create a
new pattern that can be followed by future importers that will minimize
dependency collision and 2. To allow EE to more easily extend
dependencies.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This refactors common metrics importer for two reasons. 1. To create a
new pattern that can be followed by future importers that will minimize
dependency collision and 2. To allow EE to more easily extend
dependencies.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport the EE schema and migrations to CE</title>
<updated>2019-06-17T15:09:05+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2019-04-29T12:16:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8469f59d786be6762908f62d642625790999cb9b'/>
<id>8469f59d786be6762908f62d642625790999cb9b</id>
<content type='text'>
This backports all EE schema changes to CE, including EE migrations,
ensuring both use the same schema.

== Updated tests

A spec related to ghost and support bot users had to be modified to make
it pass. The spec in question assumes that the "support_bot" column
exists when defining the spec. In the single codebase setup this is not
the case, as the column is backported in a later migration. Any attempt
to use a different schema version or use of "around" blocks to
conditionally disable specs won't help, as reverting the backport
migration would also drop the "support_bot" column. Removing the
"support_bot" tests entirely appears to be the only solution.

We also need to update some foreign key tests now that we have
backported the EE columns. Fortunately, these changes are very minor.

== Backporting migrations

This commit moves EE specific migrations (except those for the Geo
tracking database) and related files to CE, and also removes any traces
of the ee/db directory.

Some migrations had to be modified or removed, as they no longer work
with the schema being backported. These migrations were all quite old,
so we opted for removing them where modifying them would take too much
time and effort.

Some old migrations were modified in EE, while also existing in CE. In
these cases we took the EE code, and in one case removed them entirely.
It's not worth spending time trying to merge these changes somehow as we
plan to remove old migrations around the release of 12.0, see
https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This backports all EE schema changes to CE, including EE migrations,
ensuring both use the same schema.

== Updated tests

A spec related to ghost and support bot users had to be modified to make
it pass. The spec in question assumes that the "support_bot" column
exists when defining the spec. In the single codebase setup this is not
the case, as the column is backported in a later migration. Any attempt
to use a different schema version or use of "around" blocks to
conditionally disable specs won't help, as reverting the backport
migration would also drop the "support_bot" column. Removing the
"support_bot" tests entirely appears to be the only solution.

We also need to update some foreign key tests now that we have
backported the EE columns. Fortunately, these changes are very minor.

== Backporting migrations

This commit moves EE specific migrations (except those for the Geo
tracking database) and related files to CE, and also removes any traces
of the ee/db directory.

Some migrations had to be modified or removed, as they no longer work
with the schema being backported. These migrations were all quite old,
so we opted for removing them where modifying them would take too much
time and effort.

Some old migrations were modified in EE, while also existing in CE. In
these cases we took the EE code, and in one case removed them entirely.
It's not worth spending time trying to merge these changes somehow as we
plan to remove old migrations around the release of 12.0, see
https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create models for issue trackers data</title>
<updated>2019-06-13T17:02:13+00:00</updated>
<author>
<name>Jarka Košanová</name>
<email>jarka@gitlab.com</email>
</author>
<published>2019-05-22T15:47:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1f332ae8da994509232c7601074b25514ad23c52'/>
<id>1f332ae8da994509232c7601074b25514ad23c52</id>
<content type='text'>
- create tables for storing issue trackers properties
- add model and basic logic &amp; spec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- create tables for storing issue trackers properties
- add model and basic logic &amp; spec
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the schema of the common_metrics.yml</title>
<updated>2019-04-17T12:02:24+00:00</updated>
<author>
<name>rpereira2</name>
<email>rpereira@gitlab.com</email>
</author>
<published>2019-04-11T14:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8a51b21918161dda5977a92327175a1728efa1c8'/>
<id>8a51b21918161dda5977a92327175a1728efa1c8</id>
<content type='text'>
- Change it to the new dashboard syntax described here:
https://gitlab.com/gitlab-org/gitlab-ce/issues/60383.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Change it to the new dashboard syntax described here:
https://gitlab.com/gitlab-org/gitlab-ce/issues/60383.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix specs</title>
<updated>2019-02-15T16:37:55+00:00</updated>
<author>
<name>Felipe Artur</name>
<email>felipefac@gmail.com</email>
</author>
<published>2019-02-15T16:37:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bf99ce7bf8bf4bda75ca57f5db4d216f3585615a'/>
<id>bf99ce7bf8bf4bda75ca57f5db4d216f3585615a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
