Commit Graph

43 Commits

Author SHA1 Message Date
Chris Hennes
fbb1225f90 Addon Manager: Use pip utility function
Also attempts to fix some bugs when dep installation fails.
2025-02-04 14:10:49 -06:00
Chris Hennes
9ef57818be Addon Manager: refactor process_string_to_datetime (#18492)
* Addon Manager: Refactor utilities tests to remove filesystem use

* Addon Manager: Move process_date_string_to_python_datetime to utilities

Also add unit tests and modify the exception type

* Addon Manager: Add tests for other date separators

* Addon Manager: Refactor to reduce duplication

* Addon Manager: add explanation of why the function exists

* Addon Manager: use exception chaining

* Addon Manager: Remove unused test files
2024-12-23 18:01:02 +01:00
Chris Hennes
b2619f339c Addon Manager: PythonDeps Cleanup and Testing 2024-12-16 17:51:29 +01:00
Chris Hennes
6254cb910b Addon Manager: Correct run_interruptable_subprocess
communicate() has to be called after a final kill() to get the output
2024-12-16 17:51:29 +01:00
Chris Hennes
187296d67a Addon Manager Tests: Skip all git tests if git is not present 2024-07-22 00:08:51 -05:00
sliptonic
cc72c73f64 addon manager list of wbs 2024-03-04 16:59:30 -06:00
Chris Hennes
80b516df45 Addon Manager: Fix ZIP-based update 2024-02-23 22:31:36 -06:00
Chris Hennes
40e41f1bb7 Merge pull request #12309 from chennes/addonManagerRefactorGUIArea
Addon manager: Refactor GUI area
2024-02-19 11:20:00 -06:00
Chris Hennes
1056b7b0ca Addon manager: Update test to check license 2024-02-11 17:19:23 -06:00
pre-commit-ci[bot]
7e043a62dc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-03 15:03:08 +00:00
bgbsww
6a8744e5f9 Stop tests from leaving files around after execution 2024-02-03 09:48:59 -05:00
Chris Hennes
e23849af35 Addon Manager: Refactor local cache update check 2023-09-04 19:13:18 -05:00
Chris Hennes
89579cff6e Addon Manager: Reformat with new Black line length 2023-09-02 13:38:08 -05:00
Chris Hennes
b0090a7890 Addon Manager: Improve error handling for Version 2023-05-19 17:17:29 -05:00
Chris Hennes
469fe54ec7 Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
Wb pref fixes
2023-04-04 14:05:47 -05:00
Chris Hennes
8b31d7deb0 Addon Manager: Black and lint 2023-03-31 13:46:13 -05:00
Chris Hennes
fcfcebea0b Addon Manager: Add test for subdirectory 2023-03-31 10:21:12 -05:00
Chris Hennes
6a0decd44a Addon Manager: Tests for classname finder 2023-03-31 10:13:00 -05:00
Chris Hennes
92a14f9a13 Addon Manager: Fix tests breaking on second run 2023-03-25 10:27:51 -05:00
Chris Hennes
1f6c364fa6 Addon Manager: Refactor Metadata
Create a Python-native metadata class. Includes unit tests, and some PyLint cleanup.
2023-03-10 14:25:50 -06:00
Chris Hennes
9c6164bc07 Addon Manager: Add SPDX license ID to all files 2023-02-20 15:39:47 -06:00
Chris Hennes
7b590eace0 Addon Manager: Refactor interface to FreeCAD 2023-02-19 15:49:24 -06:00
Chris Hennes
d6fc29f057 Addon Manager: Refactor Macro parser 2023-02-13 23:46:57 -06:00
Chris Hennes
b2d06f18c7 Addon Manager: Add more unit test mocks 2023-02-10 14:37:16 -07:00
Chris Hennes
e188802ca6 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
Chris Hennes
8e38c47d7a Addon Manager: Fix bug in ZIP isntallation 2023-01-09 19:35:18 -06:00
Chris Hennes
5f45b00078 AddonManager: Refactor uninstaller GUI
Offload uninstaller GUI into its own class, add tests for that class, and do
some additional minor cleanup of AddonManager.py.
2022-12-18 22:15:40 -06:00
Chris Hennes
02b4a762b0 Addon Manager: Create new uninstaller 2022-12-18 22:15:40 -06:00
Chris Hennes
856af2a122 Addon Manager: Simplify API 2022-12-17 20:23:32 -06:00
Chris Hennes
89c191e160 Addon Manager: Refactor installation code
Improve testability of installation code by refactoring it to completely
separate the GUI and non-GUI code, and to provide more robust support
for non-GUI access to some type of Addon Manager activity.
2022-12-17 17:49:13 -06:00
luz paz
21eddcb15e Addon Manager: Fix trailing whitespace 2022-11-30 12:46:02 +01:00
Chris Hennes
1f1abe56b4 Addon Manager: Add unit tests for _fetch_raw_code 2022-11-27 19:38:04 -06:00
Chris Hennes
46fc605fca Addon Manager: Refactoring and pylint cleanup 2022-08-21 14:32:15 -05:00
Chris Hennes
ee162ff3a8 Addon Manager: Refactor to test git and eliminate GitPython 2022-08-21 14:32:15 -05:00
Chris Hennes
b6da08ef8b Addon Manager: Create new git handling mechanism 2022-08-21 14:32:15 -05:00
luz paz
8204fc84bf AddonManager: fix typos
Fixed via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,strack,substraction,te,technic,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDocu`
2022-03-10 18:28:10 -05:00
Chris Hennes
56a04dbbc0 Addon Manager: Begin Macro unit tests 2022-03-09 12:14:57 -06:00
Chris Hennes
b14638c439 Addon Manager: Add unit tests for dependencies 2022-03-08 19:15:01 -06:00
Chris Hennes
f4dbd6b2b2 Addon Manager: Add unit tests for Addon class 2022-03-05 10:17:50 -06:00
Chris Hennes
20eccc3ea2 Addon Manager: Unit tests for addon init 2022-02-28 11:45:17 -06:00
Chris Hennes
96006c7587 Addon Manager: Add tests for Addon 2022-02-27 23:32:33 -06:00
Chris Hennes
0d6a506447 Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Chris Hennes
14ff42be13 Addon Manager: Add unit test framework
Adds the framework for unit testing, and a few tests of the utilities functions.
2022-02-25 23:17:59 -06:00