Skip to content

Commit

Permalink
updater: ignore "ubuntu-core" in the Ubuntu fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-M authored and jzelinskie committed Feb 24, 2016
1 parent 4bdbd5e commit 3ecb8b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions database/namespace_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ var DebianReleasesMapping = map[string]string{

// UbuntuReleasesMapping translates Ubuntu code names to version numbers
var UbuntuReleasesMapping = map[string]string{
"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",
"precise": "12.04",
"quantal": "12.10",
"raring": "13.04",
"trusty": "14.04",
"utopic": "14.10",
"vivid": "15.04",
"wily": "15.10",
"xenial": "16.04",
}
1 change: 1 addition & 0 deletions updater/fetchers/ubuntu/ubuntu.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ var (
"oneiric": struct{}{},
"saucy": struct{}{},

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

// Syntax error
Expand Down

0 comments on commit 3ecb8b6

Please sign in to comment.