I use sourcehut for a few projects, and I love the build system. I don't have extensive experience with build systems, but I've explored a handful. What I love about sourcehut's build system is that for the most part it's just straight up scripts/commands. If I can do it in Linux, then I should be able to get it going without difficulty via sourcehut builds. As a result, there's also not much about it to learn. Most…
>What I love about sourcehut's build system is that for the most part it's just straight up scripts/commands. If I can do it in Linux, then I should be able to get it going without difficulty via sourcehut builds. FWIW, it's possible to do it for GitHub etc as well. These CI providers try to get you to use their bespoke "Actions", ie custom DSLs that only work with the one CI provider, but nothing prevents you from i…
Considering Sourcehut
21–30 of 81 posts
Re: Considering Sourcehut
#22I use sourcehut for a few projects, and I love the build system. I don't have extensive experience with build systems, but I've explored a handful. What I love about sourcehut's build system is that for the most part it's just straight up scripts/commands. If I can do it in Linux, then I should be able to get it going without difficulty via sourcehut builds. As a result, there's also not much about it to learn. Most…
> The git-by-email setup is more inconvenient. Due to the distributed nature of git, that's not actually required. Any sourcehut project can merge branches that exist in different places on the Internet. The feedback and reviewing process might be more cumbersome, but accepting code contributions is not impeded in any way.
I guess the various hubs, labs and buckets make it slightly harder to run malicious code on your own box, but the difference might be smaller than one would think.
Re: Considering Sourcehut
#23Earlier quoted context omitted.
> The git-by-email setup is more inconvenient. Due to the distributed nature of git, that's not actually required. Any sourcehut project can merge branches that exist in different places on the Internet. The feedback and reviewing process might be more cumbersome, but accepting code contributions is not impeded in any way.
Indeed. A pull request is indeed a ... request to pull changes! One fetch/apply later you can use your local merge tools to evaluate. I guess the various hubs, labs and buckets make it slightly harder to run malicious code on your own box, but the difference might be smaller than one would think.
Re: Considering Sourcehut
#24AFAIK Sourcehut is only free currently because it is in alpha stage. So it will cost at least $20/year in the future. (Which is still way cheaper than GitLabs Premium plan, but still: it isn't "free")
I don't think people think enough about that fact. Sourcehut is not a "free" alternative if you plan long term.
I think something like codeberg.org would be a real "free" alternative. Because Codeberg - as a non-profit - doesn't plan to sell anything in the future.
Re: Considering Sourcehut
#25Edit: As a commenter suggested, I will elaborate a little:
I'm a big fan of minimalist and lightweight UIs, that's not my issue with SourceHut's design. My issue is the disregard for several established UI principles (balance, proportion, repetition, etc.). Some examples:
- The login[0] and register[1] pages have completely inconsistent layouts (left aligned vs centered aligned, one has a header and the other not, etc.).
- The margin between the top navigation and page content is inconsistent from page to page.
- Inconsistent styling of links. Some links have an underline that disappears on mouseover, while for some other links, it's the opposite[2].
- Inconsistent use of margin/padding all over the place.
Etc.
[2] https://sr.ht/~martijnbraam/photoflow/ see "View project feed" vs "public-inbox" links at the top.
Re: Considering Sourcehut
#26As I read it, they are searching for a free service. AFAIK Sourcehut is only free currently because it is in alpha stage. So it will cost at least $20/year in the future. (Which is still way cheaper than GitLabs Premium plan, but still: it isn't "free") I don't think people think enough about that fact. Sourcehut is not a "free" alternative if you plan long term. I think something like codeberg.org would be a real "f…
- It's always affordable; if you cannot pay for any reason then you'll be given free service.
- Payment is not required to contribute to projects, just to host them.
- Paying for SourceHut makes more sense than paying for other platforms. The money stays in FOSS and keeps the platform accountable to its users, not its investors. Choosing a free service means that you're subject to someone else's demands -- that is, whoever is actually footing your bill.
pmOS is already aware of this, in fact they're already paying to use the CI service. Still: it's important for new users to understand this. Everyone who signs up is sent a welcome email which lays out these details.
Re: Considering Sourcehut
#27I just can't get past how bad SourceHut's UI is. They really need to hire someone that knows some basic UI principles. Edit: As a commenter suggested, I will elaborate a little: I'm a big fan of minimalist and lightweight UIs, that's not my issue with SourceHut's design. My issue is the disregard for several established UI principles (balance, proportion, repetition, etc.). Some examples: - The login[0] and register[…
It's like that so that page sizes are as a small as possible, to cater for all users on all platforms in all locations. Not everyone is American or European with a gigabit connection. No pointless theming, no pointless javascript, no trackers and so on.
Re: Considering Sourcehut
#28I just can't get past how bad SourceHut's UI is. They really need to hire someone that knows some basic UI principles. Edit: As a commenter suggested, I will elaborate a little: I'm a big fan of minimalist and lightweight UIs, that's not my issue with SourceHut's design. My issue is the disregard for several established UI principles (balance, proportion, repetition, etc.). Some examples: - The login[0] and register[…
Re: Considering Sourcehut
#29I just can't get past how bad SourceHut's UI is. They really need to hire someone that knows some basic UI principles. Edit: As a commenter suggested, I will elaborate a little: I'm a big fan of minimalist and lightweight UIs, that's not my issue with SourceHut's design. My issue is the disregard for several established UI principles (balance, proportion, repetition, etc.). Some examples: - The login[0] and register[…
Re: Considering Sourcehut
#30Earlier quoted context omitted.
Indeed. A pull request is indeed a ... request to pull changes! One fetch/apply later you can use your local merge tools to evaluate. I guess the various hubs, labs and buckets make it slightly harder to run malicious code on your own box, but the difference might be smaller than one would think.
The issue is most users do not have the infrastructure to let others pull directly from their repositories, hence centralized hosts became popular.
Of course I can't speak for the devs of PostmarketOS, but on my own projects hosted on Sourcehut, that's how I ask for alternative contributions coming from people uncomfortable with sending patches using email.