Athanasius
bd81f05514
Utilise 'return None' to reduce check_appcast() indentation
2020-07-19 12:06:59 +01:00
Athanasius
739dfec114
Only import tkinter if we're type checking.
2020-07-19 12:05:37 +01:00
Athanasius
3abd4455df
Releasing.md: Cursory update for Semantic Versions
2020-07-19 11:45:07 +01:00
Athanasius
4435bb004a
Technically could still be frozen with darwin and thus non-Win Sparkle
2020-07-19 11:45:07 +01:00
Athanasius
35f573bc14
Updater class now used for all updates checking
...
* Updater.__init__() now takes 'provider' argument to specify if we use
the internal checking code, or the available external code.
* EDMC.py changed to utilise this with internal provider.
* EDMarketConnector.py changed to use internal provider if not frozen,
else the internal provider.
* Corrected the darwin/MacOS toggling of auto updates checking to actually
use the Sparkle, not WinSparkle, API call.
* Updater.check_appcast() does the internal checking:
* class EDMCVersion to hold the information.
* Returns None on any error, or if it didn't find a newer version.
* Returns an EDMCVersion object if it found a newer version.
2020-07-19 11:45:07 +01:00
Athanasius
76a6eec69d
Updater.check_appcast() added to 'run from source' version
...
Tested as working with EDMarketConnector.py.
2020-07-19 11:45:07 +01:00
Athanasius
508ed78a25
Use semantic_version.truncate() for appversion_nobuild
2020-07-19 11:45:07 +01:00
Athanasius
ea2c7f6894
Revert accidental change to test update_feed.
2020-07-19 11:45:07 +01:00
Athanasius
1ee8756983
Re-engineering of EDMC.py version update check
...
* Uses semantic_version.
* Filters on sparkle:os.
* Catches specific exceptions.
2020-07-19 11:45:07 +01:00
Athanasius
af1c313dc3
update.py: Note to redo 'manual' version check
2020-07-19 11:45:07 +01:00
Athanasius
cba673ae12
Correct 'compoun' to 'compound' in 'Release Notes' URL code
2020-07-19 11:45:07 +01:00
Athanasius
66a63597f1
Use appversion_nobuild in 'Release Notes' URL
2020-07-19 11:45:06 +01:00
Athanasius
ef3f14daaa
Define appversion_nobuild in config.py for use elsewhere
...
Already need this in update.py, but will also adjust the 'Release Notes'
URL to use this, not full version.
2020-07-19 11:45:06 +01:00
Athanasius
dc9597fb0c
Add comment that appversion must now be valid Semantic Version
2020-07-19 11:45:06 +01:00
Athanasius
560ac5f81a
Semantic Version support: py2exe & WinSparkle
...
* py2exe only supports Major.Minor.Patch(.Revision), so pass only
Major.Minor.Patch to it. 'File version' of generated EXEs will have
a `.0` appended as .Revision.
* Set 'product_version' in py2exe with the full version string. This
ends up in the EXE 'Product version' property.
* WinSparkle accidentally suppoorts semver -prerelease correctly, but
not +buildmetadata. So trim the latter off and set that as the version
for checks.
2020-07-19 11:45:06 +01:00
Athanasius
5961bb25e4
Merge pull request #608 from A-UNDERSCORE-D/patch-1
...
Add flake8 configuration file
2020-07-18 13:43:02 +01:00
A_D
3099a22de4
Add flake8 configuration file
...
Proposed flake8 configuration file for all developers to use
2020-07-18 14:38:58 +02:00
Athanasius
ad642f2849
Merge branch 'main' into develop
2020-07-15 12:04:09 +01:00
Athanasius
f7aa85a02d
Merge branch 'stable' into main
2020-07-15 12:03:47 +01:00
Athanasius
d39d78bb39
Release 4.0.2.0
Release/4.0.2.0
2020-07-15 12:00:03 +01:00
Athanasius
43e18c0c84
Merge branch 'stable' into main
2020-07-15 11:50:39 +01:00
Athanasius
8759dd4912
Merge branch 'main' of https://github.com/EDCD/EDMarketConnector into main
2020-07-15 11:50:15 +01:00
Athanasius
09be5505bc
Clarify what stable and beta branches may contain. Describe release tags.
...
* Both `stable` and `beta` might contain extra commits for hotfixes beyond
what is currently released.
* Describe the Stable Release tag form, and point out that currently
the pre-release tag form is the same.
2020-07-15 11:48:33 +01:00
Athanasius
1a16d6971a
docs/Releasing.md: re-structure and clarifications.
...
I'd been deviating slightly from what it said, so I've updated to what I
now actually do.
2020-07-15 11:48:33 +01:00
Athanasius
1781b6657c
Contributing.md: beta can lag behind main/stable/develop
2020-07-15 11:48:33 +01:00
Athanasius
996f317130
Contributing.md: master
is deprecated, use main
.
2020-07-15 11:48:33 +01:00
Athanasius
1bf8e292a8
Merge pull request #606 from EDCD/fix/604-EDMC-version-check
...
Restore 'EDMC -v' to announcing newer versions.
2020-07-15 11:46:43 +01:00
Athanasius
c51ba1c445
Clarify what stable and beta branches may contain. Describe release tags.
...
* Both `stable` and `beta` might contain extra commits for hotfixes beyond
what is currently released.
* Describe the Stable Release tag form, and point out that currently
the pre-release tag form is the same.
2020-07-15 10:43:30 +01:00
Athanasius
b1e1fc3a34
Restore 'EDMC -v' to announcing newer versions.
...
I got too enthusiastic in 3ff77c3c54dea4bf36d957cd2dbd5b1b02dcb094 when
I removed the "cut it down to A.BC" code. This restores the old output,
but using a less confusing if/else.
2020-07-15 10:27:29 +01:00
Athanasius
a5becb7f7c
Merge branch 'stable' into main
2020-07-14 11:43:57 +01:00
Athanasius
173733cc44
Merge branch 'stable' into develop
2020-07-14 11:43:30 +01:00
Athanasius
6f004e6df7
Merge pull request #602 from EDCD/release-4.0.1.0
...
Release 4.0.1.0
2020-07-14 11:36:40 +01:00
Athanasius
87530e32b1
edmarketconnector.xml: 4.0.1.0
Release/4.0.1.0
2020-07-14 11:34:26 +01:00
Athanasius
07b6002775
Release 4.0.1.0 appversion and ChangeLog.md
2020-07-14 11:27:55 +01:00
Athanasius
ec32849a17
plugins/eddb: Fallback to system_name if no system_address
...
* Cleans up imports.
* Fixes some '<tab># ...' to use 2 spaces.
* Add type hints to system_url().
* Always store, even if not current provider: this.{system_address,
station_marketid,system_population}
2020-07-13 22:12:29 +01:00
Athanasius
f3e25f0340
EDDB system URL: Don't pick up system_address from CAPI at all
2020-07-13 21:03:57 +01:00
Athanasius
0d045d54f4
docs/Releasing.md: re-structure and clarifications.
...
I'd been deviating slightly from what it said, so I've updated to what I
now actually do.
2020-07-13 17:46:57 +01:00
Athanasius
f95e55d3d4
Contributing.md: beta can lag behind main/stable/develop
2020-07-13 13:40:34 +01:00
Athanasius
6a890188bc
Contributing.md: master
is deprecated, use main
.
2020-07-13 13:38:12 +01:00
Athanasius
7e888f5924
Add Changelog.md to distributed files.
Release/4.0.0.0
2020-07-13 12:30:48 +01:00
Athanasius
6184a9cc32
edmarketconnector.xml: Update for Windows 4.0.0.0
2020-07-13 12:20:45 +01:00
Athanasius
a0c1221446
Increase version to 4.0.0.0
2020-07-13 12:09:05 +01:00
Athanasius
42f2fa4ed1
ChangeLog: Additions for 4.0.0.0
...
* Removed old 3.99.5.0 header.
* Correct *all* URLs referencing 'master' branch to 'main'.
* Add note for developers to check Contributing.md.
2020-07-13 12:08:46 +01:00
Athanasius
ea0d6471d2
Contributing.md: Fix 'contentions' typo
2020-07-13 12:04:44 +01:00
Athanasius
0a3c574137
ChangeLog: Initial 4.0.0.0 text
...
This has amalgamated the 3.99.X.0 changelogs into one.
Still need to check if anything else needs adding.
2020-07-13 11:59:57 +01:00
Athanasius
8d0cd8c9dc
PLUGINS.md: Change header to 'Developer Plugin Documentation'
2020-07-13 11:59:10 +01:00
Athanasius
b9b22edf5d
Update translations
...
Minor st-Latn-BA changes.
2020-07-13 11:45:39 +01:00
Athanasius
7d0bd6e4bc
Removes py2exe from requirements.txt
...
We specify version and where to get it in docs/Releasing.md, and it's
not "pip install"-able, so don't cause errors with this.
2020-07-13 10:53:12 +01:00
Athanasius
dec2f3d041
theme not them
2020-07-12 23:15:47 +01:00
Athanasius
f96b00f8ef
Merge pull request #574 from A-UNDERSCORE-D/enhancement/cleanup-edshipyard
...
cleanup edshipyard
2020-07-12 20:50:25 +01:00