Opened 4 years ago

Closed 4 years ago

#1536 closed enhancement (fixed)

Add Upgrade Functionality to I2PControl

Reported by: lazygravy Owned by: tuna
Priority: minor Milestone: eventually
Component: apps/plugins Version: 0.9.19
Keywords: I2PControl Cc: tuna
Parent Tickets:

Description

  • RouterManager.CheckUpgrade -- Check if an upgrade is available.
  • RouterManager.DownloadUpgrade -- Download the upgrade if available.
  • RouterManager.ApplyUpgrade -- Apply the upgrade and gracefully restart.

Subtickets

Change History (5)

comment:1 Changed 4 years ago by zzz

Even better - provide the update (zip? su3?) in the JSON

comment:2 Changed 4 years ago by tuna

As in provide a .zip and then drop it into the i2p-dir and restart, or doing something more fancy?

comment:3 Changed 4 years ago by tuna

<zzz> hottuna_, you can get at the interface net.i2p.update.UpdateManager? w/o anything from the console (just as i2psnark does)
<zzz> you may need to expose a couple more methods through that interface though
<zzz> as that interface is currently just for implementing checks/updates, not requesting them
<zzz> the interface is in i2p.jar; you shouldn't have any need to access the implementation

comment:4 Changed 4 years ago by tuna

  • Owner set to tuna
  • Status changed from new to assigned

comment:5 Changed 4 years ago by tuna

  • Resolution set to fixed
  • Status changed from assigned to closed

FindUpdates? and Update have now been added to i2pcontrol.

Note: See TracTickets for help on using tickets.