Tool:Wiki patrimonio
Wikipedia e il patrimonio | |
---|---|
Website | https://meta.wikimedia.org/wiki/Wikipedia_e_scuola_italiana |
Keywords | Wikipedia, patrimonio |
Author(s) | Giovanni Profeta (G.proftalk) |
Maintainer(s) | User:Valerio Bozzolan (View all) |
Source code | https://github.com/giovannipro/giovannipro.github.io/tree/master/wiki-patrimonio |
License | GNU General Public License 3.0 or later |
This page is the documentation for a data-visualization tool in Wikimedia Toolforge related to (ad here link).
See it online:
Report an idea
Feel free to share any idea to the upstream developer Giovanni Profeta (m:User:G.prof).
Upstream repository:
https://github.com/giovannipro/giovannipro.github.io
Report an issue
Feel free to report an issue to the downstream volunteer maintainer User:Valerio Bozzolan.
Deployment
This tool was deployed issuing these commands:
# authenticate in the tool ssh login.toolforge.org become itwiki-scuola-italiana # clone the repository somewhere mkdir --parents repositories git clone https://github.com/giovannipro/giovannipro.github.io.git repositories/giovannipro.github.io # expose the repository ln --symbolic repositories/giovannipro.github.io/itwiki-patrimonio-italiano/ public_html # make it online webservice start
Update
This tool is automagically updated every hour thanks to a cronjob entry in the Toolforge grid.
It's scheduled every hour nearly at XX:22
. It means this happens every hour at a fixed minute. The minute was picked randomly, trying to avoid the usual spike that happens at XX:00
in this kind of shared environments.
This is the command that schedules the script every hour:
toolforge-jobs run pull-from-giovanni-profeta-git --command ./scripts/update.sh --image tf-php74 --schedule "22 * * * *"
Note: the image tf-bullseye-std
does not provide git
so was not used.
Note: see Help:Toolforge/Kubernetes for further info.
This is the content of update.sh
:
#!/bin/sh cd /data/project/wiki-patrimonio/repositories/giovannipro.github.io git pull
That's all.