Re: [Lazarus] An online package manager

2015-08-11 Thread Michael Van Canneyt
On Tue, 11 Aug 2015, Graeme Geldenhuys wrote: On 2015-08-11 07:44, Michael Van Canneyt wrote: This is why we opted to make the package format fpmake.pp a pascal file. A very wise move. :) I guess fpmake.pp is exactly the same thing... I often write small console tools to accomplish some

Re: [Lazarus] An online package manager

2015-08-11 Thread Graeme Geldenhuys
On 2015-08-11 07:44, Michael Van Canneyt wrote: This is why we opted to make the package format fpmake.pp a pascal file. A very wise move. :) I guess fpmake.pp is exactly the same thing... I often write small console tools to accomplish some tasks, because I can't bother the learn the various

Re: [Lazarus] An online package manager

2015-08-11 Thread Michael Van Canneyt
On Mon, 10 Aug 2015, Graeme Geldenhuys wrote: On 2015-08-10 20:22, Juha Manninen wrote: Unit dependencies are already specified in uses sections of the units themselves. In the case of fpGUI I couldn't create a single fpgui_toolkit.lpk package that fully supports fpGUI, because depending

Re: [Lazarus] An online package manager

2015-08-10 Thread Michael Van Canneyt
On Mon, 10 Aug 2015, Tony Whyman wrote: This is a very good idea and IMHO something that should be given a high priority. However, rather than chat about solutions, I'd like to propose some user requirements: 1. The Package Distribution Model should be similar to if not based on the

Re: [Lazarus] An online package manager

2015-08-10 Thread Tony Whyman
This is a very good idea and IMHO something that should be given a high priority. However, rather than chat about solutions, I'd like to propose some user requirements: 1. The Package Distribution Model should be similar to if not based on the approach used for the Debian and RPM Package

Re: [Lazarus] An online package manager

2015-08-10 Thread Michael Van Canneyt
On Mon, 10 Aug 2015, Juha Manninen wrote: On Mon, Aug 10, 2015 at 1:15 PM, Michael Van Canneyt mich...@freepascal.org wrote: Why not ? fppkg just needs a zip file, and expects a fpmake.pp. The fpmake.pp is easily translatable to lazarus package and vice versa. Now I have a gap in my

Re: [Lazarus] An online package manager

2015-08-10 Thread Juha Manninen
On Mon, Aug 10, 2015 at 5:29 PM, Michael Van Canneyt mich...@freepascal.org wrote: - As part of the build instructions, dependencies between packages but also between units can (and must) be specified. Why is that? Unit dependencies are already specified in uses sections of the units

Re: [Lazarus] An online package manager

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-10 16:15, Michael Van Canneyt wrote: 3. Locally installed packages (i.e. under the user account) should override and replace packages with the same name installed at the system level. Should be doable. Already possible/supported. I've been doing something similar for years. I

Re: [Lazarus] An online package manager

2015-08-10 Thread Tony Whyman
On 10/08/15 16:15, Michael Van Canneyt wrote: 4. All packages in the repository should be signed (e.g. using a GPG user key). Only packages signed using a known key should be allowed to install. I don't see the point in that. An online repository is potentially vulnerable to: - DoS

Re: [Lazarus] An online package manager

2015-08-10 Thread Michael Van Canneyt
On Mon, 10 Aug 2015, Juha Manninen wrote: On Mon, Aug 10, 2015 at 5:29 PM, Michael Van Canneyt mich...@freepascal.org wrote: - As part of the build instructions, dependencies between packages but also between units can (and must) be specified. Why is that? Unit dependencies are already

Re: [Lazarus] An online package manager

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-10 20:22, Juha Manninen wrote: Unit dependencies are already specified in uses sections of the units themselves. In the case of fpGUI I couldn't create a single fpgui_toolkit.lpk package that fully supports fpGUI, because depending on the platform, it has different unit paths, and in

Re: [Lazarus] An online package manager

2015-08-10 Thread Juha Manninen
On Mon, Aug 10, 2015 at 10:14 AM, Aradeonas aradeo...@operamail.com wrote: The most important part is it make easy to use packages and sharing them so increase the power of community and get more attention on each other work and attract new users to this brilliant space ;) Yes but let's leave

Re: [Lazarus] An online package manager

2015-08-10 Thread Aradeonas
Yes but let's leave the spirit elevation speeches and do some code. Im working on it before making topic but as many others here Im also busy with some projects but the difference is I like it and Im working on it no matter what ;) Well, I can promise to do code myself only after a month or so.

Re: [Lazarus] An online package manager

2015-08-10 Thread Juha Manninen
On Mon, Aug 10, 2015 at 8:52 AM, Aradeonas aradeo...@operamail.com wrote: Im agree with Luiz,Its better to have them in a server as a pack, No, Luiz suggested the opposite, to download from SCM directly without any packs. I don't know why people are obsessed with SCM tools for a feature that

Re: [Lazarus] An online package manager

2015-08-10 Thread Aradeonas
I read it wrongly,No I dont like getting directly because of many reasons like their services limit and the soul of no force dependency on others of FPC and Lazarus. I think we are the same page. Its good to have a server that get around packages together from supported sources and so on.

Re: [Lazarus] An online package manager

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-09 23:30, luiz americo pereira camara wrote: I would download from the SCM ( git/svn) directly, like bower does. The data necessary to register the package would be name, description, dependencies, the SCM type, and the repository URL. I would suggest the same idea. Take a look at

Re: [Lazarus] An online package manager

2015-08-10 Thread Aradeonas
Thank you for the explanation Graeme. I think its better to archive each version in Lazarus host or a central is better way but get them when updated from the source so prevent problems like availability , think as as a sync central, because as I saw always be here and stable is a major points of

Re: [Lazarus] An online package manager

2015-08-10 Thread Juha Manninen
On Mon, Aug 10, 2015 at 12:27 PM, Aradeonas aradeo...@operamail.com wrote: There is one tiny problem that keep packages uptodate, we can sync as package maintainer update it in a client tools or we can sync it in a cycle . not decided yet. Supporting package update from the client tools would

Re: [Lazarus] An online package manager

2015-08-10 Thread luiz americo pereira camara
Em 10/08/2015 06:30, Juha Manninen juha.mannine...@gmail.com escreveu: On Mon, Aug 10, 2015 at 8:52 AM, Aradeonas aradeo...@operamail.com wrote: Im agree with Luiz,Its better to have them in a server as a pack, In fact I like the FreeBSD ports system. Does it depend on SCM tools or does it

Re: [Lazarus] An online package manager

2015-08-10 Thread Aradeonas
If someone needs an explanation of how this is done, I can provide whatever is needed. Ok,I really want to hear from you about this. The only thing I ask is that if a web-interface is made, and it needs a database, it depends only on postgres or firebird. No mysql. Preferably the backend of

Re: [Lazarus] An online package manager

2015-08-10 Thread Michael Van Canneyt
On Mon, 10 Aug 2015, Juha Manninen wrote: It may be rather easy using HTTP or FTP download like fppkg is doing. Some of its code can be used. The package list must be one file (just like fppkg uses) to minimize server load. The package format cannot be shared with fppkg though. Why not ?

Re: [Lazarus] An online package manager

2015-08-10 Thread silvioprog
On Sat, Aug 8, 2015 at 10:27 AM, Aradeonas aradeo...@operamail.com wrote: [Cross posted on forum so if you want answer there :http://forum.lazarus.freepascal.org/index.php/topic,29284.0.html http://forum.lazarus.freepascal.org/index.php/topic,29007.0.html] Hi, I saw Embarcadero's Getit

Re: [Lazarus] An online package manager

2015-08-10 Thread Juha Manninen
On Mon, Aug 10, 2015 at 1:15 PM, Michael Van Canneyt mich...@freepascal.org wrote: Why not ? fppkg just needs a zip file, and expects a fpmake.pp. The fpmake.pp is easily translatable to lazarus package and vice versa. Now I have a gap in my knowledge. I thought that fpmake is a replacement for

Re: [Lazarus] An online package manager

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-10 14:42, Juha Manninen wrote: I want to understand this topic better. fppkg and fpmake works together. fpmake can generate a zip archive and a manifest file for use with fppkg server. Take a look at fpGUI's fpmake.pas unit. $ cd fpgui/src/ $ fpc fpmake.pas $ fpmake --help Usage:

Re: [Lazarus] An online package manager

2015-08-10 Thread Graeme Geldenhuys
On 2015-08-10 10:17, Juha Manninen wrote: Phase 3 : Support user rating and comments for packages. Phase 4: Build a online store where ISV's can sell their packages, and accept Google Wallet, PayPal or BitCoin payments. ;-) Regards, - Graeme - --

Re: [Lazarus] An online package manager

2015-08-09 Thread Aradeonas
Me too. Regards, Ara -- http://www.fastmail.com - Accessible with your email software or over the web -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] An online package manager

2015-08-09 Thread luiz americo pereira camara
Em 08/08/2015 21:49, Kostas Michalopoulos badsectorac...@gmail.com escreveu: I would make this more complicated than absolutely necessary. lpk files have version and dependency information. AFAIK that is all you need to get a minimum working package manager using a central repository although

Re: [Lazarus] An online package manager

2015-08-09 Thread Juha Manninen
It may be rather easy using HTTP or FTP download like fppkg is doing. Some of its code can be used. The package list must be one file (just like fppkg uses) to minimize server load. The package format cannot be shared with fppkg though. I don't think the server load will be a problem. The

Re: [Lazarus] An online package manager

2015-08-09 Thread Aradeonas
Im agree with Luiz,Its better to have them in a server as a pack,because as you (Juha) said we dont want do any force dependency on anything like Git or Github so we can cache the packages in a server as a zip but for a job like this I want to read previous and others work completely and make a

[Lazarus] An online package manager

2015-08-08 Thread Aradeonas
[Cross posted on forum so if you want answer there : http://forum.lazarus.freepascal.org/index.php/topic,29284.0.html[1]] Hi, I saw Embarcadero's Getit[2] that introduced in Delphi XE8 and I think it can help Lazarus and it's community very well. As you know these days more IDE's make this

Re: [Lazarus] An online package manager

2015-08-08 Thread Graeme Geldenhuys
On 2015-08-08 14:27, Aradeonas wrote: Is there any work on this subject until now Yes, the Free Pascal project has had something like that for years, called fppkg. Unfortunately there is only 3 or so packages in there (at least the last time I checked, some 3 years ago), and they don't seem to

Re: [Lazarus] An online package manager

2015-08-08 Thread Aradeonas
It seems there is need for a new one.If any one want to help or have a point for me tell me so I consider it. Regards, Ara -- http://www.fastmail.com - Access all of your messages and folders wherever you are -- ___

Re: [Lazarus] An online package manager

2015-08-08 Thread Graeme Geldenhuys
On 2015-08-08 21:22, Aradeonas wrote: It seems there is need for a new one. I don't think there is technically anything wrong with fppkg that a new one is needed. The FPC team simply needs to be more forthcoming about it and let developers know if and how they can submit new packages. I have

Re: [Lazarus] An online package manager

2015-08-08 Thread Aradeonas
Probably if I understand it I will use it or maybe make a new one on it. As Marco always said if you want it so make it your self and the team are very busy so id I can I will,but I should investigate on it first. So as I said if any one of team member or others have point before I make it please

Re: [Lazarus] An online package manager

2015-08-08 Thread Michael Van Canneyt
On Sat, 8 Aug 2015, Aradeonas wrote: Probably if I understand it I will use it or maybe make a new one on it. As Marco always said if you want it so make it your self and the team are very busy so id I can I will,but I should investigate on it first. So as I said if any one of team member or

Re: [Lazarus] An online package manager

2015-08-08 Thread Aradeonas
Ok I will read more about it. Regards, Ara -- http://www.fastmail.com - The way an email service should be -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] An online package manager

2015-08-08 Thread Juha Manninen
On Sat, Aug 8, 2015 at 4:27 PM, Aradeonas aradeo...@operamail.com wrote: Is there any work on this subject until now or any one like to work on this subject? If yes I want to help. The fppkg is for FPC packages. It does not work with Lazarus packages. There is a GUI for fppkg in Lazarus named

Re: [Lazarus] An online package manager

2015-08-08 Thread Kostas Michalopoulos
I would make this more complicated than absolutely necessary. lpk files have version and dependency information. AFAIK that is all you need to get a minimum working package manager using a central repository although i'd like to see multiple repositories that provide packages (f.e. personally i'd

Re: [Lazarus] An online package manager

2015-08-08 Thread Kostas Michalopoulos
Of course I meant that I would *NOT* make this more complicated than necessary... On Sun, Aug 9, 2015 at 3:47 AM, Kostas Michalopoulos badsectorac...@gmail.com wrote: I would make this more complicated than absolutely necessary. lpk files have version and dependency information. AFAIK that

Re: [Lazarus] An online package manager

2015-08-08 Thread Aradeonas
Thank you Kostas yes it will begin simple but it should be ready for all the options. Juha yes you are right and I will get your help ;) Regards, Ara -- http://www.fastmail.com - mmm... Fastmail... -- ___ Lazarus mailing list