Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adds the Rubocop ReturnNil cop | Andrew Newdigate | 2019-03-06 | 1 | -1/+1 |
| | | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points | ||||
* | Allow SshHostKey.find_by to accept string keys | Nick Thomas | 2019-02-04 | 1 | -0/+1 |
| | |||||
* | Fix SSH Detect Host Keys not working | Stan Hu | 2019-02-03 | 1 | -1/+1 |
| | | | | | | | | | | | | Due to a change in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24245, the Detect Host Key feature in the SSH mirroring stopped working. `SshHostKey#primary_key` was being used instead of the hard-coded `:id`. However, `SshHostKey#find_by` was expecting the symbolized `:id` rather than the string `id`, so it could never find the host key it was supposed to update. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56855 | ||||
* | Implement SshHostKey.primary_key method | Peter Leitzen | 2019-01-08 | 1 | -0/+5 |
| | |||||
* | Backport SSH host key detection code to CE | Nick Thomas | 2018-10-25 | 1 | -0/+130 |
This functionality is needed for SSH push mirroring support, which is a CE feature. |