<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/rubocop, branch instance_level_clusters</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>Run rubocop -a on CE files</title>
<updated>2019-05-05T10:24:28+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-05-05T10:19:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f93b2e02a56a3b1f3041119e8302d43aeafc8284'/>
<id>f93b2e02a56a3b1f3041119e8302d43aeafc8284</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to Rubocop 0.68.1</title>
<updated>2019-05-05T10:24:27+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-05-03T04:40:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d40298c8584fcd06b9549ab1674a3ec9c0ad9af0'/>
<id>d40298c8584fcd06b9549ab1674a3ec9c0ad9af0</id>
<content type='text'>
This adds Ruby 2.6 support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds Ruby 2.6 support.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cache current working directory to speed up Rubocop</title>
<updated>2019-05-03T12:44:46+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-05-03T12:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a8cbec49a09fc82f5d6b0a74f06858b667f39a56'/>
<id>a8cbec49a09fc82f5d6b0a74f06858b667f39a56</id>
<content type='text'>
This saves thousands of getcwd() system calls and improves the
performance of running Rubocop, which is also used by HAML linting.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61383
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This saves thousands of getcwd() system calls and improves the
performance of running Rubocop, which is also used by HAML linting.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61383
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Rubocop rule to ban include ActionView::Context</title>
<updated>2019-04-29T13:14:53+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-04-28T06:38:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=fad99d934f73536929c4a12e25308473b52769b5'/>
<id>fad99d934f73536929c4a12e25308473b52769b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Forbid the use of `#reload` and prefer `#reset`</title>
<updated>2019-04-15T11:05:14+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2019-04-08T13:33:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=650f40865e5d8136cb366fbde689c4100aafb0c5'/>
<id>650f40865e5d8136cb366fbde689c4100aafb0c5</id>
<content type='text'>
The `#reload` makes to load all objects into memory,
and the main purpose of `#reload` is to drop the association cache.

The `#reset` seems to solve exactly that case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `#reload` makes to load all objects into memory,
and the main purpose of `#reload` is to drop the association cache.

The `#reset` seems to solve exactly that case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly handle `ee` migration specs</title>
<updated>2019-03-27T21:48:53+00:00</updated>
<author>
<name>Heinrich Lee Yu</name>
<email>heinrich@gitlab.com</email>
</author>
<published>2019-03-27T21:48:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f234d9f12d6a054412067b955d3b765325d4ccc6'/>
<id>f234d9f12d6a054412067b955d3b765325d4ccc6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix-rubocop-ee-module-injection-detection' into 'master'</title>
<updated>2019-01-16T18:10:38+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2019-01-16T18:10:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=941f95ec7c3014dd6d12151434cb502379854402'/>
<id>941f95ec7c3014dd6d12151434cb502379854402</id>
<content type='text'>
Fix detecting nested EE constants in RuboCop

See merge request gitlab-org/gitlab-ce!24430</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix detecting nested EE constants in RuboCop

See merge request gitlab-org/gitlab-ce!24430</pre>
</div>
</content>
</entry>
<entry>
<title>Fix detecting nested EE constants in RuboCop</title>
<updated>2019-01-16T15:48:18+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2019-01-16T14:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9722158c15300dd4507cbb49b4230ab36b36ae65'/>
<id>9722158c15300dd4507cbb49b4230ab36b36ae65</id>
<content type='text'>
The InjectEnterpriseEditionModule cop would not detect certain nested EE
constants such as `EE::Foo::Bar::Baz`. This could result in it not
enforcing `prepend` being placed on the last line. This commit fixes
this by just performing a string match on the line, instead of relying
on AST matching.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The InjectEnterpriseEditionModule cop would not detect certain nested EE
constants such as `EE::Foo::Bar::Baz`. This could result in it not
enforcing `prepend` being placed on the last line. This commit fixes
this by just performing a string match on the line, instead of relying
on AST matching.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent factories in background migration specs</title>
<updated>2019-01-16T12:15:33+00:00</updated>
<author>
<name>Bob Van Landuyt</name>
<email>bob@vanlanduyt.co</email>
</author>
<published>2019-01-16T10:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7c801333a0f2c01639ed2d4b0eb5a1008de98fdb'/>
<id>7c801333a0f2c01639ed2d4b0eb5a1008de98fdb</id>
<content type='text'>
The Background migration specs also run against a certain version of
the database. So we should avoid using factories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Background migration specs also run against a certain version of
the database. So we should avoid using factories.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added Cop for injecting EE modules</title>
<updated>2018-12-13T15:09:21+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2018-12-13T14:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7c580556319658daae5a77b252e83bfc54305e64'/>
<id>7c580556319658daae5a77b252e83bfc54305e64</id>
<content type='text'>
This Cop enforces the rule that injecting EE modules (using prepend,
include, or extend) is done by placing the injection on the last line of
a file, instead of somewhere in the middle. By placing these lines at
the very end, merge conflicts will not happen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This Cop enforces the rule that injecting EE modules (using prepend,
include, or extend) is done by placing the injection on the last line of
a file, instead of somewhere in the middle. By placing these lines at
the very end, merge conflicts will not happen.
</pre>
</div>
</content>
</entry>
</feed>
