'snap info' should list source-code if existing
Bug #2074171 reported by
Nathan Teodosio
This bug report is a duplicate of:
Bug #2064651: `snap info` hides useful information (issue tracker, source code links) behind --verbose.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
'snap info' should show it.
To post a comment you must log in.
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:
``` /github. com/canonical/ mesa-2404/ issues /github. com/canonical/ mesa-2404 /github. com/canonical/ mesa-2404
$ snap info --verbose mesa-2404
...
links:
contact:
- https:/
source-code:
- https:/
website:
- https:/
```
Anyhow, I'll mark this as duplicate of #2064651 which requested to show some of the links by default if present.