Jump to content











Photo
- - - - -

[typo] genUpdates


  • Please log in to reply
3 replies to this topic

#1 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 29 November 2006 - 05:07 AM

I've been working with updates.ini from sand box and if noticed that the URL links for download of the newest version are not correct, take as example RunOnVPC.script:

www:
http://update.boot-l...RunOnVPC.Script

updates.ini:
http://update.boot-l...RunOnVPC.Script

The typo is found on SandBox and avoids from finding the script.. :P

I know that beta kit is replacing the sand box, so perhaps it's not necessary to fix it, but I've also noticed that the above link is not found on beta kit..




I also have a feature request:

Would it be possible for genUpdates to also add the author and description of the script on updates.ini?

Something like:
File=Version,DownloadLink,MD5hash,author,description


I've added basic support for folders on update list to allow browsing categories, to create a new folder it is needed to add a folder name inside the [update] section like this:

[update]
HojoPE=Folder
ramdisk.Script=006,http://update.boot-land.net/WinBuilder_Sandbox/Archive/Addons/ramdisk.Script,0297f4050f3ac035fe6183019a279eee
USBSticks.Script=006,http://update.boot-land.net/WinBuilder_Sandbox/Archive/Addons/USBSticks.Script,fb54517aac18d30db7aebb1170fefec6
calculator.Script=002,http://update.boot-land.net/WinBuilder_Sandbox/Archive/Apps/calculator.Script,67d2a23d6c0ae03029bbf034ec9461ac
CDWriter.Script=002,http://update.boot-land.net/WinBuilder_Sandbox/Archive/Apps/CDWriter.Script,571b44808e4409d6f7329b64fb7f405b
go2pdf.Script=004,http://update.boot-land.net/WinBuilder_Sandbox/Archive/Apps/go2pdf.Script,591d1172c39c03eab836e76bb2d791f4
mspaint.Script=002,http://update.boot-land.net/WinBuilder_Sandbox/Archive/Apps/mspaint.Script,a11d547f4e470860f8d9877cf9c4cca7


And then a new section like this:

[update-HoJoPE]
HoJoPE-1-MakeDirs.Script=004,http://update.boot-land.net/WinBuilder_BetaKit/Projects/HoJoPE/Build/HoJoPE-1-MakeDirs.Script,47d5b2ec9bdca82670bacf514ee9580a
HoJoPE-2-TXTsetup.Script=003,http://update.boot-land.net/WinBuilder_BetaKit/Projects/HoJoPE/Build/HoJoPE-2-TXTsetup.Script,1f441b50111b4cfc2247e90dd5a049d0
HoJoPE-3-Hives.Script=002,http://update.boot-land.net/WinBuilder_BetaKit/Projects/HoJoPE/Build/HoJoPE-3-Hives.Script,df26a8466d381ae4d6aaf2a405ad144b
HoJoPE-5-CopyAndExpand.Script=002,http://update.boot-land.net/WinBuilder_BetaKit/Projects/HoJoPE/Build/HoJoPE-5-CopyAndExpand.Script,abeb658501dde71a28e66ac5425374b1
HoJoPE-7-CodePage.Script=001,http://update.boot-land.net/WinBuilder_BetaKit/Projects/HoJoPE/Build/HoJoPE-7-CodePage.Script,cd673bb8326277c438ae8a81a24081ec


This is will be used over the next beta wich should allow to browse over these updates..

Thanks! :P

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 01 December 2006 - 09:43 AM

I also have a feature request:

Would it be possible for genUpdates to also add the author and description of the script on updates.ini?

Something like:

File=Version,DownloadLink,MD5hash,author,description


I've added basic support for folders on update list to allow browsing categories, to create a new folder it is needed to add a folder name inside the [update] section like this:


It is done.
But the description is not shown and in the second folder the contents of the first one is repeated.

Additionally: Inside an open 'folder' the data of the scripts are not shown.
[attachment=856:attachment]


Peter

#3 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 01 December 2006 - 12:13 PM

No problem, it will be quickly fixed. I was just waiting for updates.ini to be edited to be able to proceed with more testings and debug - next beta will have this feature operational.. Thanks a lot!! :P

#4 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 01 December 2006 - 01:44 PM

I've fixed the description part, but the result isn't very appealing, perhaps it's needed to add some more info and functionality inside updates.ini and change the order a bit like this:

File=Version,DownloadLink,MD5hash,title,description,author


It would also be ideal to have an option to add the topic where the script is being discussed for quick posting any issues and look the feedback from other users.

And finally an option to run a script when the file is downloaded would also be welcomed, but how to implement this in an simple and effective way?


Perhaps like this:
File=Version,DownloadLink,MD5hash,title,description,author,LinkToPost,DownloadSc

ript,section

Where:


LinkToPost = URL to the topic where the script is being discussed or even homepage of author
DownloadScript = A small script to be downloaded after downloading the chosen script
Section = a section inside this downloaded script wich will be executed, could be used for preparing the script for tasks like extracting files from a zipped file, copying needed files, etc..

What do you think? :P




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users