Yes it could do that too but that would involve a more sophisticated UI - the list of packages that are actually getting installed has to be presented to the user, total size, localization and so on. I agree that it would be nice (can't think of any reason not to do it), it's just not high on the priority list I guess.

-Slava


Ok, so you are also saying that the "tap-on-RPM-to-install" mechanism in Sailfish OS could do it too but it's Jolla's choice not to? Is that for security reasons? Since the user has accepted the risks by ticking "untrusted sources", could the behaviour be changed?
------------------------------------------------------------------------
*De :* Devel <devel-boun...@lists.sailfishos.org> de la part de Slava Monich <slava.mon...@jolla.com>
*Envoyé :* vendredi 20 octobre 2017 09:46
*À :* devel@lists.sailfishos.org
*Objet :* Re: [SailfishDevel] Missing /usr/bin/sailfish-qml on the phone
Basically, I was trying to say that if Jolla Store client can do it and
command line pkcon can do it (i.e. automatically install dependencies)
then Warehouse can do it too. If Warehouse doesn't do it, it's the
choice made by the creator of the app. I pulled the sources and haven't
found anything there about the dependencies.

One thing that I learned today: The PackageKit currently used by
Sailfish OS (version 0.8.something + a few patches)  has D-Bus method
called GetDepends. However the smart upstream guys have renamed it into
DependsOn:

https://github.com/hughsie/PackageKit/commit/e590ed91

(backward compatibility? what's that? never heard of it!) meaning that
Warehouse should try both methods to make sure that it works with future
versions of PackageKit. Right now it doesn't seem to do anything.

Cheers,

-Slava


On 20/10/17 02:54, Osmo Salomaa wrote:
> On Fri, Oct 20, 2017, at 00:41, Slava Monich wrote:
>> ... but you can install an rpm by somehow transferring it to the phone
>> (e.g. by downloading it with the browser) and then tapping it in
>> Settings -> Transfers. You would have to allow installing untrusted
>> software first on the Settings -> Untrusted software page.
>>
>> I don't think this has anything to do with "pkcon refresh".
> I constantly keep running into reports from users where the dependencies
> cannot be found and the solution always is "pkcon refresh". As far as I
> know that happens both with OpenRepos + Warehouse and the manual way you
> describe. Please try to do something about this, it's annoying to tell
> users they need developer mode and command line just to install an RPM.
>
> https://together.jolla.com/question/132628
> https://github.com/otsaloma/poor-maps/issues/57
>

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to