Recent

Author Topic: Online Package Manager  (Read 836176 times)

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #195 on: November 09, 2016, 09:43:16 am »
Quote
At svn the version is 0.1.28.0  O.P.M. has 0.1.27.0 as the downloadable.  Can you update please?
Consider it done. However I don't know exactly when the next update will be. As I told you previously I'm not hosting the repository.
I notice OPM has 'Update Link'. The update link for lazautoupdate is https://sourceforge.net/projects/lazautoupdate/files/lazautoupdatesource/ - I keep that synchronised with svn.  In future, I'll include the version in the package file name.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #196 on: November 09, 2016, 10:07:20 am »
Quote
I notice OPM has 'Update Link'. The update link for lazautoupdate is https://sourceforge.net/projects/lazautoupdate/files/lazautoupdatesource/ - I keep that synchronised with svn.  In future, I'll include the version in the package file name.
Thanks! This would be helpful.
Please note:
The update link should point to a zip file. The zip structure should be the same as the one in the repository. I mean you can add new files to your project but the path to the lpk file, the main directory name should stay the same, otherwise OPM will fail to load the package.


 

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #197 on: November 09, 2016, 10:42:31 am »
Quote
I notice OPM has 'Update Link'. The update link for lazautoupdate is https://sourceforge.net/projects/lazautoupdate/files/lazautoupdatesource/ - I keep that synchronised with svn.  In future, I'll include the version in the package file name.
Thanks! This would be helpful.
Please note:
The update link should point to a zip file. The zip structure should be the same as the one in the repository. I mean you can add new files to your project but the path to the lpk file, the main directory name should stay the same, otherwise OPM will fail to load the package.


 
Full link to zipfile with correct path (\lazautoupdate) : https://sourceforge.net/projects/lazautoupdate/files/lazautoupdatesource/lazautoupdate.zip
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #198 on: November 09, 2016, 11:08:06 am »
To test the link I updated the JSON file in my local computer. Works great. The package is successfully updated:
https://youtu.be/Mi3bhavwxMI
Please do this to all your five packages.

In a week or so the SVN update will be also available(hopefully).


balazsszekely

  • Guest
Re: Online Package Manager
« Reply #200 on: November 09, 2016, 12:14:00 pm »
@minesadorada
Done!

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #201 on: November 09, 2016, 12:22:53 pm »
@minesadorada
Done!
Thanks.
Where's the update link for OnlinePackageManager? :)
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Online Package Manager
« Reply #202 on: November 09, 2016, 02:02:57 pm »
As I can see the package list contains also CSVDocument. I don't know if this is a good idea: CSVDocument is included in the fpc installation since version 3.0. At least there should be a comment that the ccr version should be used only for older fpc versions.

Another wish: Many packages don't contain a description of what the package is good for, but for those which do the description usually runs across several lines. In the package list this desciption, however, is squeezed into a single line. Wouldn't it be better to provide a separate memo for the package description, or to increase the row height of this line to show all lines as a wordwrapped text? The minimum would be a popup hint showing the entire text. The same probably for the license.

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Online Package Manager
« Reply #203 on: November 09, 2016, 03:00:08 pm »
...
Another wish: Many packages don't contain a description of what the package is good for, but for those which do the description usually runs across several lines. In the package list this desciption, however, is squeezed into a single line. Wouldn't it be better to provide a separate memo for the package description, or to increase the row height of this line to show all lines as a wordwrapped text? The minimum would be a popup hint showing the entire text. The same probably for the license.
Each package should ideally have a Wiki page (or one constructed for it) as it's 'Home Page'.  In that way, OPM can keep it compact, and the wiki page is easily updated by the package author with more information and/or links.
It's the Lazarus way to separate functionality for ease of maintainance :)

I agree the license type should be displayed in the OPM tree display.  That's important.

@getmem is doing a magnificent job so far - let's not discourage him with loads of 'suggestions/improvements'  8)

[hypocrite mode]
It would be nice if OPM showed which IDE tab the component was being installed to. (though sometimes 'hunt the newly-installed component' can be a diversion from an otherwise boring day)
[/hypocrite mode]

 
« Last Edit: November 09, 2016, 03:28:04 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #204 on: November 09, 2016, 03:11:55 pm »
Installed spktoolbar with this tool and it's working well in Trunk. Good job.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #205 on: November 09, 2016, 04:29:13 pm »
Quote
As I can see the package list contains also CSVDocument. I don't know if this is a good idea: CSVDocument is included in the fpc installation since version 3.0. At least there should be a comment that the ccr version should be used only for older fpc versions.
Thanks! I removed CVSDocument from my local repository. It will take a few days though until the main repository is updated.

Quote
Another wish: Many packages don't contain a description of what the package is good for, but for those which do the description usually runs across several lines. In the package list this desciption, however, is squeezed into a single line. Wouldn't it be better to provide a separate memo for the package description, or to increase the row height of this line to show all lines as a wordwrapped text? The minimum would be a popup hint showing the entire text. The same probably for the license.
I will add a popup hint, because a variable height row(with a lot of info) would look ugly in my opinion. The tree is already displaying to much info.


@minesadorada
Quote
Let's not discourage him with loads of 'suggestions/improvements'
No no! Please let the suggestions/improvements coming. I like that. I will try to implement most of them(at least the reasonable ones).

Quote
It would be nice if OPM showed which IDE tab the component was being installed to. (though sometimes 'hunt the newly-installed component' can be a diversion from an otherwise boring day)
Use the: Lazarus Menu-->View-->Components(Ctrl+Alt+P). It takes just a few seconds to locate the newly installed component.

Quote
@lainz
Installed spktoolbar with this tool and it's working well in Trunk. Good job.
Thanks. You should send me the upload links for the BGRA components. See BgraBitmap9.2.1 and the previous discussion with @minesadorada.
This one
https://github.com/bgrabitmap/bgracontrols/archive/v4.3.2.zip
and this one
https://github.com/bgrabitmap/bgracontrolsfx/archive/v0.1.6.zip
?

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #206 on: November 09, 2016, 05:03:47 pm »
@GetMem
These links are the right ones for these versions. But I'm not mantaining an update link, the bgrabitmap one is also not an update link, when a new release arrives that will not be the same zip file.

Maybe we can create a special release called OnlinePackageManager where you always can grab a zip file we upload when we release the newest version. (If I understand it right). Of course it will have always the same name.

Or you can use the master repository (git) with has the latest sources always (we need to ensure that always compile and is working well). Or we can create a separate branch wich is updated only when we release a new version.

I need to talk with circular.
« Last Edit: November 09, 2016, 05:10:11 pm by lainz »

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #207 on: November 09, 2016, 08:29:53 pm »
@wp
I implemented the popup hint: https://github.com/getmem/LazOpkMan

@lainz
Quote
Maybe we can create a special release called OnlinePackageManager where you always can grab a zip file we upload when we release the newest version. (If I understand it right). Of course it will have always the same name.
Yes, you understood correctly. That special release would be great!

Quote
Or you can use the master repository (git) with has the latest sources always (we need to ensure that always compile and is working well). Or we can create a separate branch wich is updated only when we release a new version.
I plan to add this feature. The package manager will be able to checkout/update/pull whatever from a SVN repository. The thing is most of the packages out there don't have a zip with the latest version, only a link to a SVN repository. This feature seems more logical then the "update from external zip".

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Online Package Manager
« Reply #208 on: November 09, 2016, 10:23:50 pm »
@GetMem
We will use the Master branch as release. I talked with circular.

BGRA Bitmap
There will be a new repository for BGRA Bitmap tomorrow so stay tuned.

BGRA Controls
https://github.com/bgrabitmap/bgracontrols/archive/master.zip

BGRA Controls FX
https://github.com/bgrabitmap/bgracontrolsfx/archive/master.zip
« Last Edit: November 10, 2016, 01:56:07 am by lainz »

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #209 on: November 10, 2016, 07:01:59 am »
@lainz
Great! I will add the links to the JSON file. One more thing, I noticed that the description and author fields are missing from "bgracontrols.lpk" and "bgracontrolsfx.lpk". Is this by accident?

 

TinyPortal © 2005-2018