Recent

Author Topic: Online Package Manager  (Read 843261 times)

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Online Package Manager
« Reply #165 on: November 03, 2016, 05:51:49 pm »
Ah - well spotted!  I wrote the code before I properly understood licensing.
Lucky man - I still don't...

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #166 on: November 03, 2016, 06:21:50 pm »
All packages now ModifiedGPL and updated in svn.  Also gave me a chance to clean up the Package options, versions etc.
note:: playsound has also been updated in svn

Thanks @wp  :)
« Last Edit: November 03, 2016, 06:23:50 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #167 on: November 03, 2016, 08:38:37 pm »
@minesadorada
Thank you! I will add the packages to the main repository:
Quote
1. lazautoupdate
2. longtimer
3. playsoundpackage
4. poweredby
5. scrolltext
In a few days the main repository will be updated again. We have 40+ packages.

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Online Package Manager
« Reply #168 on: November 03, 2016, 09:46:53 pm »
GetMem, playsoundpackage is already included, you may have to update it though.
« Last Edit: November 03, 2016, 11:23:43 pm by wp »

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #169 on: November 03, 2016, 10:04:23 pm »
Quote
GetMem, playsoundpackage is already included, you may have to update it thought.
True. Playsoundpackage is already in the list. Luckily opkman won't allow me to add the same lpk twice. I will update the existing one.

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: Online Package Manager
« Reply #170 on: November 04, 2016, 12:39:49 am »
Sorry I have not read the whole thread, but installed the package manager and got Invalid JSON file on Packages -> Online Package Manager. That happens after the attempt to download package list.

Closing the manager dialog also gave exception in Lazarus.

Latest 64 bit lazarus trunk / Debian
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

wp

  • Hero Member
  • *****
  • Posts: 11923

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #172 on: November 04, 2016, 06:47:05 am »
Sorry I have not read the whole thread, but installed the package manager and got Invalid JSON file on Packages -> Online Package Manager. That happens after the attempt to download package list.

Closing the manager dialog also gave exception in Lazarus.

Latest 64 bit lazarus trunk / Debian
That happened to me.
64-bit Lazarus 1.7 /Win 10 64-bit
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #173 on: November 04, 2016, 06:54:15 am »
@minesadorada
Thank you! I will add the packages to the main repository:
Quote
1. lazautoupdate
2. longtimer
3. playsoundpackage
4. poweredby
5. scrolltext
In a few days the main repository will be updated again. We have 40+ packages.
So what is the procedure if I update a package?  Up to now I just used TortoiseSVN to commit to the ccr repository.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #174 on: November 04, 2016, 07:18:41 am »
@kapibara, @minesadorada
The package manager is still under development. To support update from external link, I had to change the json structure again(hance the invalid json file error). The source code is updated regularly, however I cannot update the repository each day since I' m not hosting it. The next update will be Monday(40+ pacakges, no more json error). If somebody is interested, I can pm a version which works with the current repository(8 packages).
Quote

@minesadorada
So what is the procedure if I update a package?  Up to now I just used TortoiseSVN to commit to the ccr repository.
You don't have to do anything. I will download each package with a SVN client and add them manually to the main repository. In a week or so the SVN feature will be ready. Meaning: we provide the SVN link, on request the package manager will checkout, compile, build install the package(see attachment). This is the plan anyway.

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #175 on: November 04, 2016, 10:12:45 pm »
Hi GetMem, I've updated BGRA Controls v4.3.2 and BGRA Controls FX v0.1.6. Both works with BGRA Bitmap v9.2.1.

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: Online Package Manager
« Reply #176 on: November 04, 2016, 10:50:17 pm »
@GetMem I see, will try again next week then. Great work btw!
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #177 on: November 05, 2016, 05:10:33 am »
Ok. I updated:
   - playsoundpackage
   - BGRA Controls
   - BGRA Controls FX
Added:
   - lazautoupdate
   - longtimer   
   - poweredby   
   - scrolltext   
   - callite     
The list looks like this(40 packages):
Quote
bgrabitmap9.2.1
bgracontrols-4.3.2
bgracontrolsfx-0.1.6
callite
cmdline
colorpalette
csvdocument
dcpcrypt-2.0.4.1
epiktimer
eyecandycontrols_0-9-6
FileMenuHandler
fortes4lazarus 3.24
fortesreport-ce4
fpspreadsheet
HistoryFiles
indy10.6.2.0
jujiboutils
kcontrols_1.7
lazautoupdate
lazbarcodes
lclextensions-0.6
longtimer
mplayer0.1.2
OnlinePackageManager
playsoundpackage
plotpanel-lazarus-0.97.1
poweredby
powerpdf_0.9.14
richmemo1.0
ringwatch
scrolltext
SMNetGradient2.0.6
spktoolbar
synapse40
synapse41
tvplanit
uniqueinstance
virtualtreeview-4.8.7-R4
virtualtreeview-5.5.3-R1
zeosdbo-7.1.4

@minesadorada
I removed synapse from lazautoupdate since it's already in the repository. The package manager recursively search/resolve dependencies when needed. For example if you try to install lazautoupdate the pm. will warn you about the missing dependency and install it automatically(see attachment) unless you explicitly ask not to.

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #178 on: November 05, 2016, 07:38:07 am »
@getmem
All my packages have a wiki page - as do most others.  Do you think it would be a good idea to have an [info] link next to the ones that do?
http://wiki.freepascal.org/LazAutoUpdater
http://wiki.freepascal.org/LongTimer
http://wiki.freepascal.org/Poweredby
http://wiki.freepascal.org/ScrollingText
http://wiki.freepascal.org/playsound
Liking the dependencies feature.  It's going to make Windows users feel like Linux users :)
« Last Edit: November 05, 2016, 07:43:52 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #179 on: November 05, 2016, 07:44:11 am »
Quote
@minesadorada
All my packages have a wiki page - as do most others.  Do you think it would be a good idea to have an [info] link next to the ones that do
Yes. I will add the wiki pages.

@all
From now on, as an extra check, each package is compiled before install. If an error occurs during compile, the package will be removed from the install list. Unfortunately this feature only works with Lazarus trunk, since @Juha just recently added the compile procedure to the package interface.
I made a short video. It's kinda boring but illustrates how easy the install process will become(at least in theory).
https://youtu.be/4Sf1yz_aEA8

Ps: If somebody has a package please post the link. Thank you!

 

TinyPortal © 2005-2018