<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GitLab on paapereira.xyz</title><link>https://paapereira.xyz/tags/gitlab/</link><description>Recent content in GitLab on paapereira.xyz</description><generator>Hugo</generator><language>en-US</language><copyright>&lt;a href='https://creativecommons.org/licenses/by-nc/4.0/' target='_blank' rel='noopener'>©&lt;/a> 2008-2026 / &lt;a href='https://gitlab.com/paapereira/paapereira.gitlab.io' target='_blank' rel='noopener'>source code&lt;/a></copyright><lastBuildDate>Sun, 18 Apr 2021 13:56:33 +0100</lastBuildDate><atom:link href="https://paapereira.xyz/tags/gitlab/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating my own Hugo Simple List theme</title><link>https://paapereira.xyz/posts/2021/04/my-hugo-theme/</link><pubDate>Sun, 18 Apr 2021 13:56:33 +0100</pubDate><guid>https://paapereira.xyz/posts/2021/04/my-hugo-theme/</guid><description>&lt;p>I&amp;rsquo;ve been using the &lt;a href="https://github.com/panr/hugo-theme-terminal">terminal&lt;/a> theme, but I wanted to learn more about &lt;a href="https://gohugo.io/">Hugo&lt;/a> and how to create themes. Also I&amp;rsquo;ve been wanting to change to a more minimal theme.&lt;/p>
&lt;p>I came across the &lt;a href="https://github.com/goodroot/hugo-classic">hugo-classic&lt;/a> theme, and while trying to customize it I decided to give it a go, fork it, and make it my own. I also used the &lt;a href="https://github.com/panr/hugo-theme-terminal">terminal&lt;/a> theme as inspiration.&lt;/p>
&lt;p>This is my notes on how I did it and how it turned up. You can find my &lt;strong>Simple List&lt;/strong> theme on &lt;a href="https://gitlab.com/paapereira/hugo-theme-simple-list">GitLab&lt;/a>.&lt;/p></description></item><item><title>Moving my dotfiles repository to Gitlab</title><link>https://paapereira.xyz/posts/2021/02/moving-dotfiles-to-gitlab/</link><pubDate>Sat, 20 Feb 2021 17:19:31 +0000</pubDate><guid>https://paapereira.xyz/posts/2021/02/moving-dotfiles-to-gitlab/</guid><description>&lt;p>I&amp;rsquo;ve been using &lt;a href="https://keybase.io/">Keybase&lt;/a> to &lt;a href="https://paapereira.xyz/posts/manage-dotfiles/">manage my dotfiles&lt;/a> with git. Do give it a read to learn how I&amp;rsquo;m doing it.&lt;/p>
&lt;p>This is just how I moved the git server-side from Keybase to &lt;a href="https://gitlab.com/">Gitlab&lt;/a>.&lt;/p>
&lt;p>First of all create a new empty repository in Gitlab. I&amp;rsquo;ve created a &amp;lsquo;dotfiles&amp;rsquo; repository.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1&lt;/span>&lt;span>cd ~
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2&lt;/span>&lt;span>alias dotfiles&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3&lt;/span>&lt;span>dotfiles fetch origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4&lt;/span>&lt;span>dotfiles remote add new-origin git@gitlab.com:your_username/dotfiles.git
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5&lt;/span>&lt;span>dotfiles push --all new-origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6&lt;/span>&lt;span>dotfiles remote rm origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7&lt;/span>&lt;span>dotfiles remote rename new-origin origin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8&lt;/span>&lt;span>dotfiles add your_dotfile
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9&lt;/span>&lt;span>dotfiles commit -m &lt;span style="color:#e6db74">&amp;#34;Updated configs&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10&lt;/span>&lt;span>dotfiles push --set-upstream origin master
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Setting up Hugo with GitLab</title><link>https://paapereira.xyz/posts/2020/04/setting-hugo-with-gitlab/</link><pubDate>Mon, 13 Apr 2020 20:19:55 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/04/setting-hugo-with-gitlab/</guid><description>&lt;h2 id="what-will-you-need">What will you need&lt;/h2>
&lt;ul>
&lt;li>A &lt;a href="https://gitlab.com/">GitLab&lt;/a> account&lt;/li>
&lt;li>&lt;a href="https://gohugo.io/">Hugo&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="creating-a-gitlab-page">Creating a GitLab Page&lt;/h2>
&lt;p>It is as easy as clone an example GitLab Page Hugo example as the base for your own blog or homepage.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Go to &lt;a href="https://gitlab.com/pages/hugo">https://gitlab.com/pages/hugo&lt;/a> and fork the project to your GitLab account&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-04-13-setting-hugo-with-gitlab/fork.png" alt="fork">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>In your new repository, remove the fork relationship (Settings &amp;gt; General &amp;gt; Advanced &amp;gt; Remove fork relationship)&lt;/p>
&lt;p>&lt;img src="https://paapereira.xyz/blog/2020/2020-04-13-setting-hugo-with-gitlab/remove-fork.png" alt="remove fork">&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Make sure your have the Shared Runners enabled (Settings &amp;gt; CI/CD &amp;gt; Runners)&lt;/p></description></item><item><title>New homepage and blog</title><link>https://paapereira.xyz/posts/2020/04/new-blog/</link><pubDate>Sun, 12 Apr 2020 19:01:21 +0100</pubDate><guid>https://paapereira.xyz/posts/2020/04/new-blog/</guid><description>&lt;p>I&amp;rsquo;m moving my homepage/blog from blogspot to a Hugo/GitLab setup.&lt;/p>
&lt;p>In the following future a (manual) migration will slowly be taking place.&lt;/p></description></item></channel></rss>