Confusing warning message and help information on the go plugin

Bug #1613980 reported by Didier Roche on 2016-08-17
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Medium
Muhammad Nissaar Mushir Gopee
snapcraft (Ubuntu)
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-backend' part"

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
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
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)
PackageArchitecture: all
SourcePackage: snapcraft
UpgradeStatus: Upgraded to xenial on 2014-10-31 (655 days ago)

Didier Roche (didrocks) wrote :
Leo Arias (elopio) on 2017-03-19
tags: added: bitesize snap-docs ui
Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapcraft (Ubuntu):
status: New → Confirmed
Changed in snapcraft (Ubuntu):
importance: Undecided → Low
Changed in snapcraft:
assignee: nobody → Muhammad Nissaar Mushir Gopee (nssaar)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers