Skip to content

Commit

Permalink
updater: Add support for Ubuntu Vivid Core and ignore Vivid PhoneOverlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-M committed Jan 25, 2016
1 parent 7b608ce commit 712aa11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 8 additions & 7 deletions database/os_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ var DebianReleasesMapping = map[string]string{
// UbuntuReleasesMapping translates Ubuntu code names to version numbers
// TODO That should probably be stored in the database or in a file
var UbuntuReleasesMapping = map[string]string{
"precise": "12.04",
"quantal": "12.10",
"raring": "13.04",
"trusty": "14.04",
"utopic": "14.10",
"vivid": "15.04",
"wily": "15.10",
"precise": "12.04",
"quantal": "12.10",
"raring": "13.04",
"trusty": "14.04",
"utopic": "14.10",
"vivid": "15.04",
"vivid/ubuntu-core": "15.04-core",
"wily": "15.10",
}
2 changes: 2 additions & 0 deletions updater/fetchers/ubuntu.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ var (
"oneiric": struct{}{},
"saucy": struct{}{},

"vivid/stable-phone-overlay": struct{}{},

// Syntax error
"Patches": struct{}{},
// Product
Expand Down

0 comments on commit 712aa11

Please sign in to comment.