aboutsummaryrefslogtreecommitdiff
path: root/build/srht2/index.html
blob: a87fd62f11d8e73bd5b67a9f1f9d13838c913524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="color-scheme" content="dark light">
	<link rel="icon" href="data:,">
	<title>Migrating from GitHub to sourcehut</title>
	<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
	<link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}blockquote{background:rgba(0,0,0,0.1);border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style>
</head>

<nav>
	<a href="#menu">Menu &darr;</a>
</nav>

<main>
<h1 id="migrating-from-github-to-sourcehut">Migrating from GitHub to sourcehut</h1>
<p>2022-11-14</p>
<p>It has taken a little bit longer than I anticipated, but I have finally started to port over all my personal open-source projects to <a href="https://sourcehut.org">sourcehut.org</a>. I&#8217;ll get into the <em>why</em> and <em>how</em> momentarily, but first let&#8217;s take a look at all the impacted projects:</p>
<h2 id="ported-projects">Ported Projects</h2>
<ul>
<li><a href="https://vanillacss.com">Vanilla CSS</a></li>
<li><a href="https://1mb.club">1mb.club</a></li>
<li><a href="https://pblog.bt.ht">pblog</a></li>
<li><a href="https://shinobi.bt.ht">shinobi</a></li>
<li><a href="https://audit.bt.ht">Web Audit</a></li>
</ul>
<h2 id="still-wip">Still WIP</h2>
<ul>
<li><a href="https://1kb.club">1kb.club</a></li>
<li><a href="https://phpetite.org">phpetite.org</a></li>
</ul>
<p><em>Some others are being worked on but have less &#8220;popularity&#8221;</em></p>
<h2 id="why">Why?</h2>
<p>GitHub has landed itself in some hot water with their <a href="https://githubcopilotlitigation.com/">recent lawsuit(s) surrounding their Copilot feature</a>. I was already on the fence about keeping GitHub as my main &#8220;code forge&#8221; after they were scooped up by Microsoft, who then killed off Atom and then started collecting telemetry data through VSCode. This seemed like a good excuse as any to finally leave the platform. The <em>straw</em>, if you will.</p>
<p><em>&#62;&#62; Sourcehut has entered the chat &#60;&#60;</em></p>
<p>We, as designers and developers, shouldn&#8217;t be supporting crap like this. I would much rather put my money where my mouth is and directly support a truly transparent alternative[^1]. Although I might only be paying for the <strong>Typical Hacker</strong> tier on <a href="https://sourcehut.org/pricing/">sourcehut</a>, I like to think that every little bit helps the platform. Even if you choose a different code forge, please consider donating to support independent alternatives!</p>
<h2 id="git-email-jump-into-the-deep-end">Git Email? Jump into the Deep End</h2>
<p>One aspect of sourcehut that initially scared me off was the lack of a proper &#8220;PR-flow&#8221;, web UI-based system[^2]. Instead, reporting bugs, creating tickets, and submitting PATCHES are generally done through regular, plain-text email.</p>
<p>In the end, I&#8217;m glad I stuck it out. I&#8217;m still pretty slow with this new workflow (so please be patient with me if you submit a patch on a project!) but it actually seems cleaner. The phrase &#8220;streamlined&#8221; is what comes to mind.</p>
<p>And really, if you think about it, at one point in time GitHub&#8217;s PR system would have been &#8220;new&#8221; for most users. Everything takes time to learn. This workflow is no different.</p>
<p>Drew (creator of sourcehut) actually put together an extremely helpful guide on getting <a href="https://git-send-email.io/">setup with git send-email</a>. I still reference back to this if&#47;when I need to get up-and-running on a new machine. I highly recommend checking it out.</p>
<h2 id="wrapping-up">Wrapping Up</h2>
<p>That&#8217;s it really. I&#8217;m still in the process of moving over some projects, archiving original GitHub repos and becoming more adapted to the whole sourcehut &#8220;workflow&#8221;. I&#8217;m enjoying it and it feels good to pay for something that is not only useful but open source at its core.</p>
<p>Will I be deleting my GitHub profile outright? Maybe. I&#8217;m not sure. For now the first step is removing any dependence I once had on that platform. Baby steps.</p>
<p>For those interested, my sourcehut public profile is: <a href="https://sr.ht/~bt/">https:&#47;&#47;sr.ht&#47;~bt&#47;</a>. Maybe I&#8217;ll see you on the other side ;)</p>
<h2 id="refs">Refs</h2>
<ol>
<li>I keep an up-to-date document of all the open source software&#47;communities I pay for on <a href="/uses">my &#8220;Uses&#8221; page</a> for reference.</li>
<li>Put your pitchforks and torches away - I&#8217;m aware that a web-facing UI exists on sourcehut as well!</li>
</ol>
<footer role="contentinfo">
    <h2>Menu Navigation</h2>
    <ul id="menu">
        <li><a href="/">Home</a></li>
        <li><a href="/projects">Projects</a></li>
        <li><a href="/uses">Uses</a></li>
        <li><a href="/wiki">Wiki</a></li>
        <li><a href="/resume">Resume</a></li>
        <li><a href="/colophon">Colophon</a></li>
        <li><a href="/now">Now</a></li>
        <li><a href="/donate">Donate</a></li>
        <li><a href="/atom.xml">RSS</a></li>
        <li><a href="#top">&uarr; Top of the page</a></li>
    </ul>
    <small>
        Built with <a href="https://barf.btxx.org">barf</a>. <br>
        Feeds: <a href="/atom.xml">Atom</a> & <a href="/rss.xml">RSS</a><br>
        Maintained with ♥ for the web. <br>
        Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
        The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
    </small>
</footer>