maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS+M6] [Announce] Warehouse - native client for OpenRepos.net (https://talk.maemo.org/showthread.php?t=91574)

Custodian 2014-01-10 23:49

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by xerxes2 (Post 1405537)
Oh yeah one more thing. Warehouse should NEVER uninstall a package that is installed by default by Jolla. There must be a flag to check for that. I removed an app I have installed and Warehouse removed a lot of packages (as deps), ie perl, so I ended up installing the same package again and everything were put back in place, luckily! :) I'm not 100% sure of this as I've been messing around a lot on my jphone but it definitely is worth mentioning at least.

I guess that was autoremove of unused deps. Will fix that also.

xerxes2 2014-01-10 23:52

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Well, unused deps should be removed but it should not remove packages that are installed by default by Jolla, or installed by the user directly. I think the term is "explicitly installed" and there should be a flag for that.

Custodian 2014-01-10 23:55

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by xerxes2 (Post 1405541)
Well, unused deps should be removed but it should not remove packages that are installed by default by Jolla, or installed by the user directly. I think the term is "explicitly installed" and there should be a flag for that.

I cannot control that directly, since packagekit is resolving deps. He desides what can be removed, and what cannot be.

I will just disable unused deps removing for now, until that stuff clarified.

xerxes2 2014-01-10 23:59

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Ahh, I see. Yeah that is a Jolla bug if that's the case. They must fix that in their flasher/installer. But then it's best to not do it otherwise it could remove vital stuff too and make the phone not bootable. :p

Edit: Take a look here: http://forums.fedoraforum.org/showthread.php?t=284686

It seems that rpm doesn't got a flag for this.

Garp 2014-01-11 17:39

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Message "Package xxxx is not user package" ande then no install etc!? What's wrong here?:confused:

EDIT: Ok apt-get install in terminal if repository installed!:)

Custodian 2014-01-11 21:59

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by xerxes2 (Post 1405545)
Ahh, I see. Yeah that is a Jolla bug if that's the case. They must fix that in their flasher/installer. But then it's best to not do it otherwise it could remove vital stuff too and make the phone not bootable. :p

Edit: Take a look here: http://forums.fedoraforum.org/showthread.php?t=284686

It seems that rpm doesn't got a flag for this.

As I expect, vital stuff wont be removed. Manually installed deps (which are not automatically pulled in, but pkcon install/etc) should also be inplace. From my point I can forbid rpm to remove anything except target package.

xerxes2 2014-01-11 22:12

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Yes that's right. I tested a bit more now and first uninstalled panucci which removed perl, among other things, and then I manually installed perl with pkcon and then I installed/removed panucci and perl stayed on so it seems that it works as it should, only unused deps are removed by Warehouse.

Edit: I'm guessing it's libzypp that keeps track of this as rpm can't.

minimos 2014-01-12 09:19

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1405721)
From my point I can forbid rpm to remove anything except target package.

Just wondering, how would it fit the current UI scheme that if there are unrequired packages, Warehouse would ask on the spot whether to uninstall only the target package or everything?

Custodian 2014-01-12 09:27

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by minimos (Post 1405775)
Just wondering, how would it fit the current UI scheme that if there are unrequired packages, Warehouse would ask on the spot whether to install only the target package or everything?

If package have deps which are available, they will be installed automatically. There is no popup with notification, that extra downloads required. This will be added in future releases.

If deps are not available, error message will be shown with packages which are required, but not available.

nodevel 2014-01-12 10:34

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1405721)
From my point I can forbid rpm to remove anything except target package.

Is there something seriously wrong with zypper/pkcon?

Maybe it's only me (I'm used to Archlinux's pacman), but I expect this behavior:
When installing a package, it should install all the dependencies, if available.
When removing a package, it should check whether the dependencies originally installed are now owned (required) by any other package. If not, it should remove them, or at least notify the user which dependencies are no longer needed by any installed package so the user can remove them.

Custodian 2014-01-12 10:37

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by nodevel (Post 1405786)
Is there something seriously wrong with zypper/pkcon?

It work exactly the same way as you described. All is okay, no worries.

We are talking about removing deps which wasn't installed via warehouse channel (you still see all installed packages within warehouse, not only openrepos ones).

Custodian 2014-01-12 20:16

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Update 0.2-4 for sailfishos is out.

BonoNL 2014-01-12 21:18

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1405928)
Update 0.2-4 for sailfishos is out.

Thanks to the people @Togethet.jolla and the great coders here @TMO my problem is solved before I even know!

Thanks all.

nodevel 2014-01-13 11:18

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
I have noticed one thing - Jolla's apps usually have the 'Refresh' cover option on the right (Browser, E-mail), while Warehouse (and Tweetian) have it on the left.

Could you please change it so it matches the official apps?
I cannot say I like the right side better, but it is unlikely that Jolla's going to change it, so it would be nice to have unified behavior.

Custodian 2014-01-13 11:19

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by nodevel (Post 1406069)
I have noticed one thing - Jolla's apps usually have the 'Refresh' cover option on the right (Browser, E-mail), while Warehouse (and Tweetian) have it on the left.

Could you please change it so it matches the official apps?
I cannot say I like the right side better, but it is unlikely that Jolla's going to change it, so it would be nice to have unified behavior.

I noticed that suggestion at together.jolla.com. Since there is no cover actions yet (only icons are inplace) this could be easily done.

ginggs 2014-01-14 06:09

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
I'm unable to upgrade from warehouse 0.1.4 to 0.1.6 on my Nokia N9.
Trying apt-get upgrade from the terminal results in the following:
Code:

# apt-get upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages will be upgraded:
  warehouse
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/276kB of archives.
After this operation, 30.7kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Aegis rejecting /var/cache/apt/archives/warehouse_0.1.6_armel.deb: package 'warehouse' already installed from '/net.openrepos.harmattan' -- not replacing it from unknown origin
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
Updating desktop entries... Done
E: Sub-process /usr/bin/dpkg returned an error code (255)


coderus 2014-01-14 06:12

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
apt-get clean
apt-get update
apt-get upgrade

Custodian 2014-01-14 06:48

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by ginggs (Post 1406277)
I'm unable to upgrade from warehouse 0.1.4 to 0.1.6 on my Nokia N9.

If you still have problem, uninstall 0.1.4 first and then install 0.1.6.

minimos 2014-01-14 07:06

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1405776)
If package have deps which are available, they will be installed automatically. There is no popup with notification, that extra downloads required. This will be added in future releases.

If deps are not available, error message will be shown with packages which are required, but not available.

Sorry! I meant in the UNinstallation case, i.e. a choice in removing only the application or any freed up dependency package.

Custodian 2014-01-14 07:12

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by minimos (Post 1406289)
Sorry! I meant in the UNinstallation case, i.e. a choice in removing only the application or any freed up dependency package.

Yes, such option will be added as popup switch, or as settings switch.

xerxes2 2014-01-15 23:21

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
In sailfish links doesn't open the browser (xdg-open http...). No browser in the emulator so you probably just forgot to fix it.

szopin 2014-01-21 23:05

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Very worrying behaviour that should be either off by default or at least toggable in 'My profile':
That popup at the top about updates? I always assumed clicking it will take you to the updates page to make the decision. Since it never worked as I assumed, left it for the 5 seconds today and to my surprise it went and installed new updates without any interaction... wth? If someone pushes bricking update and connection lagged when someone started warehouse and then went to make a tea in the kitchen he would return to a bricked Jolla. Not cool. Please make it 'opt in'. Current behaviour (installing things without any active confirmation from user, passive 5 second cancel is fine when action was started by the user) some would classify as malware.

(sorry if above is harsh sounding, love the app please keep at it, awesome stuff. Would love to see this -devel thing replacing our extras-testing, as we have now Jolla store which would be real tested extras + all the untested stuff in Warehouse as -devel, why not make a sub-selection of apps that got enough thumbs ups/positive feedback from people installing it that would work like extras-testing? Positive feedback = not bricking, not yet ready for Jolla store, but people tested/liked it? We'd be back in N900 heaven (then again, ghost accounts thumbing up en masse to push malware as -testing could be a concern...))

Custodian 2014-01-22 04:51

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by szopin (Post 1408056)
Very worrying behaviour that should be either off by default or at least toggable in 'My profile':
That popup at the top about updates? I always assumed clicking it will take you to the updates page to make the decision.

It does exactly what you assumed. But since this is a remorse item, if you click, page won't open, and if you wait, it will be opened.

Warehouse does not install or update anything automatically. The only thing is enabling self-update channel (adding own repository for updates) at startup.

Quote:

Originally Posted by szopin (Post 1408056)
Since it never worked as I assumed, left it for the 5 seconds today and to my surprise it went and installed new updates without any interaction... wth?

This could not happen.

Please take a look at post #213.
Update popup is only a shortcut to page "Available updates" which can be opened as -> "My Profile" -> "Show updates".
Even when you are at "Updates", you have to manually select packages for update, and wait extra remorse timeout for action to be queued and executed.

Quote:

Originally Posted by szopin (Post 1408056)
why not make a sub-selection of apps that got enough thumbs ups/positive feedback from people installing it that would work like extras-testing? Positive feedback = not bricking, not yet ready for Jolla store, but people tested/liked it? We'd be back in N900 heaven (then again, ghost accounts thumbing up en masse to push malware as -testing could be a concern...))

Those subsections will be done in future, with extra marks like 'Harbour tests passed' or whatever else will be implemented.

szopin 2014-01-22 06:40

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1408089)
This could not happen.

But it did, I opened warehouse, waited for the 5 second banner to disappear but it went into updates page and the 'current action' display was already running, few seconds later there were no updates available.

edit: the other possibility is warehouse triggering update banner and activity reporting on Jolla store's activity, which was updating kitchen timer around that time, maybe warehouse thought it was its pkcon process running, will test when another update shows up

Custodian 2014-01-22 06:52

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by szopin (Post 1408102)
edit: the other possibility is warehouse triggering update banner and activity reporting on Jolla store's activity, which was updating kitchen timer around that time, maybe warehouse thought it was its pkcon process running, will test when another update shows up

That's exactly what happend. As I mentioned before, warehouse(at it current version) display whole package kit queue. So if you start install/uninstall/update/refresh from store or even console, warehouse will display, that there is already pending actions, that should be completed.
In future version, all queued transcations will be named, so you will be able to see, what exactly is queued, and will be executed.

szopin 2014-01-22 06:59

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Thanks, the behaviour was exactly as if warehouse triggered the install messages itself after no reaction to banner, and then no updates available screen just to reassure one it's all done, bit worrying. Glad it was just a misdirection, like with the banner :) Why not have it the other way around, if you want those updates clicking should get you there, waiting doesn't make sense, if you don't want to you just keep scrolling through the list for 5 seconds ignoring it, for me seems kinda backwards

Custodian 2014-01-22 07:07

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by szopin (Post 1408108)
if you want those updates clicking should get you there, waiting doesn't make sense, if you don't want to you just keep scrolling through the list for 5 seconds ignoring it, for me seems kinda backwards

It's all becouse of default remorse item have 'Tap to cancel' sign under the main text. Need to reimplement it, so it will be used as expected: "tap to proceed" :o

Custodian 2014-01-26 17:38

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Minor update Warehouse for SailfishOS v0.2-10

Minor UI improvements, extended app info: votes and downloads count, all transactions in queue should be named, so you will know what is going on here.
If any updates available, popup will be shown, with notice "Tap to proceed". It will open updates page, If clicked.

1) http://i57.fastpic.ru/thumb/2014/012...21b4782ac.jpeg 2) http://i57.fastpic.ru/thumb/2014/012...68824cebd.jpeg 3) http://i57.fastpic.ru/thumb/2014/012...3830afca0.jpeg 4) http://i57.fastpic.ru/thumb/2014/012...4fe6a9464.jpeg
  • 1) Downloads count and votes count at application info
  • 2) Shortcut for "check updates" added to pull menu.
  • 3) If update already queued, it will be shown with busy indicator
  • 4) Profile page shows all queued transactions at package kit. No more unnamed "pending" info :o

Sometimes, on my N9, list scrolling of recent apps freezes and hangs the entire application (with 100% cpu usage). Please test with real jphone, if this really occurs, or just my problem.

nodevel 2014-01-26 18:39

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1409103)
Sometimes, on my N9, list scrolling of recent apps freezes and hangs the entire application (with 100% cpu usage). Please test with real jphone, if this really occurs, or just my problem.

Yes, this happens on Jolla (but not on jphone) as well, but it doesn't show any error messages in the terminal. All you need to reproduce is to scroll fast up and down.

Thanks for the update though!

Custodian 2014-01-26 18:59

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by nodevel (Post 1409117)
Yes, this happens on Jolla (not jphone though) as well, but it doesn't show any error messages in the terminal. All you need to reproduce is to scroll fast up and down.

It's a pity. Bugs in Qt5+Silica are huge pain :(
I'll remove update for now. Will release 0.2-11 when fixed.

Custodian 2014-01-26 20:30

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Okay, let's try again with 0.2-11 release ;) works fine for me, so should work well on jphone.

nodevel 2014-01-26 20:54

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1409148)
Okay, let's try again with 0.2-11 release ;) works fine for me, so should work well on jphone.

Thanks, I cannot reproduce the bug in the new release (inside the recent apps list or search result list). But it still happens when you browse the apps by categories :(

EDIT: Edited to reflect the fact that it works fine in the search result screen.

Custodian 2014-01-26 20:57

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by nodevel (Post 1409160)
It still happens when you browse the apps by categories :)

pff, ridiculous (-: Will also change those, 0.2-12 will be out soon.

update: released

nodevel 2014-01-26 21:28

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Everythings works fine in the latest release. Good job!

minimos 2014-01-30 19:55

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Teeny tiny bug report: when looking at an app in Warehouse for SailfishOS (e.g. application to be installed) at the bottom of the page there is an area for related apps.
There is a typo in the name: "Releated"

gsalone 2014-01-31 15:44

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
And suddenly warehouse shows tens of updates for many many jolla components! Indicatively:

sailfish office v 1.0.5-10.9.1.jolla
nemo-qml-plugin email-qt5 v 0.1.18-10.6.1.jolla
sailfish-maps-all-translations v 0.0.1-10.1.2
nemo-qml-plugin-calendar-qt5 v 0.0.23-10.7.1.jolla
nemo-qml-plugin-alarms-qt5 v 0.1.1-10.4.1.jolla
jolla-email v 0.0.86-10.23.1.jolla
jolla-clock v 0.2.8.1-10.12.1.jolla
...
then some calligra-... ones

and some more..

What is this? Is it safe?

szopin 2014-01-31 15:51

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by gsalone (Post 1409995)
And suddenly warehouse shows tens of updates for many many jolla components! Indicatively:

sailfish office v 1.0.5-10.9.1.jolla
nemo-qml-plugin email-qt5 v 0.1.18-10.6.1.jolla
sailfish-maps-all-translations v 0.0.1-10.1.2
nemo-qml-plugin-calendar-qt5 v 0.0.23-10.7.1.jolla
nemo-qml-plugin-alarms-qt5 v 0.1.1-10.4.1.jolla
jolla-email v 0.0.86-10.23.1.jolla
jolla-clock v 0.2.8.1-10.12.1.jolla
...
then some calligra-... ones

and some more..

What is this? Is it safe?

Probably sailfish update. Better not install them one by one

gsalone 2014-01-31 15:56

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Major update on the way!
http://talk.maemo.org/showthread.php?t=92563

Custodian 2014-01-31 21:06

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by gsalone (Post 1409995)
And suddenly warehouse shows tens of updates for many many jolla components! Indicatively:

warehouse shows updates for all apps(packages) at system. acts as package manager.

Quote:

Originally Posted by gsalone (Post 1409995)
What is this? Is it safe?

depends on source of updates. should be safe, if they are from official one. disable all openrepos repos via profile menu, refresh updates, and check again.

Watchmaker 2014-01-31 21:28

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1410114)
depends on source of updates. should be safe, if they are from official one. disable all openrepos repos via profile menu, refresh updates, and check again.

About this: refreshing the package list takes a while more often than not, and now it is triggered everytime you disable/enable any single repo. Would it be possible to implement some sort of batch repo-managing process, with the refresh triggering only at the end of it?

I don't know, the first thing that comes to my mind is a separate "Manage Repos" page (in the Profile pulley menu for example) where I can plan all my edits, and then only when I "Accept" with a slide to the left the edits are actually applied and the refresh takes place?


All times are GMT. The time now is 18:03.

vBulletin® Version 3.8.8