[Lazarus] Online Package Manager
getmem1 at gmail.com
Wed Oct 5 09:29:01 CEST 2016
>allow the user to use Lazarus-CCR/Github/Bitbucket/GitLab as component
server; (it allows anyone to publish their components)
It would take a lot of effort, the project is already complex, although I
only completed about 30%. I might add support for Github later, Delphinus
is already there and is a great tool.
> rename it to something like LazGetIt or LPM (Lazarus package manager) etc.
In my opinion the name is irrelevant for now, it can be renamed later to
anything except LazGetit, it sounds like a copy of Delphi's GetIt. It's
entirely different project, concept.
> add the "Uninstall", "Remove", "Download" and "Info" buttons
"Download To" and "Clean up" buttons are already there. I will add the
>synchronize it to show some already installed component; (it avoid
conflict with another installed user component)
It does show you if the component is installed or not, more over you can
see the installed version(the second column, with bold). See attachment.
> allow it to use HTTPS
Already supported! You need the install the OpenSSL libraries though.
Thank you for the feedback.
On Tue, Oct 4, 2016 at 7:43 PM, silvioprog via Lazarus <
lazarus at lists.lazarus-ide.org> wrote:
> On Tue, Oct 4, 2016 at 9:11 AM, Balázs Székely via Lazarus <
> lazarus at lists.lazarus-ide.org> wrote:
>> I decided to implement the online package manager(opkman) or at least
>> give it a try. The first stable(alpha) version is ready and it works like
>> this: the packages are zipped and stored in a webserver(repository) along
>> with a json file. I chose zip to minimize server load. The json file
>> contains all the necessary info about the packages. Once installed into the
>> IDE, the opkman downloads, then serialize the json file into a package
>> list. The list is displayed in a tree. On request the packages can be
>> downloaded or/and installed. For now the repository is read-only, it
>> contains only eight, well known(I guess?) packages. The nature/type of the
>> eight package is irrelevant for now, since we are only testing the
>> functionality of the opkman. Few notes:
>> 1. Supported versions: Laz 1.6+(FPC 3.0.0+). I did the
>> implementation/testing with Lazarus trunk(FPC 3.0.0)
>> 2. Tested under the following widgetsets: Win32/64, GTK2, Carbon
>> 3. After install, you can find opkman in the "Package" menu
>> 4. Download link: https://drive.google.com/file/
>> Please test! Suggestions are welcome.
>> PS: Big thanks to @Leledumbo for hosting the repository.
> Thanks for sharing it, it's really a great job! :-)
> Some suggestions:
> * allow the user to use Lazarus-CCR/Github/Bitbucket/GitLab as component
> server; (it allows anyone to publish their components)
> * rename it to something like LazGetIt or LPM (Lazarus package manager)
> etc., try to send it to be distributed in the Lazarus /components folder,
> or try to ask Lazarus team about how to improve it, so that it comes
> installed as default in the official Lazarus IDE; (Lazarus needs a official
> solution like Delphi's GetIt or Delphinus)
> * add the "Uninstall", "Remove", "Download" and "Info" buttons; (Uninstall
> - just uninstall it from Lazarus IDE; Remove - uninstall and remove all
> downloaded files; Download - just download the component sources without
> install it; Info - show the component README/overview)
> * synchronize it to show some already installed component; (it avoid
> conflict with another installed user component)
> * allow it to use HTTPS.
> Anyway, I've not seen the sources, I've just installed it on my IDE taking
> the following awesome window: https://img42.com/6axLU .
> Silvio Clécio
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 38383 bytes
Desc: not available
More information about the Lazarus