2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-08 01:10:36 +00:00
Commit Graph

151 Commits

Author SHA1 Message Date
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
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
c746f3618e Merge pull request #63 from gregorynicholas/master
updates README.md install docs
2016-09-13 08:00:53 -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
Joseph Werle
d88e82c287 Merge pull request #69 from nfischer/clarify-username
Clarify that "username" means "Github username"
2016-08-05 17:55:18 -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
Joseph Werle
4fbebd4126 Merge pull request #65 from reduxionist/patch-1
Update README.md
2016-07-19 14:51:38 -06:00
Joseph Werle
fe0827d542 Merge pull request #67 from adjohnson916/patch-1
fix readme typo "omission"
2016-07-19 14:51:19 -06:00
Anders D. Johnson
6965c42429 fix readme typo "omission" 2016-07-19 15:40:55 -05:00
Joseph Werle
05886a29f8 Merge pull request #66 from kba/master
Add Table of Contents to README
2016-06-19 08:42:33 -04:00
Konstantin Baierer
4fcc571d02 Add Table of Contents to README 2016-06-19 13:20:21 +02:00
Jonathan Barratt
fb513cdc51 Update README.md
fix minor typos
2016-06-11 14:30:39 +07:00
gregory nicholas
6a2f4fc933 updates README.md install docs
- updates the url to curl for `setup.sh`
2016-03-30 13:34:33 -07:00
Joseph Werle
9dafac663d Merge pull request #62 from BrandonOCasey/files-array
added files array support to install/package.json
2016-02-28 18:29:41 -05: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
Joseph Werle
b25c484cb8 Merge pull request #61 from BrandonOCasey/fix-setup
updated setup.sh to install getdeps
2016-02-24 18:06:39 -05:00
brandonocasey
594474720c updated setup.sh to install getdeps
this prevents the error 'error: `getdeps' is not a bpkg command.'
2016-02-24 17:19:50 -05:00
Joseph Werle
f2e29fb508 Merge pull request #58 from thoward/master
Add recursive dependency resolution via package.json
2016-02-16 08:02:52 -05:00
Troy Howard
af0efc54c5 add recursive dependency resolution via package.json 2016-01-30 12:47:10 -08:00
Joseph Werle
cd9fdc79fe Release 0.2.8 2015-12-22 08:30:34 -05:00
Joseph Werle
7cc8b1e126 fix typo 2015-12-22 08:30:23 -05:00
Joseph Werle
90db35f49f Update package.json 2015-09-07 16:24:44 -04:00
Joseph Werle
faaf63b117 Merge pull request #47 from sschuberth/master
Refer to "setup.sh" instead of an "install" script
2015-06-26 15:19:46 -04:00
Sebastian Schuberth
4fbae9141a Refer to "setup.sh" instead of an "install" script
This is a fixup for bff2fde.
2015-06-25 20:45:13 +02:00
Chris Carpita
03da496b63 Merge pull request #46 from sschuberth/master
Make bpkg install properly on MSYS
2015-06-25 13:08:58 -04:00
Sebastian Schuberth
ab3868a421 Also print some output for the "link" target 2015-06-25 17:12:59 +02:00
Sebastian Schuberth
5e36050143 Support installing on file systems that do not support symbolic links
When cloning a Git repository that contains symbolic links to a file
system that does not support symbolic links, Git replaces the links with
plain text files that contain the path to the target file. If we encouter
such files, install the linked source file rather than the link.
2015-06-25 17:12:59 +02:00
Sebastian Schuberth
9cd59f05f8 Ensure symbolic links have absolute targets
Fixes #21.
2015-06-25 17:12:58 +02:00