You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that some Addons are being bundled with pycache/ directories and such. It gave me the idea for a script of a sort that checks all addons against a checklist.
Once your Addon/Workbench is accepted, you'll open a PR for FreeCAD master in order to add said Logo in to the FreeCAD Addon Manager dialog? (Example), see directions below:
Copy the SVG to FreeCAD/src/Mod/AddonManager/Resources/Icons (Note the formatting of the file name is important).
Edit the FreeCAD/src/Mod/AddonManager/Resources/AddonManager.qrc and alphabetically place the path (in the previous step) to the icon of your workbench in the list.
(Pdb) p gitrepo.status()
'On branch master\nYour branch is up to date with \'origin/master\'.\n\nUntracked files:\n (use "git add <file>..." to include in what will be committed)\n\t__pycache__/\n\nnothing added to commit but untracked files present (use "git add" to track)'
gitrepo=git.Git(clonedir)
try:
# gitrepo.fetch()gitrepo.status()
except:
print("Unable to fetch git updates for repo",repo[0])
else:
# 'git status' will tell us if we need to 'git pull'# note: print(gitrepo.status()) for troubleshootingif"Untracked files"ingitrepo.status():
print('\t'+repo[0] +' '+'has untracked changes. Notify author')
luzpaz
changed the title
[FEATURE] script/bot that checks Addons for various
[FEATURE] script/bot that checks Addons against a checklist
Dec 9, 2019
It seems that some Addons are being bundled with pycache/ directories and such. It gave me the idea for a script of a sort that checks all addons against a checklist.
Actually, why reinvent the wheel ? There is a checklist already in the Issue template for adding a workbench:
Dependencies
README.md
LICENCE
file (Note: FreeCAD uses LGPL3, most people choose that or GPL3)Misc.
If so, where?
FreeCAD/src/Mod/AddonManager/Resources/Icons
(Note the formatting of the file name is important).FreeCAD/src/Mod/AddonManager/Resources/AddonManager.qrc
and alphabetically place the path (in the previous step) to the icon of your workbench in the list.Housekeeping
codespell
. We recommend running:codespell -q 3
Github Related
FreeCAD
Workbench
Addon
Note: if your addon/workbench code doesn't reside on Github, please state the address where it is mentioned
The text was updated successfully, but these errors were encountered: