1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-23 04:10:29 +03:00

1901 Commits

Author SHA1 Message Date
Athanasius
8d7f91248d Oops, moved the 'steps:' line too 2020-07-31 13:18:46 +01:00
Athanasius
063a83b8e8 Move 'Show github context' to just before flake8
$GITHUB_EVENT_PATH wasn't set in the shell with it first.
2020-07-31 13:17:56 +01:00
Athanasius
71fa1dbcf6 Comment the 'add base remote and fetch it' 2020-07-31 13:15:52 +01:00
Athanasius
3d46f23fc7 Need svn_url, not url
'url' is api.github.com
2020-07-31 13:07:40 +01:00
Athanasius
895376c039 Try manually adding remote and fetching to get the refs
Also, add 'end' to 'Show github context'
2020-07-31 13:05:20 +01:00
Athanasius
62fe9deae7 repo.owner.login not repo.full_name 2020-07-31 12:57:44 +01:00
Athanasius
e1a5a1f811 Top-level event key needs to be pull_request 2020-07-31 12:51:07 +01:00
Athanasius
7c00ddcebf We want github.context for the full info 2020-07-31 12:40:38 +01:00
Athanasius
2fa10b4a9e Correct setting of BASE_REPO 2020-07-31 12:35:54 +01:00
Athanasius
c5d43a4ada Try a whole new method of referring to 'base', and checkout 'head' 2020-07-31 12:34:12 +01:00
Athanasius
92ea8943df Run 'Show github context' as first step 2020-07-31 12:21:32 +01:00
Athanasius
a01c36f660 Correct "-run:" to "run:" 2020-07-31 12:20:12 +01:00
Athanasius
015a50d53f Fix small typo "-name" -> "- name" 2020-07-31 12:18:05 +01:00
Athanasius
43ae6dde61 Restore changes, draft status was to blame ? 2020-07-31 12:15:15 +01:00
Athanasius
91e07a62eb Revert pr-checks.yml to see if it runs again 2020-07-31 12:12:53 +01:00
Athanasius
5d7612b0db Move comment, was it stopping any steps from being defined? 2020-07-31 12:09:05 +01:00
Athanasius
e430246d5b Add comment to trigger change 2020-07-31 12:07:52 +01:00
Athanasius
9259afd344 Add display of entire github context 2020-07-31 11:58:13 +01:00
Athanasius
0115e5c6ba PLUGINS.md: except not catch 2020-07-30 14:33:00 +01:00
Athanasius
2df930b9d3 Merge branch 'enhancement/main-plugins-logging' into develop 2020-07-30 14:21:03 +01:00
Athanasius
0e6d4468da PLUGINS.md: Fix typo ' -> ` 2020-07-30 14:17:14 +01:00
Athanasius
974872fe9e PLUGINS.md: Logging is being added, how to prepare
* Currently you use `print(...)`
* `logging` support is coming, here's how to prepare.
2020-07-30 14:05:09 +01:00
Athanasius
8a79efd775 Merge branch 'cleanup/fix-stable-requirements' into main 2020-07-30 08:56:46 +01:00
A_D
8483b04923 Removed keyring dependency
This remove all dependencies on the keyring lib, updates the
requirements.txt to reflect that, and ensures that setup.py does not
attempt to package it.

Any use of the "old" keyring code will now return None and warn about
its deprecation.
2020-07-30 08:52:07 +01:00
Athanasius
837ac588cb Comments out py2exe in requirements-dev.txt as it trips up GitHub Actions
docs/Releasing.md has fuller instructions on getting that specific
pyexe version installed anyway.
2020-07-30 08:52:06 +01:00
Athanasius
be6a7bcdc5 Releasing.md: Emphasises that sparkle:version is SemVer string. 2020-07-30 08:51:21 +01:00
Athanasius
f849f010e2 Releasing.md: Update 'Known Issues' after a stable release. 2020-07-30 08:51:21 +01:00
A_D
8f7bd53b5c Fixed code blocks 2020-07-30 08:51:21 +01:00
A_D
7de06fb6ef Updated docs
Added linting, testing, and new requirements-dev.txt instructions
2020-07-30 08:51:21 +01:00
A_D
aae4aace6c Create requirements-dev.txt 2020-07-30 08:51:21 +01:00
A_D
2fa49210d3 Removed dev deps from requirements.txt 2020-07-30 08:51:21 +01:00
A_D
536f2ff393 Add config for autopep8 2020-07-30 08:51:21 +01:00
A_D
26a94f247b Add flake8 and autopep8 to requirements.txt 2020-07-30 08:51:21 +01:00
Athanasius
9e18dde834 Update PLUGINS.md
Adds missing blank line that caused acciental underline/heading
2020-07-30 08:51:21 +01:00
Athanasius
3b87df17af Tweak EDMarketConnector.py startup so the redirect is first
* Don't want any output until the redirect is done when running frozen.
* Make the line buffering in the redirect more obvious.
2020-07-29 15:02:47 +01:00
Athanasius
4ecb4f573a 2 lines after def test_logging() 2020-07-29 15:02:47 +01:00
Athanasius
45ef87bcb4 Correct frame typing, and import clean up.
Also explains why we're doing that _getframe import that way.
2020-07-29 15:02:47 +01:00
Athanasius
589bc0b5f1 Cover all cases with inspect
* <module> works.
* top-level function in <module> works, presumably also any other file.
* Call from within classes works.
* Extra, commented out, test cases in EDMarketConnector.py
2020-07-29 15:02:47 +01:00
Athanasius
1989b272eb Use inspect to get frame information for qualname
Also includes some minor tweaks to make PyCharm happier:

* @classmethod caller_class_and_qualname().
* No need to () when "returning a tuple".
2020-07-29 15:02:47 +01:00
Athanasius
7a8f29edcf Add comments about future unit tests to implement.
Some of these won't even have been manually tested yet, so might require
more updates to the frame-walking function.
2020-07-29 15:02:47 +01:00
Athanasius
a3b7dcbedc Logging: Handle 'bare function' caller for class/qualname 2020-07-29 15:02:47 +01:00
Athanasius
c18f183db9 .git would be a directory if present, fix test 2020-07-29 15:00:39 +01:00
Athanasius
59babd113b Just use the single allowed actor for now.
And it's now set to "Athanasius".
2020-07-29 15:00:39 +01:00
Athanasius
7a44c28b95 Revert "Try contains(['Athanasius'], github.actor)"
This reverts commit 72c201c5a1336bb7face0a5c686d114194efbdb1.
2020-07-29 15:00:39 +01:00
Athanasius
e22fadd5f5 Revert "Set array in earlier job using JSON"
This reverts commit 8b863c5efdb1414c3fbdf4817c14129d0ccd392a.
2020-07-29 15:00:39 +01:00
Athanasius
51f92b3793 Revert "No nesting ${{..}}"
This reverts commit 9ed541f0e00a5041e8308228fb6a8bff32ceb01c.
2020-07-29 15:00:39 +01:00
Athanasius
0736bbf97b Revert "JSON must have double quotes"
This reverts commit 4db2c907dfd384bb04d99492b45283af1d2e2cc7.
2020-07-29 15:00:39 +01:00
Athanasius
069e7ce9e5 Revert "Wildcard on the end ?"
This reverts commit 511e7a48d6e4dfb4b61cfc43517e7ac9a5f5d7ec.
2020-07-29 15:00:39 +01:00
Athanasius
9b2db0c2e2 Revert "Need at least one JSON key ?"
This reverts commit f509d974c1eb926bc1640ba3c2703518ac972136.
2020-07-29 15:00:39 +01:00
Athanasius
ba437aecd3 Revert "We don't want 'matrix', just 'allowed'."
This reverts commit 9938370e91e3144ce0f29f3da7057e402f9fe3fb.
2020-07-29 15:00:39 +01:00