Confusing warning message and help information on the go plugin

Bug #1613980 reported by Didier Roche-Tolomelli
10
This bug affects 2 people
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-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)

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
Leo Arias (elopio)
tags: added: bitesize snap-docs ui
Changed in snapcraft:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
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)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

go vendor is the way forward and solution

Changed in snapcraft:
status: Confirmed → Won't Fix
Changed in snapcraft (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.