\providecommand{\handoutsTitle}{GitLab and Markdown}
\providecommand{\handoutsTitle}{\vspace{0.5cm}GitLab and Markdown}
\usepackage{handouts}
\input{../shared/shared}
...
...
@@ -9,31 +9,43 @@
\makeHeader
\subsubsection*{Collaboration}
In this practical, you'll work both with your repository and with the repository your neighbour created
In this practical, you'll work with both your repository and with the repository your neighbour created
during the previous practical. We'll refer to this repository as {\bf N}, and
to your own repository from the previous practical as {\bf Y}.
to your own repository from the previous practical as {\bf Y}. Note that by now both repositories should have a
corresponding GitLab project (a remote repository).
\bigskip
Make sure that your repository\textbf{Y} is private and add your colleague as a member to it as \textbf{Guest}.
Make sure that your GitLab project\textbf{Y} is private and add your colleague as a member to it as \textbf{Guest}.
\bigskip
Try to clone his or her repository to your local machine. Make sure to do this in a
separate directory.
\bigskip
Try to \textbf{clone} his or her repository to your local machine. Make sure to do this in a separate directory.
Change the role of your neighbour from \textbf{Guest} to \textbf{Developer} and try to clone it again.
\bigskip
\begin{itemize}
\item\emph{Question:} Was the cloning successful? Try to identify why.
\end{itemize}
Edit locally a file from your neighbour \textbf{N} directory and try to push.
Change the role of your neighbour from \textbf{Guest} to \textbf{Developer} and try to \textbf{clone} his repository again once your neighbour made you a \textbf{Developer}.
\bigskip
Make an issue that you are not able to push and ask to become a \textbf{Master} in the project.
Edit locally a file from your neighbour \textbf{N} directory, stage it, commit it, and try to \textbf{push}.
\begin{itemize}
\item\emph{Question:} Were you able to push? Try to identify why.
\end{itemize}
Make an \textbf{issue} that you are not able to \textbf{push} and ask your role to be changed to \textbf{Master} in the project.
Assign the issue to your neighbour.
\bigskip
Change the role of your neighbour from \textbf{Developer} to \textbf{Master} and try to push again.
Navigate and check the issue that was assigned to you by your neighbour.
\bigskip
Change your neighbour's role in your GitLab project from \textbf{Developer} to \textbf{Master}.
\bigskip
After your neighbour upgraded your role to \textbf{Master} try to push again your changes to his GitLab repository.
\medskip
Comment and close the issue that was assigned to you.