Addon Manager Redesign 2021
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Addon Manager Redesign 2021
The branch information was wrong in the .gitmodules file as well - I've committed a fix there. Recache and take another look now. Note that you've now got a bug in the name of your README.md file (there is only one "d" in ".md" and you've put two).
Re: Addon Manager Redesign 2021
Ok thanks, now it seems to work on 0.20.1, after having dleted the cache on temp.
A little quirk, about the icon what are the requirements?
I have found only a 10kb limit and a SVG file on documentation, some hint on size?
Regards and Thanks
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Addon Manager Redesign 2021
The icon displays at 64x64 pixels in the Addon Manager's expanded display (which on a HiDPI screen will render as 128x128), but may be used in sizes as small as 16x16 in some menu applications on low-resolution devices. So those are the sizes I'd make sure your SVG looks good at.
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Addon Manager Redesign 2021
Did not think/know there was any branch info in the gitmodules file
Code: Select all
[submodule "timber"]
path = timber
url = https://github.com/wood-galaxy/FreeCAD-Timber.git
[submodule "toSketch"]
path = toSketch
url = https://github.com/KeithSloan/toSketch.git
[submodule "ToolbarStyle"]
path = ToolbarStyle
url = https://github.com/triplus/ToolbarStyle
Re: Addon Manager Redesign 2021
Git itself requires a branch in .gitmodules if the branch name is not "master", so the Addon Manager uses the same convention.
Re: Addon Manager Redesign 2021
Code: Select all
[submodule "toSketch"]
path = toSketch
url = https://github.com/KeithSloan/toSketch.git
branch = main
or it is a standard iplementation of:
https://www.git-scm.com/docs/gitmodules
I don't know if I still have permission to modify Wiki pages, just in case, I could expand the page adding this remark, if you agree obviously.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Addon Manager Redesign 2021
That page does document the format of the submodules file, but the Addon Manager only supports those three tags, and doesn't truly implement git submodules at all. Yorik and I are discussing other approaches right now.
-
- Veteran
- Posts: 2756
- Joined: Mon Feb 27, 2012 5:31 pm
Re: Addon Manager Redesign 2021
Thanks, I also updated the GDML workbench .gitmodules as it uses branch Mainonekk wrote: ↑Wed Sep 07, 2022 8:23 amThere is around a documentation about the creation of a .gitmodules "stanza"?Code: Select all
[submodule "toSketch"] path = toSketch url = https://github.com/KeithSloan/toSketch.git branch = main
or it is a standard iplementation of:
https://www.git-scm.com/docs/gitmodules
I don't know if I still have permission to modify Wiki pages, just in case, I could expand the page adding this remark, if you agree obviously.
Regards
Carlo D.
Re: Addon Manager Redesign 2021
Until Addon Manager is working, it is not a problem.
IMHO more info are left in the "upstream" repositories more easy will be to add and modify addons, if the branch info was left to the "upstream" package.xml file less hassle, but not knowing the exact mechanics behind probably I'm wrong.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Addon Manager Redesign 2021
Hey Chennes,
I just upgraded the Fasteners workbench from 0.12.3 to 0.12.4
After restarting FreeCad as it was told to do, the Addon Manager still shows version 0.12.3.
Clicking "Refresh Local Cache" fixes this issue, but since the Addon Manager upgrade the Addon, it could have refreshed this entry right after upgrading the thing addon.
I just upgraded the Fasteners workbench from 0.12.3 to 0.12.4
After restarting FreeCad as it was told to do, the Addon Manager still shows version 0.12.3.
Clicking "Refresh Local Cache" fixes this issue, but since the Addon Manager upgrade the Addon, it could have refreshed this entry right after upgrading the thing addon.