widelands / widelands-website

The widelands website is a bunch of applications for the django web framework. It is developed in the open here.
https://www.widelands.org/
GNU General Public License v2.0
14 stars 10 forks source link

Allow submitters of maps to upload new versions #196

Open gunchleoc opened 5 years ago

gunchleoc commented 5 years ago

It should be possible to upload (and so update) a new version of an already existing map. The shown image of the map in maps-list should be from the newest version, but it would be nice to still have the older versions available on maps description page, so something like

[Download map] ->[Older versions of this map]


Imported from Launchpad using lp2gh.

gunchleoc commented 5 years ago

(by wl-zocker) Since there were recently some questions concerning this problem in our forums (namely https://wl.widelands.org/forum/topic/1209/, https://wl.widelands.org/forum/topic/1271/ and https://wl.widelands.org/forum/topic/1365/) and there are some v1.1 maps in the download section, it seems many people want to upload a new version. Maybe this should be implemented soon (to avoid unnecessary questions and multiple map uploads).

gunchleoc commented 5 years ago

(by sirver) We are missing manpower right now. There is nobody who has time to work on this right now it seems.

gunchleoc commented 5 years ago

(by shevonar) I finished my bachelor thesis today, so I might have more time in the near future. I already have some ideas how to implement this feature but it will be some work and take some time.

gunchleoc commented 5 years ago

(by sirver) Oh wow! Congratulations. Can I have a look at it someplace.

Teppo (I think?) already implemented something into Widelands for b18 that he planned building on, maybe you should reach out to him and coordinate. It would be absolutely great having you doing stuff on the homepage again :).

gunchleoc commented 5 years ago

(by kxq) I just saw my name being mentioned here..

In case of multiplayer, everybody should use the same map. Currently, the game downloads the map from host if it is not found. If maps are updated, then also a versions should be considered.

A long time ago I added version number constants to the map, with the idea that bundles maps would differentiate from maps downloaded from web page and locally-modified maps.

The idea was that if things get competitive, it would be polite for everybody to know if the host runs an unusual version of a well-known map; useful piece of information if map synchronizing happens transparently.

In my mind the points to do were: 1) Add version data to maps so that when next steps are done, most maps are already compatible; 2) Make the instances sync maps in case of version mismatch; 3) Add some data to UI and 4) Make the web page support multiple versions of same maps in a nice way ( "see old versions" button to map page or so).

Eventually I did not do this :-(

gunchleoc commented 5 years ago

(by 7010622-q-deactivatedaccount) Gold Rush 1.1 update file as talked about in the forum.

Gold Rush 1-1.wmf.zip