393 points · by rukshn · 4y ago · 214 comments
• https://codeberg.org/ (As per the linked article)
• https://sr.ht/ (Sourcehut)
Codeberg and Sourcehut appear to use open source code for their web page backend; the others seem to use proprietary software (in the case of GitLab, there is a free version, but gitlab.com also uses non-free software).
Sourcehut says they may some day charge people to host open source software on their server, but right now it’s a free beer service (but, yes, I have donated) using Free (libre) software.
Souceforge also has a proprietary free-to-use for open source Git hosting service, but their service is a little buggy so I would use one (or in my case, all) of the five I have listed.
If there are any others, please let us know.
In terms of continuous integration, in my particular use case, the automated CI tests take about an hour to all run, so I have a Raspberry Pi server the size of a deck of cards which runs Ubuntu 22.04. The server uses a crontab which checks to see if the Git repo has been updated once a day, and runs the tests inside a Docker container if the repo has changed. Some problems, such as automated testing, don’t need to be solved by putting everything in a cloud.
https://man.sr.ht/billing-faq.md#why-should-i-pay-when-githu...
The point is to set up a responsible financial situation between himself and the users and avoid the bad incentive structures that "free" services have ("Free" until VC money runs out, at which point it is roll of the dice whether they'll be monetized through acquisition, or some annoying scheme).
>Most other companies are financially supported by venture capital, in the form of large investments from a small number of people. If you use their services for free, or even if you pay the modest fees for their paid plans, they are not incentivized to serve your needs first. They are beholden to their investors, and at their behest, they may implement changes you don't like: invasive tracking, selling your data, and so on.
>SourceHut has not accepted, and will never accept, any outside investments. Our sole source of revenue is from sr.ht users making their account payments. This incentivizes us to only consider your needs, and not to use you as a resource to be exploited. The financial relationship is much more responsible for both parties.
A very commendable stance.
From an article I wrote recently on this topic [2]:
> Selling Stock vs Selling Search
One key realization we had is that when we bring on investors, we are essentially bringing on a new group of customers - customers for whom the product is our company stock.
The value this group of customers (investors) gets from the product they are buying (stocks) is appreciating stock prices. And the way we can keep this group of customers happy is by regularly raising the next round of funding which is when stock prices appreciate, or having a liquidity event to make a return on investment.
We are concerned that “launching” a new “product line” (selling stocks) and bringing on a whole new group of customers (investors), would cause us to lose our precious bandwidth that could have otherwise been spent on our core search product that our primary group of users and customers expect from us. After all, the “company stock” product line would not exist without the core search product.
[2] https://typesense.org/blog/why-we-are-not-raising-funds/
> be banned if I asked about it
I assume this means the maintainer(s) have experienced the above a few times, and have given up trying to be more polite about it!
Don't take it personally. If you want to use a tool with that plumbing then feel free to DIY. If you make it work well, perhaps publish your process and/or images and support it for others who need/want that support.
https://gist.github.com/GavinRay97/e3c166c5ba24c2c1bc4a09d7b...
He said "Docker isn't a supported installation mechanism."
I wasn't aware of Drew's anti-docker stance, whoops.
https://paste.sr.ht/~sircmpwn/78cc21e1661d5a9d8038f47e532d28...
From the FAQ (https://docs.codeberg.org/getting-started/faq/#is-it-allowed...):
> Is it allowed to host non-free software?
> Our mission is to support the creation and development of Free Software; therefore we only allow repos licensed under an OSI/FSF-approved license. For more details see Licensing article. However, we sometimes tolerate repositories that aren't perfectly licensed and focus on spreading awareness on the topic of improper FLOSS licensing and its issues.
> Can I host private (non-licensed) repositories?
> Codeberg is intended for free and open source content. [...]
https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3CC32T7UNXIK7O....
I think Codeberg's co-op style governance/funding makes a lot of sense w.r.t sustainability.
A reminder that Framasoft's a worthy cause to donate to if you are looking for causes to support!
Codeberg is a fork of Gitea https://github.com/go-gitea/gitea which curiously uses GitHub for hosting.
*EDIT* https://codeberg.org/
I'm guessing they're just maintaining their own copy and Codeberg is more about the service rather than being another git hosting project.
Some people probably used it because for awhile, pre-GitLab, it was the GitHub alternative with the most generous free tier for private repos.
However, the overwhelming majority of users probably use it because they're already in the Atlassian ecosystem due to JIRA.
> https://registry.hub.docker.com/r/gitlab/gitlab-ce/
While it might be fun to self-host, a 5 dollar a month fee to run it is also not price competitive with the free or paid individual tiers at github.com for a single user too. I'd probably only do this if the git repo was being hosted on my home LAN.
I like the idea of generating static webpages, it sounds great for read only content.
However, it doesn't sound very good for collaboration. Someone can come your repo but it doesn't seem easy for them to submit changes back upstream to your repo?
It's not proprietary?
https://sourceforge.net/create/
> And, as if all of that wasn’t enough, the SourceForge platform runs on Apache Allura which itself is Open Source!
On the bright side I suppose that means they shouldn't have any of those pesky commercial pressures to start charging people.
I don't think I need to say what the down sides are.
And then the feds come for you for breaking some of those US sanctions you had no idea about.
https://finance.yahoo.com/news/gitee-chinas-answer-github-re...
There are other git services which are noscript/basic (x)html friendly from the ground up, and EU based, but much less popular.
A few years ago, captchas were long to go thru but at least without that horrible javascript.
https://knowyourmeme.com/memes/events/c-plus-equality-c
I suggest to use and support the alternative that explicitly promises not to engage in censorship - gitgud.io
Pretty sure GitLab is open source.
There is a FOSS GitLab https://gitlab.com/gitlab-org/gitlab-foss
The hosted gitlab.com instance uses EE features so parent is correct to say that the gitlab.com site is not open source.
It’s OSS but with proprietary parts. That’s the issue with the term "open-source": their source code is indeed open [1] but it’s not 100% free (as in freedom).
Edit: mmh apparently I’m mistaken; according to another commenter this is called "open-core" and not "open-source" [2].
If you have a Pi in a drawer somewhere, or an underutilized 512MB VPS, using it to self-host a Gitea instance is worthwhile!
0.Using SQLite as the data store.
1. Alternatively, you can use your Gitea instance as the primary, and have it push changes to other git servers like GitHub or Gitlab
Of course performance depends on the size of your database and how many repos/files. I've configured it to use a sqlite3 database, which runs great.
Performance wise, pushing and pulling work as fast as any other git server (Though I don't have any hooks). The UI is snappy, though it can be sluggish when initially importing large projects.
Out of the 2-dozen projects its handling, the only issue I encountered was the Pi choking while migrating a large project (github.com/huggingface/transformers): I suspect it was hitting an internal timeout when importing large LFS files (ML models). Fortunately, since it uses bare repos and a simple db schema, I performed the git clone operation manually and updated the SQLite db to enable the "mirror" flag & it's been happily syncing since.
Codeberg is working on CI and you can request early access. I've found it to work well and fast.
Loading the YAML file in a language where dictionaries/hashmaps don't preserve the insertion order and serializing again will break your file? How could they fail at such a basic step of making a YAML-configurable CI system?
This is the worst abuse of YAML I have ever seen. Was putting `-` in front of each step too obvious?
Plus it’s a bit late to hate on YAML for CI config since it’s already being used by most services, such as:
- Concource
- Travis
- CircleCi
- GitHub Actions
- Gitlab
- AWS CodeBuild
…not to mention a crap load of other orchestration services from docker-compose to k8s to CloudFormation.Like it or not, the YAML-train left the station years ago. So Woodpecker isn’t doing anything here this isn’t already an established industry norm.
> This is the worst abuse of YAML
When was the last time you looked at k8s manifests?
And I'm not saying that not supporting yet is a problem, but the docs saying "everything happens in Docker" implies a lack of forward-thinking in the design of the system that wholly excludes working elsewhere (including FreeBSD or other FOSS platforms).
Apparently it is being supported, but the docs will need some clarification now that some of the advertised assumptions are no longer going to be true.
That, along with many messing advanced features pushed me towards gitlab.
It was only days after the project maintainer contacted them that they wrote something back about an IP complaint from Wikimedia foundation.
When people who submit these complaints don't feel like you acquiesced in their favor they will assemble and call you out. Your service will be known as a safe harbor for groups of ill repute and eventually you may be forced to shutter the service because you're now known as the person enabling groups of ill repute.
I'm not saying it's right, I'm saying that's the cycle that history shows takes place. It seems effective at chilling the content in question and the service providers who serve it.
Examples: voat, rumble, Nchan, Nch, parler, the list goes on.
The general cycle of "abusive users look for platforms that look the other way, while non-abusive users insist on platforms that don't" still applies. But the concern is less "Nazi[0] bars" and more "The Pirate Bay".
[0] FWIW I do not believe that it is possible to censor a Nazi.
> the repository has been made private (only contributors will be able to access the repo for now)
Huge difference and imho quite ok until things are clear.
From a visitor's perspective, it just became a 404 page, also without explanation, so effectively taken down.
Obsidian does not offer _free_ syncing, but it does offer it: https://obsidian.md/sync
It's not cheap though and it's not europe-based. But it's a way to support the development.
I am really hoping that this will take off and soon all Europeans will be able to prove they have the right to get services without having to reveal their full identity... and I think this is a great framework for registration to services like this as well.
This could be the real start of web3, but I'm pessimistic about the way most of the homepage is talking about funding more than about the problem being solved. The rest reads like a whitepaper.
Maybe blockchains are the right technology here (though I doubt it) but the people writing the documentation were the wrong people for the job.
Which sounds like every EU funded project I know. That's the state of state-driven tech innovation here, very nice. Happy to pay taxes for that sh*t ...
https://essif-lab.github.io/framework/docs/ssi-standards
But there's quite a lot going on... the work on SSI is being coordinated by the W3C Working Group on VCs (Verifiable Credentials) and DIDs (Decentralized Identifiers).
https://www.w3.org/community/credentials/
https://www.w3.org/2019/did-wg/
I don't know of any real-world usage yet, despite the fact that the specifications required for things to work and be used by real people already exist, and that there's a lot of DID methods (over 80 last I checked) registered, but as people have noted, most are based on blockchain (but not all... there's stuff like the peer, git, jwk DID methods that do not require blockchain)... but I have to say that, in this particular instance, blockchains may actually be a proper solution for a real problem (that of looking up public keys and metadata for entities/users in a distributed, highly-reliable manner).
https://www.w3.org/TR/did-spec-registries/#did-methods
If you want to look for related stuff, look for things that users would need to have to use SSI, like DID wallets... Some random examples I found by quickly searching:
https://www.dock.io/dock-wallet-app
https://identity.foundation/ion/
The OpenID Connect Standard is being extended to support self-issued OIDC (SIOP) which allows OIDC to interact with SSI constructs:
https://openid.net/specs/openid-connect-self-issued-v2-1_0.h...
So, yeah, there's a lot of stuff being created around SSI, but admitedly, almost nothing practical yet... Hence why I was hoping to find something where this work could be very helpful, like logging into Codeberg :)
Pages are either full of calls for projects or buzzwords for existing projects.
I think I've found the page containing implementation details but it all seems to be crypto/blockchain stuff. Disappointing, was hoping for something better.
https://www.pcworld.com/article/419579/new-sourceforge-owner...
The quality of the site went down hill, even with ads showing download buttons trying to trick the user.
I've wanted a reason to use Fossil for quite some time, and this is perfect since I'm the only user for this repository; Fossil is ideal for small groups of people and git is ideal for projects with thousands of contributors.
I'm just using VS Code with a Fossil extension and storing the notes as .md files in the repo. You could use the built-in wiki to store them, but that would give you less flexibility and less of the features of a source control.
Although I'm not yet, I could integrate some other features into my workflow like bug tracking, forum (to talk to myself and hold conversations over time to center myself where I left off), and technotes. I love the web-interface.
The only configuration I needed from stock was to turn on the search feature, change the home page to be my root document (README.md) and set it up to run as a daemon with systemd.
[0] - https://www2.fossil-scm.org/home/doc/trunk/www/index.wiki
I wish GitHub: - had scoped labels ala. GitLab. Project custom fields _almost_ get there but they must be more visible/accessible/filterable via 'basic' issue lists. - allowed longer label descriptions, they should double the 100 character limit - and allow 4-byte Unicode... - had wider milestone scoping
If your project is worth the attention, people will join you wherever you will be.
>and useful for open source project
Embrace, extend...
Recently a large scientific (EU) institution was wanting to coordinate efforts to have data stored inside EU - they wanted a running gitlab server (as many Prof. were just using their own local or using gitlab/github SaaS.
After contacting many EU companies no one could provide a 24x7 (reasonable uptime) services like github/gitlab with just a creditcard.
Too many EU companies suggested we self host. This institute does not have people/space to do it. They wanted Just Works.
Now what happens is that all these students get used to github/gitlab. And all future students become managers/employees - they will go to github/gitlab.
One example missing in the privacy policy is information regarding "the existence of the right to request from the controller access to and rectification or erasure of personal data or restriction of processing concerning the data subject or to object to processing as well as the right to data portability;" There is more stuff that should be included, see: https://gdpr-info.eu/art-13-gdpr/.
(Technically it doesn't have to be in the privacy policy document but could be provided in some other kind of document. I guess thats not done though.)
> However, you won’t be getting the advanced features like automation or other integration...
Codeberg also has built-in CI support using Woodpecker (ci.codeberg.org). It works very well.
> However, if you are interested in a privacy-friendly GitHub alternative from Europe, I suggest you check out Codeberg.
Important to know that Codeberg only allows to host projects with a FLOSS license. So I wouldn't announce it as a GitHub alternative without a further note.
https://codeberg.org/explore/repos works
https://codeberg.org/ditzes/ditzes works as well
What page exactly doesn't work for you?
Never heard of this before, but I don't think this operates in the same space. Codeberg is a hosted platform, Gitbucket is a self-hostable platform. I think it competes more with Gitea and maybe Gitlab than Codeberg.
There's many privacy and other laws that affect myself and my neighbours in Europe that concern me, but hate speech has never been one of them.
Perhaps wherever you're from you draw lines differently to how we do it in Europe, with regards to what is socially and morally acceptable to say?
I should add that we also don't have a right to "free speech" in the UK as, say, Americans do, and yet it hasn't forced us to keep our mouths shut.
Maybe that's why he has serious concerns? Funny how it's always valid for Europeans to have concerns about America and its differences, but when it's the other way around it's a barrage of "How dare you?!" (just look at the responses to OPs concerns).
/e: lel, he has been warned by dang already for other comments: "Would you please stop the unsubstantive and/or flamebait comments?". So we don't need to bother.
[1] https://about.gitlab.com/blog/2015/07/01/operating-as-gitlab...
[2] https://about.gitlab.com/handbook/engineering/infrastructure...