2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-19 15:25:36 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
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
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
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
Benoit Hiller
5916a6b3de preventing double install
The existing behaviour was to perform a global install in addition to
a local one rather than instead of.

fixes #70
2016-09-15 20:06:27 -04:00
Joseph Werle
ac0f1f5d16 Merge pull request #68 from nfischer/fix-return-status
Fix template return code generated by `bpkg init`
2016-08-05 17:56:16 -04:00
Nate Fischer
b570ebfcd0 Clarify that "username" means "Github username" 2016-08-04 20:09:04 -07:00
Nate Fischer
887fb48c11 Fix template return code generated by bpkg init 2016-08-04 20:00:05 -07:00
brandonocasey
5b707579cb added files array support to install/package.json
updated readme with files entry
moved package.json copy near the start of install
moved directory creation to the start of install
moved getdeps to the start of install
2016-02-27 03:25:03 -05:00
Troy Howard
af0efc54c5 add recursive dependency resolution via package.json 2016-01-30 12:47:10 -08:00
Joseph Werle
7cc8b1e126 fix typo 2015-12-22 08:30:23 -05:00
JuanPablo
3091eef2f2 after local install, script to PATH
* if the installed file is a script in the json file, after
  install, a symbolic link is made from
  deps/package_name/script.sh -> deps/bin/script
  and the script get user execution permissions
2015-02-21 20:49:48 +00:00
Chris Carpita
5ad5fc9318 Improvements to bpkg init
- Generate README.md file with description and install directions pre-filled
- Generate $NAME.sh file with boilerplate, including source-check, usage,
-   argument processing, and version print.
- Nice default for package.json "install" field
- Initialize git repo if one does not exist
- Fix issue with prompt where delete key erased prompt, by using `read -p`
2014-10-10 13:39:08 -04:00
Chris Carpita
cc6d9dd6fe Separate command doc from option doc 2014-10-09 12:27:20 -04:00
Chris Carpita
8b9c57cfbf Use ordered parameters for readme/sources, fix for git remote auth disclosure 2014-10-09 10:32:36 -04:00
Chris Carpita
9c537d7b73 Add command (show) to display package details from remote
- Use --details flag to print remote README.md
- Use --source flag to print scripts sources
2014-10-08 18:52:35 -04:00
Chris Carpita
e25906484f Support wiki-based repository index
New Plugins:
- bpkg-update: sync repo listings locally
- bpkg-list: list the repo names, with -d flag for details
- bpkg-utils: source-only shared utilities for bpkg plugins

Change-Id: I9ef04a86efa35c61cabd7c4ecfa7c7a134b41c6c
2014-10-08 13:51:54 -04:00
Chris Carpita
02b481ae2e Shorten line, fix fallback array formatting
Change-Id: I911e69a115bf9c6f5e029626480aa83b63f2c09e
2014-10-07 16:11:46 -04:00
Chris Carpita
6c5079c099 Support for GHE and multiple remotes
Change-Id: I87cab44e86ccf35480a4db02f0e0e4089caf970b
2014-10-07 15:36:53 -04:00
Joseph Werle
59ec0a6cf5 fuzzy match for arrays.. 2014-09-11 14:30:24 -04:00
Joseph Werle
6c207359b3 fix install bug 2014-09-09 10:48:15 -04:00
Dominic Giglio
ac6b1c86f0 grr redirection 2014-07-16 17:18:22 -04:00
Dominic Giglio
ce020ab885 add -e 2014-07-16 17:15:22 -04:00
Dominic Giglio
fba52d6819 remove depth for private ghe instances 2014-07-15 17:40:36 -04:00
Stephen Mathieson
ac4be078ea install: fix "missing" typo 2014-06-16 19:41:26 -04:00
Ben Kogan
6393eb48d8 Add bpkg-init script 2014-05-29 11:42:41 -04:00
Joseph Werle
bbf13862e2 make less strict to allow for existing repos to work as long as 'make install' works :) 2014-05-27 19:28:16 -04:00
Joseph Werle
a2f31437df Fix invalid refs to term 2014-05-26 10:16:06 -04:00
Joseph Werle
45914f4103 enhance suggest 2014-05-26 00:36:49 -04:00
Joseph Werle
b131781b39 enhance install 2014-05-25 19:22:12 -04:00
Joseph Werle
506762608d Add suggest and show helpful commands in help menu 2014-05-25 17:19:13 -04:00
Joseph Werle
4c3589b0bc cache bust requests 2014-05-25 16:32:46 -04:00
Joseph Werle
d8d37a1bc3 liberal about flags and fix global install bug 2014-05-25 15:11:25 -04:00
Joseph Werle
ada51d99e6 honor global attribute 2014-05-24 15:33:24 -04:00
Joseph Werle
b64588e39a use colors in install 2014-05-24 15:29:07 -04:00
Joseph Werle
a7bbe0383a add term 2014-05-24 13:05:32 -04:00
Joseph Werle
388a23dfab fix install 2014-05-22 20:07:51 -04:00
Joseph Werle
3becfc7c31 woops 2014-05-22 16:52:20 -04:00
Joseph Werle
d1b688550a support install for global 2014-05-22 16:49:04 -04:00
Joseph Werle
497a0e76de fix stuffz 2014-05-22 16:34:28 -04:00
Joseph Werle
487c69c0d7 escape quote 2014-05-22 15:56:13 -04:00
Joseph Werle
16a53e5bcb init 2014-05-22 15:52:58 -04:00