2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-02 03:40:28 +00:00
Commit Graph

179 Commits

Author SHA1 Message Date
Ben Peachey
a53a6648cc Fix all Shellcheck SC2155 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
427ad007be Fix all Shellcheck SC2230 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
ef99e9550d Fix all Shellcheck SC2219 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
d30daebb1b Fix all Shellcheck SC2236 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
355a1bd49d Fix all Shellcheck SC2086 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
0485cbd0ba Fix all Shellcheck SC2059 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
2e17e87472 Fix all Shellcheck SC2053 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
f55825365e Fix all Shellcheck SC2004 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
dd4bfbd678 Fix all Shellcheck SC1090 violations. 2022-03-23 11:16:59 -07:00
Ben Peachey
ca20c53aff Add support for bpkg.json, next to package.json. 2022-03-23 11:16:59 -07:00
Ben Peachey
e57476b661
Merge pull request #138 from francescobianco/support-main-branch
Fix unresolved branch in repository that use 'main'
2022-01-09 22:52:58 +01:00
Francesco Bianco
1103e4bd2e Fix unresolved branch in repository that use 'main' instead of 'master' as default branch 2022-01-08 00:31:31 +01:00
sinkcup
d5f6bcb199 docs: remove GitHub generated code 2021-08-14 22:13:07 -04:00
sink
501633af82 docs: remove command prefix(#135) 2021-08-14 22:13:07 -04:00
Ben Peachey
92c3225eed
Release v0.3.2. 2021-01-01 13:35:51 +01:00
Joseph Werle
707863ee25 refactor(lib/install/install.sh): Use single bracket with quoted USER env variable 2020-03-19 09:26:48 -04:00
Dominic Giglio
9d497908cd refactor(lib/install/install.sh): Use double-quotes and double bracket conditional compound 2020-03-19 09:26:48 -04:00
Joseph Werle
f0496dfbf5 refactor(setup.sh): Use single bracket with quoted USER env variable 2020-03-19 09:26:29 -04:00
Dominic Giglio
8e9e6e96f4 refactor(setup.sh): Use double-quotes and double bracket conditional compound 2020-03-19 09:26:29 -04:00
Jean Claveau
37008f0560 Update README Fixes #76 2020-01-12 15:31:52 -05:00
Jean Claveau
9ce37a2f98 prefix by user during install 2020-01-12 15:31:52 -05:00
Jean Claveau
ab8f787e4b Setup to $HOME/.local if run as non root user 2020-01-12 15:31:52 -05:00
Ben Peachey
66ffdf24df
Release 0.3.1 2019-07-27 11:24:31 +02:00
Ben Peachey
58a34bcd01
Merge pull request #111 from potherca-contrib/issues/110/clib-fails
Fixes install error with clib. Fixes #110.
2019-07-27 11:22:01 +02:00
Ben Peachey
9eb87f5974
Fixes install error with clib. 2019-07-27 11:07:29 +02:00
Dmitri Gopkalo
b192e96790 Update install.sh 2019-04-20 23:46:28 -04:00
Dmitri Gopkalo
922217b616 package_json_name_parse_fix
- fix problem when we has 
package.json with:
``` "files": ["lib/name.sh"]```
2019-04-20 23:46:28 -04:00
Jess
fe23f7b778 Added call to donate after npm install (optional) 2018-07-30 07:57:21 -04:00
Jess
04e699c4c4 Added backers and sponsors on the README 2018-07-30 07:57:21 -04:00
Joseph Werle
958b00eb52 Release 0.3.0 2018-02-02 11:19:11 -05:00
Ben Peachey
1107d7608c Changes various (text) files to *not* be executable
This change affects LICENSE, README.md, package.json and Makefile files.
2018-02-02 11:16:54 -05:00
Ben Peachey
ab8c1ed12a Changes version in bpkg.sh to "0.2.9"
Fixes #59
2018-02-02 11:14:15 -05:00
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.
2018-02-02 11:13:40 -05:00
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.
2018-02-02 11:13:40 -05:00
Ben Peachey
4aa4e4b51a Add message in bpkg-install clarifying sub-dependencies are being installed. 2018-02-02 11:13:40 -05:00
Ben Peachey
0b21ee1b21 Changes logic to create array from JSON sections in bpkg-install. 2018-02-02 11:13:40 -05:00
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.
2018-02-02 11:13:40 -05:00
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.
2018-02-02 11:13:40 -05:00
Joseph Werle
72c9a90e3f Reintroduce Makefile that invokes setup.sh 2017-10-16 13:30:23 -04:00
Joseph Werle
18a66dbddc Release 0.2.9 2017-09-30 11:42:18 -04:00
AdrieanKhisbe
62d6d15ee9 checkout the right version in the cloned repository during install 2017-09-30 11:21:20 -04:00
Joseph Werle
9bbe98c624 bpkg.io > bpkg.sh
Update script to reflect new domain
2017-07-26 13:12:14 -04:00
Christopher B. Hauser
0be274e450 dummy change to trigger travis 2017-06-24 07:26:49 -07:00
Christopher B. Hauser
364b7cdb98 Travis integration for testing, issue #85 (#86)
* fix scripts array for loop, issue #82

* add travis ci

* add sudo to install in /usr/...

* bugfix sudo

* Update README.md

* change travis badge to bpkg for PR
2017-06-22 07:21:06 -07:00
Christopher B. Hauser
b55bc82ebd fix scripts array for loop, issue #82 (#84) 2017-06-19 10:35:21 -04:00
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.
2017-06-18 21:19:56 -04:00
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.
2017-04-03 18:12:28 -04:00
Abdelkafi Ahmed
0617f26461 Replace with $( ) inside strings and in commands (#77)
* Changed how to execute shell commands inside output strings

* Removed the extra { }

* Drop changes to JSON files inside lib/json
2017-02-06 10:28:58 -05:00
Joseph Werle
c1f0cd3664 Merge pull request #73 from StephenHamilton/global-local-install
Preventing Double Install
2016-09-16 12:27:09 -04:00
Benoit Hiller
8c48808195 moving local only prep into other branch
This changes moves things like creating the deps dir and installing
dependencies into the local branch of the installer. This will stop
it from trying to install dependencies when you do global installs.
Installing dependencies for global installs doesn't look like it
actually worked though.
2016-09-15 20:23:06 -04:00