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!
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Addon Manager Redesign 2021
can't you trick it into believing there are updates necessary by checking out an older commit of the repo?
Re: Addon Manager Redesign 2021
No, then you're in detached head, git knows you did it deliberately.
Re: Addon Manager Redesign 2021
When trying to install GDML workbench i see this in the Report view:
looks like there's a missing double quote somewhere
Code: Select all
11:00:30 b'pip 22.0.4 from /snap/freecad-ppd/223/lib/python3.8/site-packages/pip (python 3.8)\n'Nonepip 22.0.4 from /snap/freecad-ppd/223/lib/python3.8/site-packages/pip (python 3.8)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Addon Manager Redesign 2021
In addition to the above, I noticed an UX issue with the Addon Manager when installing 3rd party deps the dialog directs the user to browse the Report view console but that is out of focus when we're in the Addon Manager. Is there a way to clone/mirror the report view to the bottom of the Addon Manager window for the duration of the Addon Manager being active and in focus? Upon exiting the Addon Manager the Report view is 'returned'? This way we can watch the activity of the addon manager, copy/paste text from the report view (without having to exit Addon Manager to do so)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Addon Manager Redesign 2021
That's an artifact of the way pip echos its output, I don't think I have any control over that.
Re: Addon Manager Redesign 2021
Fascinating, so you can you recreate that in pip directly?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Addon Manager Redesign 2021
While performing to update my addons using recent master I got this error:
Code: Select all
14:44:21 Syntax error while reading __files__ from macro AeroFoil
14:44:21 __Files__ = "AeroFoil_UI_Files/AeroFoil_Initial_Dialog.ui, AeroFoil_UI_Files/AeroFoil_NACA4Digit_Dialog.ui, \
Re: Addon Manager Redesign 2021
It looks like the problem is in the script that's on the Wiki -- the one in GitHub is fine. https://wiki.freecadweb.org/index.php?t ... o_AeroFoil uses the Python line continuation character in its list of __Files__, which is not allowed. Those metadata lines are not actually executed by the Addon Manager, they are just hand-parsed. I modified that code a little bit in this redesign to allow for certain common idioms, but actually moving to executing the Python I think is beyond the scope of something the Addon Manager should do.
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: Addon Manager Redesign 2021
In the update report can the new versions be displayed? Is it possible an update can be applied from cache and not be the very latest?