Commit graph

6 commits

Author SHA1 Message Date
Thong Kuah
f0391c2517 Add frozen_string_literal to spec/support
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Stan Hu
645c7f9631 Fix order-dependent Gitaly specs failing
If `spec/tasks/gitlab/cleanup_rake_spec.rb` preceded any of the Gitaly
request specs, it would import the `cleanup.rake` and the global
function `limit`. For some reason, the Protobuf implementation would use
the global function instead of the getter method. For example:

```
def limit
  puts "hi"
end

req = Gitaly::WikiGetAllPagesRequest.new
req.send(:limit)
hi
=> nil
```

To fix this problem, access the field value using the [] operator
instead.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64006
2019-07-02 20:33:02 -07:00
Alejandro Rodríguez
58821ebbb4 Stop using deprecated path field on Gitaly messages
This revealed an error in our configuration generation in
gitlab:gitaly:install rake task. The fix is included
2017-06-14 19:33:43 -04:00
Alejandro Rodríguez
925945f01b Incorporate Gitaly's local_branches operation into repo code 2017-05-17 18:12:10 -04:00
Alejandro Rodríguez
267cd3e359 Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
Alejandro Rodríguez
f8fa6e6f47 Add internal endpoint to notify post-receive to Gitaly 2017-03-01 18:46:59 -03:00