Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Joona Hoikkala
On 21 Jan 2014, at 21:39, Mohammed Hassan wrote: > Each store has an audience. Harbour has its own audience as well as openrepos. This is exactly what I'm thinking, Openrepos is very appealing to me for example, but wouldn't I recommend it for my mother who doesn't have the required skill /

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Ruediger Gad
Please note: I actually didn't follow this discussion very closely but I think I can add at least one small comment. On 01/21/2014 10:03 PM, Martin Kolman wrote: > 21.1.2014 21:34, Martin Grimme: >> ... > Just a slight correction. As far as I know, you can only upload source code > to Extras-Devel

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Martin Kolman
21.1.2014 21:34, Martin Grimme: You can compare those in their function to Maemo Extras and Maemo Extras Devel in the old N900 days. Everybody could upload to Extras Devel, but to get stuff into Extras, it had to pass a quarantine and a (IMHO slow and frustrating) QA phase. Only Extras was pre-

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Martin Grimme
Hi 2014/1/21, kaa : > [...] Crap [...] Bla, bla , bla .. FUD .. bla bla bla [...] LOL [...] > bullshit [...] Howgh [...] Thank you for valuable feedback. :) IMHO, it makes sense to have both, Harbour and OpenRepos. You can compare those in their function to Maemo Extras and Maemo Extras Devel i

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Mohammed Hassan
On Tue, Jan 21, 2014 at 02:15:14PM +0200, Joona Hoikkala wrote: > Openrepos doesn't have any QA process, and you can publish your own closed > source blobs through it. > Meaning that someone could potentially push an application that steals or > destroys users data. Maybe openrepos does not hav

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread kaa
To: Sailfish OS Developers Subject: Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour .. runned as root .. because doing work on root level. Simple apps like "life years/months/days" are nice, but we need many better, stronger, "under-skin" apps.. Like Profile

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Andrey Kozhevnikov
...@iol.cz] Sent: Monday, January 13, 2014 2:22 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour .. runned as root .. because doing work on root level. Simple apps like "life years/months/days" are nice, but we need many better, stronge

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread Joona Hoikkala
a long run we hopefully have some better API or rules to solve this. I'm >> only saying current situation. >> >> re, Jonni >> >> From: devel-boun...@lists.sailfishos.org >> [devel-boun...@lists.sailfishos.org] on behalf of kaa [k...@iol.cz] >

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-21 Thread kaa
devel-boun...@lists.sailfishos.org] on behalf of kaa [k...@iol.cz] Sent: Monday, January 13, 2014 2:22 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour .. runned as root .. because doing work on root level. Simple apps like "life years/months

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-14 Thread Basil Semuonov
> > > [nemo@localhost ~]$ ssu ar chum > http://repo.merproject.org/obs/sailfishos:/chum:/1.0.2.5/1.0.2.5_armv7hl/ > > Interesting. On my emulator and sailfish-n9 it cannot make dbus call as nemo user(as root it can), fallsback to libssu, which cannot do anything, 'you're not root. run 'ssu ur' as r

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-13 Thread Jonni Rainisto
-boun...@lists.sailfishos.org] on behalf of kaa [k...@iol.cz] Sent: Monday, January 13, 2014 2:22 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour .. runned as root .. because doing work on root level. Simple apps like "life years/months/days" are ni

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-13 Thread kaa
rday, January 11, 2014 11:22 AM To: Sailfish OS Developers Subject: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour Why RPM scriptlets not allowed to harbour? ___ SailfishOS.org Devel mailing list ___

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Filip Kłębczyk
W dniu 12.01.2014 14:14, Mikael Hermansson pisze: To clarify... What I meant is app itself need no root. ofcourse user still need to pass root password to libssh to execute commands... well it sounds like a solution, but I would say it's a bit partisan type of thing. Anyway I would like to hea

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Mikael Hermansson
To clarify... What I meant is app *itself* need no root. ofcourse user still need to pass root password to libssh to execute commands... On Sunday 12 January 2014 14.11.55 Mikael Hermansson wrote: > On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote: > > So what would be the proper way of

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Mikael Hermansson
On Sunday 12 January 2014 11.21.56 Filip Kłębczyk wrote: > > So what would be the proper way of creating such app? Can someone from > Jolla - Thomas or anyone there who feels competent in this area suggest > the proper way of handling such use case. That could really help to > mitigate some of the

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread David Greaves
All run as user: (Aside: the "chum" repository is something I'm doing with my community hat on, not my Jolla one. It's intended to be run ***and QA'ed*** by the community. More on this 'soon') On 11/01/14 21:45, Semuonov Basil wrote:> I guess, that I am the person who started this story about scr

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Filip Kłębczyk
W dniu 11.01.2014 16:06, Thomas Perl pisze: The problem in this thread is that somebody is trying to do something that’s a bad idea in general. The question should not be “How do I make /usr/share/$NAME world-writable?” (that is usually NEVER a good idea), but rather “My app wants to do this a

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread Filip Kłębczyk
W dniu 11.01.2014 16:06, Thomas Perl pisze: The problem in this thread is that somebody is trying to do something that’s a bad idea in general. The question should not be “How do I make /usr/share/$NAME world-writable?” (that is usually NEVER a good idea), but rather “My app wants to do this a

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Jonni Rainisto
comes to device. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Semuonov Basil [basil.semuo...@gmail.com] Sent: Saturday, January 11, 2014 11:45 PM To: devel@lists.sailfishos.org Subject: [SailfishDevel] Scriptlets in RPM

[SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Semuonov Basil
I guess, that I am the person who started this story about scriptlets. As Thomas suggested at his mail ( https://lists.sailfishos.org/pipermail/devel/2014-January/002767.html ), here is the problem which I personally trying to solve using postinst scriplet: Sailfish use zypp as backend, packagekit

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Marcin M.
Hi, Sorry, I forgot about PackageKit! ;) I was still in the apt world :) Regards, -- Marcin 2014/1/11 Mike Sheldon > Hi Marcin, > > On Sat, 2014-01-11 at 16:49 +0100, Marcin M. wrote: > > So how else can we update sudoers...? No custom package manager could > > be done without it. > > As I

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Mike Sheldon
Hi Marcin, On Sat, 2014-01-11 at 16:49 +0100, Marcin M. wrote: > So how else can we update sudoers...? No custom package manager could > be done without it. As I understand it you don't need to be root to carry out package management tasks on Sailfish due to the way it implements packagekit, whi

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Alejandro Exojo escribió: > El Saturday 11 January 2014, Andrey Kozhevnikov escribió: > > There are reasons for chmod 666 in /usr/share/appname > > There are reasons for being 666 permissions, I got that, but isn't it > possible After reading Thomas' message, I've re

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Marcin M.
So how else can we update sudoers...? No custom package manager could be done without it. -- Marcin 2014/1/11 Thomas Perl > Duty calls[1]... > > tl;dr: No postinst scripts in Harbour. chmod 666 stuff in /usr/ is wrong. > > On 11 Jan 2014, at 13:51, Martin Kolman wrote: > > 11.1.2014 13:34, Al

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Thomas Perl
Duty calls[1]... tl;dr: No postinst scripts in Harbour. chmod 666 stuff in /usr/ is wrong. On 11 Jan 2014, at 13:51, Martin Kolman wrote: > 11.1.2014 13:34, Alejandro Exojo: >>> QA can check if post script doing some good job and allow it? >> If the script is simple, yes. If it is not, there is

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Andrey Kozhevnikov escribió: > There are reasons for chmod 666 in /usr/share/appname There are reasons for being 666 permissions, I got that, but isn't it possible the make that directory with such permissions as default? Sorry, I'm trying to understand the problem.

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Martin Kolman escribió: > 11.1.2014 13:34, Alejandro Exojo: > >> QA can check if post script doing some good job and allow it? > > > > If the script is simple, yes. If it is not, there is a serious risk that > > somebody adds a trojan horse to the phone. > > > > That

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Martin Kolman
11.1.2014 13:34, Alejandro Exojo: QA can check if post script doing some good job and allow it? If the script is simple, yes. If it is not, there is a serious risk that somebody adds a trojan horse to the phone. That would mean that somebody has to define what is a simple script. And that a pro

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
There are reasons for chmod 666 in /usr/share/appname Also i'm using scriptlets for closing my applications before installation new version/remove and so on On 11.01.2014 18:34, Alejandro Exojo wrote: El Saturday 11 January 2014, Andrey Kozhevnikov escribió: you suggested to change /usr/shar

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Alejandro Exojo
El Saturday 11 January 2014, Andrey Kozhevnikov escribió: > you suggested to change /usr/share/appname/data folder permissions in > post script, so that means no way to go to harbour for this application? Why is such thing needed? And even if needed, why not making the permissions right from the

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Martin Kolman
] Scriptlets in RPM hot allowed to Harbour Why RPM scriptlets not allowed to harbour? ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin...@gmail.com] Sent: Saturday, January 11, 2014 11:22 AM To: Sailfish OS Developers Subject: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Jonni Rainisto
: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour Why RPM scriptlets not allowed to harbour? ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list

[SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Andrey Kozhevnikov
Why RPM scriptlets not allowed to harbour? ___ SailfishOS.org Devel mailing list