Git Product home page Git Product logo

Comments (9)

Megachip avatar Megachip commented on August 10, 2024

It checkes for updates on every start. I think this is enough.

But sure, I think we could change the update server from http://www.vbox.me/update/ to github.
@runarbu anything why to be against?

from portable-virtualbox.

vejobuj avatar vejobuj commented on August 10, 2024

Not sure we understand. Which application is checking update? VirtualBox itself or PortableVirtualbox? the goal is to check whether PortableVirtualbox are updated on github and thus to trigger the update locally.

It's annoying because I have to check on github if automatic update is available. And then manually rename the folder "app64" to be able to do the update. All this could be automated.

from portable-virtualbox.

Megachip avatar Megachip commented on August 10, 2024

@vejobuj PVB checks on every start if there is a new version of VB and PVB. It checks against the update server, which is defined by the update variable in the vboxinstall.ini.

ATM I think it isn't a good idea to change the main update server until the other issues are fixed.

from portable-virtualbox.

vejobuj avatar vejobuj commented on August 10, 2024

Also this line "update=http://www.vbox.me/update/" in https://github.com/vboxme/Portable-VirtualBox/blob/master/data/settings/vboxinstall.ini#L4 is for PortableVirtualbox itself and seems abandoned since 2012

So there is no update checking at all.

ATM I think it isn't a good idea to change the main update server until the other issues are fixed.

Why? I do not see where is the problem.

Edit: I made the changes here #23

from portable-virtualbox.

vejobuj avatar vejobuj commented on August 10, 2024

Question, can I get a sample of download.ini in:
https://github.com/vboxme/Portable-VirtualBox/blob/master/source/Portable-VirtualBox.au3#L1774-L1775

Local $vboxdown = IniRead ($updateUrl&"download.ini", "download", "key", "NotFound")
IniWrite ($updateUrl&"download.ini", "download", "key", $vboxdown + 1)

from portable-virtualbox.

Megachip avatar Megachip commented on August 10, 2024

@vejobuj all nessary files are on http://files.vbox.me/update/.
update.dat is the same as settings.ini, vboxinstall.dat same (.ini).

Never seen or used a download.ini.

https://github.com/vboxme/Portable-VirtualBox/blob/master/data/settings/vboxinstall.ini#L43 -> Version of VB
https://github.com/vboxme/Portable-VirtualBox/blob/master/data/settings/vboxinstall.ini#L45 -> Version of PVB... Both where checked against the update server. If the first differ, PVB will download an updated vboxinstall and updates VB. If the second differ, PVB will download the vboxinstall and the 7zip with updated binaries of PVB.

from portable-virtualbox.

Megachip avatar Megachip commented on August 10, 2024

@vejobuj @runarbu is the actual code stable and working? than in will try to update the updatemirror. (hope I will find credentials anywhere ;)

from portable-virtualbox.

runarbu avatar runarbu commented on August 10, 2024

I must confess that I am a little scared about automatic updates. What if we have a break and it gets rolled out to the whole user base, but don't work?

If we were to move the update files to GitHub we would at least have to make a separate branch for the update files, not just use master because we would probably not want the update possess to start as soon as someone commits to master. Instead we should probably post the new version to vbox.me first, and have a grace period. Then, if we get no complaints about broken things, we could do an update of the old installations.

from portable-virtualbox.

Megachip avatar Megachip commented on August 10, 2024

@runarbu that's my opinion to. github is an development platform. Provided updates should be (realtive) stable and working.

One possiblity: implement 2 Radio Buttons, where user can Switch between stable (Default) and experimental updates. using 2 update mirrors.

from portable-virtualbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.