opencomputeproject / CADCloud

CADCloud is a cloud based sharing infrastructure dedicates to CAD engineers. It allows users to share design files, browse them interactively through a simple web interface, and support native file format from popular open source tools.
MIT License
89 stars 15 forks source link

freecad: Ignore global gitconfig #25

Closed ppd closed 2 years ago

ppd commented 3 years ago

If a global /etc/gitconfig exists, git inside the sandbox will attempt to read it. However, this is forbidden and thus git inside the snap fails with:

warning: unable to access '/etc/gitconfig': Permission denied fatal: unknown error occurred while reading the configuration files

As a result, the addon manager gets stuck at the "Cloning module..." stage. Prevent this by telling git to ignore the global config, which is not necessary at all to download the addons.

vejmarie commented 2 years ago

Sorry I have been away from the project for too much time. I am now back

ppd commented 2 years ago

Good to see. Two new FreeCAD snaps have emerged in the meantime: freecad-realthunder: https://github.com/realthunder/FreeCAD/tree/LinkDaily/snap freecad-ppd: https://github.com/ppd/freecad-ppd

Maybe we can reduce redundancy at some point in the future and merge the snaps. We'll see.