Addon Manager does not understand renaming an addon
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
Research direction
Start by tracing the Addon Manager logic for local ~/.FreeCAD/Mod/ directories and compare it with the referenced upstream rename and removal commits. Reproduce the A4-to-Assembly4 sequence, then verify that an upstream addon rename or removal no longer leaves an incorrect local directory.
Written by the indexing model from the issue text.
Description
Recently I added Assembly4 workbench:
I initially added it as 'A4': 6914f4874bd7227082d799a873fa87aa880ddd1c
and then reverted: dacf4084d43373c0520d708c8fe1af0a1d77e91c
(didn't remove the A4/ directory though)
then I re-added the workbench as Assembl4: 321fcde29d97c1e1d7088de84aa35de0a93a9bb3
Later, kkremitzki removed the A4/ dir in: 4c2d603087a302800eec48576bc36b5969fbeb49
This caused some issues downstream for FC users:
https://forum.freecadweb.org/viewtopic.php?f=4&t=39945
We may need logic in the FC Addon Manager that removes/modifies local ~/.FreeCAD/Mod/ subdirectories if their upstream has changes as well.
@yorikvanhavre just recently added a fix: https://github.com/FreeCAD/FreeCAD/commit/f66023a646
Not sure if this takes care of the issue.
Edit: the fix doesn't address the above issue
- Dominant language
- Python
- Stars
- 24
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FreeCAD/AddonManager
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
FreeCAD/AddonManager#534 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
FreeCAD/AddonManager#532 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
FreeCAD/AddonManager#529 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
FreeCAD/AddonManager#528 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
FreeCAD/AddonManager#527 · 1 comment ·
All issues in FreeCAD/AddonManager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hugohe3/ppt-master#366 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4716 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
pcqpcq/open-source-android-apps#619 ·
Maintainers usually reply within 1 day
-
contribution Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Lee-xeo/Claude-Cage#1519 ·
Maintainers usually reply within 1 day