Coder Social home page Coder Social logo

Comments (1)

dfawley avatar dfawley commented on June 23, 2024 1

there are 178,000 usages

The go stdlib ioutil package, deprecated in 2022, is still imported by almost 700k packages: https://pkg.go.dev/io/ioutil?tab=importedby

We're following all the guidelines here as best we can. I'm sorry this has inconvenienced you, but you probably do need a way to allow the use of deprecated features in your presubmits, so you don't have to immediately update >100 call sites at the same time you update a dependency. For example, we have a list of exceptions here:

grpc-go/scripts/vet.sh

Lines 123 to 125 in 0020ccf

# Only ignore the following deprecated types/fields/functions and exclude
# generated code.
noret_grep "(SA1019)" "${SC_OUT}" | not grep -Fv 'XXXXX PleaseIgnoreUnused

An explanation of this change and why we made it can be found in https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md. Let us know if you have any questions or other concerns about it.

from grpc-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.