made the default location of the add-on server add-ons.wesnoth.org...
...instead of campaigns.wesnoth.org it will point to the same machine, just make it clear that there is more than only campaigns on the machine
This commit is contained in:
parent
9cff0de267
commit
cf66ffc73d
5 changed files with 9 additions and 9 deletions
|
@ -49,7 +49,7 @@ if __name__ == "__main__":
|
|||
"""Download an addon from the server.
|
||||
|
||||
server The url of the addon server eg
|
||||
campaigns.wesnoth.org:15005.
|
||||
add-ons.wesnoth.org:15005.
|
||||
addon The name of the addon.
|
||||
path Directory to unpack the campaign in.
|
||||
returns Nothing.
|
||||
|
@ -66,7 +66,7 @@ if __name__ == "__main__":
|
|||
"""Get a list of addons on the server.
|
||||
|
||||
server The url of the addon server eg
|
||||
campaigns.wesnoth.org:15005.
|
||||
add-ons.wesnoth.org:15005.
|
||||
translatable_only If True only returns translatable addons.
|
||||
returns A dictonary with the addon as key and the translatable
|
||||
status as value.
|
||||
|
@ -98,7 +98,7 @@ if __name__ == "__main__":
|
|||
"""Get the timestamp of a campaign on the server.
|
||||
|
||||
server The url of the addon server eg
|
||||
campaigns.wesnoth.org:15005.
|
||||
add-ons.wesnoth.org:15005.
|
||||
addon The name of the addon.
|
||||
returns The timestamp of the campaign, -1 if not on the server.
|
||||
"""
|
||||
|
@ -124,7 +124,7 @@ if __name__ == "__main__":
|
|||
"""Upload a addon from the server to wescamp.
|
||||
|
||||
server The url of the addon server eg
|
||||
campaigns.wesnoth.org:15005.
|
||||
add-ons.wesnoth.org:15005.
|
||||
addon The name of the addon.
|
||||
temp_dir The directory where the unpacked campaign can be stored.
|
||||
svn_dir The directory containing a checkout of wescamp.
|
||||
|
@ -180,7 +180,7 @@ if __name__ == "__main__":
|
|||
"""Update the translations from wescamp to the server.
|
||||
|
||||
server The url of the addon server eg
|
||||
campaigns.wesnoth.org:15005.
|
||||
add-ons.wesnoth.org:15005.
|
||||
addon The name of the addon.
|
||||
temp_dir The directory where the unpacked campaign can be stored.
|
||||
svn_dir The directory containing a checkout of wescamp.
|
||||
|
|
|
@ -259,7 +259,7 @@ const std::string campaign_server()
|
|||
if(!preferences::get("campaign_server").empty()) {
|
||||
return preferences::get("campaign_server");
|
||||
} else {
|
||||
return "campaigns.wesnoth.org";
|
||||
return "add-ons.wesnoth.org";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ if __name__ == "__main__":
|
|||
|
||||
optionparser = optparse.OptionParser()
|
||||
optionparser.add_option("-a", "--address", help = "specify server address",
|
||||
default = "campaigns.wesnoth.org")
|
||||
default = "add-ons.wesnoth.org")
|
||||
optionparser.add_option("-p", "--port",
|
||||
help = "specify server port or BfW version (%s)" % " or ".join(
|
||||
map(lambda x: x[1], CampaignClient.portmap)),
|
||||
|
|
|
@ -6,7 +6,7 @@ use CGI qw/:standard -no_xhtml/;
|
|||
use Time::gmtime;
|
||||
use strict;
|
||||
|
||||
my ($host,$port) = ('campaigns.wesnoth.org', 15002);
|
||||
my ($host,$port) = ('add-ons.wesnoth.org', 15002);
|
||||
|
||||
my $style = 'http://www.wesnoth.org/mw/skins/glamdrol/main.css';
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ use Archive::Tar;
|
|||
use CGI qw/:standard -no_xhtml/;
|
||||
use strict;
|
||||
|
||||
my ($host, $port) = ("campaigns.wesnoth.org", 15002);
|
||||
my ($host, $port) = ("add-ons.wesnoth.org", 15002);
|
||||
|
||||
my $style = 'http://www.wesnoth.org/mw/skins/glamdrol/main.css';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue