URL:
<http://gna.org/patch/?1833>
Summary: Better download control file format
Project: Freeciv
Submitted by: cazfi
Submitted on: Monday 08/09/2010 at 16:31
Category: None
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3.0
_______________________________________________________
Details:
Put files to download to vector instead of listing them as completely
separate entry.
* Allows directory structure at server side to be different from
target structure.
* More robust against typos in control file, or at least
such errors will be detected instead of partial download
being treated as complete success
Old:
[filelist]
file1 = "cazfi.serv"
file2 = "cazfi/game.ruleset"
file3 = "cazfi/buildings.ruleset"
...
New:
[files]
list =
{ "src", "dest"
"cazfi/cazfi.serv", "cazfi.serv"
"cazfi/game.ruleset", "cazfi/game.ruleset"
"cazfi/buildings.ruleset", "cazfi/buildings.ruleset"
...
}
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 08/09/2010 at 16:31 Name: ControlNewFormat.diff Size: 5kB
By: cazfi
<http://gna.org/patch/download.php?file_id=9758>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1833>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev