Giter Site home page Giter Site logo

Comments (11)

AlbertoElias avatar AlbertoElias commented on June 8, 2024

There are three different update related issues, this one, #43 and #39 With the new obt, what should we do about this? Is semver plus update-notifier a good option?

from origami-build-tools.

triblondon avatar triblondon commented on June 8, 2024

I don't have much of an opinion other than that we should def notify people that there's an update available.

from origami-build-tools.

AlbertoElias avatar AlbertoElias commented on June 8, 2024

The problem that update-notifier seems to have is that the build tools would need to be listed in the npm registry

from origami-build-tools.

samgiles avatar samgiles commented on June 8, 2024

Is listing in the npm registry such a bad idea? Devs can install using npm install origami-build-tools or something similar rather than using master at whatever time they install.

from origami-build-tools.

triblondon avatar triblondon commented on June 8, 2024

Personally I'd rather we didn't. Isn't there something we can use that just checks git? All it needs to do is a git ls-remote.

from origami-build-tools.

AlbertoElias avatar AlbertoElias commented on June 8, 2024

Another option might be to check https://github.com/Financial-Times/origami-build-tools/releases/latest and compare that with the current git tag or maybe even with the version in the package.json file

from origami-build-tools.

AlbertoElias avatar AlbertoElias commented on June 8, 2024

Or maybe even simpler, compare the current version in the package.json file with the version in master

Suggestions? @triblondon @kavanagh @matthew-andrews @samgiles

from origami-build-tools.

triblondon avatar triblondon commented on June 8, 2024

You don't want to do that every time you run a command though. How do update notifiers keep track of how often they are checking for updates?

from origami-build-tools.

AlbertoElias avatar AlbertoElias commented on June 8, 2024

Oh no, I would see if the update check had run in the last 24h, and if not, do it. That's how update-notifier does it I believe

from origami-build-tools.

triblondon avatar triblondon commented on June 8, 2024

Cool, do it.

On 14 October 2014 12:27, Alberto Elias [email protected] wrote:

Oh no, I would see if the update check had run in the last 24h, and if
not, do it. That's how update-notifier does it I believe


Reply to this email directly or view it on GitHub
#44 (comment)
.

from origami-build-tools.

AlbertoElias avatar AlbertoElias commented on June 8, 2024

Can these be closed now that #81 is merged?

from origami-build-tools.

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.