View Issue Details

IDProjectCategoryView StatusLast Update
0005551The Dark ModDistributionpublic01.01.2023 19:02
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 2.08 
Target VersionTDM 2.10Fixed in VersionTDM 2.10 
Summary0005551: Rework FM database to use SVN as primary storage
DescriptionRight now the mission archive management is pretty low-level and bug-prone. In order to update FM, one has to look on the website for download URLs, connect to each individual mirror using SCP and update the file there, then bump the version on website.

With more than 100 FMs and tremendous effort of the all the authors behind them, I think it would be better to store officially distributed FMs in some versioned storage. SVN is obviously the best candidate because 1) we use it everywhere, 2) it is good with binaries, 3) it does not allow to rewrite history, 4) it allows to checkout one directory instead of whole repo, etc.

The idea is to create a new repo specifically for the official mission archive.
Additional InformationOriginal discussion:
  https://forums.thedarkmod.com/index.php?/topic/20624-store-missions-archive-in-svn/
TagsNo tags attached.

Relationships

related to 0004291 assignedAgent Jones Downloader crash after connection loss 
related to 0004726 assignednbohr1more Check I18N links on Mission web pages 
related to 0004109 assignedstgatilov Updates not showing up in the internal downloader if 'VERSION' of a mission isn't updated 
related to 0005242 assignedstgatilov Online Mission Downloader should include "last updated" field not just "release date" 
related to 0002926 acknowledgedstgatilov Changed l10n files need a new PK4 download 

Activities

stgatilov

stgatilov

05.05.2021 13:37

administrator   ~0013954

Fixed wrong handling of "404 File not found" HTTP code in svn rev 9339.
See also:
  https://forums.thedarkmod.com/index.php?/topic/20913-fm-database-upgrade/&do=findComment&comment=460299

It caught be off guard that "file not found" by default results in CURLE_OK with html contents.
Now it should result in CURLE_HTTP_RETURNED_ERROR, so the mission downloader will be able to silently switch to another URL instead of complaining.
stgatilov

stgatilov

06.05.2021 06:21

administrator   ~0013965

The process has begun:
  https://forums.thedarkmod.com/index.php?/topic/20913-fm-database-upgrade/
  https://forums.thedarkmod.com/index.php?/topic/20624-store-missions-archive-in-svn/&do=findComment&comment=460315

TODO for future: validate screenshot names against spaces and similar trash (or maybe just all filenames).
stgatilov

stgatilov

13.05.2021 01:54

administrator   ~0013999

I'm afraid SHA verification was buggy and blocked updates in some cases (when localization pack is available):
  r9356. Fixed stupid bug in SHA verification of downloaded packages.
nbohr1more

nbohr1more

30.01.2022 21:30

developer   ~0014700

Closing this issue as the mission database is now using SVN

Future improvements, such as using exploded folders, can be addressed in a sub-task tracker if needed

Issue History

Date Modified Username Field Change
27.02.2021 05:32 stgatilov New Issue
27.02.2021 05:32 stgatilov Status new => assigned
27.02.2021 05:32 stgatilov Assigned To => stgatilov
27.02.2021 05:32 stgatilov Relationship added related to 0004726
05.05.2021 13:37 stgatilov Note Added: 0013954
06.05.2021 06:21 stgatilov Note Added: 0013965
13.05.2021 01:54 stgatilov Note Added: 0013999
03.07.2021 08:45 stgatilov Relationship added related to 0004109
03.07.2021 08:49 stgatilov Relationship added related to 0005242
18.07.2021 07:07 stgatilov Status assigned => feedback
30.01.2022 21:30 nbohr1more Note Added: 0014700
30.01.2022 21:30 nbohr1more Status feedback => resolved
30.01.2022 21:30 nbohr1more Resolution open => fixed
30.01.2022 21:30 nbohr1more Fixed in Version => TDM 2.10
21.12.2022 06:44 nbohr1more Relationship added related to 0002926
01.01.2023 19:02 nbohr1more Relationship added related to 0004291