Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Gentoo now on Codeberg

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
16 posts • Page 1 of 1
Author
Message
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

Gentoo now on Codeberg

  • Quote

Post by flexibeast » Thu Feb 12, 2026 11:28 pm

Quoting the post on the gentoo-dev list:
We would like to announce that Gentoo now has a presence on Codeberg
and contributions can be submitted for the mirror at
https://codeberg.org/gentoo/gentoo[b][/b], as an alternative to GitHub.

If you wish to submit pull requests on Codeberg, it is recommended to
use the AGit approach [1] as it's more space efficient and doesn't
require you to maintain a fork of gentoo.git on your own Codeberg
profile.
Refer to the post for more details.

[Administrator edit: fixed url. Forum auto-linking will capture commas if not inhibited. -Hu]
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Thu Feb 12, 2026 11:48 pm

Above link fails here. Following works: https://codeberg.org/gentoo/gentoo.

Happy to see gentoo is on codeberg too.

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Feb 13, 2026 12:09 am

CaptainBlood wrote:Above link fails here.
Ah, yeah; it seems the forum software automatically made the URL in the quoted text 'active' (i.e. an actual link), but included the comma at the end, with the result that the URL is incorrect. Thanks for picking that up, and sharing the correct URL!
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Feb 13, 2026 12:51 am

I edited the post to fix the link. An empty bold block separating the real URL from the punctuation causes the automatic linking to do the right thing.

Unfortunately, fetching anything after the first page returns garbage like this:
https://codeberg.org/gentoo/gentoo/commit/11cdd22ee361841bbda70d999ba7b7e65dbabea3 wrote:May change hands, the colour and the world to another was considerable.

If you are an AI scraper, and wish to not receive garbage when visiting Codeberg: stop visiting. If you are not an AI scraper: contact Codeberg.
So the link may not be all that useful since only the index page seems valid.
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Feb 13, 2026 1:15 am

Hu wrote:I edited the post to fix the link. An empty bold block separating the real URL from the punctuation causes the automatic linking to do the right thing.
Ah, okay, thanks, i'll keep that in mind.
Hu wrote:Unfortunately, fetching anything after the first page returns garbage like this:
https://codeberg.org/gentoo/gentoo/commit/11cdd22ee361841bbda70d999ba7b7e65dbabea3 wrote:May change hands, the colour and the world to another was considerable.

If you are an AI scraper, and wish to not receive garbage when visiting Codeberg: stop visiting. If you are not an AI scraper: contact Codeberg.
So the link may not be all that useful since only the index page seems valid.
Dang. :(
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Fri Feb 13, 2026 6:38 am

Hu wrote: Unfortunately, fetching anything after the first page returns garbage like this:
https://codeberg.org/gentoo/gentoo/commit/11cdd22ee361841bbda70d999ba7b7e65dbabea3 wrote:May change hands, the colour and the world to another was considerable.

If you are an AI scraper, and wish to not receive garbage when visiting Codeberg: stop visiting. If you are not an AI scraper: contact Codeberg.
So the link may not be all that useful since only the index page seems valid.
This is probably due to one of the things:
1: you don't have JS enabled in your browser,
2: you're using some heavy-traffic VPN node,
3: browsing git commits require an account with the combination of above (works fine for me without an account).

I could imagine no-js users are denied access to git commits but can freely browse the site otherwise.
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Feb 13, 2026 1:38 pm

Yes, JavaScript is blocked as a matter of course. How can I not, when people are going around putting up Anubis CPU burning gates all over the place? Running unexpected JavaScript was ill-advised even before Anubis became popular, and it's even worse now. If Codeberg needs JavaScript enabled to make them not serve garbage, then (a) that's rather user hostile, and (b) failing to clearly document that requirement is even more obnoxious. At least Anubis has the decency to openly demand that I run JavaScript, instead of returning garbage. (Although I still criticize Anubis for not properly communicating just how expensive their scripts are!)

Git commits aren't the only thing they broke. It was just the first one I found. Even parts of their FAQ don't work right. Bizarrely, their registration process is behind an Anubis gate (and apparently a bad old one, since it still says that support for no-script is a work in progress, but upstream released a working version of that quite a while ago). I'll just avoid Codeberg until their behavior improves. It's not worth trying to find which parts of the site work when I keep stumbling over garbage links.
Top
Chiitoo
Ninja Apprentice
Ninja Apprentice
User avatar
Posts: 3060
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Fri Feb 13, 2026 8:08 pm

Hu wrote:Yes, JavaScript is blocked as a matter of course. How can I not, when people are going around putting up Anubis CPU burning gates all over the place? Running unexpected JavaScript was ill-advised even before Anubis became popular, and it's even worse now. If Codeberg needs JavaScript enabled to make them not serve garbage, then (a) that's rather user hostile, and (b) failing to clearly document that requirement is even more obnoxious. At least Anubis has the decency to openly demand that I run JavaScript, instead of returning garbage. (Although I still criticize Anubis for not properly communicating just how expensive their scripts are!)

Git commits aren't the only thing they broke. It was just the first one I found. Even parts of their FAQ don't work right. Bizarrely, their registration process is behind an Anubis gate (and apparently a bad old one, since it still says that support for no-script is a work in progress, but upstream released a working version of that quite a while ago). I'll just avoid Codeberg until their behavior improves. It's not worth trying to find which parts of the site work when I keep stumbling over garbage links.
I bumped into it too back some time ago, and I'm guessing it's 'iocaine', also discussed here:

https://lwn.net/SubscriberLink/1056953/ ... 1eeddf947/

There's some interest in using that on our sites too, but of course we'll need to figure the no-JS users part out just like with Anubis.

Re: Anubis CPU burn, is it expensive, really? When I see it where I allow it, it takes about a second, if that. I usually don't have time to read how long it took.

There's another topic I have been wanting to touch upon that though, and it will be better discussed there.

Also yeah, not sure if it's just the Anubis version is old, or if the "no-JS solution is being worked on" text is just not removed from the not no-JS version where we see it still...
Kindest of regardses.
Top
flexibeast
l33t
l33t
Posts: 680
Joined: Mon Apr 04, 2022 4:15 am
Location: Naarm/Melbourne, Australia
Contact:
Contact flexibeast
Website

  • Quote

Post by flexibeast » Fri Feb 13, 2026 11:17 pm

Out of interest, and as someone who has JS disabled in the browser by default, what non-JS-based alternatives are there for dealing with (effective) DoSing by AI bots / LLM crawlers? Does Anubis (or other JS-based analogues) provide functionality, or a level of service, or an ease of setup, not matched by those non-JS-based alternatives?
https://wiki.gentoo.org/wiki/User:Flexibeast
My most recent wiki contributions
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Fri Feb 13, 2026 11:29 pm

I think the least expensive Anubis I've seen was 8 seconds,
That's weird, it usually takes under 1 sec, and only the first time I visit the particular website.
I've seen websites that take more time drawing their cookie banners.

I know that some people see it as malware, but I just look at wasting a few CPU cycles as an anonymous payment method... Way better option than asking for a credit card.
Make Pipewire a system service
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sat Feb 14, 2026 8:03 am

This is already going offtopic, but...
Hu wrote: I think the least expensive Anubis I've seen was 8 seconds, which is 7.9 seconds too long,
Some sites that don't have anubis takes longer for me to load. Must be nice if every site you visit loads in 0.1 sec in 2026.

Hu wrote: As regards flexibeast's question, I don't have an answer, but I will note that most of the JS-based paths seem to be premised on the idea that if the JavaScript is "sufficiently complex", then scrapers won't be able to emulate it, and will just fail out the same way that NoScript users fail. I think that's a short-sighted design, since it's readily defeated by the scrapers using a more capable browsing client to more faithfully emulate a full browser. For years, there have been setups for automated testing of websites (by the legitimate test organization), and an automated scraper browser is essentially the same concept. Start a virtual display, connect a browser to it, and have the browser pre-loaded with an automation extension (such as Selenium) and use that to drive it around the web, automatically completing any automated access test that requires a "real browser." It's an arms race that mainly hurts the people who insist on having any modicum of control over what runs locally, and merely inconveniences the scrapers for a short time.
and that's what the above linked iocaine is trying to do.
https://iocaine.madhouse-project.org/ (site works without js, for the curious ones)

I understand your frustration, essentially being blocked from accessing some sites due to your ethics and configuration, but at the same time, codeberg has been very vocal about bots/AI scrapers hammering their site. So I get their view as well, something needs to be done to block most of those kind of bots. This is the technology we currently have.

Personally I wouldn't mind moving to gemini side of web, since the modern www experience is kind of awful.
Top
Chiitoo
Ninja Apprentice
Ninja Apprentice
User avatar
Posts: 3060
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Sat Feb 14, 2026 3:55 pm

Yeah, I get hit by the nonsense from theirs site without JavaScript enabled as well.

I think I like the idea of messing with them scrapers like they do, but the experience is indeed very, probably even more unfriendly to the actual human users that get welcomed by it.

(I wanted to look into if they have any non-JS thing planned, but then didn't when I got access denieded like that.)
Kindest of regardses.
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Sat Feb 14, 2026 4:56 pm

but I will note that most of the JS-based paths seem to be premised on the idea that if the JavaScript is "sufficiently complex", then scrapers won't be able to emulate it,
No, they are premised on the idea that the slowdown caused by running this JS is more punishing to the crawlers than to humans.
When I browse the web, I'm doing it at my own pace. When a crawler browses the web, it does it at the server's pace.
Forcing the UA to waste 1-2 seconds is barely noticeable to me (or not at all, if I open a link in a new tab so it loads in the background as continue reading the same page), but a crawler spends like a 100 pages worth of resources to receive only 1 page.
In a similar fashion, if an add pops up, it requires MY attention, which makes it really annoying.
Personally I wouldn't mind moving to gemini side of web, since the modern www experience is kind of awful.
It is awful, but it has absolutely nothing to do with the transport protocol. HTTP/1.1 + TLS already was a perfect tool for the job.
Make Pipewire a system service
Top
Asch
Tux's lil' helper
Tux's lil' helper
Posts: 85
Joined: Wed Jan 20, 2010 1:10 pm
Location: Nowhere special

  • Quote

Post by Asch » Sun Feb 15, 2026 2:46 pm

This looks like good news.

What should I do in order to sync from Codeberg instead of Github from now on?

Should I just follow the instructions on https://wiki.gentoo.org/wiki/Portage_with_Git and just change every instance of "github" to "codeberg"?
Top
Ionen
Developer
Developer
User avatar
Posts: 3013
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sun Feb 15, 2026 3:05 pm

Asch wrote:This looks like good news.

What should I do in order to sync from Codeberg instead of Github from now on?
You shouldn't, codeberg is intended for development only (or at least the moment, but this probably won't change unless stop using github entirely), and it currently does not host the "sync friendly mirror" that includes news and metadata intended for use with emerge --sync.

When it comes to raw clone/fetching from tons of users, there's not much reason not to abuse Microsoft's bandwidth from github rather than put strain on community-funded codeberg or gentoo's anongit (or the rsync mirrors). If signatures are verified, in the end it is all confirmed to be the same and nobody had to go through github's UI for it.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Tue Feb 17, 2026 12:50 pm

https://www.phoronix.com/news/Gentoo-St ... deberg-Use
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Post Reply

16 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic