You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ArchLinux): binary not downloaded when no release file is found. Plus other code fixes and cleanups (tnx @hasezoey)
* Add notes on what is needed to detect the linux-distro
fixes#248
* Adding basic Pull Request Template
Adding Inital Bug Issue Template
Adding Inital Question Issue Template
fixes#255
* Change note about ArchLinux
* Add TSDoc to MongoBinaryDownloadUrl
Add cases for ArchLinux & Alpine (no offical build)
ElementaryOS Error handling (warn lsb_release error)
Make some string assembling more readable
* Add sub-chapter "Known Incompatibilities" to "Requirements"
* Make "locationExists" async for non-blocking
* Shrink resolve-config functions thanks to "optional-chaining"
add function "envToBool" to resolve-config
* Convert "MONGOMS_MD5_CHECK" to use resolve-config
Shrink thanks to Nullish Coalescing
Add TSDoc
Remove "eslint-disable-line" (why was it there?)
Check agianst "this.dlProgress.length" instead of an constant number
Promisify sync-fs functions to make them non-blocking and awaitable
* MongoBinary: use envToBool instead of long line
postinstall: disable rule "@typescript-eslint/no-var-requires"
* fix tests
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,17 @@ Choose any package, because they are the same. Differs only by default configura
34
34
NodeJS: 8+
35
35
Typescript: 3.7+ (if used)
36
36
37
+
One of those:
38
+
39
+
- having `lsb-core` installed (or any that provides the `lsb_release` command)
40
+
- having an `/etc/os-release` file that is compliant to the [OS-Release Spec](https://www.freedesktop.org/software/systemd/man/os-release.html)
41
+
- having an `/etc/*-release` file that is compliant to the [OS-Release Spec](https://www.freedesktop.org/software/systemd/man/os-release.html) (and does not include `lsb`)
42
+
43
+
#### Known Incompatibilities
44
+
45
+
- ArchLinux & Alpine do not have an offical mongodb build
46
+
- ArchLinux(Docker) does not have an `/etc/os-release` file by default
47
+
37
48
### `mongodb-memory-server`
38
49
39
50
Auto-downloads the latest `mongod` binary on npm install to: `node_modules/.cache/mongodb-binaries`.
0 commit comments