<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/models/commit_spec.rb, branch docs/aws-install</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>Merge branch 'fix-committer-typo' into 'master'</title>
<updated>2018-09-25T17:08:23+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2018-09-25T17:08:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4ca1afec3534b7e70454bfd99552804c55ca0c83'/>
<id>4ca1afec3534b7e70454bfd99552804c55ca0c83</id>
<content type='text'>
Fix committer typo

Closes #51808

See merge request gitlab-org/gitlab-ce!21899</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix committer typo

Closes #51808

See merge request gitlab-org/gitlab-ce!21899</pre>
</div>
</content>
</entry>
<entry>
<title>Fix committer typo</title>
<updated>2018-09-25T08:51:07+00:00</updated>
<author>
<name>George Tsiolis</name>
<email>tsiolis.g@gmail.com</email>
</author>
<published>2018-09-25T08:37:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f6114939126493409eb7f1bab26eda15ec2d2473'/>
<id>f6114939126493409eb7f1bab26eda15ec2d2473</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `Gitlab::SafeRequestStore` in more places</title>
<updated>2018-09-24T19:11:27+00:00</updated>
<author>
<name>Michael Kozono</name>
<email>mkozono@gmail.com</email>
</author>
<published>2018-09-20T22:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a54a5d9f39df505fe7c68e14c693553bd29bd725'/>
<id>a54a5d9f39df505fe7c68e14c693553bd29bd725</id>
<content type='text'>
Even if it doesn’t save lines of code, since people will tend to use
code they’ve seen. And `SafeRequestStore` is safer since you
don’t have to remember to check `RequestStore.active?`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even if it doesn’t save lines of code, since people will tend to use
code they’ve seen. And `SafeRequestStore` is safer since you
don’t have to remember to check `RequestStore.active?`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make it clearer when Commit#description returns no_commit_message</title>
<updated>2018-08-21T10:41:25+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2018-08-21T09:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5759bfe029b5abb1c3550f702fc5a66da21cfa56'/>
<id>5759bfe029b5abb1c3550f702fc5a66da21cfa56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>to avoid “NoMethodError (undefined method `split' for nil:NilClass)” while safe_message is nil.</title>
<updated>2018-08-21T09:41:47+00:00</updated>
<author>
<name>yisiliang</name>
<email>yisiliang@foxmail.com</email>
</author>
<published>2018-02-07T15:30:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0d642e1e3c3619027876034f5af1116d00d96046'/>
<id>0d642e1e3c3619027876034f5af1116d00d96046</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Client-side fix for Gitaly TreeEntry bug</title>
<updated>2018-06-26T12:12:08+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>jacob@gitlab.com</email>
</author>
<published>2018-06-26T12:12:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=33c950f293f13aa4c4e1b2c098695cba3cd36029'/>
<id>33c950f293f13aa4c4e1b2c098695cba3cd36029</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Preload pipeline data for project pipelines</title>
<updated>2018-05-17T11:53:00+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2018-05-07T16:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=19428e800895ba20eacb3357285acef8d69f6d8c'/>
<id>19428e800895ba20eacb3357285acef8d69f6d8c</id>
<content type='text'>
When displaying the pipelines of a project we now preload the following
data:

1. Authors of the commits that belong to these pipelines
2. The number of warnings per pipeline, which is used by
   Ci::Pipeline#has_warnings?

== Commit Authors

Previously this data was queried for every Commit separately, leading to
20 SQL queries being executed in the worst case. With an average of 3 to
5 milliseconds per SQL query this could result in 100 milliseconds being
spent in _just_ getting Commit authors.

To preload this data Commit#author now uses BatchLoader (through
Commit#lazy_author), and a separate module
Gitlab::Ci::Pipeline::Preloader is used to ensure all authors are loaded
before they are used.

== Number of warnings

This changes Ci::Pipeline#has_warnings? so it supports preloading of the
number of warnings per pipeline. This removes the need for executing a
COUNT(*) query for every pipeline just to see if it has any warnings or
not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When displaying the pipelines of a project we now preload the following
data:

1. Authors of the commits that belong to these pipelines
2. The number of warnings per pipeline, which is used by
   Ci::Pipeline#has_warnings?

== Commit Authors

Previously this data was queried for every Commit separately, leading to
20 SQL queries being executed in the worst case. With an average of 3 to
5 milliseconds per SQL query this could result in 100 milliseconds being
spent in _just_ getting Commit authors.

To preload this data Commit#author now uses BatchLoader (through
Commit#lazy_author), and a separate module
Gitlab::Ci::Pipeline::Preloader is used to ensure all authors are loaded
before they are used.

== Number of warnings

This changes Ci::Pipeline#has_warnings? so it supports preloading of the
number of warnings per pipeline. This removes the need for executing a
COUNT(*) query for every pipeline just to see if it has any warnings or
not.
</pre>
</div>
</content>
</entry>
<entry>
<title>Workhorse to send raw diff and patch for commits</title>
<updated>2018-05-16T09:52:43+00:00</updated>
<author>
<name>Zeger-Jan van de Weg</name>
<email>git@zjvandeweg.nl</email>
</author>
<published>2018-05-15T15:05:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=dfdd88151092fde3e32729dd466ad9ba44e158c6'/>
<id>dfdd88151092fde3e32729dd466ad9ba44e158c6</id>
<content type='text'>
Prior to this change, this was done through unicorn. In theory this
could time out. Workhorse has been sending these raw patches and diffs
for a long time and is stable in doing so.

Added bonus is the fact that `Commit#to_patch` can be removed.

`Commit#to_diff` too, which closes
https://gitlab.com/gitlab-org/gitaly/issues/324

Closes https://gitlab.com/gitlab-org/gitaly/issues/1196
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this change, this was done through unicorn. In theory this
could time out. Workhorse has been sending these raw patches and diffs
for a long time and is stable in doing so.

Added bonus is the fact that `Commit#to_patch` can be removed.

`Commit#to_diff` too, which closes
https://gitlab.com/gitlab-org/gitaly/issues/324

Closes https://gitlab.com/gitlab-org/gitaly/issues/1196
</pre>
</div>
</content>
</entry>
<entry>
<title>Return nil on empty path</title>
<updated>2018-04-17T14:30:18+00:00</updated>
<author>
<name>Zeger-Jan van de Weg</name>
<email>git@zjvandeweg.nl</email>
</author>
<published>2018-04-17T14:30:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e02f1271f5784fe7c17a9efae8612999e1e62ee3'/>
<id>e02f1271f5784fe7c17a9efae8612999e1e62ee3</id>
<content type='text'>
The execution path wasn't clear from the error, but either way this is a
fix.

Closes gitlab-org/gitaly#1115
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The execution path wasn't clear from the error, but either way this is a
fix.

Closes gitlab-org/gitaly#1115
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an order dependency in a spec</title>
<updated>2018-01-29T16:18:31+00:00</updated>
<author>
<name>Nick Thomas</name>
<email>nick@gitlab.com</email>
</author>
<published>2018-01-29T16:18:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7b276a10764f629393ddac1fbd237d2efb69dfd6'/>
<id>7b276a10764f629393ddac1fbd237d2efb69dfd6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
