On Sat, Aug 8, 2015 at 10:27 AM, Aradeonas <[email protected]> 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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
