-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] script/bot that checks Addons against a checklist #160
Labels
Comments
using gitpthon to test untracked files
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 troubleshooting
if "Untracked files" in gitrepo.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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: