Follow-up Comment #2, bug #17628 (project wesnoth):
Yeah, just to clarify, it will always replace the currently-downloaded
version, author or not.
So perhaps when downloading an add-on, it should go like this:
1. Read the version in the scenario's _info.cfg.
2. Compare it with the version on the add-on server. If it's the same, don't
download. If the server is newer, download.
3. If it's the same or older, warn the user that the installed version is
newer than what's on the server, and that downloading will replace the entire
folder.
Additionally, I'm curious if maybe it would be a good idea for Wesnoth to
treat .pbl files special, in that they would never get deleted when an add-on
is being overwritten. I am just imagining a situation where an author makes
some changes, doesn't like it, and wants to revert to whats on the server, and
goes ahead and downloads the last version published on the server. Then s/he
doesn't realize their .pbl file is gone and doesn't remember their passphrase.
If the .pbl were to stay this could be avoided.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17628>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs