post progress
This commit is contained in:
@@ -3,34 +3,62 @@ title: "Migrating from Github to Sourcehut"
|
|||||||
date: 2024-10-31T16:05:04-04:00
|
date: 2024-10-31T16:05:04-04:00
|
||||||
draft: false
|
draft: false
|
||||||
references:
|
references:
|
||||||
- title: "Cryptocurrency is an abject disaster"
|
|
||||||
url: https://drewdevault.com/2021/04/26/Cryptocurrency-is-a-disaster.html
|
|
||||||
date: 2024-10-31T20:10:12Z
|
|
||||||
file: drewdevault-com-yuxzdw.txt
|
|
||||||
- title: "Switching to SourceHut Builds - Tim Hårek"
|
- title: "Switching to SourceHut Builds - Tim Hårek"
|
||||||
url: https://timharek.no/blog/switching-to-sourcehut-builds
|
url: https://timharek.no/blog/switching-to-sourcehut-builds
|
||||||
date: 2024-11-01T03:59:37Z
|
date: 2024-11-01T03:59:37Z
|
||||||
file: timharek-no-becx2e.txt
|
file: timharek-no-becx2e.txt
|
||||||
|
- title: "Cryptocurrency is an abject disaster"
|
||||||
|
url: https://drewdevault.com/2021/04/26/Cryptocurrency-is-a-disaster.html
|
||||||
|
date: 2024-10-31T20:10:12Z
|
||||||
|
file: drewdevault-com-yuxzdw.txt
|
||||||
---
|
---
|
||||||
|
|
||||||
* Why?
|
I've moved this site's repository from [GitHub][1] to [SourceHut][2], an alternative, open-source Git host. Why? For a few reasons ...
|
||||||
* GH/MS kind of lame
|
|
||||||
* Sales people
|
[1]: https://github.com/
|
||||||
* AI
|
[2]: https://sourcehut.org/
|
||||||
* This is my place to do things just so
|
|
||||||
* Git is decentralized/open source; GitHub is centralized/closed source
|
<!--more-->
|
||||||
* I like and follow DD (maybe not)
|
|
||||||
* Tim Harek uses it
|
### Why?
|
||||||
* Stuff to know
|
|
||||||
* No actions marketplace
|
* GH/MS kind of lame
|
||||||
* `&` doesn't work
|
* Sales people
|
||||||
* Secrets go in files, not environment variables
|
* AI
|
||||||
* Shared config file
|
* Git is decentralized/open source; GitHub is centralized/closed source
|
||||||
* Disable logging
|
* I like and follow DD (maybe not)
|
||||||
|
* [Tim Harek uses it][3]
|
||||||
|
* 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.
|
||||||
|
|
||||||
|
[3]: https://timharek.no/blog/switching-to-sourcehut-builds
|
||||||
|
|
||||||
* I paid for it
|
* I paid for it
|
||||||
* Happy to support independents
|
* Happy to support independents
|
||||||
* Cheaper than self hosting Gitea or similar
|
* Cheaper than self hosting [Gitea][4] or similar
|
||||||
* [Cryptocurrency is an abject disaster][1]
|
* [Cryptocurrency is an abject disaster][5]
|
||||||
|
|
||||||
|
[4]: https://about.gitea.com/
|
||||||
|
[5]: https://drewdevault.com/2021/04/26/Cryptocurrency-is-a-disaster.html
|
||||||
|
|
||||||
|
### Stuff to know
|
||||||
|
|
||||||
|
Adding a new remote is as simple as
|
||||||
|
|
||||||
|
```sh
|
||||||
|
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
|
||||||
|
* https://man.sr.ht/builds.sr.ht/#build-environment
|
||||||
|
* Disable logging
|
||||||
|
* https://man.sr.ht/builds.sr.ht/#keeping-your-secrets-a-secret
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -38,5 +66,3 @@ references:
|
|||||||
* <https://git.sr.ht/~timharek/timharek.no/tree/main/item/.build.yml>
|
* <https://git.sr.ht/~timharek/timharek.no/tree/main/item/.build.yml>
|
||||||
* <https://git.sr.ht/~dce/mdrenum/tree/main/item/.build.yml>
|
* <https://git.sr.ht/~dce/mdrenum/tree/main/item/.build.yml>
|
||||||
* <https://git.sr.ht/~dce/davideisinger.com/tree/main/item/.build.yml>
|
* <https://git.sr.ht/~dce/davideisinger.com/tree/main/item/.build.yml>
|
||||||
|
|
||||||
[1]: https://drewdevault.com/2021/04/26/Cryptocurrency-is-a-disaster.html
|
|
||||||
|
|||||||
Reference in New Issue
Block a user