Giter Club home page Giter Club logo

Comments (8)

0rax avatar 0rax commented on June 4, 2024 1

Thanks a lot ! Your script is really useful and saves a lot of time when I want to push an upgrade to a casks !

from tiny-scripts.

vitorgalvao avatar vitorgalvao commented on June 4, 2024 1

Done.

from tiny-scripts.

0rax avatar 0rax commented on June 4, 2024 1

That's working perfectly, thanks a lot !

from tiny-scripts.

vitorgalvao avatar vitorgalvao commented on June 4, 2024

Non-https remotes historically caused a lot of trouble, so I’m not very inclined to allow those. Yes, some people might be stopped from using the script, but not enough to be worth the hassle.

Edit cask-repair on your machine and comment out line 396. That alone should fix it for your case. Please try it out and report back.

from tiny-scripts.

0rax avatar 0rax commented on June 4, 2024

It works fines once commented, thanks !

Would a command line option be something to consider then ? I don't really see myself having to do the modification each time the script is updated but aliasing cask-repair to cask-repair -u is pretty much fine.

I can understand that you do not wish to allow non-https remotes by default though I don't really see how they might cause problem.

from tiny-scripts.

vitorgalvao avatar vitorgalvao commented on June 4, 2024

Would a command line option be something to consider then ?

Not really, that’d be a confusing option.

I can understand that you do not wish to allow non-https remotes by default though I don't really see how they might cause problem.

This isn’t hypothetical. They did cause problems. That said, they did so before the script revamp, so I may have fixed those issues inadvertently. I’ll add [email protected]:caskroom/ to that check in the script. If it causes problems in the future, I’ll deal with them then.

from tiny-scripts.

0rax avatar 0rax commented on June 4, 2024

@vitorgalvao Just checked the code and tested. It is not working properly as ssh remote are [email protected]:caskroom and not [email protected]/caskroom.

from tiny-scripts.

vitorgalvao avatar vitorgalvao commented on June 4, 2024

Should be fixed now.

from tiny-scripts.

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.