Prusaslicer: [Enhancement]Use git repo for config directory

Created on 1 Aug 2018  路  3Comments  路  Source: prusa3d/PrusaSlicer

Version

Future

Operating system type + version

all

Behavior

It would be cool if you could set up a (private) git repo to use as a config directory which is automagically pushes when settings are updated and pulled when slic3r is started.
similar to the behaviour now available in Jetbrains software such as CLion and Pycharm

This is a feature request
I know this is another obscure request from myself :D

configuration enhancement volunteer needed

Most helpful comment

It would be nice if Slic3r had hooks so you could have your own scripts run when e.g. on launch, when settings are saved. Then you could implement this yourself fairly trivially with whatever VCS or backing store you desire.

All 3 comments

I am sorry, but I am quite sure that we at Prusa3D will not implement such a feature. I am marking this request with a "volunteer needed" flag for reference.

Well, you may be able already to do that yourself.

Create a script file which do

  • a git pull into your setting folder repo
  • launch slic3r with perl slic3r.pl --datadir /path/to/my/setting/repo
  • a git push when slic3r return

(untested) example:

cd /home/supermerill/slic3rSettings
git pull
perl /home/supermerill/slic3rPE/slic3r.pl --datadir /home/supermerill/slic3rSettings
git add *
git commit -a --allow-empty-message -m ''
git push

It should be better if you can create a small automatic message for the commit, with the date for example.

It would be nice if Slic3r had hooks so you could have your own scripts run when e.g. on launch, when settings are saved. Then you could implement this yourself fairly trivially with whatever VCS or backing store you desire.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frakman1 picture frakman1  路  4Comments

pricedev picture pricedev  路  4Comments

alexiri picture alexiri  路  4Comments

devilhunter84 picture devilhunter84  路  4Comments

Foxtrek64 picture Foxtrek64  路  4Comments