Recent

Author Topic: Online Package Manager  (Read 840075 times)

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1200 on: March 15, 2018, 01:43:03 pm »
Thank you GAN. I'm glad you like it.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1201 on: March 29, 2018, 12:33:55 am »
Thank you GAN. I'm glad you like it.

Hi!

Thanks, my forst look is, this a great, big app. For me miss the svn support...

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1202 on: March 29, 2018, 06:18:52 am »
Hi totya,

Thanks for the feedback. OPM mainly targets stable versions, there are a few exception though like Indy, Synapse, etc...where the release cycle is slow. We talk about SVN support in the past and we came to the conclusion that it will cause more trouble then good(see here: http://forum.lazarus.freepascal.org/index.php/topic,34297.msg276066.html#msg276066). More over package maintainers can push SVN version if they want to,  I also try to update the main repository as often as possible.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1203 on: March 29, 2018, 10:20:35 am »
Hi totya,

Thanks for the feedback. OPM mainly targets stable versions, there are a few exception though like Indy, Synapse, etc...where the release cycle is slow. We talk about SVN support in the past and we came to the conclusion that it will cause more trouble then good(see here: http://forum.lazarus.freepascal.org/index.php/topic,34297.msg276066.html#msg276066). More over package maintainers can push SVN version if they want to,  I also try to update the main repository as often as possible.

Hi!

Thanks for the answer.

Snv version certainly mean = latest, not fully tested package. Sometimes a "official" package is unusable, becuase has many bugs. Sometimes a package changes very often. I think the developers are not stupid, they are know, what is this mean: svn version. Long time ago I use http://svnnotifier.tigris.org/  with http://tortoisesvn.tigris.org/, and works very well, I can see what is the changes line by line etc. But I like OPM interface/structure... :) I'd like to see new column (svn version), and possibility update for svn etc...

I found simple bug, see attached picture. A checked only five package...

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: Online Package Manager
« Reply #1204 on: March 29, 2018, 10:30:06 am »
I'd like to see new column (svn version), and possibility update for svn etc...
That should be possible. I always use svnversion to obtain the revision number, then in my make script I add REVINC=force REVSTR=<svn revision >
This will create a compiler with the specific reversion number, like:
Code: Bash  [Select][+][-]
  1. pi@raspberrypi:~ $ fpc
  2. Free Pascal Compiler version 3.1.1-r38618 [2018/03/24] for arm
  3. Copyright (c) 1993-2018 by Florian Klaempfl and others

This is especially useful when you always use trunk.
So... feature request  8-) for OPM.
(A similar feature request to add this option to FPC compiler I entered in Mantis was refused, btw, but as you can see the support for it is already possible with the above steps)
I have scripts for both linux and windows, if required.

« Last Edit: March 29, 2018, 10:41:55 am by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1205 on: March 29, 2018, 10:40:46 am »
@totya
Quote
I found simple bug, see attached picture. A checked only five package...
Thanks. I will fix it as soon as possible.

Quote
This is especially useful when you always use trunk.
So... feature request  8-) for OPM.
(A similar feature request I entered in Mantis FPC was refused, btw)
I already have working code for SVN/GIT update, but Juha explained here why is not a good idea to add SVN/GIT support, and I agree with him: http://forum.lazarus.freepascal.org/index.php/topic,34297.msg276066.html#msg276066 . Trunk version sometimes(quite often actually) breaks code, it's not an issue for you, but OPM is used by less experienced users too.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1206 on: March 29, 2018, 11:14:05 am »
@totya

I fixed in r57575. Please test.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1207 on: March 29, 2018, 11:47:20 am »
@totya

I fixed in r57575. Please test.

Thanks, but it isn't an not important bug.. :)

Well, you say me, I test your package r57575 (svn version). And what is my latest quest for this package? :) SNV support? :)
Similar situation happen very often with other packages too... ;)

Okay, I find this package svn link... found here: https://www.developpez.net/forums/blogs/600183-gvasseur58/b1788/online-package-manager-lazarus/

Install...failed:

Quote
opkman_common.pas(126,45) Error: Identifier not found "TLazPackageType"

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1208 on: March 29, 2018, 11:53:48 am »
@totya

OPM is part of Lazarus. In order to get the latest version you have to switch to Lazarus trunk. You can use fpcupdeluxe.exe to install a separate instance of lazarus trunk without interfering with your current stable installation. Alternatively you can checkout with a svn client(tortoise, cmdline, etc) lazarus source(https://svn.freepascal.org/svn/lazarus/trunk), then build with your currently installed FPC.

PS: You can find OPM in the following directory: ($LazarusDir)\components\onlinepackagemanager

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1209 on: March 29, 2018, 12:01:10 pm »
@totya

OPM is part of Lazarus. In order to get the latest version you have to switch to Lazarus trunk. You can use fpcupdeluxe.exe to install a separate instance of lazarus trunk without interfering with your current stable installation. Alternatively you can checkout with a svn client(tortoise, cmdline, etc) lazarus source(https://svn.freepascal.org/svn/lazarus/trunk), then build with your currently installed FPC.

PS: You can find OPM in the following directory: ($LazarusDir)\components\onlinepackagemanager
@GetMem

Thank you for answer, but I don't want to use svn version of Lazarus or FPC. Fpcup... i tried it, but I was many problems with it.

New suggestion: Update OPM without svn Lazarus/FPC needed ;)

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1210 on: March 29, 2018, 12:08:10 pm »
Quote
New suggestion: Update OPM without svn Lazarus/FPC needed ;)
Unfortunately I can't. The OPM from trunk is not compatible with the OPM from a stable version. We made a lot of changes lately, OPM communicates much better with the built-in package system. See attached image from the following post: http://forum.lazarus.freepascal.org/index.php/topic,34297.msg268712.html#msg268712 . Long story short, you cannot install trunk OPM to 1.8 or 1.8.2 .

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1211 on: March 29, 2018, 12:10:27 pm »
@GetMem

Okay, I understand, thanks for the answer!

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1212 on: March 29, 2018, 05:39:38 pm »
Hi!

Simple question, after (clean) 1.8.2 Lazarus installed with OPK, where is the uninstall package function?


balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1213 on: March 29, 2018, 06:43:44 pm »
Start OPM, check "OnlinepackageManager" then press the "Install" button. OPM it will update itself from 1.0.0.0 to 1.0.1.2.

PS: 1.0.1.2 is the latest version which can run on a stable version like 1.8.2. After this you need Lazarus trunk.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1214 on: March 29, 2018, 09:04:39 pm »
Start OPM, check "OnlinepackageManager" then press the "Install" button. OPM it will update itself from 1.0.0.0 to 1.0.1.2.

PS: 1.0.1.2 is the latest version which can run on a stable version like 1.8.2. After this you need Lazarus trunk.

I'm sorry I forgot it, I do it before. Now I see the uninstall button, thanks.

So, I install the latest Lazarus trunk + fpc fix, with FPCUpDeluxe. This app freeze after finished certainly... but seems to me Lazarus is working. The first look in Lazarus trunk, messages window doesn't scroll... now back to the OPM, I found a small bug again:

Filter: package status/installed.
I press Refresh button, and I get this:


 

TinyPortal © 2005-2018