<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/models/protectable_dropdown_spec.rb, branch remove-commit-tree</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>Whitelist or fix additional `Gitlab/PublicSend` cop violations</title>
<updated>2017-08-14T16:14:11+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>rspeicher@gmail.com</email>
</author>
<published>2017-08-10T16:39:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=260c8da060a6039cbd47cfe31c8ec6d6f9b43de0'/>
<id>260c8da060a6039cbd47cfe31c8ec6d6f9b43de0</id>
<content type='text'>
An upcoming update to rubocop-gitlab-security added additional
violations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An upcoming update to rubocop-gitlab-security added additional
violations.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true</title>
<updated>2017-07-27T12:31:53+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-07-10T14:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ddccd24c1388dadc057ac3c4c0a49f3fea847292'/>
<id>ddccd24c1388dadc057ac3c4c0a49f3fea847292</id>
<content type='text'>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Protected Tags backend review changes</title>
<updated>2017-04-06T09:56:21+00:00</updated>
<author>
<name>James Edwards-Jones</name>
<email>jedwardsjones@gitlab.com</email>
</author>
<published>2017-04-05T17:59:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f16377e7dc762462817dd0b34e36811c55988b10'/>
<id>f16377e7dc762462817dd0b34e36811c55988b10</id>
<content type='text'>
Added changelog</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added changelog</pre>
</div>
</content>
</entry>
<entry>
<title>Extracted ProtectableDropdown to clean up Project#open_branches</title>
<updated>2017-04-03T16:19:53+00:00</updated>
<author>
<name>James Edwards-Jones</name>
<email>jedwardsjones@gitlab.com</email>
</author>
<published>2017-04-03T16:10:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b8c7bef5c092152ea85d1840e587cfc04293e1d7'/>
<id>b8c7bef5c092152ea85d1840e587cfc04293e1d7</id>
<content type='text'>
Makes it clear this is only used in dropdowns, instead of cluttering up Project class. Since we only care about branch names, it is also possible to refactor out a lot of the set/reject logic.

A benchmark on Array/Set subtraction favoured using Arrays. This was with 5000 ‘branches’ and 2000 ‘protections’ to ensure a similar comparison to the commit which introduced using Set for intersection.

Comparison:
   array subtraction:      485.8 i/s
     set subtraction:      128.7 i/s - 3.78x slower</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes it clear this is only used in dropdowns, instead of cluttering up Project class. Since we only care about branch names, it is also possible to refactor out a lot of the set/reject logic.

A benchmark on Array/Set subtraction favoured using Arrays. This was with 5000 ‘branches’ and 2000 ‘protections’ to ensure a similar comparison to the commit which introduced using Set for intersection.

Comparison:
   array subtraction:      485.8 i/s
     set subtraction:      128.7 i/s - 3.78x slower</pre>
</div>
</content>
</entry>
</feed>
