Recent

Author Topic: Online Package Manager  (Read 834480 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Online Package Manager
« Reply #945 on: August 21, 2017, 06:20:28 am »
Much better! Except for font colors I guess. Maybe the problem is in the theme now. Anything else I can do?
Be mindful and excellent with each other.
https://github.com/cpicanco/

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #946 on: August 21, 2017, 06:32:13 am »
@cpicanco
Quote
Much better! Except for font colors I guess. Maybe the problem is in the theme now. Anything else I can do?
Let me see what can I do about the font color(it should be white in your case), also the + _(expand/collapse) icons on top right are ugly. Thanks for testing.

@lainz
Quote
Hi, there's now BGRAControls v4.3.2, it has the update feature in the json, but it will be nice if updated in the server of OPM.
https://github.com/bgrabitmap/bgracontrols/releases
Somehow I missed your post. I updated BGRAControls in main repository.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Online Package Manager
« Reply #947 on: September 06, 2017, 02:06:27 pm »
I have added OPM into the standard install of fpcupdeluxe (v1.4.0l). Without option not to install it !
Thanks for a very nice tool.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #948 on: September 06, 2017, 02:41:00 pm »
Quote
I have added OPM into the standard install of fpcupdeluxe (v1.4.0l). Without option not to install it !
Thanks for a very nice tool.
Thank you @DonAlfredo.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Online Package Manager
« Reply #949 on: September 09, 2017, 09:46:21 am »
Hello,

While using OPM, I did encounter a small quirk.
When trying to install a package through OPM, I saw that OPM uses the CPU and OS settings that are set for the current (opened) project in Lazarus.

Example.
Busy with cross-compiling fpcupdeluxe from Win towards Darwin QT5, I tried installing VTV through OPM. OPM started compiling/installing VTV for target Darwin/x86_64/QT5 on my Win 10 machine with FPC and Lazarus build for win32.

Thanks.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #950 on: September 09, 2017, 12:16:24 pm »
Hi DonAlfredo,

OPM uses the package interface($LazarusDir/components/ideintf/PackageIntf.pas) to compile, install packages.  The install function looks like this:
Code: Pascal  [Select][+][-]
  1. function InstallPackages(PkgIdList: TObjectList; Flags: TPkgInstallInIDEFlags = []): TModalResult;
Where the first parameter is a list with package id's, the second one is a set of install flag: piiifQuiet, piiifClear, piiifRebuildIDE, piiifSkipChecks,  piiifRemoveConflicts. So the target CPU and OS is decided by the IDE. I suppose this can be changed by modifying the "InstallPackages" function. Unfortunately I don't have too much experience with cross compiling.
« Last Edit: September 09, 2017, 12:18:42 pm by GetMem »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Online Package Manager
« Reply #951 on: September 09, 2017, 12:32:36 pm »
Mmmm, that's a bummer ... I also did have a look at this function ... could not find how to change OS and CPU ... was therefor hoping that it would be an easy one for you !
I will look into it more closely.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #952 on: September 14, 2017, 02:55:28 pm »
Hi All,

With r. 55859 private repositories are fully supported. The documentation is not ready yet, in order to test:
1. Open the private repository form(see screenshot)
2. Create a new repository, save it to an empty directory
3. Add/Delete packages
4. Copy the content of the folder to a local or remote server
5. Change repository address in "Option" form

Please test. Thank you!

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Online Package Manager
« Reply #953 on: September 14, 2017, 07:24:26 pm »
Excellent news GetMem !

Congratulations and many thanks for that.  :-*

Although being a new (but very welcome) feature is that perhaps something that could make it into final 1.8 release ?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4458
  • I like bugs.
Re: Online Package Manager
« Reply #954 on: September 14, 2017, 09:06:14 pm »
Although being a new (but very welcome) feature is that perhaps something that could make it into final 1.8 release ?
No, only plain bug fixes are backported there now.
You can either use Lazarus trunk or download just the OPM from there and use it with 1.8.
Merging to 1.8.2 however is an option after some testing.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #955 on: September 14, 2017, 09:12:54 pm »
Thanks @molly.
As @Juha said it's too late for 1.8.
The good news is OPM will be able to update itself after 1.8 final is out. The critical r54902 is already in merged revisions for 1.8 RC5. So nothing is lost.

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Online Package Manager
« Reply #956 on: September 14, 2017, 09:24:16 pm »
No, only plain bug fixes are backported there now.
I already suspected as such. No problem.

Quote
Merging to 1.8.2 however is an option after some testing.
I asked because i was bit worried to have to wait until the end of days to have this feature in a official release (i am aware that we can use trunk, a release is somewhat more convenient though). But /me is stupid, see below.

The good news is OPM will be able to update itself after 1.8 final is out. The critical r54902 is already in merged revisions for 1.8 RC5. So nothing is lost.
Aargh !, i feel so stupid. I haven't thought of OPM updating itself, as (also) some things were missing.

Thanks for letting know that it is already merged in (i seem to have missed that).

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #957 on: September 15, 2017, 07:40:26 am »

lainz

  • Hero Member
  • *****
  • Posts: 4443
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #958 on: September 19, 2017, 05:14:56 pm »
Fresh Lazarus installation, the only thing I need to add is OPM and feel good ;)

Never was too easy for me.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #959 on: September 20, 2017, 05:29:36 am »
Thanks for your support @lainz and for that nice webpage(https://packages.lazarus-ide.org/)
« Last Edit: September 20, 2017, 05:32:05 am by GetMem »

 

TinyPortal © 2005-2018