<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/db, branch ce-detect-github-pull-requests</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>CE port for pipelines for external pull requests</title>
<updated>2019-09-05T14:53:48+00:00</updated>
<author>
<name>Fabio Pitino</name>
<email>fpitino@gitlab.com</email>
</author>
<published>2019-08-09T09:40:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ca6a1f33f91a8cceadebfb9c4e9ac6afa340f71d'/>
<id>ca6a1f33f91a8cceadebfb9c4e9ac6afa340f71d</id>
<content type='text'>
Detect if pipeline runs for a GitHub pull request

When using a mirror for CI/CD only we register a pull_request
webhook. When a pull_request webhook is received, if the
source branch SHA matches the actual head of the branch in the
repository we create immediately a new pipeline for the
external pull request. Otherwise we store the
pull request info for when the push webhook is received.

When using "only/except: external_pull_requests" we can detect
if the pipeline has a open pull request on GitHub and create or
not the job based on that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Detect if pipeline runs for a GitHub pull request

When using a mirror for CI/CD only we register a pull_request
webhook. When a pull_request webhook is received, if the
source branch SHA matches the actual head of the branch in the
repository we create immediately a new pipeline for the
external pull request. Otherwise we store the
pull request info for when the push webhook is received.

When using "only/except: external_pull_requests" we can detect
if the pipeline has a open pull request on GitHub and create or
not the job based on that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ab/unconfirmed-email-index' into 'master'</title>
<updated>2019-09-05T07:12:46+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2019-09-05T07:12:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8e6ff65541f5591074934358d09781e6f082152c'/>
<id>8e6ff65541f5591074934358d09781e6f082152c</id>
<content type='text'>
Create index for users.unconfirmed_email

See merge request gitlab-org/gitlab-ce!32664</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create index for users.unconfirmed_email

See merge request gitlab-org/gitlab-ce!32664</pre>
</div>
</content>
</entry>
<entry>
<title>Create index for users.unconfirmed_email</title>
<updated>2019-09-04T18:04:34+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2019-09-04T17:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7a890ae9ba053835d0bcb6473bdb3b1972dc882b'/>
<id>7a890ae9ba053835d0bcb6473bdb3b1972dc882b</id>
<content type='text'>
This speeds up the following query:

```sql
SELECT  users.* FROM users WHERE users.unconfirmed_email = ? ORDER BY
users.id ASC LIMIT 1
```

Presumably, this is a query coming from Devise.

Context is https://gitlab.com/gitlab-org/gitlab-ce/issues/66958.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This speeds up the following query:

```sql
SELECT  users.* FROM users WHERE users.unconfirmed_email = ? ORDER BY
users.id ASC LIMIT 1
```

Presumably, this is a query coming from Devise.

Context is https://gitlab.com/gitlab-org/gitlab-ce/issues/66958.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create partial index for gitlab-monitor CI metrics</title>
<updated>2019-09-04T11:43:51+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2019-09-02T15:26:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bd56acd37814933e5fb51f1fe1adce6171532979'/>
<id>bd56acd37814933e5fb51f1fe1adce6171532979</id>
<content type='text'>
This creates a partial index intended to speed up queries on
`ci_builds`. Particularly, `gitlab-monitor` has rather heavy queries.
Those have been changed to only look back 7 days and benefit from this
index tremendously.

Relates to
https://gitlab.com/gitlab-org/gitlab-exporter/merge_requests/101.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This creates a partial index intended to speed up queries on
`ci_builds`. Particularly, `gitlab-monitor` has rather heavy queries.
Those have been changed to only look back 7 days and benefit from this
index tremendously.

Relates to
https://gitlab.com/gitlab-org/gitlab-exporter/merge_requests/101.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create an event on epic actions</title>
<updated>2019-09-03T21:29:55+00:00</updated>
<author>
<name>Jan Provaznik</name>
<email>jprovaznik@gitlab.com</email>
</author>
<published>2019-09-03T21:29:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=243bd0202fe3373a997f5ed37c027ab8cfdfcb35'/>
<id>243bd0202fe3373a997f5ed37c027ab8cfdfcb35</id>
<content type='text'>
Creates new event when an epic is created, closed, reopened or
commented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creates new event when an epic is created, closed, reopened or
commented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ab-remove-support-bot-column' into 'master'</title>
<updated>2019-09-03T11:58:03+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorick@yorickpeterse.com</email>
</author>
<published>2019-09-03T11:58:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=da0a5c7cc20194b71c41bd5572717fd9ac382cf4'/>
<id>da0a5c7cc20194b71c41bd5572717fd9ac382cf4</id>
<content type='text'>
Remove Users.support_bot column

See merge request gitlab-org/gitlab-ce!32554</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove Users.support_bot column

See merge request gitlab-org/gitlab-ce!32554</pre>
</div>
</content>
</entry>
<entry>
<title>Fix cycle analytics seed script</title>
<updated>2019-09-03T10:04:11+00:00</updated>
<author>
<name>Adam Hegyi</name>
<email>ahegyi@gitlab.com</email>
</author>
<published>2019-09-03T10:04:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d4adad0c5e916f56717eaf9ed682fc542f3188dc'/>
<id>d4adad0c5e916f56717eaf9ed682fc542f3188dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added relationships between Release and Milestone</title>
<updated>2019-09-03T09:38:59+00:00</updated>
<author>
<name>Etienne Baqué</name>
<email>ebaque@gitlab.com</email>
</author>
<published>2019-09-03T09:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a43ab8d6a430014e875deb3bff3fd8d8da256747'/>
<id>a43ab8d6a430014e875deb3bff3fd8d8da256747</id>
<content type='text'>
Modified schema via migrations.
Added one-to-one relationship between the two models.
Added changelog file
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modified schema via migrations.
Added one-to-one relationship between the two models.
Added changelog file
</pre>
</div>
</content>
</entry>
<entry>
<title>Add not null constraints to prometheus_metrics table columns</title>
<updated>2019-09-03T04:41:19+00:00</updated>
<author>
<name>Arun Kumar Mohan</name>
<email>arunmohandm@gmail.com</email>
</author>
<published>2019-08-28T11:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ab60775216e6d23ec7ee8a580793b5b3fa92f6f9'/>
<id>ab60775216e6d23ec7ee8a580793b5b3fa92f6f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Users.support_bot column</title>
<updated>2019-09-02T18:22:20+00:00</updated>
<author>
<name>Andreas Brandl</name>
<email>abrandl@gitlab.com</email>
</author>
<published>2019-09-02T16:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1b81a81b9594300349ec90a710d3cfff857f6bda'/>
<id>1b81a81b9594300349ec90a710d3cfff857f6bda</id>
<content type='text'>
This column is not present in `db/schema.rb` and hence needs to be
removed conditionally.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/66901 for background
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This column is not present in `db/schema.rb` and hence needs to be
removed conditionally.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/66901 for background
</pre>
</div>
</content>
</entry>
</feed>
