* * *

Author Topic: Online Package Manager  (Read 47950 times)

GetMem

  • Hero Member
  • *****
  • Posts: 1939
Re: Online Package Manager
« Reply #750 on: March 08, 2017, 04:20:47 pm »
1. You check all the packages you wish to install, save it to a config file.
2. Next time you load the checks from the same ini, so you don't have to check them again manually

 Did I understand correctly?

CharlyTango

  • New member
  • *
  • Posts: 13
Re: Online Package Manager
« Reply #751 on: March 09, 2017, 10:35:57 am »
Yes you understood correctly.

But there should be a possibility to tell OPM where this (kind-of-)ini file is located. (name and path)

This way it would be possible to sync the ini-file automatically by Dropbox or GooglDrive etc.


BTW... is there a possibility that OPM updates itself in an other way than a SVN download.
Could OPM be a simple package which is updated by OPM itself?

Regards

GetMem

  • Hero Member
  • *****
  • Posts: 1939
Re: Online Package Manager
« Reply #752 on: March 09, 2017, 09:51:20 pm »
Quote
Yes you understood correctly.
But there should be a possibility to tell OPM where this (kind-of-)ini file is located. (name and path)
This way it would be possible to sync the ini-file automatically by Dropbox or GooglDrive etc.
It's implemented in trunk. Just right click the tree, then save/load the ini file.

Quote
BTW... is there a possibility that OPM updates itself in an other way than a SVN download.
Could OPM be a simple package which is updated by OPM itself?
Unfortunately no. It's in the todo list though.

minesadorada

  • Hero Member
  • *****
  • Posts: 528
  • Retired
Re: Online Package Manager
« Reply #753 on: March 20, 2017, 01:04:54 pm »
I just updated Lazarus and FPC from SVN and rebuild IDE now hangs on the statements (in OPM.opkman_downloader)

Code: Pascal  [Select]
  1. FHTTPClient.Terminate;

Lazarus SVN build: 54442M
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

GetMem

  • Hero Member
  • *****
  • Posts: 1939
Re: Online Package Manager
« Reply #754 on: March 20, 2017, 09:10:03 pm »
Hi minesadorada,

OPM has changed a lot lately, however I cannot reproduce the error with Lazarus/FPC trunk(r. 54449 and r. 35631). I did try to download/install as many package as possible, but no hangs, no errors. I only tested on win7 though.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2754
  • I like bugs.
Re: Online Package Manager
« Reply #755 on: March 20, 2017, 09:48:51 pm »
minesadorada, usually a clean build helps after code has been moved and reorganized.
Tools -> Configure Build Lazarus -> "Clean all".

I don't get errors either.

minesadorada

  • Hero Member
  • *****
  • Posts: 528
  • Retired
Re: Online Package Manager
« Reply #756 on: March 21, 2017, 09:14:02 am »
OK Thanks guys - I'll investigate.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus