Confusing warning message and help information on the go plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
Medium
|
Muhammad Nissaar Mushir Gopee | ||
snapcraft (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
If a part is using the go plugin, we can see this warning (in yellow) during a snapcraft build:
"Please consider setting `go-importpath` for the 'face-detection
However, snapcraft help go reports:
"
- go-importpath:
(string)
This entry tells the checked out `source` to live within a certain path
within `GOPATH`.
This is not needed and does not affect `go-packages`.
"
The "This is not needed" and printing systematically a warning is confusing. As for most of projects, we don't need go-importpath, I would suggest removing the warning.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapcraft 2.14
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Aug 17 08:57:11 2016
InstallationDate: Installed on 2012-05-28 (1541 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitec
SourcePackage: snapcraft
UpgradeStatus: Upgraded to xenial on 2014-10-31 (655 days ago)
tags: | added: bitesize snap-docs ui |
Changed in snapcraft: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in snapcraft (Ubuntu): | |
importance: | Undecided → Low |
Changed in snapcraft: | |
assignee: | nobody → Muhammad Nissaar Mushir Gopee (nssaar) |
Status changed to 'Confirmed' because the bug affects multiple users.