aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_tap.rb
AgeCommit message (Collapse)Author
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-08-06tests: fix code style issues (#587)Andrea Kao
2016-07-27tap: test fetch/validation of invalid tap namesMartin Afanasjew
2016-07-09tap: run readall when tapping. (#396)Mike McQuaid
* readall: move readall logic to new class. * tap: run readall when tapping. This will prevent tapping an tap with syntax errors from causing issues for users. Fixes #58.
2016-04-19Tap#install: better TapRemoteMismatchError checkXu Cheng
* remote check requires `git` installed. * Do not perform check if user does not passing remote explicitly. Fixes #108
2016-04-12tap: various improvements (#77)Xu Cheng
* make `read_or_set_private_config` private * add doc * add test
2016-04-05tap: support --full even if installedilovezfs
Makes `tap` re-runnable and unshallows when requested with `--full`. Tapping with a different URL raises an exception. The homebrew/core tap cannot be untapped with `untap` so running `brew tap --full homebrew/core` is now a built-in way to get a full clone of this tap without resorting to workarounds. Closes #17. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-04-02fix brew testsXu Cheng
Fix the `brew tests` problem caused by core/formula separation.
2016-03-08Set HOMEBREW_API_TOKEN from Git when available.Mike McQuaid
As requested in Homebrew/homebrew#46578. Falls back to existing functionality. Closes Homebrew/homebrew#46578. Closes Homebrew/homebrew#49846. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-03-07rename CoreFormulaRepository to CoreTapXu Cheng
Core tap will be separated from core code in the near future. It makes sense to rename it to CoreTap.
2016-03-06tap: add methods to get git related informationXu Cheng
These methods will be used in `brew --version`, `brew config` and `brew doctor` after core/formula separation. Closes Homebrew/homebrew#49796. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-25add Tap#tap_migrationsXu Cheng
This enables tap migration feature in per tap case, which will ultimately help core/formula separation.
2016-02-16add Tap#formula_file?Xu Cheng
Return true if given path would present a Formula file in this Tap. Accepts both absolute path and relative path (relative to this Tap's path) It offer an abstraction such that caller would not need to worry about low level file system in the tap. It will be used in `brew pull` and `brew update`. Closes Homebrew/homebrew#49191. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-11test_tap: restore private remote testXu Cheng
Only test it if HOMEBREW_GITHUB_API_TOKEN is set.
2016-01-11test_tap: remove problematic testXu Cheng
`Tap#private?` requires Github API, which can cause problem on Travis CI due to API rate limit.
2016-01-04test: don't fail if GitHub API is unavailableMartin Afanasjew
Tests shouldn't fail in case of an unavailable network or a deliberately disabled access to the GitHub API. Closes Homebrew/homebrew#47670. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-30Tap#issues_url addedBaptiste Fontaine
Closes Homebrew/homebrew#47454. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-19add test_tapXu Cheng