-
- Downloads
Replace Gitlab::REVISION with Gitlab.revision and handle installations without a .git directory
Signed-off-by:
Rémy Coutable <remy@rymai.me>
Showing
- app/models/ci/build.rb 1 addition, 1 deletionapp/models/ci/build.rb
- app/views/admin/dashboard/index.html.haml 1 addition, 1 deletionapp/views/admin/dashboard/index.html.haml
- app/views/help/index.html.haml 1 addition, 1 deletionapp/views/help/index.html.haml
- changelogs/unreleased/46600-fix-gitlab-revision-when-not-in-git-repo.yml 6 additions, 0 deletions...leased/46600-fix-gitlab-revision-when-not-in-git-repo.yml
- config/initializers/console_message.rb 1 addition, 1 deletionconfig/initializers/console_message.rb
- config/initializers/sentry.rb 1 addition, 1 deletionconfig/initializers/sentry.rb
- lib/api/internal.rb 1 addition, 1 deletionlib/api/internal.rb
- lib/api/version.rb 1 addition, 1 deletionlib/api/version.rb
- lib/gitlab.rb 16 additions, 1 deletionlib/gitlab.rb
- lib/gitlab/gon_helper.rb 1 addition, 1 deletionlib/gitlab/gon_helper.rb
- lib/tasks/gitlab/info.rake 1 addition, 1 deletionlib/tasks/gitlab/info.rake
- spec/lib/gitlab_spec.rb 60 additions, 0 deletionsspec/lib/gitlab_spec.rb
- spec/models/ci/build_spec.rb 1 addition, 1 deletionspec/models/ci/build_spec.rb
- spec/requests/api/version_spec.rb 1 addition, 1 deletionspec/requests/api/version_spec.rb
- spec/views/admin/dashboard/index.html.haml_spec.rb 1 addition, 1 deletionspec/views/admin/dashboard/index.html.haml_spec.rb
- spec/views/help/index.html.haml_spec.rb 1 addition, 1 deletionspec/views/help/index.html.haml_spec.rb
Please register or sign in to comment