<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/services, branch patch-14</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 access to projects shared with a nested group</title>
<updated>2017-02-28T12:18:20+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-02-27T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=05f331f3ce17ec15377209bf4980b4c91954aa59'/>
<id>05f331f3ce17ec15377209bf4980b4c91954aa59</id>
<content type='text'>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'only-create-unmergeable-todo-once' into 'master'</title>
<updated>2017-02-28T10:45:39+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2017-02-28T10:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cd92c84b5617970ee4b143687120668c6efa4a72'/>
<id>cd92c84b5617970ee4b143687120668c6efa4a72</id>
<content type='text'>

Only create unmergeable todos once

Closes #28555

See merge request !9513</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Only create unmergeable todos once

Closes #28555

See merge request !9513</pre>
</div>
</content>
</entry>
<entry>
<title>Include nested group into destroy_service_spec</title>
<updated>2017-02-27T12:28:02+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2017-02-27T12:28:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=334591dd766ca31ab087475bfefbb5eb9dd1a0cf'/>
<id>334591dd766ca31ab087475bfefbb5eb9dd1a0cf</id>
<content type='text'>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dm-fix-web-edit-new-lines' into 'master'</title>
<updated>2017-02-24T21:57:47+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>robert@gitlab.com</email>
</author>
<published>2017-02-24T21:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6e2f2f5da7387c7813b23304f51e917596f2b170'/>
<id>6e2f2f5da7387c7813b23304f51e917596f2b170</id>
<content type='text'>

Consistently create, update, and delete files, taking CRLF settings into account

See merge request !9207</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Consistently create, update, and delete files, taking CRLF settings into account

See merge request !9207</pre>
</div>
</content>
</entry>
<entry>
<title>Only create unmergeable todos once</title>
<updated>2017-02-24T17:18:12+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2017-02-24T15:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2da8bc3de9f8b63bd80a081c7e2880adee3edb71'/>
<id>2da8bc3de9f8b63bd80a081c7e2880adee3edb71</id>
<content type='text'>
Previously, we created an unmergeable todo when a merge request:

1. Had merge when pipeline succeeds set.
2. Became unmergeable.

However, when merge when pipeline succeeds fails due to unmergeability,
the flag isn't actually removed. And a merge request can become
unmergeable multiple times, as every time the target branch is updated
we need to re-check the mergeable status. This means that if the todo
was marked done, and the MR was checked again, a new todo would be
created for the same event.

Instead of checking this, we should create the todo from the service
responsible for merging when the pipeline succeeds. That way the todo is
guaranteed to only be created when we care about it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we created an unmergeable todo when a merge request:

1. Had merge when pipeline succeeds set.
2. Became unmergeable.

However, when merge when pipeline succeeds fails due to unmergeability,
the flag isn't actually removed. And a merge request can become
unmergeable multiple times, as every time the target branch is updated
we need to re-check the mergeable status. This means that if the todo
was marked done, and the MR was checked again, a new todo would be
created for the same event.

Instead of checking this, we should create the todo from the service
responsible for merging when the pipeline succeeds. That way the todo is
guaranteed to only be created when we care about it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename commit_file, commit_dir and remove_file and update specs</title>
<updated>2017-02-24T15:55:01+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-02-15T23:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=faa2e2df8fb95655ebfb8523689295e223005d9d'/>
<id>faa2e2df8fb95655ebfb8523689295e223005d9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement final review comments from @DouweM and @rymai</title>
<updated>2017-02-24T11:20:20+00:00</updated>
<author>
<name>Timothy Andrew</name>
<email>mail@timothyandrew.net</email>
</author>
<published>2017-02-16T07:05:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f2ed82fa8486875660b80dd061827ac8b86d00b6'/>
<id>f2ed82fa8486875660b80dd061827ac8b86d00b6</id>
<content type='text'>
- Have `Uniquify` take a block instead of a Proc/function. This is more
  idiomatic than passing around a function in Ruby.

- Block a user before moving their issues to the ghost user. This avoids a data
  race where an issue is created after the issues are migrated to the ghost user,
  and before the destroy takes place.

- No need to migrate issues (to the ghost user) in a transaction, because
  we're using `update_all`

- Other minor changes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Have `Uniquify` take a block instead of a Proc/function. This is more
  idiomatic than passing around a function in Ruby.

- Block a user before moving their issues to the ghost user. This avoids a data
  race where an issue is created after the issues are migrated to the ghost user,
  and before the destroy takes place.

- No need to migrate issues (to the ghost user) in a transaction, because
  we're using `update_all`

- Other minor changes
</pre>
</div>
</content>
</entry>
<entry>
<title>Deleting a user shouldn't delete associated issues.</title>
<updated>2017-02-24T11:20:19+00:00</updated>
<author>
<name>Timothy Andrew</name>
<email>mail@timothyandrew.net</email>
</author>
<published>2016-11-11T06:27:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ff19bbd3b40621ae94632b9aa68fd12645b6ed41'/>
<id>ff19bbd3b40621ae94632b9aa68fd12645b6ed41</id>
<content type='text'>
- "Associated" issues are issues the user has created + issues that the
  user is assigned to.

- Issues that a user owns are transferred to a "Ghost User" (just a
  regular user with `state = 'ghost'` that is created when
  `User.ghost` is called).

- Issues that a user is assigned to are moved to the "Unassigned" state.

- Fix a spec failure in `profile_spec` — a spec was asserting that when a user
  is deleted, `User.count` decreases by 1. After this change, deleting a user
  creates (potentially) a ghost user, causing `User.count` not to change. The
  spec has been updated to look for the relevant user in the assertion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- "Associated" issues are issues the user has created + issues that the
  user is assigned to.

- Issues that a user owns are transferred to a "Ghost User" (just a
  regular user with `state = 'ghost'` that is created when
  `User.ghost` is called).

- Issues that a user is assigned to are moved to the "Unassigned" state.

- Fix a spec failure in `profile_spec` — a spec was asserting that when a user
  is deleted, `User.count` decreases by 1. After this change, deleting a user
  creates (potentially) a ghost user, causing `User.count` not to change. The
  spec has been updated to look for the relevant user in the assertion.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dm-meer-blauw-op-straat' into 'master'</title>
<updated>2017-02-23T17:19:28+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>robert@gitlab.com</email>
</author>
<published>2017-02-23T17:19:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=170fef0bd34a853bc2499cc7335705f73bc98edb'/>
<id>170fef0bd34a853bc2499cc7335705f73bc98edb</id>
<content type='text'>

Enable (and disable) more RuboCops

See merge request !9432</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Enable (and disable) more RuboCops

See merge request !9432</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/gb/pipeline-retry-skipped-jobs' into 'master'</title>
<updated>2017-02-23T17:09:27+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2017-02-23T17:09:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6a39888344a2478db022fdf8b5e41fd7625d83ab'/>
<id>6a39888344a2478db022fdf8b5e41fd7625d83ab</id>
<content type='text'>

Fix reprocessing skipped jobs when retrying pipeline

See merge request !9436</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Fix reprocessing skipped jobs when retrying pipeline

See merge request !9436</pre>
</div>
</content>
</entry>
</feed>
