gitlab-org--gitlab-foss/app
Zeger-Jan van de Weg 73e78c4e15
Don't use rugged in Repository#refs_hash
The refs hash is used to determine what branches and tags have a commit
as head in the network graph. The previous implementation depended on
Rugged#references. The problem with this implementation was that it
depended on rugged, but also that it iterated over all references and
thus loading more data than needed if for example the project uses CI/CD
environments, Pipelines, or Merge Requests.

Given only refs are checked the network cares about the GraphHelper#refs
method has no need to reject those, simplifying the method.

Closes gitlab-org/gitaly#880
2018-02-07 15:07:03 +01:00
..
assets Resolve "Add a link to documentation on how to get external ip in the Kubernetes cluster details page" 2018-02-06 14:59:15 +00:00
controllers Merge branch '39550-group-labels-redesign' into 'master' 2018-02-06 11:58:03 +00:00
finders Include subgroup issuables on the group page 2018-02-01 07:04:37 +01:00
helpers Don't use rugged in Repository#refs_hash 2018-02-07 15:07:03 +01:00
mailers use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
models Merge branch 'feature/sm/artifacts-trace' into 'master' 2018-02-06 14:18:26 +00:00
policies Hide pipeline schedule 'take ownership' for current owner 2018-02-01 17:25:13 +00:00
presenters
serializers Check MR state before submitting queries for discussion state 2018-01-29 23:53:47 -02:00
services Fix inital test failures 2018-02-06 15:50:08 +09:00
uploaders Drop filename enforcement 2018-02-06 15:50:08 +09:00
validators
views Don't use rugged in Repository#refs_hash 2018-02-07 15:07:03 +01:00
workers Reorder async/sync tasks in BuildFinishedWorker to read traces efficiently 2018-02-06 15:50:08 +09:00