this post was submitted on 20 Aug 2024
1 points (60.0% liked)

Selfhosted

40332 readers
480 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've recently set up my own Gitea instance and I figured I'd share a simple guide on how to do it yourself. Hopefully this will be helpful to anyone looking to get started.

If you have any feedback please feel free to comment it bellow.

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 months ago

cool guide love stuff like this

[–] [email protected] 0 points 3 months ago (1 children)

There's been a hostile takeover at Gitea and it's now run / owned by a for-profit company. The developers forked the project under the name Forgejo and are continuing the work under a non-profit. See also: Their introduction post and a page comparing the two projects. Feel free to look up more, since I haven't familiarized myself with the incident all that much myself. Either way though, maybe consider using Forgejo instead of Gitea.

[–] [email protected] -2 points 3 months ago

That's not what happened at all.

Forgejo is actually the one in the wrong. It's an hostile fork that exist only because 3 devs were mad that they weren't hired by the company created so that the core devs of Gitea could do it full time.

You're just repeating their lies.

The Forgejo people never "owned" Gitea.

[–] [email protected] 0 points 3 months ago (1 children)
[–] [email protected] 1 points 2 months ago (1 children)

I made a honest effort, but in the end went back to Git for my personal projects. The advantages Fossil has over Git (wiki, bug tracker) are trivial to emulate with versioned plaintext files, and everything about Git's version control system just clicks with my head. Having years of experience breaking and unbreaking things helps too.

Tho one thing Fossil taught me is to merge by default, not rebase. Rebase when there's good justification for it, and the rest of the time, have an alias for git log --oneline --graph --first-parent (or whatever that was). --first-parent collapses a horrible branchy-mergy history into a linear overview thereof, with details available when needed.

[–] [email protected] 1 points 2 months ago

I love love love that Fossil is a single executable.

All in all, the version control wars have ended and git has won. Mercurial is another one I sort of wanna try just to see what it's like.

Re: rebasing, I think squashing / rebasing (in place of merging) is bad but I am also one of the few people I know who tries to make a good history with good commit messages prior to opening a pull request by using interactive rebasing. (This topic is confusing to talk about because I have to say "I don't rebase, instead o rebase" which can be confusing.)

[–] [email protected] 0 points 3 months ago (1 children)
[–] [email protected] -1 points 3 months ago* (last edited 3 months ago)

But check that it has all the features you need because it lags behind gitea in some aspects (like ci).

[–] [email protected] -1 points 3 months ago* (last edited 3 months ago) (1 children)

I'll be that guy: Use forgejo instead, its main contributor is a Non-Profit compared to Gitea's For-Profit owners

[–] [email protected] 1 points 3 months ago

Silly question but what is the problem with gitea being for profit?