appcenter-web icon indicating copy to clipboard operation
appcenter-web copied to clipboard

Add link to source code repository

Open waldyrious opened this issue 2 years ago • 5 comments

Problem

It would be nice to have a link from the AppCenter page to the project's source code repository. There currently is no way to locate the source code repository of a project from its AppCenter page.

Proposal

For example, in https://appcenter.elementary.io/io.elementary.calculator there could be a link to https://github.com/elementary/calculator, perhaps next to the "Download as Flatpak" button at the bottom. Maybe even replacing the "Publish on AppCenter" link, which IMO should be in a site-wide location like the header or the footer, rather than in a location that makes it seem like it's related to the particular package being viewed. Like this:

image

If there's agreement on this proposal, I'd be happy to contribute a PR implementing the first step, i.e. moving the "Publish on AppCenter" link to the site footer.

Prior Art (Optional)

No response

waldyrious avatar Apr 07 '22 18:04 waldyrious

It sounds like there’s now a tag for this in appstream so we’ll need to update to read that tag

danirabbit avatar Apr 07 '22 19:04 danirabbit

@danrabbit do you know what tag it is? If you can point it out I'll work it into the build process.

RMcNeely avatar Apr 30 '22 02:04 RMcNeely

@RMcNeely yes! It's the url tag and the type is vcs-browser

danirabbit avatar Apr 30 '22 02:04 danirabbit

I'll see what I can do!

RMcNeely avatar Apr 30 '22 02:04 RMcNeely

hmmm I appear to have messed up pulling the latest code from here into my fork. I'll get that resolved but in the meantime its branch RMcNeely/appcenter-web/84_addverson_control_url.

RMcNeely avatar Apr 30 '22 03:04 RMcNeely