Git-based code host SourceHut will not have to block the Go Module Mirror as planned, after Google took notice of its complaints.
Here's the situation: for the past two years, SourceHut has struggled to deal with the amount of data demanded by the Go module proxy when developers use that tool to fetch repositories from the biz via git clone operations., modules consist of sets of Go packages with specific versions bundled together. Running thecommand from a command line interface fetches the requested packages with any new dependencies declared in the module.
Gathering this code from version control can cause latency and can tax storage because the command may scour the entire commit history of a repo with a transitive dependency – whether built or not – to resolve the version.is supposed to work faster by requesting only the specific metadata or source code it needs.
"A module mirror is a special kind of module proxy that caches metadata and source code in its own storage system, allowing the mirror to continue to serve source code that is no longer available from the original locations," the Go documentation explains."This can speed up downloads and protect you from disappearing dependencies."
Alas, the proxy proved to be impolite, asking for more data than a small code hosting firm could reasonably afford to bear. A year ago, Drew DeVault, founder of SourceHut, likened the situation to
United Kingdom Latest News, United Kingdom Headlines
Similar News:You can also read news stories similar to this one that we have collected from other news sources.
Source: Glasgow_Times - 🏆 76. / 59 Read more »
Source: TheRegister - 🏆 67. / 61 Read more »
Source: medical_xpress - 🏆 101. / 51 Read more »