Commit 8abb534b authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Updated the skeleton slides.

parent 2af49b64
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
\item Code. \item Code.
\item Documentation. \item Documentation.
\end{itemize} \end{itemize}
\pause
\item Have the same structure for all projects. \item Have the same structure for all projects.
\end{itemize} \end{itemize}
\end{frame} \end{frame}
...@@ -215,6 +216,7 @@ ...@@ -215,6 +216,7 @@
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Git annex.} \frametitle{Git annex.}
Manage files with git, without checking their contents in.
\begin{itemize} \begin{itemize}
\item Manage large files without storing them. \item Manage large files without storing them.
\item Store file checksums. \item Store file checksums.
...@@ -224,6 +226,7 @@ ...@@ -224,6 +226,7 @@
\pause \pause
You first have to enable this for your repository. You first have to enable this for your repository.
\bigskip
\begin{lstlisting}[language=none, caption=Enable git-annex.] \begin{lstlisting}[language=none, caption=Enable git-annex.]
$ git annex init "<name>" $ git annex init "<name>"
...@@ -233,13 +236,19 @@ ...@@ -233,13 +236,19 @@
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Adding big files.} \frametitle{Adding big files.}
In our master repository, we annex a file.
\bigskip
\begin{lstlisting}[language=none, caption=Adding files.] \begin{lstlisting}[language=none, caption=Adding files.]
$ git annex add <filename> $ git annex add <filename>
$ git commit $ git commit
\end{lstlisting} \end{lstlisting}
\bigskip \bigskip
\pause
In a clone, this file will visible, but not really present. In a clone, this file will visible, but not really present.
\bigskip
\begin{lstlisting}[language=none, caption=Make a file available.] \begin{lstlisting}[language=none, caption=Make a file available.]
$ file <filename> $ file <filename>
<filename>: broken symbolic link to ... <filename>: broken symbolic link to ...
...@@ -251,14 +260,19 @@ ...@@ -251,14 +260,19 @@
\frametitle{Removing files.} \frametitle{Removing files.}
As long as there are enough copies available, you can remove files. As long as there are enough copies available, you can remove files.
\bigskip
\begin{lstlisting}[language=none, caption=A failing drop command.] \begin{lstlisting}[language=none, caption=A failing drop command.]
$ git annex drop <filename> $ git annex drop <filename>
drop bigfile (unsafe) drop bigfile (unsafe)
git-annex: drop: 1 failed git-annex: drop: 1 failed
\end{lstlisting} \end{lstlisting}
\bigskip \bigskip
\pause
It is actually quite well protected. It is actually quite well protected.
\bigskip
\begin{lstlisting}[language=none, caption=rm fails too.] \begin{lstlisting}[language=none, caption=rm fails too.]
$ rm -rf <repository> $ rm -rf <repository>
rm: cannot remove <repository>/.git/annex/objects/... rm: cannot remove <repository>/.git/annex/objects/...
...@@ -266,21 +280,38 @@ ...@@ -266,21 +280,38 @@
\end{frame} \end{frame}
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Sync your results.} \frametitle{Synchronise your results.}
Let the other repositories know what you have done. Let the other repositories know what you have done.
\begin{lstlisting}[language=none, caption=.] \bigskip
\begin{lstlisting}[language=none, caption=Synchronise with all repositories.]
$ git annex sync $ git annex sync
\end{lstlisting} \end{lstlisting}
\bigskip
\pause
You can choose to sync with a selection of repositories.
\bigskip
\begin{lstlisting}[language=none, caption=Synchronise with a selection.]
$ git annex sync origin
\end{lstlisting}
\end{frame} \end{frame}
\begin{frame}[fragile] \begin{frame}[fragile]
\frametitle{Working together on the same clone.} \frametitle{Working together on the same clone.}
If you need to work with other people on the same repository clone on the Sometimes you need to work with other people on the same repository clone.
Shark cluster, you can use the following command to give group access: \begin{itemize}
\item Where the large files are stored.
\begin{lstlisting}[language=none, caption=.] \end{itemize}
\bigskip
Use the following command to give group access:
\bigskip
\begin{lstlisting}[language=none, caption=Make everyting group writable.]
$ find -type d -exec chmod 775 {} \; $ find -type d -exec chmod 775 {} \;
$ find -type f -exec chmod 664 {} \; $ find -type f -exec chmod 664 {} \;
\end{lstlisting} \end{lstlisting}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment