'snap info' should list source-code if existing

Bug #2074171 reported by Nathan Teodosio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned

Bug Description

https://snapcraft.io/docs/snapcraft-yaml-reference has source-code, "Location where the source of the snap can be found."

'snap info' should show it.

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

Note that the `source-code` attribute is part of snapcraft.yaml, not the snap metadata file (meta/snap.yaml). Those attributes are converted into `links[<string>] = []string` in the snap metadata.

Those are shown when you pass --verbose:

```
$ snap info --verbose mesa-2404
...
links:
  contact:
  - https://github.com/canonical/mesa-2404/issues
  source-code:
  - https://github.com/canonical/mesa-2404
  website:
  - https://github.com/canonical/mesa-2404
```

Anyhow, I'll mark this as duplicate of #2064651 which requested to show some of the links by default if present.

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.