[Lazarus] An online package manager
silvioprog
silvioprog at gmail.com
Mon Aug 10 15:13:24 CEST 2015
On Sat, Aug 8, 2015 at 10:27 AM, Aradeonas <aradeonas at 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
> <http://docwiki.embarcadero.com/RADStudio/XE8/en/GetIt> 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 systems and its
> good,collecting all packages and make it easy to use like a store.
> Is there any work on this subject until now or any one like to work on
> this subject? If yes I want to help.
>
> Regards,
> Ara
>
Very nice idea!
I use something like this in other languages and it is very useful (NPM,
Gradle, Maven, APT, Yum etc). The NPM project uses a nice approach: "keep
your project in your repository (Github, Bitbucket etc) that we will
publish it as-is", see an example: https://www.npmjs.com/package/express
(although you found Express in NPM, this package is hosted in Github
https://github.com/strongloop/express).
So you can install a new package localy in your project just performing
"npm install some-packe" (even a new project, "npm install new-project",
and you can start it too, "npm start"), or global, performing "npm install
some-package -g", and to init a new "packages.json", just perform "npm
init". In Lazarus, the local installation could be in the project's folder,
and the global installations could be done in the "lazarus/components"
folder, eg: "lpm install -g synapse", or "lpm install
some-project-or-package-hosted-in-github --save" (--save saves all sources
of you package). =)
Some times ago I saw a online package in CodeTyphon project too, but I
don't remember how it does that, but you can take a look on it. =)
--
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150810/bb9712e3/attachment-0003.html>
More information about the Lazarus
mailing list