Zandronum Chat @ irc.zandronum.com
#zandronum
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003243Doomseeker[All Projects] Bugpublic2017-09-01 16:172017-09-10 13:35
ReporterWubTheCaptain 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platformx86_64OSDebian GNU/LinuxOS Versionbuster/sid
Product Version1.1 
Target VersionFixed in Version 
Summary0003243: Dubious default configuration path for Zandronum testing releases
DescriptionThe default configuration sets TestingPath for Zandronum to $HOME/Documents/doomseeker/plugins/zandronum. Typically the downloaded testing releases include an executable binary and shared data (Skulltag PK3 files), which is a bit dubious to fit in the $XDG_DOCUMENTS_DIR directory.

I expected $XDG_DOCUMENTS_DIR to be reserved for paper documents, literature at best.
Steps To Reproduce

  1. Ensure no existing user-specific configuration is present (e.g. remove $HOME/.doomseeker).

  2. Run Doomseeker with its libzandronum installed. A message should popup about first-time configuration check.

  3. Check the "Directory for testing releases" under Engines → Zandronum in configuration.

Additional Informationhttps://www.freedesktop.org/wiki/Software/xdg-user-dirs/ [^]

I couldn't find an official specification related to XDG user directories. Needs support from issue 0003233 (XDG Base Directory Specification).
Attached Files

- Relationships
child of 0003246new Debian packaging. 

-  Notes
User avatar (0018251)
Zalewa (developer)
2017-09-09 19:00

Will QStandardPaths::DataLocation be a good place to store the builds, then?
User avatar (0018256)
WubTheCaptain (reporter)
2017-09-10 13:16

The documentation link you posted says QStandardPaths::DataLocation is deprecated and returns QStandardPaths::AppLocalDataLocation.

I know the torbrowser-launcher package in Debian GNU/Linux uses it ($HOME/.local/share/torbrowser) also for binaries, but that package is "not part of Debian" because of contrib section. It's acceptable, but not maybe the best choice. .local/share is meant to be for architecture independent files, after all.

Seeing how QStandardPaths::ApplicationsLocation is not always writable and it's used differently on Windows, it's also probably not a good choice.

I think QStandardPaths::AppLocalDataLocation ($HOME/.local/share/doomseeker) is still a more sensible choice, but that's arguable. Someone else may have a better idea.
User avatar (0018257)
WubTheCaptain (reporter)
2017-09-10 13:22

QStandardPaths::DownloadLocation or its subfolder may also be a sensible choice, excluding the generated shell script which should go to $HOME/.local/bin in my opinion. (Note, $HOME/.local/bin is not part of default $PATH.)
User avatar (0018259)
WubTheCaptain (reporter)
2017-09-10 13:35

Eh, excluding the Qt options: I've personally kept my testing path to "$HOME/.local/games/zandronum-testing/", despite some shortcomings.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2017-09-01 16:17 WubTheCaptain New Issue
2017-09-01 16:31 Zalewa Relationship added child of 0003246
2017-09-09 19:00 Zalewa Note Added: 0018251
2017-09-10 13:16 WubTheCaptain Note Added: 0018256
2017-09-10 13:22 WubTheCaptain Note Added: 0018257
2017-09-10 13:35 WubTheCaptain Note Added: 0018259






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker