My Lemmy Instance
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chaospatterns@lemmy.world to Programming@programming.devEnglish · 7 months ago

GitHub is introducing rate limits for unauthenticated pulls, API calls, and web access

github.blog

external-link
message-square
123
link
fedilink
316
external-link

GitHub is introducing rate limits for unauthenticated pulls, API calls, and web access

github.blog

chaospatterns@lemmy.world to Programming@programming.devEnglish · 7 months ago
message-square
123
link
fedilink
Updated rate limits for unauthenticated requests - GitHub Changelog
github.blog
external-link
To provide a secure and dependable experience on GitHub, we’re rolling out updates to rate limits for requests made without authentication. These changes will apply to operations like cloning repositories…

An update from GitHub: https://github.com/orgs/community/discussions/159123#discussioncomment-13148279

The rates are here: https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28

  • 60 req/hour for unauthenticated users
  • 5000 req/hour for authenticated - personal
  • 15000 req/hour for authenticated - enterprise org
  • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
    link
    fedilink
    arrow-up
    23
    ·
    7 months ago

    The Go module system pulls dependencies from their sources. This should be interesting.

    Even if you host your project on a different provider, many libraries are on github. All those unauthenticated Arch users trying to install Go-based software that pulls dependencies from github.

    How does the Rust module system work? How does pip?

    • adarza@lemmy.ca
      link
      fedilink
      English
      arrow-up
      14
      ·
      7 months ago

      already not looking forward to the next updates on a few systems.

      • mesa@piefed.social
        link
        fedilink
        English
        arrow-up
        8
        ·
        7 months ago

        Yeah this could very well kill some package managers. Without some real hard heavy lifting.

        • irelephant [he/him]@programming.dev
          link
          fedilink
          arrow-up
          4
          ·
          7 months ago

          scoop relies on git repos to work (scoop.sh - windows package manager)

          • mesa@piefed.social
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 months ago

            Rip

    • UnityDevice@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 months ago

      Compiling any larger go application would hit this limit almost immediately. For example, podman is written in go and has around 70 dependencies, or about 200 when including transitive dependencies. Not all the depends are hosted on GitHub, but the vast majority are. That means that with a limit of 60 request per hour it would take you 3 hours to build podman on a new machine.

      • Björn Lindström@social.sdfeu.org
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        @UnityDevice @sxan it doesn’t apply in that particular case since in Go you’ll by default download those modules through proxy.golang.org

        • UnityDevice@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 months ago

          Oh, that’s nice, TIL. But still, there are other projects that do just directly download from GitHub when building, buildroot for example.

          • Björn Lindström@social.sdfeu.org
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            @UnityDevice for sure, I was just nitpicking that Go projects in particular happens to be protected, at least as long as Google keeps providing that proxy…

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 144 users / day
  • 1.04K users / week
  • 2.2K users / month
  • 7.07K users / 6 months
  • 1 local subscriber
  • 23.8K subscribers
  • 2.59K Posts
  • 38.1K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org