BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ab419b08
Commit
ab419b08
authored
Jul 21, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If version file is unavailable unknown status
parent
10d9df28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
CHANGELOG
CHANGELOG
+1
-1
workhorse.rb
lib/gitlab/workhorse.rb
+2
-3
No files found.
CHANGELOG
View file @
ab419b08
...
@@ -5,6 +5,7 @@ v 8.11.0 (unreleased)
...
@@ -5,6 +5,7 @@ v 8.11.0 (unreleased)
- Limit git rev-list output count to one in forced push check
- Limit git rev-list output count to one in forced push check
- Retrieve rendered HTML from cache in one request
- Retrieve rendered HTML from cache in one request
- Load project invited groups and members eagerly in ProjectTeam#fetch_members
- Load project invited groups and members eagerly in ProjectTeam#fetch_members
- Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska Ula Budziszewska)
v 8.10.0
v 8.10.0
- Fix profile activity heatmap to show correct day name (eanplatter)
- Fix profile activity heatmap to show correct day name (eanplatter)
...
@@ -164,7 +165,6 @@ v 8.10.0
...
@@ -164,7 +165,6 @@ v 8.10.0
- Export and import avatar as part of project import/export
- Export and import avatar as part of project import/export
- Fix migration corrupting import data for old version upgrades
- Fix migration corrupting import data for old version upgrades
- Show tooltip on GitLab export link in new project page
- Show tooltip on GitLab export link in new project page
- Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska)
v 8.9.6
v 8.9.6
- Fix importing of events under notes for GitLab projects. !5154
- Fix importing of events under notes for GitLab projects. !5154
...
...
lib/gitlab/workhorse.rb
View file @
ab419b08
...
@@ -77,9 +77,8 @@ module Gitlab
...
@@ -77,9 +77,8 @@ module Gitlab
end
end
def
version
def
version
if
File
.
readable?
(
File
.
join
(
Rails
.
root
,
VERSION_FILE
))
path
=
Rails
.
root
.
join
(
VERSION_FILE
)
File
.
read
(
File
.
join
(
Rails
.
root
,
VERSION_FILE
))
path
.
readable?
?
path
.
read
.
chomp
:
'unknown'
end
end
end
protected
protected
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment