Announce addon version number on load

Open
#380 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Begin with the referenced Assembly4 Init.py example and compare its load-time behavior with the AddonManager entry point. Trace how addon metadata is available during loading and identify where the startup message would be emitted. Done means loaded addons consistently announce their name and version in the FreeCAD console.

Written by the indexing model from the issue text.

Description

IMHO when booting FreeCAD this is useful to see Assembly4 workbench (v0.11.10) loaded
I think we should make this standard for

$ freecad-ppd.freecad 
FreeCAD 0.20, Libs: 0.20R28186 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Assembly4 workbench (v0.11.10) loaded
Sheet Metal workbench loaded

Looks liks @zolko123 leverages metadata ?
https://github.com/Zolko-123/FreeCAD_Assembly4/blob/b57a811eefc21c9d751746703af41f1356d70087/Init.py#L49

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeCAD/AddonManager

All issues in FreeCAD/AddonManager

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.