2.1 KiB
2.1 KiB
title, date, draft, references
| title | date | draft | references | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Migrating from Github to Sourcehut | 2024-10-31T16:05:04-04:00 | false |
|
I've moved this site's repository from GitHub to SourceHut, an alternative, open-source Git host. Why? For a few reasons ...
Why?
- GH/MS kind of lame
- Sales people
- AI
- Git is decentralized/open source; GitHub is centralized/closed source
- I like and follow DD (maybe not)
- Tim Harek uses it
- I'm still a happy enough GitHub user at work, but this is my place where I can be as fussy as I my heart desires.
- I paid for it
- Happy to support independents
- Cheaper than self hosting Gitea or similar
- Cryptocurrency is an abject disaster
Stuff to know
Adding a new remote is as simple as
git remote rename origin github
git remote add origin git@git.sr.ht:~dce/davideisinger.com
git push origin main
But switching from GitHub Actions to SourceHut Builds took some doing.
- No actions marketplace
&doesn't work- Secrets go in files, not environment variables
- Shared config file
- Disable logging