Recent

Author Topic: Online Package Manager  (Read 878606 times)

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Online Package Manager
« Reply #2355 on: December 05, 2023, 02:32:57 pm »
Hey WP,

Yes, but "somebody" must write the infrastructure...

I was actually starting a website that would mimic the doings of such package managers as the PHP and Python ones.
Especially the integration with GitHub in order to have the packages up to date with the latest release from there( shifting the download to GitHub and not the management site ) and, of course, the programmer would have an account to add/edit and remove packages.

Due to my mental health issues and my attention to some other shinny, that project is now a bit in limbo.
I even had a full roadmap to ease the transition from what we have now into this new paradigm.
I started it with CakePHP.

If anyone is willing to resume this, I'll be more than happy to pass on all the stuff I had going.

Cheers,
Gus

P.S.: UFFFFF, thanks for putting our collective minds at ease with the news that GetMem is OK!!!
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

paweld

  • Hero Member
  • *****
  • Posts: 1268
Re: Online Package Manager
« Reply #2356 on: December 05, 2023, 04:07:24 pm »
A few years ago I wrote a piece of script in php that automatically (when added to cron) updated packages - they must be assigned a update.json file with a link to the zip file. In addition, it allowed to collect ratings and comments on packages: https://github.com/paweld/OPM2a-api
Best regards / Pozdrawiam
paweld

circular

  • Hero Member
  • *****
  • Posts: 4356
    • Personal webpage
Re: Online Package Manager
« Reply #2357 on: December 08, 2023, 12:09:49 pm »
Hi dear OPM,

There is a new version of BGRABitmap as a quick fix for the previous release: https://github.com/bgrabitmap/bgrabitmap/releases/tag/v11.5.8

 :)
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4616
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #2358 on: December 08, 2023, 04:49:48 pm »
Hi dear OPM,

There is a new version of BGRABitmap as a quick fix for the previous release: https://github.com/bgrabitmap/bgrabitmap/releases/tag/v11.5.8

 :)

Hi circular, I've sent the mail to GetMem, now we need to send a mail instead of commenting on this thread.

GetMem cancelled his forum account for reasons that I don't know. He told me, however, that he will continue to update packages for OPM outside the forum. Update requests should be directed by mail to him at opm@lazarus-ide.org .
« Last Edit: December 08, 2023, 05:06:31 pm by lainz »

WayneSherman

  • Sr. Member
  • ****
  • Posts: 250
Re: Online Package Manager
« Reply #2359 on: December 09, 2023, 08:54:52 pm »
Yes, but "somebody" must write the infrastructure...

How about handling OPM updates in a Gitlab subproject with issues and optionally merge requests?
Some kind of supply chain accounting would be desired and something that is not difficult to review / audit.

wp

  • Hero Member
  • *****
  • Posts: 12471
Re: Online Package Manager
« Reply #2360 on: December 10, 2023, 12:00:31 am »
I think that's not the intention behind OPM. Every package distributed by OPM should have a maintainer, and its his responsibility to keep his contribution alive. You find in each OPM package description information where the original package is hosted and who is the maintainer. Then, when you want to submit a patch/pull request send it to this site, and he will fix the issue and take care of getting the new version into OPM.

Sometimes, however, people submit their work to OPM to see it published there - and then disappear. Or some - well: many - packages are from old Delphi times and have been ported to Lazarus; but the original author is no longer available, and nobody takes care of these packages. Please understand that we cannot take responsibility for them. If you find a bug and get no response from the formal package maintainer prepare a patch and send it with some explanation to opm@lazarus-ide.org. So far, GetMem has always applied the patch and put the new version into the OPM repository, but I think, in the long term, this will be the exception rather than the rule. It has been discussed to remove unmaintained packages from OPM altogether, but without a decision, yet.

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Online Package Manager
« Reply #2361 on: December 10, 2023, 12:43:21 am »
Wow, I find this disturbing. Getmem is/was one of a small handful of people here who is both very knowledgeable AND a good communicator. He helped me in the early, and not so early, stages and always helped without being patronizing or going into lecture mode. I will, personally miss Getmem.

With respect to WP's comments about OPM legacy packages, I don't think it helps anyone to have non working or undocumented packages in the front line of OPM. Especially so if Getmem's is going to be more hands off. I wonder if it would be a good idea to mark such packages as "legacy" or "unmaintained" or, even, "In need of sponsor" ?

Davo

Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Guva

  • Full Member
  • ***
  • Posts: 117

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1430
    • Lebeau Software
Re: Online Package Manager
« Reply #2363 on: December 20, 2023, 06:20:06 pm »
Hi GetMem. Please update to Ray4Laz.

Hi Guva, I guess you missed this post from a couple of weeks ago:

GetMem cancelled his forum account for reasons that I don't know. He told me, however, that he will continue to update packages for OPM outside the forum. Update requests should be directed by mail to him at opm@lazarus-ide.org .
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

dsiders

  • Hero Member
  • *****
  • Posts: 1282
Re: Online Package Manager
« Reply #2364 on: December 21, 2023, 12:13:01 am »
Hi GetMem. Please update to Ray4Laz.

Hi Guva, I guess you missed this post from a couple of weeks ago:

GetMem cancelled his forum account for reasons that I don't know. He told me, however, that he will continue to update packages for OPM outside the forum. Update requests should be directed by mail to him at opm@lazarus-ide.org .

Perhaps a forum admin can add a sticky note to this thread with this information.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

Guva

  • Full Member
  • ***
  • Posts: 117
Re: Online Package Manager
« Reply #2365 on: December 21, 2023, 08:52:49 am »
thank you for the information. updated !!!!


avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: Online Package Manager
« Reply #2366 on: December 30, 2023, 06:07:22 pm »
Open Weather Map from OPM could not compile for quite some time, and didn't get updates by original author for years. I fixed that. You can try new version in OPM.

As always, you need to register to get API key, wait for several hours so it get's activated, and set properties as shown in screenshot for API key, Query (your place), and Units (I understand metric).
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

funlw65

  • Full Member
  • ***
  • Posts: 149
    • Visual Pin Configurator for Nucleo 64pin boards
Re: Online Package Manager
« Reply #2367 on: January 10, 2024, 05:19:38 pm »
Thank you Avra!
FreePascal 3.2.2, C 10.2.1, D 1.24 under Linux(init,musl,glibc), DragonflyBSD, NetBSD
gui: gtk2, qt5, raylib4.x+raygui3.x, nanovg 
tui: freevision, tvision2, termbox2+widgets, finalcut
db: typhoon-1.11...

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: Online Package Manager
« Reply #2368 on: January 12, 2024, 12:59:41 am »
Thank you Avra!
You're most welcome, but all the hard work has been done by the original author  ;)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018