-
- Downloads
cache the gpg commit signature
we store the result of the gpg commit verification in the db because the gpg verification is an expensive operation.
Showing
- app/models/commit.rb 5 additions, 20 deletionsapp/models/commit.rb
- app/views/projects/commit/_signature.html.haml 3 additions, 3 deletionsapp/views/projects/commit/_signature.html.haml
- lib/gitlab/gpg/commit.rb 51 additions, 0 deletionslib/gitlab/gpg/commit.rb
- spec/lib/gitlab/gpg/commit_spec.rb 53 additions, 0 deletionsspec/lib/gitlab/gpg/commit_spec.rb
- spec/models/commit_spec.rb 65 additions, 23 deletionsspec/models/commit_spec.rb
lib/gitlab/gpg/commit.rb
0 → 100644
spec/lib/gitlab/gpg/commit_spec.rb
0 → 100644
Please register or sign in to comment