GithubHelp home page GithubHelp logo

disable `deno upgrade` about pantry.core HOT 2 CLOSED

mxcl avatar mxcl commented on June 10, 2024
disable `deno upgrade`

from pantry.core.

Comments (2)

zegl avatar zegl commented on June 10, 2024

Hey!

A good start to fixing this issue could be to disable the self-upgrade notification message. This can be done by setting the DENO_NO_UPDATE_CHECK env var (ref). It doesn't prevent upgrades, but it might stop the temptation of users to upgrade deno in a non-tea way.

I'll send a PR soon that adds an option to package.yml to set runtime env vars. I'd imagine that many similar self-upgradeable tools have some way of disabling self upgrade either through runtime configs or compile time flags. Unfortunately deno does not provide a way to do it at compile-time.

To prevent upgrades over all, using sandbox-exec (pkgxdev/pkgx#77) sounds like a good idea.

from pantry.core.

mxcl avatar mxcl commented on June 10, 2024

To prevent upgrades over all, using sandbox-exec (pkgxdev/pkgx#77) sounds like a good idea.

Ah yes, I see why you did #77 like you did now.

We could still do this, just we may have to allow writes to certain parts of TEA_PREFIX, eg. tmp or var.

Definitely I would love to do this if we can without it being more hassle than it is worth.

from pantry.core.

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.