Recent

Author Topic: Online Package Manager  (Read 835918 times)

wp

  • Hero Member
  • *****
  • Posts: 11854
Re: Online Package Manager
« Reply #1230 on: March 30, 2018, 10:13:32 am »
Oh, I think I understand now. The "Open" button opens the local repository in windows explorer, so you don't have to do it manually, it's like a shortcut, but it's not meant to  open package files. For this you have to go to Lazarus menu-->packages-->Open package file.
I indeed think that the caption of this button is misleading. The hint is correct, but without seeing the hint I'd think like totya that this button opens the package. Why not label it like "Local repo" instead of "Open"?

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1231 on: March 30, 2018, 10:18:41 am »
@wp
That was constructive as usual. Done in r57579. Thanks.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1232 on: March 30, 2018, 10:19:23 am »
I indeed think that the caption of this button is misleading. The hint is correct, but without seeing the hint I'd think like totya that this button opens the package. Why not label it like "Local repo" instead of "Open"?

"Open local repo with lpk extension registered Lazarus version, which possible different Lazarus from this...." :)

wp

  • Hero Member
  • *****
  • Posts: 11854
Re: Online Package Manager
« Reply #1233 on: March 30, 2018, 10:35:59 am »
No, the local repository does not have anything to do with the registered Lazarus version. The local repo is in the folder which you specify in the OPM under "Options" > "Folders" > "Local repository".

Normally the local repo is a subfolder of your Lazarus user config folder, i.e. that what is specified in the lazarus.cfg file or what you specify with the --pcp parameter. If you keep this setting, every Lazarus installation will have its own local repo.

On the other hand, you can set up a repository shared between several installations by entering a different path here and keeping this path across Laz installations. I have folder d:\prog_lazarus\packages for this purpose which is used as a local repo for laz trunk and Laz 1.8.0. I mostly work with trunk but don't see any problems when going back to v1.8.0 - all the packages are automatically re-compiled.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1234 on: March 30, 2018, 07:23:37 pm »
No, the local repository does not have anything to do with the registered Lazarus version.

Hi master! :)

If you click (on windows) to the lpk file in the local repo, the "registered" (registered of extension) Lazarus started, and not the current running.

Typically possible (happen me too):

The user want install package from "local repo" to the current Lazarus installation. Open OPM, click to the Open (local repo), then click to the lpk. Well, the (extension) registered Lazarus started...

This is illogic for me, but I don't waste my time for it... :) Have a nice day! :)

wp

  • Hero Member
  • *****
  • Posts: 11854
Re: Online Package Manager
« Reply #1235 on: March 30, 2018, 08:38:52 pm »
You should install individual packages from inside Lazarus (Menu "Package" / "Open Package File (.lpk)", not from the Explorer. Windows can register the .lpk extension only to a single application - this is not OPM's fault. When I install Lazarus I never register any file extensions, I never open Lazarus files by double-clicks - I have so many Lazarus version on my system this would certainly end up in a mess.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: Online Package Manager
« Reply #1236 on: March 30, 2018, 09:55:35 pm »
You should install individual packages from inside Lazarus (Menu "Package" / "Open Package File (.lpk)", not from the Explorer. Windows can register the .lpk extension only to a single application - this is not OPM's fault. When I install Lazarus I never register any file extensions, I never open Lazarus files by double-clicks - I have so many Lazarus version on my system this would certainly end up in a mess.

This isn't problem for me, I only noticed this unwanted/illogic situtation. If .lpk isn't registered, this problem is not exists, or if only one Lazarus installed on the system... :)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #1237 on: April 08, 2018, 12:45:43 am »
Hi @GetMem, I'm making a first release of the Material Design package
https://forum.lazarus.freepascal.org/index.php/topic,40813.msg282355.html#msg282355

I've tested it only under Windows.

And, here is the json for updates
https://github.com/bgrabitmap/materialdesign/blob/master/materialdesign.json

Currently it has only a single component, but with 5 different functionality.
« Last Edit: April 09, 2018, 01:44:41 am by lainz »

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1238 on: April 09, 2018, 02:34:09 pm »
Hi lainz,

Thank you for the packages, I will update the main repository tomorrow. I was in a small vacation in the weekend.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #1239 on: April 09, 2018, 04:12:43 pm »
Thanks. And hope you had a nice weekend.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1240 on: April 09, 2018, 05:41:17 pm »
@lainz

Please test.   :)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #1241 on: April 09, 2018, 08:02:55 pm »
@lainz

Please test.   :)

Thanks. Working fine. Now I can send updates with the json =)

A thing I need, you can upload the new version of this package?
https://github.com/wadman/wthread

I think is 1.0.3

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1242 on: April 10, 2018, 06:19:38 am »
@lainz
Quote
A thing I need, you can upload the new version of this package?
Done.

Quote
I think is 1.0.3
Yes it's 1.0.3

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #1243 on: April 10, 2018, 01:58:08 pm »
Thanks.

gerardus

  • Jr. Member
  • **
  • Posts: 93
Re: Online Package Manager
« Reply #1244 on: April 11, 2018, 06:38:30 pm »
Hi GetMem,
I just reinstalled Lazarus in one of the virtual machines I use for development. The Online Package Manager makes a HUGE difference.
I used to loose a lot of time getting the components I use and installing them.
Now it's a matter of minutes.
And Indy10, oh yeaaaah...
Thanks a lot, really.
Gerard.

 

TinyPortal © 2005-2018