Commit Graph

45 Commits

Author SHA1 Message Date
Chris Hennes
dab9aa5157 Addon Manager: Create AddonCatalog class 2025-03-24 17:52:09 +01:00
Chris Hennes
61c02090be Addon Manager: Add <bundle> and <other> 2025-02-27 18:15:53 +00:00
Chris Hennes
995c7a8736 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
8a95d0e6e8 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
da473a54f0 Addon Manager: PythonDeps Cleanup and Testing 2024-12-16 17:51:29 +01:00
Chris Hennes
795af3f8d0 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
c7646a465a Addon Manager Tests: Skip all git tests if git is not present 2024-07-22 00:08:51 -05:00
sliptonic
c4c535c6ba addon manager list of wbs 2024-03-04 16:59:30 -06:00
Chris Hennes
bc935c028f Addon Manager: Fix ZIP-based update 2024-02-23 22:31:36 -06:00
Chris Hennes
1c5f60b021 Merge pull request #12309 from chennes/addonManagerRefactorGUIArea
Addon manager: Refactor GUI area
2024-02-19 11:20:00 -06:00
Chris Hennes
2cc096e11b Addon manager: Update test to check license 2024-02-11 17:19:23 -06:00
pre-commit-ci[bot]
913021d1de [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
93c9c58c4d Stop tests from leaving files around after execution 2024-02-03 09:48:59 -05:00
Chris Hennes
92016c4c9c Addon Manager: Refactor local cache update check 2023-09-04 19:13:18 -05:00
Chris Hennes
3906828d44 Addon Manager: Reformat with new Black line length 2023-09-02 13:38:08 -05:00
Chris Hennes
89d8c57ee8 Addon Manager: Improve error handling for Version 2023-05-19 17:17:29 -05:00
Chris Hennes
fec34a61b8 Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
Wb pref fixes
2023-04-04 14:05:47 -05:00
Chris Hennes
028c379238 Addon Manager: Black and lint 2023-03-31 13:46:13 -05:00
Chris Hennes
fb0bcc4968 Addon Manager: Add test for subdirectory 2023-03-31 10:21:12 -05:00
Chris Hennes
5e9b2ac91a Addon Manager: Tests for classname finder 2023-03-31 10:13:00 -05:00
Chris Hennes
ce50ab5036 Addon Manager: Fix tests breaking on second run 2023-03-25 10:27:51 -05:00
Chris Hennes
0b241f78f4 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
4106ba71c4 Addon Manager: Add SPDX license ID to all files 2023-02-20 15:39:47 -06:00
Chris Hennes
7894ed9084 Addon Manager: Refactor interface to FreeCAD 2023-02-19 15:49:24 -06:00
Chris Hennes
f83abbab4c Addon Manager: Refactor Macro parser 2023-02-13 23:46:57 -06:00
Chris Hennes
2aba1be25e Addon Manager: Add more unit test mocks 2023-02-10 14:37:16 -07:00
Chris Hennes
d8df5e03e0 Addon Manager: Update license headers 2023-01-28 13:07:29 -07:00
Chris Hennes
a7b4a6deba Addon Manager: Fix bug in ZIP isntallation 2023-01-09 19:35:18 -06:00
Chris Hennes
9f64beb73f 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
2adbcc9199 Addon Manager: Create new uninstaller 2022-12-18 22:15:40 -06:00
Chris Hennes
da40295e0a Addon Manager: Simplify API 2022-12-17 20:23:32 -06:00
Chris Hennes
611e13305b 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
1ce2c9ee23 Addon Manager: Fix trailing whitespace 2022-11-30 12:46:02 +01:00
Chris Hennes
796ef07625 Addon Manager: Add unit tests for _fetch_raw_code 2022-11-27 19:38:04 -06:00
Chris Hennes
2286635e49 Addon Manager: Refactoring and pylint cleanup 2022-08-21 14:32:15 -05:00
Chris Hennes
52b1926d22 Addon Manager: Refactor to test git and eliminate GitPython 2022-08-21 14:32:15 -05:00
Chris Hennes
723fecc6f8 Addon Manager: Create new git handling mechanism 2022-08-21 14:32:15 -05:00
luz paz
44bb1674b6 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
f4a51f3788 Addon Manager: Begin Macro unit tests 2022-03-09 12:14:57 -06:00
Chris Hennes
bbfc77f167 Addon Manager: Add unit tests for dependencies 2022-03-08 19:15:01 -06:00
Chris Hennes
47a6f444bc Addon Manager: Add unit tests for Addon class 2022-03-05 10:17:50 -06:00
Chris Hennes
fcd3c0f10a Addon Manager: Unit tests for addon init 2022-02-28 11:45:17 -06:00
Chris Hennes
bf77a95e5c Addon Manager: Add tests for Addon 2022-02-27 23:32:33 -06:00
Chris Hennes
17aed10f6f Addon Manager: Renaming and cleanup 2022-02-27 22:50:54 -06:00
Chris Hennes
386f68aa81 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