-
Notifications
You must be signed in to change notification settings - Fork 114
Implement auto-update feature #48
Comments
Discussed today in IRC re: cpp-netlib, as also discussed in the recent past with @fluffypony, the idea is to implement an auto-update feature that is side-channeled along with java I2P's newfeed. An HTTP auto-update is one of the reasons why we are researching a better URI parsing implementation as discussed in #121 and here:
|
Referencing #162. In terms of distribution, we should (at the very least could) use Within the realm of |
@anonimal Is it the intend to provide auto-updating for the library as well? Auto-updating the application (possibly including the library) is relatively straightforward, but I'm not convinced that updating the library itself (when used in another application) is a desirable feature. It's also much more difficult to implement. You could replace the binaries ( Of course I'm not talking about minor updates such as certificates, hosts etc. |
Sorry, I wasn't clear. I meant in terms of binary signature verification and processing; something of which @fluffypony and I touched on a while ago and I wanted to bring that back up again. I completely agree with you @EinMByte about the difficulty. If we are going to side-channel with java i2p's newsfeed, and AFAICT they treat their newsfeed as an su3 (but that doesn't mean that we need to send our updates as an su3), and if the application wants to update over i2p, the application could (after API work) use our classes instead of their own implementation. But maybe that isn't necessary? Maybe we can tackle the specifics of this issue in-depth at our next meeting? |
@anonimal Discussing this in the next meeting seems like a good idea. We could provide classes to update software over I2P, but in my opinion that kind of high-level stuff is not our primary concern. We should just ofter people a (ideally simple) library to send data over the I2P network using various protocols. |
Sounds good, added to #163. |
* References monero-project#48, monero-project#129, monero-project#155 * Also, cleanup/clarify make + docs
Major: - Implementation improvements * HTTP: download impl * HTTP: URI handling impl * HTTP: response header handling for clearnet * AddressBook: unhook in-net HTTP impl (now in class HTTP) * Add documentation Medium: - If default subscription file does not exist, create/save after downloading from publisher Minor: - Adjust related reseed and tunnel code for class HTTP - Update variables names to accurately reflect purpose - Update log messages for accuracy - Update address book flow narrative - Update/improve HTTP unit-test References: - monero-project#305 (parent ticket) - monero-project#168 and monero-project#155 (both in terms of HTTP/S) - monero-project#154 and monero-project#48 (we now have a multi-purpose HTTP/S download impl) Notes: - My apologies for not keeping this commit atomic. Bigger design work can be harder to keep atomic (especially if one wants new features to work before committing) - This commit has been successfully tested and all unit-tests pass
NOTICE: THIS ISSUE HAS BEEN MOVED TO GitLab. Please continue the discussion there. See #1013 for details. |
And auto-update feature that would (at the very least) notify the user of their out-of-date version.
The text was updated successfully, but these errors were encountered: