<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/services, branch fixed-commit-timeago</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Merge branch 'remove-require-from-services' into 'master'</title>
<updated>2016-11-22T07:36:42+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>robert@gitlab.com</email>
</author>
<published>2016-11-22T07:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=60c2d5907226be8cca4b911cf5a85779ab587dd2'/>
<id>60c2d5907226be8cca4b911cf5a85779ab587dd2</id>
<content type='text'>

Remove unnecessary require_relative calls from service classes.

See merge request !7601</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Remove unnecessary require_relative calls from service classes.

See merge request !7601</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary require_relative calls from service classes</title>
<updated>2016-11-22T06:25:00+00:00</updated>
<author>
<name>Semyon Pupkov</name>
<email>mail@semyonpupkov.com</email>
</author>
<published>2016-11-19T13:32:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=724864eeb4b520f192c844b7672b497f2a4b8473'/>
<id>724864eeb4b520f192c844b7672b497f2a4b8473</id>
<content type='text'>
Rails by default use autoload for all dirs from app folder.
require_relative not needed. See ActiveSupport::Dependencies.autoload_paths
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rails by default use autoload for all dirs from app folder.
require_relative not needed. See ActiveSupport::Dependencies.autoload_paths
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'hide-empty-merge-request-diffs' into 'master'</title>
<updated>2016-11-21T19:23:22+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2016-11-21T19:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7a5e653fde62cfcd0e05be7954bbf14de0cb6d8c'/>
<id>7a5e653fde62cfcd0e05be7954bbf14de0cb6d8c</id>
<content type='text'>

Fix errors happening when source branch of merge request is removed and then restored

See merge request !7568</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Fix errors happening when source branch of merge request is removed and then restored

See merge request !7568</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'smarter-cache-invalidation' into 'master'</title>
<updated>2016-11-21T17:08:36+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2016-11-21T17:08:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=55ca2da7683a33872a25b2402435449435294c93'/>
<id>55ca2da7683a33872a25b2402435449435294c93</id>
<content type='text'>

Smarter cache invalidation

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23550

See merge request !7360</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Smarter cache invalidation

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23550

See merge request !7360</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor cache refreshing/expiring</title>
<updated>2016-11-21T14:05:13+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-11-18T13:04:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ffb9b3ef18dee6f7e561ff53253da42a25854c6c'/>
<id>ffb9b3ef18dee6f7e561ff53253da42a25854c6c</id>
<content type='text'>
This refactors repository caching so it's possible to selectively
refresh certain caches, instead of just expiring and refreshing
everything.

To allow this the various methods that were cached (e.g. "tag_count" and
"readme") use a similar pattern that makes expiring and refreshing
their data much easier.

In this new setup caches are refreshed as follows:

1. After a commit (but before running ProjectCacheWorker) we expire some
   basic caches such as the commit count and repository size.

2. ProjectCacheWorker will recalculate the commit count, repository
   size, then refresh a specific set of caches based on the list of
   files changed in a push payload.

This requires a bunch of changes to the various methods that may be
cached. For one, data should not be cached if a branch used or the
entire repository does not exist. To prevent all these methods from
handling this manually this is taken care of in
Repository#cache_method_output. Some methods still manually check for
the existence of a repository but this result is also cached.

With selective flushing implemented ProjectCacheWorker no longer uses an
exclusive lease for all of its work. Instead this worker only uses a
lease to limit the number of times the repository size is updated as
this is a fairly expensive operation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This refactors repository caching so it's possible to selectively
refresh certain caches, instead of just expiring and refreshing
everything.

To allow this the various methods that were cached (e.g. "tag_count" and
"readme") use a similar pattern that makes expiring and refreshing
their data much easier.

In this new setup caches are refreshed as follows:

1. After a commit (but before running ProjectCacheWorker) we expire some
   basic caches such as the commit count and repository size.

2. ProjectCacheWorker will recalculate the commit count, repository
   size, then refresh a specific set of caches based on the list of
   files changed in a push payload.

This requires a bunch of changes to the various methods that may be
cached. For one, data should not be cached if a branch used or the
entire repository does not exist. To prevent all these methods from
handling this manually this is taken care of in
Repository#cache_method_output. Some methods still manually check for
the existence of a repository but this result is also cached.

With selective flushing implemented ProjectCacheWorker no longer uses an
exclusive lease for all of its work. Instead this worker only uses a
lease to limit the number of times the repository size is updated as
this is a fairly expensive operation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/do-not-add-todo-when-build-allowed-to-fail' into 'master'</title>
<updated>2016-11-21T13:49:09+00:00</updated>
<author>
<name>Kamil Trzciński</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2016-11-21T13:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=77a4382712888131813ec008a8d4179bcf753b8b'/>
<id>77a4382712888131813ec008a8d4179bcf753b8b</id>
<content type='text'>

Do not create TODO when build is allowed to fail

## What does this MR do?

Do not create a TODO when build that failed is allowed to fail.

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing

## What are the relevant issue numbers?

Closes #22280

See merge request !7618</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Do not create TODO when build is allowed to fail

## What does this MR do?

Do not create a TODO when build that failed is allowed to fail.

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing

## What are the relevant issue numbers?

Closes #22280

See merge request !7618</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ee-870-backport' into 'master'</title>
<updated>2016-11-21T12:54:55+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2016-11-21T12:54:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=671c6d7d577d6b872bee7634c4eaf6b4da16919f'/>
<id>671c6d7d577d6b872bee7634c4eaf6b4da16919f</id>
<content type='text'>

Backport some changes done from Time Tracking feature in EE.

See merge request !7604</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Backport some changes done from Time Tracking feature in EE.

See merge request !7604</pre>
</div>
</content>
</entry>
<entry>
<title>Do not create TODO when build is allowed to fail</title>
<updated>2016-11-21T12:30:24+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2016-11-21T12:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f0d5ef963fb591beaec768262476677c8c48c734'/>
<id>f0d5ef963fb591beaec768262476677c8c48c734</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Do not create a MergeRequestDiff record when source branch is deleted"</title>
<updated>2016-11-21T12:26:26+00:00</updated>
<author>
<name>Adam Niedzielski</name>
<email>adamsunday@gmail.com</email>
</author>
<published>2016-11-18T10:14:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9e9965ba5ce5a2acca97325412c63eed398ef80b'/>
<id>9e9965ba5ce5a2acca97325412c63eed398ef80b</id>
<content type='text'>
This reverts commit f913170e2f76ef44800f0272cb7fb40b9d6709ee.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit f913170e2f76ef44800f0272cb7fb40b9d6709ee.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix regression in Merge request form</title>
<updated>2016-11-19T15:37:12+00:00</updated>
<author>
<name>Alex Sanford</name>
<email>alex.sanford1@gmail.com</email>
</author>
<published>2016-11-19T15:28:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=16a8d6442928b6909e4421430f4bfc9b725c1bc9'/>
<id>16a8d6442928b6909e4421430f4bfc9b725c1bc9</id>
<content type='text'>
Merge request !7163 caused an error message to appear on the Merge
Request form when it was first loaded by the user. This commit fixes
that regression bug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge request !7163 caused an error message to appear on the Merge
Request form when it was first loaded by the user. This commit fixes
that regression bug.
</pre>
</div>
</content>
</entry>
</feed>
