Rylan Polster
ae89577b26
style: re-enable GitLab patch URL check
2021-04-19 11:19:35 -04:00
Rylan Polster
b5dec5fdbd
style: temporarily disable GitLab patch URL check
2021-04-19 09:13:06 -04:00
Jonathan Chang
ef1e07b88b
rubocops/patches: GitLab patches should use .diff
...
Only `.diff` URLs return output comparable to the diffs from
`git diff --full-index`. While the extra metadata from `.patch` is
nice, the instability of the patch contents is undesirable.
Co-Authored-By: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2021-04-19 09:08:14 -04:00
Mike McQuaid
b57fe84f81
Use long/readable tar flags.
...
Also, use `--no-same-permissions` instead of `-o` (which does nothing
without `-p` being passed and run as `root`) for the more explicit
description of the behaviour we want.
2021-04-16 14:05:06 +01:00
Sean Molenaar
0e93f728a6
Service: generate systemd unit file
2021-04-16 08:58:49 +02:00
EricFromCanada
bb26935344
create: improve cask token & version generation
2021-04-13 15:45:30 -04:00
Mike McQuaid
1bdb8c7a33
More Bintray cleanup
...
Cleanup more files and names related to Bintray to ease their future
deletion (when Bintray is shutdown).
2021-04-12 15:07:46 +01:00
Mike McQuaid
6f071a06f8
Use JSON.pretty_generate
...
It's dramatically more human readable for very little difference in
space.
2021-04-09 15:44:37 +01:00
Mike McQuaid
576ec2c9a3
Merge pull request #9517 from SMillerDev/plist_generator
...
formula: allow plists to be generated
2021-04-09 13:59:55 +01:00
Mike McQuaid
1d34f7f2fa
Merge pull request #11077 from MikeMcQuaid/any_bottles
...
Support `all: SHA256` bottles.
2021-04-09 10:18:19 +01:00
Mike McQuaid
0cb1645d25
bottles: support :all
tag.
...
This allows the creation of bottles which will be used by any macOS
version, architecture or OS (i.e. macOS or Linux).
Add `TODO` stubs for where the bottle generation logic should be
implemented.
2021-04-09 09:50:16 +01:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
...
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Bo Anderson
093e6e4f79
Merge pull request #11065 from Bo98/cellar-non-host
...
software_spec: fix handling of default non-host Cellar
2021-04-08 21:44:11 +01:00
Mike McQuaid
1980a6a5a5
dev-cmd/bottle: avoid outputting new default bottle domain.
2021-04-08 17:58:24 +01:00
Bo Anderson
20d86c0185
Refactor some tag handling into a Utils::Bottles::Tag class
2021-04-08 17:23:57 +01:00
Sean Molenaar
b927ecfd85
Fix formulae method loading
...
Co-authored-by: nandahkrishna <me@nandahkrishna.com>
2021-04-08 10:16:57 +02:00
Sean Molenaar
4427fa283f
formula: allow plists to be generated
2021-04-08 10:16:57 +02:00
Bo Anderson
2ed3339478
software_spec: fix handling of default non-host Cellar
2021-04-08 02:21:31 +01:00
Markus Reiter
050ff9913f
Merge pull request #11028 from reitermarkus/extract-plist-strategy
...
Add `extract_plist` strategy.
2021-04-07 22:30:24 +02:00
Markus Reiter
731e25e0cc
Merge pull request #11041 from xxyzz/man
...
Supports .gz man page
2021-04-07 21:48:28 +02:00
Bo Anderson
1777a03aac
Merge pull request #11060 from Bo98/bottle-keep-old
...
dev-cmd/bottle: don't fail on --keep-old with unchanged values
2021-04-07 20:47:17 +01:00
Bo Anderson
1bb651469f
dev-cmd/bottle: don't fail on --keep-old with unchanged values
2021-04-07 20:26:36 +01:00
Markus Reiter
ba87bfc4e4
Only suggest adding livecheck
it auto-detection fails.
2021-04-07 19:19:20 +02:00
Markus Reiter
a210b1a04e
Add extract_plist
strategy.
2021-04-07 04:58:31 +02:00
xxyzz
3c18e98432
test .gz man page
2021-04-06 16:52:56 +08:00
Mike McQuaid
a654730acc
Merge pull request #11004 from MikeMcQuaid/cleanup_cxxstdlib
...
Cleanup use of CxxStdlib
2021-04-05 14:22:49 +01:00
Nanda H Krishna
8e11f03fa9
Merge pull request #11003 from nandahkrishna/gpg-tap-new
...
dev-cmd/tap-new: use `Utils::Git.setup_gpg!`
2021-04-05 17:32:55 +05:30
Markus Reiter
051d4378b1
Merge pull request #10958 from cho-m/cask-eject-apfs-dmg
...
cask install: fix APFS DMG eject to use physical disk
2021-04-03 20:38:12 +02:00
Michael Cho
1a398f9aaf
cask install: increase APFS test sleep to avoid slow eject fail
2021-04-03 10:21:50 -07:00
Markus Reiter
72a79d934e
Fix audit annotations for casks.
2021-04-03 04:27:32 +02:00
Markus Reiter
bcb3fc111f
Merge pull request #10954 from reitermarkus/rmdir-sh
...
Speed up `pkg` uninstallation and only call `find` on directories.
2021-04-02 22:49:49 +02:00
Mike McQuaid
bd4c37bfda
Merge pull request #10514 from thomasrockhu/codecov-action
...
Add Codecov GitHub Action step
2021-04-02 20:02:51 +01:00
Mike McQuaid
04abc51d1f
Cleanup use of CxxStdlib
...
- remove usage on macOS as we don't care about it there
- don't error out on incompatibility but still store stdlib on Linux
- remove (now) unused methods
2021-04-02 13:55:29 +01:00
Nanda H Krishna
f648b071ad
dev-cmd/tap-new: use Utils::Git.setup_gpg!
2021-04-02 17:21:26 +05:30
Thomas
8cca00286d
Update denylist_spec.rb
2021-04-02 16:10:27 +08:00
Tom Hu
ff7a0a121f
typo
2021-04-01 21:19:56 -04:00
Markus Reiter
5aa0dbe1f9
Move RMDIR_SH
into separate file.
2021-04-02 03:01:08 +02:00
Tom Hu
bba27eefec
Use double quotes
2021-04-01 20:29:27 -04:00
Markus Reiter
c07205caf2
Adjust audit
spec.
2021-04-02 01:55:36 +02:00
Tom Hu
0947ab6c29
Use simplecov-cobertura
2021-04-01 18:59:46 -04:00
nandahkrishna
53a7065bcc
Allow specifying committer for some dev-cmd
s
2021-04-01 22:22:31 +05:30
Markus Reiter
e265664518
Merge pull request #10974 from reitermarkus/no-audit-appcast
...
Don't suggest adding unnecessary `appcast`.
2021-04-01 01:26:12 +02:00
Markus Reiter
f0ece0432d
Fix appcast spec.
2021-04-01 01:07:28 +02:00
Bo Anderson
cad0226c93
Merge pull request #10968 from Bo98/fails_with-tweaks
...
compilers: support more `fails_with` uses on GCC.
2021-03-31 22:55:59 +01:00
Mike McQuaid
d8a2cf9efc
Write tabs to bottle JSON, optionally not bottle
...
- Write a subset of the tab required for bottles as an annotation.
- Add option on new bottle creation to skip writing tab into bottle
and instead add it (and other useful metadata) to bottle JSON.
- Read formula information and tab from bottle JSON.
- Write prettier JSON to disk.
- Don't write `HEAD` to tab; this duplicates `HOMEBREW_VERSION`.
- Allow `brew bottle` to use `--json` to generate JSON files from a
local bottle file.
2021-03-31 09:43:37 +01:00
Bo Anderson
3cebcd43b7
compilers: support more fails_with
uses on GCC.
2021-03-30 23:15:18 +01:00
Mike McQuaid
9b725a5851
cask/dsl/version: reject invalid characters.
...
There was a `invalid_characters` method already but it was not being
used.
2021-03-30 14:15:14 +01:00
Mike McQuaid
bcd83fa5e3
Merge pull request #10956 from cho-m/cask-uninstall-script-tilde
...
cask uninstall script: allow tilde expansion to '$HOME'
2021-03-30 08:46:15 +01:00
Michael Cho
cf8d96e0b2
cask install: fix APFS DMG eject to use physical disk
2021-03-29 19:59:20 -07:00
Mike McQuaid
9d70b48e93
Merge pull request #10851 from kthchew/audit-empty-files
...
audit: check for installed empty files
2021-03-29 11:55:56 +01:00