1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 17:12:21 +03:00

377 Commits

Author SHA1 Message Date
Athanasius
f9875b5b9a
EDDN: Make use of new CL arg to use custom upload URL
This also entailed slightly reworking the way the EDDN code uses this
URL.  It was very generalised, so as to allow for the debug "just send
and log locally" code, but as the only URL is the 'upload' one much of
that seemed un-necessary.

So that code has been simplified.
2021-09-24 10:59:15 +01:00
Forest
cbcf5f6d44
Log git's absence at the INFO level, not ERROR
The ERROR log level is needlessly high for complaining about git not being installed, especially when we're running from an extracted source archive rather than a repo. Let's keep things calm and avoid polluting desktop session logs. The INFO log level is plenty.
2021-09-18 09:14:11 +01:00
01bd637730
Add CL arg --capi-pretend-down in order to pretend that CAPI is down 2021-08-13 21:47:47 +03:00
Athanasius
b6c79f3d01
Post-release appversion bump to 5.1.4-beta0 2021-08-09 15:33:58 +01:00
Athanasius
e3d55420d4
Release 5.1.3: changelog & appversion 2021-08-08 14:45:28 +01:00
Athanasius
98d812fa79
Merge branch 'release-5.1.3-beta1' into release-5.1.3 2021-08-08 14:31:17 +01:00
A_D
942088bb8c
Fixed get_bool on windows not returning defaults in some cases 2021-08-08 12:02:58 +02:00
Athanasius
2efa32cf86
Pre-Release 5.1.3-beta1: appversion & ChangeLog 2021-08-06 15:16:31 +01:00
Athanasius
40b76d40cc
Add --trace-on ... to activate specific trace logging
This is just the parsing and storage of the options for now.
2021-08-05 13:43:15 +01:00
Athanasius
23d172a311
config: post-release appversion bump to 5.1.3-beta0 2021-07-29 20:38:39 +01:00
Athanasius
36eeb802a3
Release 5.1.2: version bump & changelog 2021-07-29 15:58:15 +01:00
A_D
de8f7b8e5f
Cache appversion when it is created
closes EDCD/EDMarketconnector#967
2021-07-22 06:15:34 +02:00
A_D
fe0e752c9b
Added support for arbitrary plugins for POST debug
This works by replacing --eddn-local with --debug-sender, and making the
webserver more generic. support has been added to EDSM, EDDN, and INARA.
2021-06-18 23:36:42 +02:00
Athanasius
7d36404d5c config: Post-release appversion bump to 5.1.2-beta0 2021-06-10 20:47:12 +01:00
Athanasius
2fd14381f2 Release 5.1.1: appversion and changelog 2021-06-10 19:58:59 +01:00
Athanasius
ce9e7985c7 Release 5.1.0: Post-release bump of appversion to next-beta0 2021-06-04 19:26:31 +01:00
Athanasius
13119b9509 Release 5.1.0: *not* 5.0.5. We want the Minor bump. 2021-06-04 14:02:59 +01:00
Athanasius
34fe350a84 Release 5.0.5: appversion and changelog 2021-06-04 13:42:23 +01:00
Athanasius
170128198f appversion: post-release bump to 5.0.5-beta0 2021-05-27 18:18:04 +01:00
Athanasius
2ba8cf1ea8 Release 5.0.4: appversion and changelog 2021-05-27 17:53:58 +01:00
Athanasius
186668ef4d appversion: post-release bump to 5.0.4-beta0 2021-05-27 15:31:38 +01:00
Athanasius
6bac280a43 Release 5.0.3: No longer an -rc1 2021-05-27 15:05:59 +01:00
Athanasius
8a3351869f Release 5.0.3: appversion and changelog 2021-05-27 14:17:08 +01:00
Athanasius
efcf5dda2c appversion 'DIRTY': Separator must be . 2021-05-27 12:46:46 +01:00
Athanasius
4d5d9ae645 config: appversion: Use +DIRTY to ensure SemVer compliance.
It's also more succinct.  We know what it means.
2021-05-27 09:21:13 +01:00
Athanasius
69d8270e8f config: Rework 'git but dirty?' check to handle 'no git'
`shorthash` was still `None` if no git, so we then tried to concatenate
`NoneType` and `str` which is verbotten.

There's no point using git to detect dirtyness if `shorthash` is None
because that itself indicates no git available.
2021-05-21 16:55:10 +01:00
Athanasius
eb4cbded7a Post-release appversion bump
I'm trying out a new policy of bumping to patch+1 and -beta0 after a
stable release.  Makes it more obvious when I was testing, especially
over EDDN (which doesn't get sent the +buildmeta).
2021-05-21 15:36:53 +01:00
Athanasius
fd5a721b81 Release 5.0.2: appversion and changelog 2021-05-21 14:57:27 +01:00
A_D
924221f063
Show whether or not the git wdir is dirty in version
Closes #1073
2021-05-21 08:39:13 +02:00
Athanasius
f987208a39 Release 5.0.1: appversion and changelog 2021-05-17 15:14:56 +01:00
Athanasius
6c590b0c39 Release 5.0.0: appversion and ChangeLog 2021-05-12 14:19:33 +01:00
Athanasius
bbd1d7a52b Pre-Release 5.0.0-rc1 appversion 2021-05-07 19:58:16 +01:00
A_D
d3ffe6f0d9
Removed useless check, added doc comments 2021-05-07 14:27:32 +02:00
A_D
985794fbcb
Ensure that Section exists on linuxconf
When starting EDMC for the first time, linuxconf creates the required
file automatically but does _not_ create our config section. This causes
a keyerror on any access to config.

Simple solution, test that the section exists, if it doesnt, create it
(and backup any existing file beforehand)
2021-05-07 12:58:10 +02:00
Athanasius
6cf1a30482 Pre-Release 5.0.0-beta8: appversion and changelog 2021-05-06 08:51:59 +01:00
Athanasius
f9db23e25d Pre-Release 5.0.0-beta7: appversion and changelog 2021-05-01 17:56:13 +01:00
Athanasius
e363e1d0ae Pre-Release 5.0.0-beta6: appversion and changelog 2021-04-19 12:40:18 +01:00
A_D
f99b0445ca
Also save on delete 2021-04-13 00:35:01 +02:00
A_D
d4e7395a44
Ensured all sets are flushed to disk on linux
Fixes 1002
2021-04-13 00:31:58 +02:00
Athanasius
ae2bbc8929 Set config flag for --force-edmc-protocol so protocol.py can test it 2021-04-12 16:25:53 +01:00
Athanasius
6532a0f0ed Release 5.0.0-beta5: appversion and changelog 2021-04-12 13:51:26 +01:00
Athanasius
b66d599508 Pre-Release 5.0.0-beta4: appversion and changelog 2021-04-12 08:31:47 +01:00
Athanasius
cc809de042 config.py: Remove 'protoype' comment about appversion being a function 2021-04-12 08:31:46 +01:00
Athanasius
c1cf90bda3 Add comment about using .parent because non-main script is in library.zip 2021-04-12 08:31:46 +01:00
Athanasius
f16a367986 Use full path to open .gitversion out of paranoia. 2021-04-12 08:31:46 +01:00
Athanasius
7bbc8e86a2 Pre-Release 5.0.0-beta3: appversion and changelog
# Conflicts:
#	config.py
2021-04-12 08:31:40 +01:00
Athanasius
7bf4fba85a Version to 4.2.0-beta1 to distinguish Python 3.8 builds
* I don't want to be checking something against 4.1.x releases when my
  last build was with Python 3.8.

# Conflicts:
#	config.py

# Conflicts:
#	config.py

# Conflicts:
#	config.py
2021-04-01 14:47:24 +01:00
Athanasius
95458f12c7 Pre-Release 5.0.0-beta2: appversion & changelog 2021-04-01 14:46:43 +01:00
Athanasius
4d1c6906e7 Maybe I should stop putting types on :return: and :param: ... 2021-04-01 14:46:43 +01:00
Athanasius
5de4950fba Change config.appversion() to return semantic_version.Version
As we're changing it to a function at this stage anyway, it might as
well return this type, not a str.
2021-04-01 14:46:43 +01:00