11087 Commits

Author SHA1 Message Date
Markus Reiter
3d0e7a572f Dummy Transmission app. 2016-08-20 06:14:57 +02:00
Markus Reiter
7f2248408c Normalize asset names. 2016-08-20 06:14:57 +02:00
Bob W. Hogg
959099d0e7 add .editorconfig 2016-08-19 23:47:50 -04:00
Mike McQuaid
7395ff2001 Merge pull request #758 from reitermarkus/cask-dev-scripts
Remove Cask developer scripts.
2016-08-19 22:01:24 +01:00
Jason Karns
f40fd1df90 bump-formula-pr: return to starting branch
After branching, bumping, pushing, and pr-ing; return to whatever branch
was originally checked out.

In most cases, I'd imagine users to want to continue receiving tap
updates from master. However, after using bump-formula-pr, the tap in
which the formula was bumped is left on the working branch that was
doing the bumping and pull-request. After opening the PR, we should
return to whatever branch the user originally had checked out – most
likely master. (But git allows us to just say "previous branch" by using
`-`)
2016-08-19 15:59:55 -04:00
Markus Reiter
4a42561ab1 Remove Cask developer scripts. 2016-08-19 19:17:44 +02:00
Andrew Janke
5d603c3e8f separate build and test logs 2016-08-19 12:27:37 -04:00
Joshua McKinney
224363684a Add atom language plugin 2016-08-19 10:55:41 -05:00
Mike McQuaid
893c80d3ba Merge pull request #741 from tdsmith/weak-imports-opt-in
Add permit_weak_imports directive
2016-08-19 16:19:56 +01:00
Mike McQuaid
721b218fd2 Merge pull request #756 from MikeMcQuaid/formula-cookbook-head-branch-default
Formula-Cookbook: document head branch default.
2016-08-19 16:08:23 +01:00
Jason Karns
07efe1e771 bump-formula-pr now creates non-tracking branches
Without `--no-track`, some git setups may automatically set
`origin/master` as the tracked upstream for the newly created branch.
This upstream is what hub defaults as --head when opening PRs. By not
allowing git to set `origin/master` as upstream, hub can then use the
proper --head for the PR.

Since hub still needs to know what --head is intended to be, we can set
the branch's upstream when pushing: with the --set-upstream option.

Fixes #755
2016-08-19 10:50:51 -04:00
Mike McQuaid
22ca107f77 Formula-Cookbook: document head branch default.
`--HEAD` defaults to `:branch => "master"` so document that.

Closes #722.
2016-08-19 15:28:12 +01:00
Mike McQuaid
105d7aa534 Merge pull request #752 from MikeMcQuaid/diagnostic-ignore-duplicate-brew-cask
diagnostic: ignore duplicated `brew-cask` commands
2016-08-19 15:11:33 +01:00
Mike McQuaid
7ccd9453e0 Merge pull request #750 from MikeMcQuaid/bottle-rebuild-revision-docs
Bottles: bottle revision is now called rebuild.
2016-08-19 14:18:13 +01:00
Xu Cheng
893582b89f Merge pull request #749 from vladshablinsky/fix_commit
download_strategy: check if commit nil
2016-08-19 21:16:52 +08:00
Mike McQuaid
ff8d22f3b3 diagnostic: ignore duplicated brew-cask commands
These are intentionally duplicated for now until the Cask migration is
complete.
2016-08-19 14:14:18 +01:00
Mike McQuaid
bd1ded93ec Merge pull request #725 from AnastasiaSulyagina/move-cask
Move Cask core code to Homebrew
2016-08-19 13:38:09 +01:00
AnastasiaSulyagina
092e2797e1 edits 2016-08-19 14:50:27 +03:00
AnastasiaSulyagina
e81f4ab7de init 2016-08-19 14:50:14 +03:00
Mike McQuaid
682c2518c1 Bottles: bottle revision is now called rebuild.
Forgot this in #731.
2016-08-19 12:16:37 +01:00
Mike McQuaid
9967bc99f0 Merge pull request #731 from MikeMcQuaid/rename-bottle-revision
Rename bottle's revision to rebuild.
2016-08-19 12:15:00 +01:00
Vlad Shablinsky
b7a17ba345 download_strategy: check if commit nil 2016-08-19 12:32:20 +02:00
Andrew Janke
954445634c separate build and test logs 2016-08-19 01:04:32 -04:00
Dominyk Tiller
82ea19bc15 Merge pull request #748 from DomT4/clangup
xcode: update expected clang for macOS 10.12
2016-08-19 02:54:52 +01:00
Dominyk Tiller
6442cb3032
xcode: update expected clang for macOS 10.12 2016-08-19 01:59:33 +01:00
ilovezfs
a5dac52d10 audit: fix suggested GitHub pull request URLs
Closes #746.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-08-18 15:16:14 -07:00
ilovezfs
ef2674b812 Merge pull request #744 from ilovezfs/extensionless
version: fix parsing of URLs ending with version
2016-08-18 12:42:23 -07:00
Mike McQuaid
27ecf588c7 Rename bottle's revision to rebuild. 2016-08-18 17:32:35 +01:00
Mike McQuaid
5c7c9de669 Merge pull request #743 from MikeMcQuaid/version-scheme-cookbook-audit
Add Formula Cookbook entry and audit check for version_scheme
2016-08-18 15:29:58 +01:00
Mike McQuaid
e83da4c8e6 audit: tweak "remove revision" message clarity.
Reference the revision value so it's more obvious that this does not
refer to e.g. a SCM revision.
2016-08-18 15:04:51 +01:00
Mike McQuaid
8137b80a20 audit: audit version_scheme.
Reuse the existing `revision` method that was made more generic.
2016-08-18 15:04:51 +01:00
Mike McQuaid
41f6334b5b audit: make audit_revision more generic.
This will allow it to be used for checking other attributes too.
2016-08-18 15:04:51 +01:00
Mike McQuaid
eea0da362b audit: ensure correct version_scheme placement. 2016-08-18 15:04:51 +01:00
Mike McQuaid
55ba22e296 formula_versions: add version_attributes_map.
This allows querying multiple attributes in the same way as
`revision_map` did but without duplicating code or repeatedly traversing
history.
2016-08-18 15:04:51 +01:00
Mike McQuaid
cc2a90ec8d Formula-Cookbook: add version_scheme documentation. 2016-08-18 15:04:51 +01:00
ilovezfs
a5a1b2969f version: fix parsing of URLs ending with version
https://github.com/lihaoyi/Ammonite/releases/download/0.7.4/0.7.4

was parsing as "0.7" not "0.7.4" since ".4" was being treated as a
legitimate file extension. At minimum, let's insist that a valid file
extension include at least one letter to avoid lopping off part of the
correct version string.
2016-08-18 06:51:02 -07:00
Mike McQuaid
b39eba6c5f Merge pull request #719 from vladshablinsky/epochs
Implement epochs
2016-08-18 12:24:54 +01:00
Mike McQuaid
48c442eca5 Merge pull request #739 from scpeters/patch-1
Brew-Test-Bot.md: fix broken link
2016-08-18 09:56:30 +01:00
Xu Cheng
bf05651a01 remove ruby 1.8 compatible codes (#742) 2016-08-18 16:54:48 +08:00
Vlad Shablinsky
6a684f4199 test_formula: add epoch tests 2016-08-18 10:38:20 +02:00
Vlad Shablinsky
f085597cbd Use epochs in tabs 2016-08-18 10:38:10 +02:00
Vlad Shablinsky
884a839c71 formula: add epoch 2016-08-18 10:36:28 +02:00
Xu Cheng
e423617d77
remove ruby 1.8 compatible codes 2016-08-18 14:35:39 +08:00
Tim D. Smith
9c7f24b84a Add permit_weak_imports directive
Issue Homebrew/homebrew-core#3727 suggested we set -no_weak_imports for
new versions of Xcode to ensure that e.g. building on 10.11 against the
10.12 SDK doesn't result in a situation where autotools thinks symbols
exist that don't actually exist on the current platform.

Further discussion in golang/go#16770 revealed that some packages
require weak imports to build normally.
2016-08-17 23:02:44 -07:00
Tim D. Smith
764390aadd Document 'w' CCCFG flag 2016-08-17 23:02:38 -07:00
Xu Cheng
af3ad3cb86
disable sandbox for 10.5
Although `sandbox-exec` is available in 10.5, it has very limit
support on the DSL for sandbox profile file(.sb file). Therefore,
sandbox for Homebrew on 10.5 is broken.

Closes #735.

Signed-off-by: Xu Cheng <git@xuc.me>
2016-08-18 13:35:52 +08:00
Xu Cheng
91c5dee5a0
Sandbox.formula?: allow to disable sandbox by user 2016-08-18 13:35:51 +08:00
Steven Peters
e7c44c90c3 Brew-Test-Bot.md: fix broken link 2016-08-17 16:23:02 -07:00
Dominyk Tiller
db2e9b8375
rubocop: reinstate hash_rockets
Temporarily.
2016-08-17 16:54:42 +01:00
Mike McQuaid
8b04d43291 Merge pull request #734 from MikeMcQuaid/brew.rb-allow-leopard
brew.rb: allow 10.5.
2016-08-17 15:36:37 +01:00