Xu Cheng
1539fda3e8
Silently ignore FormulaUnavailableError in check_conflicts
...
If the formula name is in full-qualified name. Let's silently
ignore it as we don't care about things used in taps that aren't
currently tapped.
Closes Homebrew/homebrew#38089 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-28 13:08:08 +08:00
Xu Cheng
c46e2dc196
software_spec: ignore bottles compatibility if --force-bottle
is passed
...
Closes Homebrew/homebrew#38123 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-28 13:06:15 +08:00
Jack Nagel
9b75afcf4a
Make Version#<=> allocation-free
2015-03-27 20:07:50 -04:00
Xu Cheng
b378dfa7dc
example-formula: calling prefix.install_metafiles is unnecessary
2015-03-27 16:13:59 +08:00
Xu Cheng
d632294f0f
ensure metafiles being installed to prefix rather than libexec
...
This is a follow-up of Homebrew/homebrew#37734 . I think we should treat `install_metafiles` as
a general issue rather than a formula-specific one.
Closes Homebrew/homebrew#37968 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-27 16:00:37 +08:00
Jack Nagel
96f7a8015f
Pass around only pathname objects
2015-03-26 22:22:45 -04:00
Jack Nagel
3721e0be6f
Always yield a path from install_p extension
2015-03-26 22:22:45 -04:00
Jack Nagel
522f7ea8c7
Add tests for cp_path_sub
2015-03-26 22:02:15 -04:00
Jack Nagel
8a8de3a296
Add test for InstallRenamed on directories
2015-03-26 22:02:15 -04:00
Jack Nagel
4c21ad30d8
Adjust variable in InstallRenamed test
2015-03-26 22:02:14 -04:00
Jack Nagel
23d9173cb1
Don't run pathname tests twice
2015-03-26 22:02:14 -04:00
Jack Nagel
60fe954bfd
unpack: expand destdir in case a relative path is given
...
Fixes Homebrew/homebrew#38067 .
2015-03-25 22:22:51 -04:00
Jack Nagel
038332d8d7
Get rid of setup_install_test method
2015-03-25 21:37:26 -04:00
Jack Nagel
148ebcb72e
Eliminate chdir from pathname tests
2015-03-25 21:37:26 -04:00
Jack Nagel
b49d3bd0a9
Pull install tests into a separate class
2015-03-25 21:37:26 -04:00
Jack Nagel
53b7d45de8
Do less work inside chdir blocks
2015-03-25 21:11:51 -04:00
Jack Nagel
617544694c
Parallelize the language module dependency tests
2015-03-25 21:11:50 -04:00
Jack Nagel
380b8ce46d
Combine assignments
2015-03-25 20:26:04 -04:00
Jack Nagel
1351f67e91
Make install_p and install_symlink_p private
2015-03-24 21:08:12 -04:00
Jack Nagel
ab3d622da2
Always pass basename to install_symlink_p
2015-03-24 21:06:19 -04:00
Jack Nagel
6f0efd6f3d
Always pass basename to install_p
...
Currently, when called with one argument, dst is set to self, i.e. the
directory into which the source file should be moved.
When called with a second argument (for renames), dst is the full path,
including the basename, to the moved file.
Instead, let's always pass the full path, which means we can remove the
branching logic around computing dst.
2015-03-24 21:03:45 -04:00
Xu Cheng
453990f1aa
add method to detect shell profile file based on users' preference shell
...
Closes Homebrew/homebrew#38017 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-24 21:18:32 +08:00
Mike McQuaid
28f26e0c9f
reinstall, upgrade: tweak use of tab build_bottle.
...
In the case where a bottle wasn't around before and is now it probably
doesn't make sense to use `build-bottle` to build something that will
be identical to the binary bottle package anyway. After all, when you
use the bottle you will end up with something that has been built with
`build-bottle` anyway (just not by you).
2015-03-24 12:11:40 +00:00
Mike McQuaid
959d92a84a
test-bot: first git clean should not be a test.
...
We don't care if it fails as we'll immediately run a stronger version
afterwards (and we care if that fails).
2015-03-24 09:13:42 +00:00
Jack Nagel
86006ba36b
Go through regular logic when installing a file
2015-03-23 21:01:50 -04:00
Tim D. Smith
3c212ebc3f
py3cairo 1.10.0
...
Restore py3cairo from homebrew/homebrew-x11 tap.
Closes Homebrew/homebrew#37981 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-23 08:08:25 -07:00
Baptiste Fontaine
b097eae935
bottle_version: support avce00 style
...
Closes Homebrew/homebrew#37975 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23 14:16:03 +00:00
Mike McQuaid
a4f474ddb9
test-bot: uninstall build deps before bottle test.
...
This should hopefully more often catch the situation where things are
marked as build dependencies incorrectly.
Closes Homebrew/homebrew#37927 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23 13:30:55 +00:00
Mike McQuaid
e7053ac35a
test-bot: allow skipping homebrew step.
2015-03-23 13:30:55 +00:00
Mike McQuaid
a46ab0d641
test-bot: tweak documentation indentation.
2015-03-23 13:30:55 +00:00
Mike McQuaid
a09641a581
deps: allow skipping build, optional deps.
2015-03-23 13:30:54 +00:00
Xu Cheng
4fccab615f
install_plist: create var/log path
...
Let homebrew create var/log path to avoid permission problem.
Closes Homebrew/homebrew#37966
Closes Homebrew/homebrew#37967 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-23 18:35:58 +08:00
Baptiste Fontaine
941842f0d6
bottle_version: support psutils style
...
Closes Homebrew/homebrew#37959 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23 08:37:48 +00:00
Baptiste Fontaine
edf205f5ca
aspell-dictionaries: use sha256 for resources
...
Closes Homebrew/homebrew#37962 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-22 16:28:34 +00:00
Mike McQuaid
862c0ddf4a
test-bot: remove --debug flag.
...
Too spammy in the output. May consider readding later to specific
commands.
2015-03-20 20:22:54 +00:00
Mike McQuaid
cf204b6234
pull: die on invalid parameters.
2015-03-20 17:46:19 +00:00
Mike McQuaid
3f9d5aad74
pull: allow pulling from API URLs.
...
Jenkins has started spitting these out; no idea why.
2015-03-20 17:46:18 +00:00
Mike McQuaid
2d1c8b4de4
test-bot: don't run readall on <=10.8.
...
The Ruby 1.8 implementation seems to be really flaky, unfortunately.
2015-03-20 16:59:21 +00:00
Baptiste Fontaine
dcf6be10f8
guilt moved to the boneyard
...
Closes Homebrew/homebrew#37847 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-20 09:11:53 +00:00
Tanachat Nilanon
e97fac1dd6
add :python3 to LANGUAGE_MODULES
...
Add special :python3 dependency tag to LANGUAGE_MODULES in
dependency_collector.
Closes Homebrew/homebrew#37898 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-19 23:04:35 -07:00
Mike McQuaid
3fd45673a5
pull: always publish bottles.
...
The previous logic was flawed as it wasn't publishing new versions of
bottles.
2015-03-18 18:15:40 +00:00
Viktor Szakáts
3d23580ff2
audit: fix to enforce https for apache homepage
...
It was failing to recognize the URL without an ending slash.
Closes Homebrew/homebrew#37808 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-18 12:29:00 +00:00
David Christenson
098ccfa9a8
fdk-aac 0.1.4
...
Update to latest stable release, install example AAC encoder, add test
with new WAV fixture, modernize.
Closes Homebrew/homebrew#37654 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-18 08:07:35 +00:00
Jack Nagel
38a8c54898
Return early for the == case in Version#<=>
2015-03-17 21:37:03 -04:00
Jack Nagel
68c7e1e30c
Add protected reader for version value
2015-03-17 21:37:03 -04:00
Jack Nagel
03b309cc76
Fix NullToken equality
2015-03-17 21:37:03 -04:00
Jack Nagel
0d4f241d48
Remove explicit type check
2015-03-17 21:37:03 -04:00
Viktor Szakáts
02cb05f22b
audit: enforce https for apache.org
...
- including all apache.org subdomains
- for `homepage` as well
Closes Homebrew/homebrew#37778 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-17 13:31:08 +00:00
Mike McQuaid
3933b84dea
software_spec: check if bottles are compatible.
...
The `bottled?` method makes more sense when it also checks for
compatibility.
This is particularly useful for the case in `brew info` so it prints out
`(bottled)` correctly depending on the `Cellar`.
Closes Homebrew/homebrew#37636 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-17 09:16:57 +00:00
Mike McQuaid
514910e812
test-bot: remove more bad unicode characters.
2015-03-16 18:39:45 +00:00