Active Topics

 



Notices


Reply
Thread Tools
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#361
Originally Posted by Custodian View Post
just visit openrepos special link with rpm downloader, and follow basic instruction.
How does this link look like?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Custodian's Avatar
Posts: 747 | Thanked: 2,370 times | Joined on May 2012 @ Moscow, Russia
#362
Originally Posted by smoku View Post
How does this link look like?
Basically, like
Code:
https://openrepos.net/client?app/XXXX/view
which is same as
Code:
openrepos://app/XXXX/view
where the suffix(url query) is part of openrepos uri-scheme.

If you have warehouse installed, it will be opened and will process your request (instead of browser). If you dont have warehouse, brwoser will load page, and you will be redirected to warehouse installer/instructions.

This feature was used to show QR-codes for quick application installing, but is disabled now: QR codes are not shown, but the whole thing is working for harmattan.
__________________
twitter: @basil_s home: http://thecust.net
OpenRepos.net - community driven repository project. Warehouse - native client for OpenRepos.net
Buy me a beer
 

The Following User Says Thank You to Custodian For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#363
What about when visiting openrepos.net with the default browser, that it asks you to download and install the client on your phone?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Custodian's Avatar
Posts: 747 | Thanked: 2,370 times | Joined on May 2012 @ Moscow, Russia
#364
Originally Posted by HtheB View Post
What about when visiting openrepos.net with the default browser, that it asks you to download and install the client on your phone?
I dont think this is needed. Client is not needed until you want to install application. When you click on install link, suitable warehouse versions will be suggested.

But ofcourse, block with 'Install warehouse now!' could be added
__________________
twitter: @basil_s home: http://thecust.net
OpenRepos.net - community driven repository project. Warehouse - native client for OpenRepos.net
Buy me a beer
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#365
Originally Posted by Custodian View Post
Basically, like
Code:
https://openrepos.net/client?app/XXXX/view
I opened https://openrepos.net/client?app/pebble/view and got warehouse-installer_0.0.3_armel.deb download. Is it intended?

Originally Posted by Custodian View Post
which is same as
Code:
openrepos://app/XXXX/view
where the suffix(url query) is part of openrepos uri-scheme.

If you have warehouse installed, it will be opened and will process your request (instead of browser). If you dont have warehouse, brwoser will load page, and you will be redirected to warehouse installer/instructions.
Well... Are you sure openrepos://app/XXXX/view URL would work if I do not have warehouse installed?
If not, what is the use-case for this URL?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#366
Originally Posted by Custodian View Post
I dont think this is needed. Client is not needed until you want to install application. When you click on install link, suitable warehouse versions will be suggested.

But ofcourse, block with 'Install warehouse now!' could be added
Well.. It was a pain in the *ss to find the client...
This must be much easier if you ask me...
A little message at the top of the browser (with a link to the latest rpm file) couldn't hurt if you ask me...
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following User Says Thank You to HtheB For This Useful Post:
Custodian's Avatar
Posts: 747 | Thanked: 2,370 times | Joined on May 2012 @ Moscow, Russia
#367
Originally Posted by smoku View Post
I opened https://openrepos.net/client?app/pebble/view
Your link should be https://openrepos.net/client?app/8102/view

Originally Posted by smoku View Post
and got warehouse-installer_0.0.3_armel.deb download. Is it intended?
Only harmattan is supported atm. If you try that on N9, it will install warehouse for harmattan on your phone, and will show that application within warehouse.

When sailfishos will be supported, all functionality will be reenabled.

Originally Posted by smoku View Post
Well... Are you sure openrepos://app/XXXX/view URL would work if I do not have warehouse installed?
Ofcourse it will not work. Such links assume that user have warehouse installed.

That's why there is URL, when you intend user to use warehouse capabilities, and custom URI-scheme, which will work only if warehouse installed.

Originally Posted by smoku View Post
If not, what is the use-case for this URL?
The purpose is to use inside apps/sites, qrcodes for cross-linking between applications from developers. Products linking.
I.e. use "openrepos://app/XXXX/rate" in your app with title 'Rate my Application' ,or ''openrepos://app/XXXX/install" with title "Install this companion application for Pebble, if you want to support 4sq checkins!"
Or issue ''openrepos://app/XXXX/update" for self update, if your application sure that update is available, and shows own update details.
Just another way of one-way communications prior to dbus
__________________
twitter: @basil_s home: http://thecust.net
OpenRepos.net - community driven repository project. Warehouse - native client for OpenRepos.net
Buy me a beer

Last edited by Custodian; 2014-08-07 at 11:28.
 

The Following User Says Thank You to Custodian For This Useful Post:
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#368
Originally Posted by Custodian View Post
Only harmattan is supported atm.
Oh... Explains much.

Originally Posted by Custodian View Post
Ofcourse it will not work. Such links assume that user have warehouse installed. [...]

The purpose is to use inside apps/sites, qrcodes for cross-linking between applications from developers.
My concern is, that in case of site/QR code, I cannot assume user has Warehouse installed, thus I need to use http:// form.


Originally Posted by Custodian View Post
I.e. use "openrepos://app/XXXX/rate" in your app with title 'Rate my Application' ,or ''openrepos://app/XXXX/install" with title "Install this companion application for Pebble, if you want to support 4sq checkins!"
Or issue ''openrepos://app/XXXX/update" for self update, if your application sure that update is available, and shows own update details.
Are there more?
Is this documented anywhere?
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Custodian's Avatar
Posts: 747 | Thanked: 2,370 times | Joined on May 2012 @ Moscow, Russia
#369
Originally Posted by smoku View Post
My concern is, that in case of site/QR code, I cannot assume user has Warehouse installed, thus I need to use http:// form.
Yes, if you are not sure, use http form.

Originally Posted by smoku View Post
Are there more?
Is this documented anywhere?
Details will be published as soon as sailfishos will be supported.
Two actions are supported atm: client/start, and apps/ID/view as described at head post.
__________________
twitter: @basil_s home: http://thecust.net
OpenRepos.net - community driven repository project. Warehouse - native client for OpenRepos.net
Buy me a beer
 

The Following 2 Users Say Thank You to Custodian For This Useful Post:
akira.pwr's Avatar
Posts: 115 | Thanked: 72 times | Joined on Feb 2011 @ Vicenza, Italy
#370
I'm a new N9 user, I've tried to enable repos in Warehouse, but it don't works, I get error: some parts of the cache could not be refreshed.
I get this error in any repo I've tried to enable, what have I do?
 
Reply

Tags
app store, application, awesomeness, client, harmattan, immortalmeego, repository, sailfish os


 
Forum Jump


All times are GMT. The time now is 00:43.