|
|
@@ -1,8 +1,8 @@
|
|
|
%\section{\de{Gespeicherte Daten verwalten}\en{Manage stored data}}
|
|
|
\subsection{\de{Was \underline{nicht} in GIT gespeichert werden sollte}\en{What \underline{not} to store in in GIT}}
|
|
|
|
|
|
-\de{Die folgenden Daten sollten nicht im GIT gespeichert werden. Insbesondere wenn die Datei > 1MB ist.
|
|
|
-}\en{The following files should not stored in GIT. Especially, if the file size is > 1 MB.}
|
|
|
+\de{Die folgenden Daten sollten nicht in GIT gespeichert werden. Insbesondere wenn die Datei > 1MB ist.
|
|
|
+}\en{The following files should not stored in GIT. Especially if the file size is > 1 MB.}
|
|
|
|
|
|
\newcommand{\ext}[1]{\var{*.#1}}
|
|
|
|
|
|
@@ -17,65 +17,71 @@
|
|
|
\de{Präsentationen}\en{Presentations}
|
|
|
(\tZB{} \ext{ppt} ; \ext{pptx} ; \ext{pdf})
|
|
|
\item
|
|
|
- \de{Ton-Dateien}\en{Audio-Files}
|
|
|
+ \de{Ton-Dateien}\en{Audio files}
|
|
|
(\tZB{} \ext{wav} ; \ext{mp3} ; \ext{flac} ; \ext{ogg})
|
|
|
\item
|
|
|
\de{Programme, Bibliotheken, Installer
|
|
|
- }\en{Executables, Libraries, installer}
|
|
|
+ }\en{Executables, libraries, installer}
|
|
|
(\tZB{} \ext{exe} ; \ext{dll} ; \ext{lib} ; \ext{msi} ; \ext{o} ; \ext{so} ; \ext{class} ; \ext{jar})
|
|
|
\item
|
|
|
\de{Binärdateien}\en{Binary files}
|
|
|
(\tZB{} \ext{bin} ; \ext{dat} ; \ext{zip} ; \ext{gz} ; \ext{bz})
|
|
|
\item
|
|
|
\de{Dateien, die sich generieren lassen.
|
|
|
- }\en{Files, you can generate with your sources.}
|
|
|
+ }\en{Files you can generate with your sources}
|
|
|
\item
|
|
|
\de{Dateien, die während des Bauvorganges entstehen.
|
|
|
- }\en{Files, which are generated during the building process}
|
|
|
+ }\en{Files which are generated during the building process}
|
|
|
(\tZB{} \ext{o} ; \ext{class} ; \ext{aux} ; \ext{idx})
|
|
|
\item
|
|
|
\de{Programm- / Debugausgaben
|
|
|
- }\en{Debug or program Output files }
|
|
|
+ }\en{Debug or program output files }
|
|
|
(\tZB{} \ext{log}, \ext{dat})
|
|
|
\item
|
|
|
\de{Ordner anderer Versionsverwaltungssysteme
|
|
|
- }\en{Folder and files from an other version management system.}
|
|
|
+ }\en{Folders and files from another version management system}
|
|
|
(\tZB{} \var{.svn})
|
|
|
\item
|
|
|
- \de{Backups, Temporäre Dateien, Lokale Workspace-Konfigurationen
|
|
|
+ \de{Backups, temporäre Dateien, lokale Workspace-Konfigurationen
|
|
|
}\en{Backups, temporary files, local workspace configuration}
|
|
|
(\tZB{} \ext{swp} ; \var{*\~} ; \var{tmp} )
|
|
|
\end{itemize}
|
|
|
|
|
|
-\de{Repositories sollten mit History < 300MB bleiben.
|
|
|
-}\en{Your repository should stay < 300MB, including history.}
|
|
|
+\de{Repositorys sollten mit History < 300 MB bleiben.
|
|
|
+}\en{Your repository should stay < 300 MB, including history.}
|
|
|
%\\
|
|
|
%Bei Repositories $\geq$ 500MB mahnen wir.
|
|
|
|
|
|
|
|
|
-\subsection{\de{Was in ein GIT-Repository gehoert.}\en{What to store in a GIT repository.}}
|
|
|
+\subsection{\de{Was in ein GIT-Repository gehört.}\en{What to store in a GIT repository}}
|
|
|
\begin{itemize}
|
|
|
-\item \de{Quelltexte}\en{Sourcecode}
|
|
|
+\item \de{Quelltexte}\en{Source code}
|
|
|
\item \de{Dokumentationen}\en{Documentation}
|
|
|
\item Makefiles
|
|
|
-\item \de{Zum Bauen erforderliche Konfigurationen.}\en{Configuration, needed to build your project.}
|
|
|
+\item \de{Zum Bauen erforderliche Konfigurationen.}\en{Configuration needed to build your project.}
|
|
|
\item
|
|
|
\de{Notwendige Dateien, die nicht generiert oder aus dem Internet / anderen Repositories geladen werden können.
|
|
|
- }\en{Needed files, that can't be generated or loaded from the internet or other repositories.}
|
|
|
+ }\en{Needed files that can't be generated or loaded from the internet or other repositories.}
|
|
|
\end{itemize}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
\newpage
|
|
|
-\subsection{Von GIT verwaltete Dateien konfigurieren}
|
|
|
+\subsection{\de{Von GIT verwaltete Dateien konfigurieren}\en{Configure files managed by GIT}}
|
|
|
|
|
|
\begin{DE}
|
|
|
- In jedem Ordner des von GIT verwalteten Repositories kann eine Datei \var{.gitignore} angelegt werden.
|
|
|
- Dies ist eine Text-Datei, in der aufgelisted wird, welche Ordner oder Dateien bei einem \code{git add .} ignoriert werden sollen.
|
|
|
+ In jedem Ordner des von GIT verwalteten Repositorys kann eine Datei \var{.gitignore} angelegt werden.
|
|
|
+ Dies ist eine Text-Datei, in der aufgelistet wird, welche Ordner oder Dateien bei einem \var{git add} ignoriert werden sollen.
|
|
|
Dabei kann auch mit Wildcards (*) gearbeitet werden.
|
|
|
\end{DE}
|
|
|
\begin{EN}
|
|
|
- In every folder of you GIT repository you may add a \var{.gitignore} file.
|
|
|
- This is a text file, listing all folder or files that should be ignored by git.
|
|
|
- You don't need to worry using \code{git add .}. It will not add these files.
|
|
|
+ In every folder of your GIT repository you may add a \var{.gitignore} file.
|
|
|
+ This is a text file, listing all folders or files that should be ignored by GIT when using \var{git add}.
|
|
|
+ %You don't need to worry about using \var{git add}.
|
|
|
+ %It will not add these files.
|
|
|
In the list you may use wildcards (*).
|
|
|
\end{EN}
|
|
|
|
|
|
@@ -84,7 +90,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-\subsubsection{\de{Beispiel: C Projekt}\en{Example: C Project}}
|
|
|
+\subsubsection{\de{Beispiel: C-Projekt}\en{Example: C Project}}
|
|
|
|
|
|
\begin{minipage}[t]{0.39\textwidth}\parInit
|
|
|
\de{Das Projekt hat diese Ordner-Struktur:}\en{The project has this folder structure:}
|
|
|
@@ -107,7 +113,7 @@
|
|
|
Diese Dateien sollten gespeichert werden.
|
|
|
|
|
|
Die \ext{o} Dateien sind Compiler-Zwischenergebnisse.
|
|
|
- Die Datei \var{a.out} ist das Ausführbare Programm nach dem Compilieren und Linken.
|
|
|
+ Die Datei \var{a.out} ist das ausführbare Programm nach dem Kompilieren und Linken.
|
|
|
Die Dateien \var{myLibrary.a} und \var{myLibrary.so} sind aus \var{myLibrary.c} erstellte Bibliotheken.
|
|
|
Diese Dateien sollten nicht in das Repository.
|
|
|
|
|
|
@@ -117,10 +123,10 @@
|
|
|
The files \ext{c} are source code.
|
|
|
This files should be in the repository.
|
|
|
|
|
|
- The \ext{o} files are files, the compiler needs during the build process.
|
|
|
+ The \ext{o} files are files the compiler needs during the build process.
|
|
|
The file \var{a.out} is the generated executable program.
|
|
|
- The files \var{myLibrary.a} and \var{myLibrary.so} are the libraries, generated from \var{myLibrary.c}.
|
|
|
- This files should not be in the repository.
|
|
|
+ The files \var{myLibrary.a} and \var{myLibrary.so} are the libraries generated from \var{myLibrary.c}.
|
|
|
+ These files should not be in the repository.
|
|
|
|
|
|
The \var{.gitignore} might be like the following:
|
|
|
\end{EN}
|
|
|
@@ -129,7 +135,7 @@
|
|
|
{*}.a\\
|
|
|
{*}.so\\
|
|
|
{*}.o\\
|
|
|
-{*}.out\\
|
|
|
+{*}.out
|
|
|
\end{Code}
|
|
|
\end{minipage}
|
|
|
|
|
|
@@ -138,7 +144,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-\subsubsection{\de{Beispiel: TeX Dokument}\en{Example: Tex Document}}
|
|
|
+\subsubsection{\de{Beispiel: TeX-Dokument}\en{Example: Tex Document}}
|
|
|
|
|
|
\begin{minipage}[t]{0.39\textwidth}\parInit
|
|
|
%\de{Das Projekt hat diese Ordner-Struktur:}\en{The project has this folder structure:}
|
|
|
@@ -171,7 +177,7 @@
|
|
|
Im Ordner \var{images} sind für das Dokument wichtige Bilder oder Quelltexte, die diese Bilder generieren.
|
|
|
Diese Dateien sollten gespeichert werden.
|
|
|
|
|
|
- Die Datei \var{myPaper.pdf} ist das compilierte Endprodukt.
|
|
|
+ Die Datei \var{myPaper.pdf} ist das kompilierte Endprodukt.
|
|
|
Die \ext{log}, \ext{out}, \ext{aux}, \ext{toc}, \ext{idx} Dateien sind Nebenprodukte des Bauprozesses.
|
|
|
Diese Dateien sollten nicht in das Repository.
|
|
|
|
|
|
@@ -183,16 +189,16 @@
|
|
|
\end{DE}
|
|
|
\begin{EN}
|
|
|
The \ext{tex} files are the TeX source code.
|
|
|
- In the folder \var{images} are images, needed to create the finally document.
|
|
|
- This files should be in the repository.
|
|
|
+ The folder \var{images} contains images needed to create the final document.
|
|
|
+ These files should be in the repository.
|
|
|
|
|
|
\var{myPaper.pdf} is the generated document.
|
|
|
- The \ext{log}, \ext{out}, \ext{aux}, \ext{toc}, \ext{idx} files are generated and needed during the build process.
|
|
|
- This files should not be in the repository.
|
|
|
+ The \ext{log}, \ext{out}, \ext{aux}, \ext{toc}, \ext{idx} files are generated and needed during the building process.
|
|
|
+ These files should not be in the repository.
|
|
|
|
|
|
- The \ext{swp} files are created and used by the text editor during (e.G: \var{chapter1.swp}).
|
|
|
- The editor stores a backup for each edited file (e.G: \var{chapter2.tex\~}).
|
|
|
- The backup files and the \ext{swp} files shoult not be in the repository.
|
|
|
+ The \ext{swp} files are created and used by the text editor (e.g: \var{chapter1.swp}).
|
|
|
+ The editor stores a backup for each edited file (e.g: \var{chapter2.tex\~}).
|
|
|
+ The backup files and the \ext{swp} files should not be in the repository.
|
|
|
|
|
|
The \var{.gitignore} might be like the following:
|
|
|
\end{EN}
|