Comment 1 for bug 2064651

Revision history for this message
Nathan Teodosio (nteodosio) wrote :

From the duplicate LP:2074171:

> 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.

Chromium defines[1] source-code but that is nowhere to be seen in snap info, but contact and website are although they are not defined. Something is off...

--->
% snap info --verbose chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
health:
  status: unknown
  message: health has not been set
publisher: Canonical✓
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
links:
  contact:
    - https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
  website:
    - https://code.launchpad.net/~chromium-team/chromium-browser/+git/snap-from-source
license: unset
<---

[1] https://git.launchpad.net/~chromium-team/chromium-browser/+git/snap-from-source/tree/snapcraft.yaml?h=stable#n4