<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/models, branch fix-commit-status-rendering</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>Fix review comments</title>
<updated>2016-03-14T12:33:26+00:00</updated>
<author>
<name>Kamil Trzcinski</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2016-03-14T12:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=16592e2b45d42e22f9d1d595a1f44821c7b30441'/>
<id>16592e2b45d42e22f9d1d595a1f44821c7b30441</id>
<content type='text'>
- Remove unused Gitlab::Application.routes.url_helpers from Ci::Build
- Remove too much logic from a view, use Ci::Commit.matrix_builds
- Use ci_status_with_icon
- Don't describe symbols
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove unused Gitlab::Application.routes.url_helpers from Ci::Build
- Remove too much logic from a view, use Ci::Commit.matrix_builds
- Use ci_status_with_icon
- Don't describe symbols
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix commit_spec: invalid validation</title>
<updated>2016-03-14T12:20:35+00:00</updated>
<author>
<name>Kamil Trzcinski</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2016-03-10T10:06:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f32e28f6faab176845a780d5b4d26881c08bcfec'/>
<id>f32e28f6faab176845a780d5b4d26881c08bcfec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup CiCommit and CiBuild</title>
<updated>2016-03-14T12:20:35+00:00</updated>
<author>
<name>Kamil Trzcinski</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2016-03-09T15:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0672258915a0cf444802ffc50ad1cd914f4f11d4'/>
<id>0672258915a0cf444802ffc50ad1cd914f4f11d4</id>
<content type='text'>
- Remove all view related methods from Ci::Build and CommitStatus
- Remove unused Ci::Commit and Ci::Build methods
- Use polymorphism to render different types of CommitStatus
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove all view related methods from Ci::Build and CommitStatus
- Remove unused Ci::Commit and Ci::Build methods
- Use polymorphism to render different types of CommitStatus
</pre>
</div>
</content>
</entry>
<entry>
<title>Disallow blank (non-null) values for a Note's `line_code` attribute</title>
<updated>2016-03-11T22:46:50+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>rspeicher@gmail.com</email>
</author>
<published>2016-03-11T22:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=01f6db4f643380d143772958b22d3f318b1db3a7'/>
<id>01f6db4f643380d143772958b22d3f318b1db3a7</id>
<content type='text'>
It's unclear how these blank values got added, but GitLab.com had a few:

```
irb(main):002:0&gt; Note.where("line_code IS NOT NULL AND line_code = ''").count
=&gt; 439
```

We've added a migration to convert any existing records to use a NULL
value when blank, and updated Note to set blank values to nil before
validation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unclear how these blank values got added, but GitLab.com had a few:

```
irb(main):002:0&gt; Note.where("line_code IS NOT NULL AND line_code = ''").count
=&gt; 439
```

We've added a migration to convert any existing records to use a NULL
value when blank, and updated Note to set blank values to nil before
validation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a UNION in MergeRequest.in_projects</title>
<updated>2016-03-11T20:26:32+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-03-07T11:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4f3fa519c627b7caf45273226ae438181dfbc392'/>
<id>4f3fa519c627b7caf45273226ae438181dfbc392</id>
<content type='text'>
The OR condition for source_project_id/target_project_id leads to a
query plan that performs rather poorly on PostgreSQL due to the use of
sub-queries. Because Rails offers no easy alternative for this
particular problem we're forced to using a UNION for both conditions.
The resulting query performs much faster than just using an OR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OR condition for source_project_id/target_project_id leads to a
query plan that performs rather poorly on PostgreSQL due to the use of
sub-queries. Because Rails offers no easy alternative for this
particular problem we're forced to using a UNION for both conditions.
The resulting query performs much faster than just using an OR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Corrected spec title for Namespace.search</title>
<updated>2016-03-11T20:25:24+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-03-04T11:15:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=78244ffcbff2d5f31611c7a793cad797905cd384'/>
<id>78244ffcbff2d5f31611c7a793cad797905cd384</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Namespace.search case-insensitive</title>
<updated>2016-03-11T20:25:24+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-03-04T11:06:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ee75c49313127f53fe60a0701f40024b897a15e8'/>
<id>ee75c49313127f53fe60a0701f40024b897a15e8</id>
<content type='text'>
This ensures searching namespaces works exactly the same as searching
for any other resource.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ensures searching namespaces works exactly the same as searching
for any other resource.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a few spec typos</title>
<updated>2016-03-11T20:25:23+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-03-04T10:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0ab9571ad791c608ec258426edb195ae95b45220'/>
<id>0ab9571ad791c608ec258426edb195ae95b45220</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ILIKE/LIKE for searching milestones</title>
<updated>2016-03-11T20:25:22+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-03-01T16:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2cf7f3f410832560bf049b24fbcaa27c1e3f30c7'/>
<id>2cf7f3f410832560bf049b24fbcaa27c1e3f30c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ILIKE/LIKE for Issuable.search and full_search</title>
<updated>2016-03-11T20:25:21+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-03-01T15:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=87e7c3e1321ac5ae26d6a23d7b16e8dadaff98d2'/>
<id>87e7c3e1321ac5ae26d6a23d7b16e8dadaff98d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
