Response from Martin Woodward, GitHub’s VP of Developer Relations:

Sorry for the inconvenience @koepnick - while searching across all repos has required being logged in for a long time, when we enhanced the search capabilities earlier in the 2023 we had to extend this to repos as well (see https://github.blog/changelog/2023-06-07-code-search-now-requires-login/).

This is primarily to ensure we can support the load for developers on GitHub and help protect the servers from being overwhelmed by anonymous requests from bots etc.

  • fubarx@lemmy.ml
    link
    fedilink
    arrow-up
    11
    arrow-down
    8
    ·
    1 year ago

    This has been around for a while. It may be so they can track and throttle LLMs hovering up public code repos.

    Either way, it’s a meh. Not sure why anyone would want to clutch their pearls over this. For those who need it, self-hosted gitlab is available.

    • lazynooblet
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I’m not sure LLMs will need to use the search facility when they could clone the repo.