1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

config.py: Remove 'protoype' comment about appversion being a function

This commit is contained in:
Athanasius 2021-04-03 10:25:17 +01:00
parent 5db62e48a3
commit cc809de042

View File

@ -29,14 +29,6 @@ from constants import GITVERSION_FILE, applongname, appname
# Any of these may be imported by plugins
appcmdname = 'EDMC'
# Replacing appversion with a function:
#
# 1. In setup.py grab the current HEAD short hash and place in a file .gitversion
# 2. config.py code then needs to check:
# a. If we're not frozen and .git/ exists (i.e. not from a tarball ?) use something to get the current HEAD
# b. If not frozen and no .gitversion (but there should be) ???
# c. If frozen, just read the .gitversion (that had better damned well be there, but catch if it's not).
# 3. But I don't want to spam EDDN with different 5.0.0-beta1+shorthash when testing... so ???
# appversion **MUST** follow Semantic Versioning rules:
# <https://semver.org/#semantic-versioning-specification-semver>
# Major.Minor.Patch(-prerelease)(+buildmetadata)