Giter VIP home page Giter VIP logo

Comments (4)

asmagill avatar asmagill commented on May 22, 2024

been out of touch for a bit -- yeah, versioning of the OS and deprecated functions has been something I've been mulling over lately... I've been avoiding some functionality because of it, but don't have a good way myself to test what's still hanging around...

For modules to be included as part of this new build process, what OS are we targeting? Lately I've been shooting for 10.7 where possible, but even that's getting hard sometimes, as 10.10 has actually removed some things rather than just deprecating them. As for out of band items, anyone have a good process for a makefile or code to check OS version and throw appropriate exceptions or errors? The only one I've seen so far relies on 10.9+ features, but I'll admit to not looking too hard yet!

from hammerspoon.

cmsj avatar cmsj commented on May 22, 2024

My opinion is to target the latest OS release only, but I would be fine with:

  • Keep the core compatible with older releases (not hard since it's unlikely to change very much)
  • Someone makes a way for modules to express a minimum required OS and refuse to load them on older OS versions

I do think that we need to be careful here - I don't want to hold back lots of awesomeness for the majority on the latest OS, because of a tiny minority who are either forced to use an older release, or are refusing to upgrade.

from hammerspoon.

Habbie avatar Habbie commented on May 22, 2024

My feelings: okay to require 10.10 for building, maybe help people with building on older versions by skipping modules, so they can still develop/patch. I haven't heard reasons to make core require 10.10, indeed, so if we can limit requiring 10.10 at runtime to specific modules, I'd love that.

I fully agree that holding back on awesome stuff would be bad, and if we run into that, I'm happy to reconsider my feelings :)

As for

Someone makes a way for modules to express a minimum required OS and refuse to load them on older OS versions

I have a hope that we can just catch the dlopen failure, but if not, version checks indeed.

from hammerspoon.

cmsj avatar cmsj commented on May 22, 2024

So, we've been going at this for a while and we haven't really run into this issue in practice, afaics. I'm going to close this issue out because I don't think we actually need to do anything at the moment. If that changes, or if anyone disagrees, please re-open :)

from hammerspoon.

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.