Writing /var/lib/dokuwiki/data/meta/tutorials/arcoslab_doc.meta failed
tutorials:arcoslab_doc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:arcoslab_doc [2018/10/10 23:25] – [Testing hooks branch] dgarcia | tutorials:arcoslab_doc [2022/09/20 00:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
| | ||
** DO NOT ** merge this special branch to master, unless you know the dark magic of git very well. This can be very dangerous and break the workflow of many ARCOS-Lab members. You have been awared! | ** DO NOT ** merge this special branch to master, unless you know the dark magic of git very well. This can be very dangerous and break the workflow of many ARCOS-Lab members. You have been awared! | ||
+ | |||
+ | ==== Syncing the repository with owncloud ==== | ||
+ | |||
+ | As said before we realy want to take out the pictures from the repository, because in general it is a bad idea to manage binary files with git. So what we are doing is moving the pictures directory out of the repository and upload them to our internal owncloud service. | ||
+ | |||
+ | In order to achieve that we need a methos for syncing the repo and owncloud, so that whenever you execute a //git pull// you can also download the pictures from the owncloud. And also, that whenever you execute a //git push// any new photos are uploaded to the owncloud. It should also be possible and easy for anyone to sync their owncloud without having to execute git commands. | ||
+ | |||
+ | We are going to achieve this with git hooks. This are scripts that are executed when the user executes some special git commands. In out case we will use the pre-push and post-merge hooks. The first one is used to upload changes to owncloud, and the second one to download. | ||
+ | |||
+ | We are taking the pictures directory out of the repo, so we need a method to determine when there has been an update in this external directory, so that we can | ||
+ | |||
+ | |||
+ | |||
+ | Install the owncloud client | ||
+ | |||
+ | sudo apt install owncloud-client | ||
+ | | ||
+ | Also configure arcoslab-doc to use our custom hooks | ||
+ | |||
+ | cd < | ||
+ | git config core.hooksPath .githooks | ||
+ | git pull | ||
+ | | ||
+ | | ||
+ | ==== Font configuration for error in the logos ==== | ||
+ | When we open a logo from the repository in Inkscape and press doble click in the letters, there' | ||
+ | For a solution, install the next package: | ||
+ | sudo apt-get install ttf-ubuntu-font-family | ||
+ | The error had to disappear with that package. | ||
+ | |||
+ | |
tutorials/arcoslab_doc.1539213908.txt.gz · Last modified: 2022/09/20 00:08 (external edit)