maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

coderus 2016-12-11 13:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Yes you need to upload only archives. No more RPM files.

Every archive should contain at least 3 files: patch, main.png icon and main.qml for patch info and settings.

Old rpm patches can be used for sure with no problems.

If you using py, wav, conf, sh files in your patch you should revise what are you doing, or continue making rpm patches.

Schturman 2016-12-11 14:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1520369)
Yes you need to upload only archives. No more RPM files.

Every archive should contain at least 3 files: patch, main.png icon and main.qml for patch info and settings.

Old rpm patches can be used for sure with no problems.

If you using py, wav, conf, sh files in your patch you should revise what are you doing, or continue making rpm patches.

Thanks for answer.

clovis86 2016-12-11 15:05

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
got an error while trying to install V2 :/

http://reho.st/preview/self/105e7cc9...dfaac1957d.png

coderus 2016-12-11 15:23

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by clovis86 (Post 1520378)
got an error while trying to install V2 :/

So? Go and uninstall old one.

PatsJolla 2016-12-11 15:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi coderus, very nice idea.
I have one wish:
Can you also support uninstallation of patches? Sometimes the name of the patch is very different from the actual package name. Like this we could simply uninstall what is not working anymore.

The function of Restart Lipstick/Homescreen is not there is this now automatically done or not needed anymore?


What can we do with developper mode? I don't see a difference when it's activated.

coderus 2016-12-11 17:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by PatsJolla (Post 1520383)
Hi coderus, very nice idea.
I have one wish:
Can you also support uninstallation of patches? Sometimes the name of the patch is very different from the actual package name. Like this we could simply uninstall what is not working anymore.

The function of Restart Lipstick/Homescreen is not there is this now automatically done or not needed anymore?


What can we do with developper mode? I don't see a difference when it's activated.

Uninstallation is possble only for new patches.

Restart preloaded services is here and should work

Developer mode is for installing patches not compatible with sfos version.

coderus 2016-12-12 18:23

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Updated server and client. Fixed some reported issues :)

coderus 2016-12-13 14:45

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Client and server updated to fix many problems.

coderus 2016-12-15 07:49

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Client updated to support integrated settings for rpm patches into Patchmanager 2.
You can move settings png icon, qml and qm translations to patchmanager folder. Rename icon to main.png, qml to main.qml. If you using translations rename qm files to translation_LANG-CODE-HERE.qm.

Schturman 2016-12-15 08:19

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hi Coderus.
Thanks for new patchmanager, I have two questions:
1. Can it be possible to install patches directly from zip file in terminal, for example if user don't have internet access but have the zip file itself ? If yes how ?
2. When I uninstall patch, the zip file not delete itself from /tmp directory.

Thanks

coderus 2016-12-15 09:16

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Just create folder in /usr/share/patchmanager/patches matching patch name and unpack archive here.
Thanks for info about tmp, i'll check this.

coderus 2016-12-15 14:18

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Updated patchmanager
- Screenshots now clickable
- Added uninstallation for RPM patches

coderus 2016-12-19 16:06

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Also patchmanager landing on openrepos is also opensource and can be found here: https://github.com/CODeRUS/django-test

coderus 2016-12-20 15:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Patchmanager2 is ready for translations: https://www.transifex.com/coderus/pa...er2/dashboard/

clovis86 2016-12-20 15:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
French part is done :cool:

sponka 2016-12-20 18:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Do I need "somehow" to enable new catalog?

Upgrade on my Jolla C from 2.0.0-10.9.1 fail:

https://dl.dropboxusercontent.com/u/.../Jolla/PM1.jpg


https://dl.dropboxusercontent.com/u/.../Jolla/PM2.jpg

coderus 2016-12-20 19:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
try with 2.0.10

sponka 2016-12-20 20:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1520834)
try with 2.0.10

Removed all patches and currently installed patchmanager. After that New version appeared:

https://dl.dropboxusercontent.com/u/...Jolla/PM04.jpg

Unfortunatelly still fail:

https://dl.dropboxusercontent.com/u/...Jolla/PM05.jpg

I tryed via cmd and got similar error, it also mentions "patchmanager-icons":


Code:

[root@Sailfish Downloads]# rpm -ivh jolla-settings-patchmanager-2.0.10-10.21.1.jolla_.armv7hl.rpm
error: Failed dependencies:
        patchmanager = 2.0.10-10.21.1.jolla is needed by jolla-settings-patchmanager-2.0.10-10.21.1.jolla.armv7hl
        patchmanager-icons is needed by jolla-settings-patchmanager-2.0.10-10.21.1.jolla.armv7hl
[root@Sailfish Downloads]#

As mentioned -- this is on Jolla C.

Thanks,
b.

coderus 2016-12-20 22:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
okay i see the reason. should be fixed now :)

malkavian 2016-12-20 22:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
#2138

Had same problem in Jolla phone. Clicked on "More apps by Coderus" (at the bottom of "Patchmanager 2.0" application details page) and from there upgraded "Patchmanager 2.0 daemon". After that "Patchmanager 2.0" installation worked.

sponka 2016-12-22 23:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
At the end, I just had to enter "pkcon refresh" and solved all problems :/

R1v3r 2016-12-27 19:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Ancelad

My remorce time out is not working. I uninstalled rpm package and installed patchmanager2 version, but not workin. Says patch is applied and remorce times are 2 sec and 3 secs, but still takin 5 sec time, when removing something.

Ancelad 2016-12-27 19:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Works fine for me, probably you should restart lipstick

R1v3r 2016-12-27 19:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Ancelad (Post 1521122)
Works fine for me, probably you should restart lipstick

Donīt know, what happened.

I installed this but it did not work.
I restarted preloaded services -> not working
I booted phone -> not working

Thout I start ovper. Unapplied patch -> restart preloaded services -> booted phone -> applied patch -> restarted preloaded service -> WORKS!!

There was some bytes floating and could not find its place :)

coderus 2017-01-25 11:57

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Created new patch: App Locker

Add functionality to secure selected applications with devicelock password.
Works only with device lock enabled.

Screenshots: https://coderus.openrepos.net/pm2/project/app-locker

Available to install only from online catalog.

MoritzJT 2017-01-25 12:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
This is nice! I just clicked a notification on SailorGram, bypassing the lock code and jumping into the already open tile. Also I have to open the browser via launcher, as clicking the tile doesn't open it. I was not set as locked app.

Other behavior is good!

coderus 2017-01-25 13:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by MoritzJT (Post 1522425)
This is nice! I just clicked a notification on SailorGram, bypassing the lock code and jumping into the already open tile. Also I have to open the browser via launcher, as clicking the tile doesn't open it. I was not set as locked app.

Other behavior is good!

Thanks, problem with browser and some other apps should be fixed in 1.0.1.

The functionality is kinda limited anyway, as there is no possibility to stop processes from launching :)

MoritzJT 2017-01-25 14:13

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
...
Quote:

Originally Posted by coderus (Post 1522426)
as there is no possibility to stop processes from launching :)

Pull the battery :P

Well it serves its purpose alright for now :)

Schturman 2017-01-26 07:12

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1522422)
Created new patch: App Locker

Add functionality to secure selected applications with devicelock password.
Works only with device lock enabled.

Screenshots: https://coderus.openrepos.net/pm2/project/app-locker

Available to install only from online catalog.

Thanks for nice patch.
I have a question, yesterday I tried to install analog clock from Ancelad, when bar is finished it still show me [click to install] and only after 3-4 attempts it installed. Same happens today when I tried to install update of your App locker... It still can't install. Lipstick restart not help, changing wifi/3g also not help... Any Idea?
And another question, If I put lock on People app, I still can access to it from Phone app (call contact) without lock asking. Is this normal behaviour ?
Thanks

coderus 2017-01-26 08:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
App Locker is not translatable: https://www.transifex.com/coderus/ap...tch/translate/

Quote:

Originally Posted by Schturman (Post 1522458)
I have a question, yesterday I tried to install analog clock from Ancelad, when bar is finished it still show me [click to install] and only after 3-4 attempts it installed. Same happens today when I tried to install update of your App locker... It still can't install. Lipstick restart not help, changing wifi/3g also not help... Any Idea?

Make sure you're using latest Patchmanager version, also if something happened check if it really not installed. Close settings and open again.

Quote:

Originally Posted by Schturman (Post 1522458)
And another question, If I put lock on People app, I still can access to it from Phone app (call contact) without lock asking. Is this normal behaviour ?
Thanks

Yes this is normal, it's not possible to prevent execution, only possible to restrict clicking actions in launcher and switcher :)

velox 2017-01-26 09:54

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1522462)

That URL is only visible if you're in the translation team for that project. Here's one without the 'translate/': https://www.transifex.com/coderus/app-locker-patch/

Cheers
[edit]Wow. no german translation added before I've seen it, that's rare. Added now ;)[/edit]

Schturman 2017-01-27 05:55

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1522462)
Make sure you're using latest Patchmanager version, also if something happened check if it really not installed. Close settings and open again.
Yes this is normal, it's not possible to prevent execution, only possible to restrict clicking actions in launcher and switcher :)

Thanks. Patchmanager was the last version, but it still not wanted update.
One thing helped, the uninstallation of previous version and installing new without any problem :)

coderus 2017-01-27 07:33

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by Schturman (Post 1522488)
Thanks. Patchmanager was the last version, but it still not wanted update.
One thing helped, the uninstallation of previous version and installing new without any problem :)

should be fixed in latest patchmanager released yesterday

R1v3r 2017-02-10 05:23

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@coderus,

You propably could already guess, what I am going to ask...

Umm. I just updated to Iijoki, but I forgot to unapply all patches. (And when I started updated, I noted, that this auto unapply did not work.)

It seems that almost all patches unapplied and got some of those back, but for example mazelock did not unapplied. -> I managed to uninstall it with patchmanager 2, but when I go to web catalog, it seems to be installed still there. and after restart preloaded services, it pops up to back to patch manager.

What is the code that could be applied with this new patchmanager, as was with this older one? (Where it uninstalled patchmanager and cleaned all traces of it.)

Sorry to bother you again with this kind of n00bie-****

Edit: And to add, that this battery overlay does not work. For this. Is it easier to maintain as program? or would it be possible to make as patch? :)

coderus 2017-02-10 07:13

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
well, if you tell patches did not unapplied automatically, then you did not used gui for upgrading, and updated via version --dup, or update failed at first attempt, and then you tried to update again without applying patch, or you did not enabled this patch at all.

To clean patchmanager state you should delete /var/lib/ausmt

R1v3r 2017-02-10 07:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1523235)
well, if you tell patches did not unapplied automatically, then you did not used gui for upgrading, and updated via version --dup, or update failed at first attempt, and then you tried to update again without applying patch, or you did not enabled this patch at all.

To clean patchmanager state you should delete /var/lib/ausmt

Patches that could not be unapplied after upgrade:

I used Patchmanager unappy all patches -> nothing happends.

-> unapplied all separately:
Mazelock did not unapplied, but all others did.

Patches that are applied ATM:
Camera device & overlay combo patch
Always show group deletion
Eventsview control
Launcer combined
Notification dismiss
Restore swipe to lock
switcher click hints launhcer
UI rotate free
MAZELOCK (With RED colour) -> not working
Conversation background avatar
Enter key send messages
Autocapitalization settings
Calllog timedisplay
Disable glass avatar (With RED text) -> not sure if working?
GPS supplier
Unapply all patches on upgrade
Remorse items timeout settings (with RED text) -> still works.

Not working: (Does not apply at all after upgrade)
Messages layout
Less home animations


For this mazelock, I tried to uninstall it with patchmanager 2 and it did "uninstall" but after restarted preloaded services, it pops up again.

I hope that this helps.

clovis86 2017-02-10 08:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1523235)
well, if you tell patches did not unapplied automatically, then you did not used gui for upgrading, and updated via version --dup, or update failed at first attempt, and then you tried to update again without applying patch, or you did not enabled this patch at all.

To clean patchmanager state you should delete /var/lib/ausmt

Also interested in a way to remove patch ( I'm in 2nd case you described, 1st attempt to update failed, and then forgot to apply patch :/ )

So I'm looking for /var/lib/ausmt and can't find it :/


http://reho.st/medium/self/fd44c6570...b59afef2e2.jpg

coderus 2017-02-10 09:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
ah sorry, it's /var/lib/parchmanager/ausmt, so you can remove whole /var/lib/patchmanager

clovis86 2017-02-10 09:32

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
perfect ! it works :)

coderus 2017-02-10 10:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Uploaded Patchmanager 2.3.1 with fixed "Unapply all patches" menu entry. "Unapply all patches on upgrade" patch is not affected.


All times are GMT. The time now is 22:44.

vBulletin® Version 3.8.8