Live data from Hacker News

Considering Sourcehut

postmarketos.org

41–50 of 81 posts

Re: Considering Sourcehut

#41
post #8

Makes sense. SourceHut is probably perfect for Postmarket OS. Both have a strong taste for minimalism and free software. Choosing hosting provided by SourceHut instead of self hosting may also help fund SourceHut itself so that's good too. Go for it! I too am not really happy with GitLab.com. It requires contributors to fill a reCAPTCHA and I'm not a fan of it being open core. I chose Gitorious (and was moved to GitL…

> So I made the jump two weeks ago. I now self host my code. I pay for the resources I use so no more strange free lunch.

I also chose this exact approach.

Previously, I ran GitLab, GitLab Registry and GitLab CI and while I think that it's a nice ecosystem to work within (especially at work, where it still is an excellent option, as long as someone else manages the instance), it was also a bit heavy on the resources and updating across major releases... just didn't work. I wrote about that previously, "GitLab updates are broken": https://blog.kronis.dev/everything%20is%20broken/gitlab-upda...

So, eventually I switched over to Gitea, Drone CI and Nexus, all of which now comfortably live on a single VPS with 4 GB of RAM. The performance is good, the resource usage is acceptable and when things break it just takes the individual component down instead of the whole platform (which is also nice for more granular updates).

I actually did a writeup about the switch in more detail "Goodbye GitLab; Hello Gitea, Nexus and Drone": https://blog.kronis.dev/articles/goodbye-gitlab-hello-gitea-...

Of course, actually applying those updates is still somewhat of a problem and will definitely be so until the end of time or until I get enough spare income to make someone else worry about all of that for me (including moving back to cloud platforms and paying for private Docker image storage, CI etc.).

But honestly my current setup is good enough for me, at about 6 euros per month for the hosting (my time is more or less worthless so not counting that).

Re: Considering Sourcehut

#42
Started host my own git server; wanted gitlab, but was too heavy for dinky server (and didn't want to upgrade), so found Gitea, which meets my needs. Don't know if it would meet their needs. Anyone use Gitea with complex deployment scenarios?

Re: Considering Sourcehut

#43
post #23
post #22

Earlier 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.

Well, no, that's putting the cart before the horse.

Git was not designed for remote fetching from every menial contributor. Nothing was—it didn't make sense to.* The idea with git-pull is that it's for use among a set of frequent collaborators—so for a given repo you have a handful of remotes, if any. It was not intended that everyone would need "infrastructure to let others pull directly from their repositories". That didn't arise until GitHub decided to eschew with the traditional currency of open source (i.e. patches) and use branch merges for everything. By doing so they created the demand that is responsible for the current popularity of centralized hosts—which they just so happen to be. It's one big dark pattern, not very different from the way Facebook nursed the growth of their userbase by erecting barriers around their walled garden.

* And still really doesn't. Encapsulating everything with a new branch that lives on a public fork + a proposed merge isn't terribly efficient, being the wrong tool for the job and all... People convince themselves, though, to overlook the time/effort costs of that arrangement because it's what they're used to.

Re: Considering Sourcehut

#44

I 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[…

This is always the problem with most of free software. They are so awkward to use. Meanwhile any criticism is very often met with getting downplayed.

Re: Considering Sourcehut

#45
post #8

Makes sense. SourceHut is probably perfect for Postmarket OS. Both have a strong taste for minimalism and free software. Choosing hosting provided by SourceHut instead of self hosting may also help fund SourceHut itself so that's good too. Go for it! I too am not really happy with GitLab.com. It requires contributors to fill a reCAPTCHA and I'm not a fan of it being open core. I chose Gitorious (and was moved to GitL…

wow gitlab must be truly evil for being proprietary

Re: Considering Sourcehut

#46

I 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[…

This is always the problem with most of free software. They are so awkward to use. Meanwhile any criticism is very often met with getting downplayed.

> often met with getting downplayed

Or maybe it's just a matter of taste? Personally I find many popular proprietary applications (including web "applications") as comfortable and enjoyable to use as walking on two hands backwards while blindfolded. Yet most people around me seem quite satisfied.

Re: Considering Sourcehut

#47

I 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[…

strong agree, though with the caveat that it's "bad" for my tastes and priorities, but is clearly ok for other folks.

it feels all too common for folks to rage against bloaty interfaces (i agree, they're terrible!) but swing wildly back towards clunky browser-default randomness. you can have a consistent, polished interface without javascript and tons of images!

one thing w/ sourcehut that i find adds confusion is their choice to make their various services (source vs tickets vs mailing lists) completely separate apps. start on this page:

https://sr.ht/~martijnbraam/photoflow/

when you click on the "source" tab what do you expect will happen? i expect i'll go to a page with a source tree, listing files and directories. i also expect that i'll now be on the "source" tab at the new page, and will have the option to click back to the "summary" tab or any of the others that i currently see.

instead, you're taken to basically the same exact summary page (displaying README content) but with some git commit info on top. the highlighted tab is now... SUMMARY, AGAIN and there's a completely different tab set available to you. there is no way to click anywhere to get back to the previous version of the summary page and explore that tab group further.

i'm sure this makes sense to some folks (and they'll explain why i'm wrong below), but to me it feels like a cohesive user experience is not being prioritized here, and that's something i value ¯\_(ツ)_/¯

Re: Considering Sourcehut

#48

I 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[…

While I get how the first line of your comment could come across dismissive in isolation (and I guess that was the entire comment before the Edit - so I understand the downvotes in that context), there's a common reply in sibling comments here that bothers me much much more:

> "bloated Javascript"

> "pointless javascript"

> "javascript-free UIs"

I don't know how much people have worked in UI and with front-end code (HTML/CSS/JS) but... the commenter criticised the UI. Javascript is not a UI language. Being a front-end language it's used a lot in close conjunction with UI components to control interactivity and data flow, but it has no responsibility for their appearance. In terms of aesthetic visual design, the amount of Javascript you have behind it isn't really relevant.

I do see a lot of people mentioning performance (which is a great feature of Sourcehut's), but is also a separate topic.

(fwiw I also love Javascriptless interfaces, not arguing that)

Re: Considering Sourcehut

#49

Have people used SCM Manager [1]? I recently found it on the Mercurial self-hosting page [2], and while it seems pretty good based on using it for a few weeks (at least for a single person use-case), the fact that I never hear of it (as much as Gogs or Gitea) makes me think that it may have some non-obvious issues with it. [1]: https://scm-manager.org/ [2]: https://www.mercurial-scm.org/wiki/MercurialHosting

We've been using for nearly 10 years in my company, hosting 100+ repositories in it. This is one of the few forges that allow hosting Git, Mercurial, and even SVN repositories within the same web interface. We had a lot of Mercurial repos in the past, but the domination of git for web development made us switch to git. Having all our repos under one software and authentication system is quite nice.

As the administrator I also really appreciate that there is an APT package available, so it is updated with the rest of the OS via unattended-upgrades. They also provide Docker and k8s installations. Except for the v1 to v2 migration 3 or 4 years ago that was a bit chaotic at first, it has been a very solid software.

This is "just" a repository hosting software though. It will not force you to use a specific git flow, there is no PR/MR interface. There are some plugins to enable some workflows, but nothing specific. While not numerous, there are several integrations available, like JIRA or Redmine, even LDAP for authentication.

There are no CI/CD part either. There is a Jenkins plugin though. Or you can also configure webhooks to be called on push events and design your own CI around it.

Re: Considering Sourcehut

#50

I 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[…

I very much like Sourcehut's UI as a whole (i.e. their design philosophy or whatever), but yeah it is very inconsistent. Hopefully, as it matures, the UI will gain more consistency.
Post reply on HN