Recent

Author Topic: Online Package Manager  (Read 511978 times)

TRon

  • Hero Member
  • *****
  • Posts: 536
Re: Online Package Manager
« Reply #1845 on: July 05, 2020, 09:20:01 pm »
@GetMem:
Thank you for the feedback and additional info.

oh dear... those are very bad statistics, and I wasn't aware of those ... That's a bummer and I am very sorry to hear that.

I understand that it is frustrating for you, especially since you afaik never volunteered for maintaining those packages (amongst them those that are abandoned). afaik you only ever opted for developing OPM.

The idea to host those (abandoned/non maintained  or without interest from original author) packages somewhere else was exactly meant as a relieve for you (if that would have the opposite effect then please feel free to express your concerns).

My experience till now has been that I ran into issues. What I normally do is fix those issues myself and just go one with life... easy peacy.

What I find frustrating about that is that if I would like to address such issues so that more people could benefit from them that there is currently (as I understand) no way for me doing so other then post it somewhere in the hopes it get's picked up (and by the looks of it that would be you personally ?).

That seems a bit of a wrong approach to me. If there would be a (semi-)public place where these sources are hosted then I would at least be able to push or pull-request my changes/fixes without the need to bother anyone else (up till a certain point). Of course that still poses a kind of security risk (something that I haven't given much thought yet). I also haven't given any thought on where exactly such packages should or could be hosted (if that would to be the case).

Do you have any idea's on how this situation could be improved (with the current resources that are available, or what resources would be required to make things easier for you) ?

For instance, I have been trying to get myself familiar with creating fpm files, but am still getting stuck on a couple of things (mostly related to what is the proper way of doing things as documentation seems lacking, and standalone lazpkm seems reluctant to cooperate). imho some packages don't belong to Lazarus perse but could also be provided by fpc package manager (unless there is a future path layout for that already and one that I am not aware of). You already mentioned for instance FLRE, which imho would be a perfect candidate for FPC package manager, instead of putting that (again) at the burden of OPM.

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1846 on: July 06, 2020, 06:47:07 am »
@TRon
Quote
I understand that it is frustrating for you, especially since you afaik never volunteered for maintaining those packages (amongst them those that are abandoned). afaik you only ever opted for developing OPM.
Yes. Exactly.

Quote
My experience till now has been that I ran into issues. What I normally do is fix those issues myself and just go one with life... easy peacy.
What I find frustrating about that is that if I would like to address such issues so that more people could benefit from them that there is currently (as I understand) no way for me doing so other then post it somewhere in the hopes it get's picked up (and by the looks of it that would be you personally ?).
Currently is the only way. If you post the changes in this thread or via OPM, the modified package will be picked up.

Quote
That seems a bit of a wrong approach to me. If there would be a (semi-)public place where these sources are hosted then I would at least be able to push or pull-request my changes/fixes without the need to bother anyone else (up till a certain point). Of course that still poses a kind of security risk (something that I haven't given much thought yet). I also haven't given any thought on where exactly such packages should or could be hosted (if that would to be the case).
In my opinion the main problem is the lack of manpower. Even if I create a public place(github, bitbucket, etc) for the abandoned packages, somebody has to monitor and merge the pull-request. Instead of uploading zip files to https://packages.lazarus-ide.org/, I would apply pull-request on github. More over, with each package change the main json must be also updated(https://packages.lazarus-ide.org/packagelist.json), otherwise OPM wouldn't notice the change. I don't see how we can automate this process further.

lucamar

  • Hero Member
  • *****
  • Posts: 3028
Re: Online Package Manager
« Reply #1847 on: July 06, 2020, 12:01:47 pm »
What I find frustrating about that is that if I would like to address such issues so that more people could benefit from them that there is currently (as I understand) no way for me doing so other then post it somewhere in the hopes it get's picked up (and by the looks of it that would be you personally ?).

That seems a bit of a wrong approach to me. If there would be a (semi-)public place where these sources are hosted then I would at least be able to push or pull-request my changes/fixes without the need to bother anyone else (up till a certain point). Of course that still poses a kind of security risk (something that I haven't given much thought yet). I also haven't given any thought on where exactly such packages should or could be hosted (if that would to be the case).

Do you have any idea's on how this situation could be improved (with the current resources that are available, or what resources would be required to make things easier for you) ?

Folks, we're talking mainly of FOSS here: if there's an abandoned package which someone wants to start maintaining again, that someone should first try to contact the original developer and ask for a transfer; if that fails one can then simply fork the package, advertise the fact and keep going on with it.

If you remember, that's basically what happened with for example MWEdit, which became SynEdit after Martin W. said he no longer cared for it. Afterwards Lazarus forked it again to keep its own version alive and maintained while the "standard" SynEdit went its own way. That's how (and why) FOSS works.  ;)
« Last Edit: July 06, 2020, 12:04:01 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.8/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Renat.Su

  • Full Member
  • ***
  • Posts: 181
    • Renat.Su
Re: Online Package Manager
« Reply #1848 on: July 06, 2020, 01:23:28 pm »
@Renat.Su
Quote
Can You add https://github.com/risoflora/brookfreepascal ?
This is brook framework with many plugins. New brookframework works via sagui lib but brookfreepascal works as a solid app.
There is already a Brookframework in OPM. What is the difference between the two?
BrookFreePascal is a Brookframework before splitting them into two projects. Oddly enough, BrookFreePascal (direct descendant of the old Brook Framework) contains all the former plugins. https://github.com/risoflora/brookfreepascal/tree/master/plugins The new brook framework is heavily reworked and does not contain such plugins . The new Brook Framework was developed by the author for compatibility with Delphi and does not contain plugins. Also, the new BrookFramework can only work with the sagui library written in C++. Some users remained working on BrookFreePascal although the new Brook Framework also supports FreePascal. BrookFreePascal which still has plug-ins and has no dependency on sagui, but its minus is that only FreePascal is supported.

Important note: both frameworks are supported by the author in the https://github.com/risoflora

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1849 on: July 06, 2020, 01:53:11 pm »
@Renat.Su
Thanks for the info. I added BrookFreePascal to OPM.

El Salvador

  • New Member
  • *
  • Posts: 13
Re: Online Package Manager
« Reply #1850 on: July 07, 2020, 02:27:56 pm »
@El Salvador
Quote
Hi everybody, I make a fix for TVirtualTree and I want send the patch (or make a pull request). The git repo https://github.com/blikblum/VirtualTreeView-Lazarus/tree/lazarus-master is the main source repo of this library? I downloaded and modified VST V5 from OPM, and I wanted to make a pull request, but after a source compare, I found too many diffs.
I believe there is a separate branch for the V5 series: https://github.com/blikblum/VirtualTreeView-Lazarus/tree/lazarus-v5
If your patch is applied, please let me know, so I can update VTV in OPM.
Hi, my patch for VTV has been applied. You can see the changes in https://github.com/blikblum/VirtualTreeView-Lazarus/pull/18. Thank you very much @GetMem!

wp

  • Hero Member
  • *****
  • Posts: 7552
Re: Online Package Manager
« Reply #1851 on: July 07, 2020, 02:53:44 pm »
Could you provide a patch also for the VTV variant which is distributed with Lazarus? It is based on blikblum's VTV v5 but has renamed units and classes. Not that you need Laz trunk for it. If we do not fix this the two versions will run out of sync.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

El Salvador

  • New Member
  • *
  • Posts: 13
Re: Online Package Manager
« Reply #1852 on: July 07, 2020, 04:23:56 pm »
Could you provide a patch also for the VTV variant which is distributed with Lazarus? It is based on blikblum's VTV v5 but has renamed units and classes. Not that you need Laz trunk for it. If we do not fix this the two versions will run out of sync.
Do I have to send the patch via https://bugs.freepascal.org or can I post it in this topic?

wp

  • Hero Member
  • *****
  • Posts: 7552
Re: Online Package Manager
« Reply #1853 on: July 07, 2020, 04:48:21 pm »
I'd appreciate to have it in the bug tracker because source changes are documented better this way. But if you did not yet worked with bugtracker it would be ok to attach it here.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

El Salvador

  • New Member
  • *
  • Posts: 13
Re: Online Package Manager
« Reply #1854 on: July 07, 2020, 05:46:52 pm »
I make https://bugs.freepascal.org/view.php?id=37310. I hope I haven't left forgotten anything.  :)

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1855 on: July 07, 2020, 05:49:15 pm »
@El Salvador

Thanks. I updated VTV V5 in OPM.

El Salvador

  • New Member
  • *
  • Posts: 13
Re: Online Package Manager
« Reply #1856 on: July 12, 2020, 10:52:02 am »
I wanted to report you BGRABitmap V11.1 (https://github.com/bgrabitmap/bgrabitmap/releases/tag/v11.1). Actual version 11.0 is failed to compile in Lazarus 2.0.10.

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1857 on: July 13, 2020, 10:45:41 am »
@El Salvador

Quote
I wanted to report you BGRABitmap V11.1 (https://github.com/bgrabitmap/bgrabitmap/releases/tag/v11.1). Actual version 11.0 is failed to compile in Lazarus 2.0.10.
Thanks. I believe this bug is not related to OPM and since BGRABitmap is a well maintained package, we should report it to @circular.

GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Online Package Manager
« Reply #1858 on: July 15, 2020, 12:50:18 pm »
@El Salvador

With your latest changes to VTV, the selections in OPM are not visible anymore.(see attached image). If I revert the changes, everything works fine again.

calebs

  • Full Member
  • ***
  • Posts: 136
Re: Online Package Manager
« Reply #1859 on: July 16, 2020, 05:46:55 am »
I wanted to report you BGRABitmap V11.1 (https://github.com/bgrabitmap/bgrabitmap/releases/tag/v11.1). Actual version 11.0 is failed to compile in Lazarus 2.0.10.

Hello I also have this problem, cant compile bgrabitmap or bgracontrols or uecontrols with lazarus 2.0.10 x86
Im using windows 10x64 1909.
It was working with 2.0.8 and previous.

 

TinyPortal © 2005-2018