Dawid Dziurla
02cef968a2
dev-cmd/bump-formula-pr: always use full git repo as tap remote
2024-10-15 10:20:58 +02:00
Mike McQuaid
94416e82f0
Add new odeprecated, odisabled, remove disabled code.
...
Prepare the usual deprecation cycle for Homebrew 4.4.0.
2024-09-24 10:15:34 +01:00
Markus Reiter
b0508fe73a
Relax cask token regex.
2024-08-10 20:04:21 +02:00
Razvan Azamfirei
0b0fcdcdd2
homebrew/cask-versions: remove
2024-05-02 16:59:33 -04:00
Markus Reiter
ed07203f9e
Fix tap constants.
2024-02-22 22:03:54 +01:00
Markus Reiter
e0743a1436
Reapply "Refactor Formulary::loader_for
."
...
This reverts commit 24683525cb5abf3cc79a9e0e268fa6efd0af558b.
2024-02-22 18:24:57 +01:00
Mike McQuaid
24683525cb
Revert "Refactor Formulary::loader_for
."
2024-02-16 13:41:54 +00:00
Markus Reiter
726aeca245
Fix tap constants.
2024-02-14 20:28:08 +01:00
Markus Reiter
61a283ee45
Fix loading versioned casks/formulae from API.
2024-02-14 20:28:07 +01:00
Markus Reiter
4641690674
Refactor Formulary::loader_for
.
2024-02-14 20:28:06 +01:00
Markus Reiter
a8980a6abc
Fix code style.
2024-02-09 16:59:40 +01:00
Markus Reiter
1323262610
Rename constant.
2024-02-08 19:22:02 +01:00
Markus Reiter
bc6060721e
Remove unused capture group name.
...
Co-authored-by: Kevin <apainintheneck@gmail.com>
2024-02-07 11:27:12 +01:00
Markus Reiter
e5a6f765da
Revert "Merge pull request #16608 from bevanjkay/revert-16596-cask-rename-migrations"
...
This reverts commit 5799e8541567385c4d729cc3f0062b45e55b9936, reversing
changes made to 677517132782b276ba1c4ba77456adf7540d99ba.
2024-02-07 02:02:02 +01:00
Bevan Kay
f0b8845ad6
Revert "Handle tap migrations in CaskLoader
."
2024-02-06 20:16:03 +00:00
Markus Reiter
ed00dc0b95
Add type annotations for cask loaders.
2024-02-06 16:04:08 +01:00
Issy Long
f682147598
Fix RuboCop Style/RedundantFreeze
offenses
2024-01-18 22:20:01 +00:00
Douglas Eichelberger
d01cda2815
Turn up the types
2023-08-12 22:01:22 -07:00
Bo Anderson
44f058edb5
Refactor formula, cask and Ruby source downloads to use shared code
2023-04-27 23:23:07 +01:00
apainintheneck
e0ad960025
Load cask from API with fullname
...
This allows homebrew/cask/caskname
to work with the FromAPILoader.
Also, creates new constant to hold the
regex to validate main tap casks.
2023-01-31 19:39:10 -08:00
Alexander Bayandin
8dbbb20f08
tap_constants: allow to use underscore in cask names
2022-04-22 12:24:31 +01:00
Bo Anderson
a06d136d2c
Move Sorbet gems into an optional group
2021-06-11 08:10:30 +01:00
Markus Reiter
7348185347
Reorder global
.
2020-11-30 00:00:02 +01:00
Markus Reiter
8598b1186a
Handle macOS versions >= 11.1 correctly.
2020-11-23 13:46:15 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations.
2019-04-19 21:46:20 +09:00
Michka Popoff
45c61cdcdb
pull: fix tap name for linuxbrew
2019-02-27 18:29:59 +01:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
Markus Reiter
0ab6b957df
Make HOMEBREW_TAP_PATH_REGEX
also match exact path.
2018-07-25 11:04:00 +02:00
Markus Reiter
054229be90
Update Cask tap regex.
2018-05-25 18:53:08 +02:00
Markus Reiter
6d6ce7cf0a
Detect Tap
in CaskLoader
.
2017-07-30 14:22:05 +02:00
Markus Reiter
5828eefd01
Remove to_s
from some Pathname
s.
2017-05-08 13:37:28 +02:00
Josh Hagins
c7e6613f7b
tap_constants: rename HOMEBREW_CASK_TAP_FORMULA_REGEX
...
New name is HOMEBREW_CASK_TAP_CASK_REGEX
2016-10-23 21:48:11 -04:00
Josh Hagins
44f1354d63
hbc/qualified_token: simplify token parsing
...
- Stop supporting archaic "user-repo/token" syntax
- Move regex for parsing tapped Cask token to tap_constants
2016-10-23 21:48:11 -04:00
Mike McQuaid
0c44ce2a38
tap_constants: allow formulae to have @ in name.
...
Follow-up from #812 to fix handling fully-qualified versioned formulae
names.
Allows pulling https://github.com/Homebrew/homebrew-core/pull/971 .
2016-09-04 11:15:32 +01:00
Misty De Meo
c757bd7c90
tap_constants: support lowercase caskroom in regex
...
Closes Homebrew/homebrew#50343 .
Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-03-26 14:50:10 +08:00
Tommy Sparber
d675fa0b5a
Search also in Caskroom/versions Tap
...
Extending the current search functionallity to search in
https://github.com/caskroom/homebrew-versions
Closes Homebrew/homebrew#47954 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-17 21:53:20 +00:00
Xu Cheng
6e92609cf4
Formulary: use same logic to handle core fully-qualified name
2015-12-09 16:56:59 +08:00
Xu Cheng
2c25303949
remove unnecessary tap_args
...
It's now handled by Tap.fetch
2015-12-09 16:56:59 +08:00
CNA-Bld
68a5b1fe46
add fully qualified name for core formulae
2015-08-06 22:28:44 +08:00
Larry Gilbert
69b629b041
Various edits for punctuation, grammar, spelling, etc.
...
Closes Homebrew/homebrew#40478 .
Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-10 17:44:00 +01:00
Jack Nagel
abb0cb3aa0
Switch to a more useful serialization of tap info
...
Closes Homebrew/homebrew#37383 .
2015-03-14 21:14:37 -04:00
Mike McQuaid
0caa1912d9
Move "path or URL" tap string to global constant.
2015-02-13 10:58:43 +00:00
Mike McQuaid
52cda8fd80
Allow searching/installing Homebrew Casks.
...
People want to install things like GIMP using Homebrew so let's make it
easier for them to find a decent installation method.
Closes Homebrew/homebrew#34496 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 17:59:02 +00:00
Jack Nagel
90762c2f18
A period is a valid formula name character
...
Fixes Homebrew/homebrew#31052 .
2014-07-26 21:06:56 -05:00
Jack Nagel
f8fb74ff76
Escape paths in regexps
2014-07-06 11:25:56 -05:00
Marc Sowen
ce78b11710
Modified tap regex to support formulas with a +-sign, e.g. gtk+.rb
...
Fixes Homebrew/homebrew#30204 .
Closes Homebrew/homebrew#30217 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-17 22:47:58 -05:00
Tsukasa OMOTO
d1f15e967b
Taps: cleanup regexps around Taps
...
Closes Homebrew/homebrew#29139 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-14 11:12:51 -05:00