Giter Club home page Giter Club logo

download-url's Introduction

mongodb-download-url

Lookup download URL's for MongoDB versions.

Installation

npm install -g mongodb-download-url

Usage

Usage: mongodb-download-url

Get the URL to download a MongoDB tarball or zip.

Usage:
  mongodb-download-url <version>

Options:
  --version            A semver-ish version string [Default: `stable`].
  --platform           The operating system [Default: `process.platform`].
  --bits               CPU arch [Default: `process.arch`].
  --debug              Debug build [Default: `false`].
  -h --help            Show this screen.
  --version            Show version.

License

Apache 2.0

download-url's People

Contributors

addaleax avatar cognitom avatar daprahamian avatar dependabot-preview[bot] avatar dependabot[bot] avatar durran avatar greenkeeperio-bot avatar imlucas avatar jbach avatar judahschvimer avatar kangas avatar mbroadst avatar mcasimir avatar mstniy avatar ossdev07 avatar sethfalco avatar vkarpov15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

download-url's Issues

Add option for aarch64 to generate the URL

Hi,

I am working on the aarch64 architecture and trying to generate the URL to download MongoDB through this package.

But it is generating the URL of the X86 binary of MongoDB rather than of aarch64.

I looked into the package and can see in index.js there is no condition for the aarch64.

I would like to know, if you are interested we could put the architectural check for aarch64 in the index.js file so that it could generate the URL for aarch64.

ChainAlert: npm package release (1.2.1) has no matching tag in this repo

Dear mongodb-download-url maintainers,
Thank you for your contribution to the open-source community.

This issue was automatically created to inform you a new version (1.2.1) of mongodb-download-url was published without a matching tag in this repo.

As part of our efforts to fight software supply chain attacks, we would like to verify this release is known and intended, and not a result of an unauthorized activity.

If you find this behavior legitimate, kindly close and ignore this issue. Read more

badge

Remove flakey tests

These seem to fail about 30% of the time due to network timeouts:

  mongodb-download-url
    linux
      ✓ should resolve 2.4.14 (1642ms)
      ✓ should resolve 2.6.11 (525ms)

Fails on debian

It has been my experience that the output is not a valid url on Debian.
I am running it on Debian 10.
What it should output: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-debian10-4.4.4.tgz
Instead, it outputs: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.4.4.tgz
Which is not a valid url, and returns a 403 Forbidden.

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.