URL:
<http://gna.org/bugs/?19972>
Summary: Don't re-upload unchanged files when updating an
add-on
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Sun 22 Jul 2012 11:32:20 PM UTC
Category: Feature Request
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Networking
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: 1.10
Operating System: Linux
_______________________________________________________
Details:
When uploading a new version of an add-on to addons.wesnoth.org (through the
in-game upload client) all the files have to be sent every time, even if most
of them haven't changed. A one-line fix to some WML can force you to
re-upload megabytes of oggs.
The uploader should take a hash of each file, compare them to hashes of the
old versions of the files (which hashes the server should compute and supply),
and only upload those files for which the hash has changed.
This would of course require changes to both the client and the server. It
might also create incompatible changes to the protocol, which I gather is not
extensible.
Since this would mean old clients couldn't use the new server, one possibility
would be to rewrite the addon server protocol entirely, to use HTTP with GET,
PUT, and some custom headers. That would allow future extensions to be
implemented without a flag day. Also I gather the addon server needs a
rewrite as it is.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19972>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs