Commit Graph

78 Commits (master)

Author SHA1 Message Date
Edwin Kofler df95293fcd fix: Improve message when installing no packages 9 months ago
Edwin Kofler 9c34a8f0d8 fix: Interpret most escape sequence within JSON strings 10 months ago
Sam Likins 79481450fe
List Commands with Descriptions (#161)
* Updated `utils.sh` with `bpkg_exec_exist` and `bpkg_exec_or_exit`.
* Updated scripts with `bpkg_exec_or_exit`.
* Updated `install.sh` to utilize utility functions.
* Updated `runner` in `run.sh`.
* Added `--list` option to `run.sh`.
* Added `commands-description` to `bpkg.json`.
* Updated README TOC and missing `dependencies-dev` section.
* Added `commands-description` section to README.
* Corrected failing shellcheck.
1 year ago
Sam Likins d1e1a76242 Added install development dependencies functionality. 1 year ago
Sam Likins b9b0ec631e Modify local install link:
Changed symbolic link from absolute to relative for compliance in shared containers
1 year ago
Joseph Werle 2148b2e06b refactor(): clean up useless versions in subcommands 2 years ago
Joseph Werle 1588f1edd3 feat(): introduce 'bpkg-realpath' 2 years ago
jwerle cd903cd9a1 fix(bpkg-install): fix usage of '$BPKG_PACKAGE_DEPS' var 2 years ago
jwerle 8126a2cbfa refactor(lib/install/install.sh): support dir path in 'bpkg-install' 2 years ago
jwerle 457f02d0fa refactor(lib/install/install.sh): install local deps by default, handle many pkgs 2 years ago
jwerle fe8f5c942c fix(): fix broken environment variables 2 years ago
jwerle c6e2fd1d09 fix(): use '#!/usr/bin/env bash' 2 years ago
jwerle c5ecb73298 (bpkg-env): introduce 'bpkg-env 2 years ago
jwerle aee770b699 fix(): fix stderr output redirection 2 years ago
jwerle 35b1b10fb4 fix(lib/install/install.sh): support 'repo' in 'bpkg.json' 2 years ago
jwerle edaf0cab93 refactor(): support 'commands' for 'bpkg run' and 'BPKG_SCRIPT_SOURCES' env var 2 years ago
jwerle 9c96da562e fix(install.sh): fix broken url 2 years ago
jwerle f4665a5b74 refactor(lib): cleanup, remove useless code, fix lint 2 years ago
jwerle dfb978c167 fix(install.sh,run.sh): fix output 2 years ago
jwerle 1d6eeb6529 feat(): introduce 'bpkg source <name>' 2 years ago
jwerle 9ea0f02b76 feat(): introduce 'bpkg-run' 2 years ago
jwerle c9ef8595ec refactor(): support custom 'deps/' dir 2 years ago
jwerle de503e955e refactor(): support 'bpkg.json' 2 years ago
Ben Peachey 4af346da14 Fix more Shellcheck violations. 2 years ago
Ben Peachey 574a928de8 Fix various Shellcheck violations. 2 years ago
Ben Peachey 7494024a57 Fix all Shellcheck SC2206 violations. 2 years ago
Ben Peachey 4c6a99ad3b Remove unused variable. 2 years ago
Ben Peachey 28b14b9fdd Fix all Shellcheck SC2034 violations. 2 years ago
Ben Peachey a53a6648cc Fix all Shellcheck SC2155 violations. 2 years ago
Ben Peachey d30daebb1b Fix all Shellcheck SC2236 violations. 2 years ago
Ben Peachey 0485cbd0ba Fix all Shellcheck SC2059 violations. 2 years ago
Ben Peachey 2e17e87472 Fix all Shellcheck SC2053 violations. 2 years ago
Ben Peachey dd4bfbd678 Fix all Shellcheck SC1090 violations. 2 years ago
Ben Peachey ca20c53aff Add support for bpkg.json, next to package.json. 2 years ago
Francesco Bianco 1103e4bd2e Fix unresolved branch in repository that use 'main' instead of 'master' as default branch 2 years ago
Joseph Werle 707863ee25 refactor(lib/install/install.sh): Use single bracket with quoted USER env variable 4 years ago
Dominic Giglio 9d497908cd refactor(lib/install/install.sh): Use double-quotes and double bracket conditional compound 4 years ago
Jean Claveau 9ce37a2f98 prefix by user during install 4 years ago
Dmitri Gopkalo b192e96790 Update install.sh 5 years ago
Dmitri Gopkalo 922217b616 package_json_name_parse_fix
- fix problem when we has 
package.json with:
``` "files": ["lib/name.sh"]```
5 years ago
Ben Peachey d843146bd0 Fixes bug in bpkg-install global check
The bug occurred when a "global" section was present in a `packages.json` file but had a value other than "true".
Due to the logic of the check, such a package would then be marked for global install.
6 years ago
Ben Peachey b3e80ec22f Fixes bug in bpkg-install scripts download
The bug occurred when scripts were not in the root of the package.
Also cleans up the download logic for the files section.
6 years ago
Ben Peachey 4aa4e4b51a Add message in bpkg-install clarifying sub-dependencies are being installed. 6 years ago
Ben Peachey 0b21ee1b21 Changes logic to create array from JSON sections in bpkg-install. 6 years ago
Ben Peachey d0df4f28f1 Fixes bug in bpkg-install global check
Bug was caused by incorrect placement of quoute character, causing the result of a check to be incorrect.
6 years ago
Ben Peachey ba0308f5c3 Fixes bug in save_remote_file function in bpkg-install
The bug occurred if a save-path did not exists. The function now attempts to create the directory before trying to save a file to it.
6 years ago
AdrieanKhisbe 62d6d15ee9 checkout the right version in the cloned repository during install 7 years ago
Christopher B. Hauser b55bc82ebd fix scripts array for loop, issue #82 (#84) 7 years ago
Ben Peachey e9a0278bce Adds missing null check (#83)
Adds a check to make sure that the "$scripts" array in the install script is not empty.
7 years ago
Ben Peachey 2a30578d0b Issues 78 - Makes `install.sh` more shellcheck compliant. (#81)
* Issues 78 - Makes `install.sh` more shellcheck compliant.

* Adds wrapper for curl calls.

* Replaces unneeded double quotes with single quotes.

* Replaces single bracket tests with double bracket tests.

* Adds function for saving remote files locally.

* Adds null checks.

* Fixes incorrect curl parameters.

* Wraps logic to get package.json in separate function.

* Adds cleaner solution for curl calls in install.sh.
7 years ago