Coverage for cc_modules/cc_version_string.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2022-11-08 23:14 +0000

1#!/usr/bin/env python 

2 

3""" 

4camcops_server/cc_modules/cc_version_string.py 

5 

6=============================================================================== 

7 

8 Copyright (C) 2012, University of Cambridge, Department of Psychiatry. 

9 Created by Rudolf Cardinal (rnc1001@cam.ac.uk). 

10 

11 This file is part of CamCOPS. 

12 

13 CamCOPS is free software: you can redistribute it and/or modify 

14 it under the terms of the GNU General Public License as published by 

15 the Free Software Foundation, either version 3 of the License, or 

16 (at your option) any later version. 

17 

18 CamCOPS is distributed in the hope that it will be useful, 

19 but WITHOUT ANY WARRANTY; without even the implied warranty of 

20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 

21 GNU General Public License for more details. 

22 

23 You should have received a copy of the GNU General Public License 

24 along with CamCOPS. If not, see <https://www.gnu.org/licenses/>. 

25 

26=============================================================================== 

27 

28**Contains CamCOPS version strings.** 

29 

30""" 

31 

32# This file MAY NOT import anything except the standard library, because it 

33# is read by setup.py, which must operate in a base Python environment. 

34 

35# ============================================================================= 

36# Version constants and configuration variables read by shell scripts 

37# ============================================================================= 

38 

39# ----------------------------------------------------------------------------- 

40# CamCOPS server version/date 

41# ----------------------------------------------------------------------------- 

42# When you alter the server, it is normal to change these two: 

43 

44CAMCOPS_SERVER_VERSION_STRING = "2.4.13" 

45CAMCOPS_SERVER_CHANGEDATE = "2022-08-18" 

46 

47# +++ NOW ALSO UPDATE: +++ 

48# 

49# documentation/source/changelog.rst 

50 

51 

52# ----------------------------------------------------------------------------- 

53# Minimum tablet version permitted to upload 

54# ----------------------------------------------------------------------------- 

55# BEWARE: it is not normal to have to change MINIMUM_TABLET_VERSION_STRING. 

56# If you increase it, you may prevent old clients from uploading. 

57 

58MINIMUM_TABLET_VERSION_STRING = "1.14.0"