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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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;}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 ↓</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’ll get into the <em>why</em> and <em>how</em> momentarily, but first let’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 “popularity”</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 “code forge” 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>>> Sourcehut has entered the chat <<</em></p>
<p>We, as designers and developers, shouldn’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 “PR-flow”, 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’m glad I stuck it out. I’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 “streamlined” is what comes to mind.</p>
<p>And really, if you think about it, at one point in time GitHub’s PR system would have been “new” 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/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’s it really. I’m still in the process of moving over some projects, archiving original GitHub repos and becoming more adapted to the whole sourcehut “workflow”. I’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’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://sr.ht/~bt/</a>. Maybe I’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/communities I pay for on <a href="/uses">my “Uses” page</a> for reference.</li>
<li>Put your pitchforks and torches away - I’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">↑ Top of the page</a></li>
</ul>
<small>
Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
Maintained with ♥ for the web. <br>
Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> & <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>
|