Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

latest / semver alias URL for the latest version's tarball #80

Description

@jonathanong

would be nice to be able to do something like GET http://iojs.org/download/latest/iojs-latest.tar.gz and maybe a semver version like ~1.0.2

Activity

  1. Fishrock123 commented on Jan 19, 2015

    @Fishrock123
    Contributor

    You mean as a header?

  2. jonathanong commented on Jan 22, 2015

    @jonathanong
    Author

    no, a 303 redirect or just another API end point. so i can curl latest without knowing the actual latest version.

  3. therebelrobot commented on Jan 22, 2015

    @therebelrobot
    Contributor

    +1 to having a single endpoint pointing to the latest build, though this may need to be brought to the build team

  4. Fishrock123 commented on Jan 22, 2015

    @Fishrock123
    Contributor
  5. zeke commented on Jan 22, 2015

    @zeke
    Contributor
    » curl https://semver.io/iojs.json | json
    
    {
      "stable": "1.0.3",
      "unstable": "1.0.3",
      "all": [
        "1.0.0",
        "1.0.1",
        "1.0.2",
        "1.0.3"
      ],
      "stableVersions": [
        "1.0.0",
        "1.0.1",
        "1.0.2",
        "1.0.3"
      ],
      "updated": "2015-01-22T20:21:32.953Z"
    }
    
    » curl https://semver.io/iojs/stable
    
    1.0.3
    
  6. jonathanong commented on Jan 22, 2015

    @jonathanong
    Author

    i want to do this, which i can do with node but not iojs:

    curl http://nodejs.org/dist/node-latest.tar.gz | tar -C /usr/local --strip-components=1 -xvz
    
  7. Fishrock123 commented on Jan 22, 2015

    @Fishrock123
    Contributor

    That prints a list of files?

  8. jonathanong commented on Jan 22, 2015

    @jonathanong
    Author

    that installs node...

  9. changed the title [-]latest / semver symlinks[/-] [+]latest / semver alias URL for the latest version's tarball[/+] on Jan 22, 2015
  10. Fishrock123 commented on Jan 22, 2015

    @Fishrock123
    Contributor

    OH

    I see what you mean.

    @rvagg can we have http://iojs.org/download/latest/iojs-latest.tar.gz point to the latest stable? We could also do a nightly one.

    @jonathanong how do you propose semver selectors would look like / work for this?

  11. jonathanong commented on Jan 22, 2015

    @jonathanong
    Author

    http://iojs.org/download/~1.0.0/iojs.tar.gz? whatever makes sense, but i'd expect the semver to be within //s for easier routing.

  12. rvagg commented on Jan 23, 2015

    @rvagg
    Member

    I'm not convinced this is a good idea just to avoid an additional lookup. You're essentially asking for a symlink copy for each file in each version directory too because we have one per supported platform.

  13. Fishrock123 commented on Jan 23, 2015

    @Fishrock123
    Contributor

    I think it would be better to not symlink but have ngnix serve the correct one.

    Basically, since nodejs.org does this, should we also?

  14. rvagg commented on Jan 23, 2015

    @rvagg
    Member

    what nodejs.org serves is the source tarball, does it serve an installable tarball for each platform?

  15. Fishrock123 commented on Jan 23, 2015

    @Fishrock123
    Contributor

    I do know it installed properly for me. (OS X)

  16. mscdex commented on May 5, 2015

    @mscdex

    +1 to some kind of easy-to-get-to latest tarball url, at least for the source code tarball (and/or xzball).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions