Commit graph

342 commits

Author SHA1 Message Date
foamyguy
deea802a29 lots of prints 2024-03-02 10:59:59 -06:00
foamyguy
dbb8374638 fix for json response files key. Use requests Session with retries in WebBackend. timeout on a requests call. code format 2024-02-26 17:30:04 -06:00
foamyguy
15aec597b8 Merge branch 'web_workflow_tweak' into web_workflow 2024-02-26 16:45:06 -06:00
foamyguy
bfae6066dc use self.password instead of parse url 2024-02-26 16:30:23 -06:00
foamyguy
e0bbec2251 move password check and host check to WebBackend. 2024-02-26 16:23:44 -06:00
foamyguy
88a5f9a2e0 code format 2024-02-26 15:54:23 -06:00
foamyguy
33a0528087 Merge branch 'main' into web_workflow
# Conflicts:
#	circup/__init__.py
#	tests/test_circup.py
2024-02-26 15:46:40 -06:00
foamyguy
7d3eb6cd78 extract_metadata changes from #198 2024-02-26 15:35:01 -06:00
Scott Shawcroft
b2601428d1
Merge pull request #198 from dhalbert/fix-mpy-update-checking 2024-02-13 15:04:13 -08:00
Dan Halbert
db47b6f423 update tests 2024-02-13 16:29:31 -05:00
Dan Halbert
271389207e update to actions/checkout@v4 2024-02-13 15:56:33 -05:00
Dan Halbert
e7e8df0274 Handle mpy version checking for Circuitpython 9 2024-02-13 15:45:28 -05:00
tyeth
e5a20309a0 Dispose of request sockets + create DIRs first
Saw ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
2024-02-11 20:34:49 +00:00
tyeth
6cc6a1df39 Tweak for Web Workflow with sub paths 2024-02-11 17:43:47 +00:00
foamyguy
01cceec6bf remove prints 2023-12-18 10:48:32 -06:00
foamyguy
1f9bee3ffc black format b4 pylint. fix tests tests to passing 2023-12-18 10:43:34 -06:00
foamyguy
2d0739005a parse_boot_out helper. change DiskBackend() to take boot_out string instead of version info tuple 2023-12-13 18:35:43 -06:00
foamyguy
31270a0286 is_deice_present() for WebBackend. pylint fixes. equalize behavior when device is not present. 2023-12-13 18:17:36 -06:00
foamyguy
a96fd8e84a refactor Module() not to take path. is_deice_present() for DiskBackend 2023-12-12 19:33:35 -06:00
foamyguy
56c1ddab31 allow mock version_info in DiskBackend 2023-12-11 16:52:13 -06:00
foamyguy
01f0a2d046 removing path argument from backend functions and find_modules(). add backend.get_file_path(). remove target url argument (including passwrd) from install_http() 2023-12-04 16:50:29 -06:00
foamyguy
d9ce3b25a9 copyright for shared.py and backends.py 2023-12-04 15:19:00 -06:00
foamyguy
bea088ec50 don't pass library path. 2023-12-02 11:57:24 -06:00
foamyguy
499dee6e03 move libraries_from_code_py out of backend. fix CPY_VERSION issue for web backend 2023-11-30 06:44:22 -06:00
foamyguy
fb6cd847a8 starting move backends to own file 2023-11-29 07:55:44 -06:00
foamyguy
d3eda67ddb fix typo, change name to DiskBackend, remove wrapper _get_circuitpython_version 2023-11-29 07:21:44 -06:00
foamyguy
467740088c remove extra tick mark 2023-11-27 09:51:09 -06:00
foamyguy
51f9670610 update readme for web workflow support 2023-11-27 09:50:17 -06:00
foamyguy
75e501204a license for mock boot_out 2023-11-22 18:06:07 -06:00
foamyguy
a5b40b46d3 fixing tests 2023-11-22 18:02:48 -06:00
foamyguy
168f8ec86d remove prints 2023-11-22 16:58:46 -06:00
foamyguy
1681b29f9e working on windows USB fix 2023-11-22 22:37:37 -06:00
foamyguy
f582873328 Backend super class. 2023-11-21 19:17:43 -06:00
foamyguy
01a1ac2661 code format 2023-11-21 18:10:01 -06:00
foamyguy
1b2e115155 remove prints, fix trailing slash difference 2023-11-21 18:04:21 -06:00
foamyguy
c1af505510 main command function arguments access 2023-11-21 17:36:56 -06:00
foamyguy
90299a099a fix --path argument functionality 2023-11-20 11:01:58 -06:00
foamyguy
86ccabe411 more refactoring, some successful USB workflow functionality 2023-11-20 10:28:29 -06:00
foamyguy
c6d430c0fc more refactoring 2023-11-17 18:16:13 -06:00
foamyguy
97e60ed4e0 starting refactor 2023-11-17 17:55:50 -06:00
foamyguy
32dab6beaf Merge branch 'main' into web_workflow 2023-11-17 16:15:22 -06:00
Dan Halbert
e3d266525d
Merge pull request #194 from aricooperdavis/patch-1
Fix renamed `is_valid()` method call
2023-11-16 13:00:58 -05:00
Ari Cooper Davis
a76663f278
Fix renamed is_valid() method call 2023-11-16 17:40:47 +00:00
foamyguy
5f1e6ab835
Merge pull request #192 from FoamyGuy/toml_req
add toml to dependency list
2023-11-13 16:40:31 -06:00
foamyguy
dc8d43dfef add toml to dependency list 2023-11-13 14:53:52 -06:00
foamyguy
f4618b3e7c fix for None ctx.parent. Fix file scheme condition 2023-11-13 11:39:28 -06:00
foamyguy
225b490295 fixes for USB workflow and --auto 2023-11-13 11:27:55 -06:00
foamyguy
5615279eb3 Merge branch 'main' into web_workflow
# Conflicts:
#	circup/__init__.py
2023-11-13 11:01:08 -06:00
foamyguy
b7eb10b7a2 fix for file protocol 2023-11-13 10:50:45 -06:00
foamyguy
ce7a29823e
Merge pull request #188 from FoamyGuy/pyproject_toml_circup_dependencies
Add support for Pyproject toml circup dependencies
2023-11-13 10:37:39 -06:00