After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772577 - Add custom uri handler for gnome-software
Add custom uri handler for gnome-software
Status: RESOLVED OBSOLETE
Product: website
Classification: Infrastructure
Component: extensions.gnome.org
current
Other Linux
: Normal normal
: ---
Assigned To: Yuri Konotopov
Shell extensions maintainer(s)
Depends on: 772576
Blocks:
 
 
Reported: 2016-10-07 16:27 UTC by Mario Wenzel
Modified: 2018-09-24 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GNOME Software icon with integration present (65.33 KB, image/png)
2017-01-17 19:55 UTC, Yuri Konotopov
Details

Description Mario Wenzel 2016-10-07 16:27:21 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=772576

When the xul-support in firefox is gone we want extension support in gnome-software. We want to connect gnome-software with extensions.gnome.org with a custom uri-handler, calling gnome-software from within the browser.

This ticket is to track the e.g.o side of the issue. The name of the handler is not yet known, neither is a possible design for the website.
Comment 1 Yuri Konotopov 2016-11-18 20:08:30 UTC
FYI I finally added experimental Firefox support to chrome-gnome-shell [1][2].
So it will supersede NPAPI Firefox plugin.

IMHO custom URI handler will be usefull in case when no integration extension is installed.
Also such handler may be compatible with integration extension. As I see such handler should begin with 'web+' prefix [3]. For example, 'web+gnomeshellextension://'.

[1] https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration/
[2] https://git.gnome.org/browse/chrome-gnome-shell/log/?h=feature/firefox
[3] https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
Comment 2 Yuri Konotopov 2016-12-27 10:10:07 UTC
For now I suggest 'web+gnomeshellextension://'.
We also should discuss URI format.
Comment 3 Mario Wenzel 2016-12-27 22:23:16 UTC
I believe the Id if the extension is fine. Steam does it the same way with their uri handler and it is resistant against name changes of the extension and naming confusion etc.
Comment 4 Yuri Konotopov 2016-12-28 06:42:17 UTC
Sounds good.
I will add button to every extension page with GNOME Software icon and hint "Open in GNOME Software"
Comment 5 Yuri Konotopov 2017-01-17 19:55:30 UTC
Created attachment 343670 [details]
GNOME Software icon with integration present

I added icon to feature/uri-handler git branch.

Demo site is deployed at https://sweettooth.coldzone.ru/extension/1/topicons-plus/ - there is only one extension, but it should be enough for test purposes.

As I see Chromium properly calls xdg-open for this URI, while Firefox or GNOME Web action is unclear for me. Probably this URI handler should be registered system-wide for those browsers.
Comment 6 Yuri Konotopov 2017-01-17 19:56:29 UTC
Please test and tell me if it enough
Comment 7 GNOME Infrastructure Team 2018-09-24 10:50:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/Infrastructure/Websites/issues/199.