Backend Adminstration: Difference between revisions

From FreeCAD Documentation
(Created page with "This page documents the FreeCAD backend project administration. === Updating AppImage Link on the wiki === Currently there is a script that queries the github API and gets th...")
 
mNo edit summary
 
Line 5: Line 5:
It then automagically logs in to the wiki and changes the [[Template:Development-Version]]. It is invoked via cron every 6 hours.
It then automagically logs in to the wiki and changes the [[Template:Development-Version]]. It is invoked via cron every 6 hours.
Instructions to trigger scrip manually:
Instructions to trigger scrip manually:
ssh luzpaz@de1.freecad.io
ssh foobar@de1.freecad.io
cd core/
cd core/
python3 pwb.py freecad/freecad-update-dev-appimage-version.py
python3 pwb.py freecad/freecad-update-dev-appimage-version.py

Latest revision as of 23:03, 25 January 2019

This page documents the FreeCAD backend project administration.

Updating AppImage Link on the wiki

Currently there is a script that queries the github API and gets the latest version name and URL of the Conda Appimage. It then automagically logs in to the wiki and changes the Template:Development-Version. It is invoked via cron every 6 hours. Instructions to trigger scrip manually:

 ssh foobar@de1.freecad.io
 cd core/
 python3 pwb.py freecad/freecad-update-dev-appimage-version.py

List crontab

 crontab -l

Update pywikibot:

 cd core/
 git pull --recurse-submodules