- 22 Nov, 2016 1 commit
-
-
Robert Schilling authored
-
- 21 Nov, 2016 5 commits
-
-
Tomasz Maczukin authored
-
Robert Schilling authored
-
Yorick Peterse authored
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.
-
Tomasz Maczukin authored
-
Robert Schilling authored
-
- 18 Nov, 2016 7 commits
-
-
Ido Leibovich authored
Add a new endpoint in the new API for creating a new pipeline, and return the details of that pipeline.
-
Kamil Trzcinski authored
-
Lin Jen-Shin authored
This would fix long standing failures running tests on my development machine, which set `Gitlab.config.gitlab.host` to another host because it's not my local computer. Now I finally cannot withstand it and decided to fix them once and for all.
-
Z.J. van de Weg authored
This prevents leakage of project names on an endpoint which is unauthenticated and thus open to the world.
-
Rémy Coutable authored
It ensures we rely on `Gitlab::Shell`'s public API and not on its internal. Since `Gitlab::Shell` is caching the value of its token, the only way to get the correct token is to call `Gitlab::Shell.secret_token`, not to read the `Gitlab.config.gitlab_shell.secret_file` file! Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Z.J. van de Weg authored
-
Z.J. van de Weg authored
-
- 17 Nov, 2016 14 commits
-
-
Sean McGivern authored
Allow `order_by` and `sort` parameters to `/api/v3/groups.json`. At present, only ordering by name and path is supported, and the default sort is name ascending (alphabetical order).
-
Douglas Barbosa Alexandre authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
added missing fields to issue. Also, added a light url builder to add URLs easily from arel. Updated specs.
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
- 16 Nov, 2016 3 commits
-
-
Nick Thomas authored
gitlab-shell v3.6.6 would give project paths like so: * namespace/project gitlab-shell v4.0.0 can give project paths like so: * /namespace1/namespace2/project * /namespace/project * /path/to/repository/storage/namespace1/namespace2/project * /path/to/repository/storage/namespace/project
-
Tomasz Maczukin authored
-
Adam Niedzielski authored
-
- 15 Nov, 2016 6 commits
-
-
Dmitry Poray authored
-
Robert Schilling authored
-
Tomasz Maczukin authored
-
Francesco Coda Zabetta authored
-
Robert Schilling authored
-
Francesco Coda Zabetta authored
-
- 14 Nov, 2016 3 commits
-
-
Francesco Coda Zabetta authored
-
Francesco Coda Zabetta authored
-
Francesco Coda Zabetta authored
-
- 12 Nov, 2016 1 commit
-
-
Rebeca Méndez authored
-