20731 Commits

Author SHA1 Message Date
Michka Popoff
79a3d3568b python: add rewrite function for generic shebangs
From PEP 394
https://www.python.org/dev/peps/pep-0394/#for-python-script-publishers

In cases where the script is expected to be executed outside virtual environments,
developers will need to be aware of the following discrepancies across platforms and installation methods:

Older Linux distributions will provide a python command that refers to Python 2, and will likely not provide a python2 command.
Some newer Linux distributions will provide a python command that refers to Python 3.
Some Linux distributions will not provide a python command at all by default, but will provide a python3 command by default.

When potentially targeting these environments, developers may either use a Python package installation tool that rewrites shebang lines
for the installed environment, provide instructions on updating shebang lines interactively,
or else use more specific shebang lines that are tailored to the target environment.
2020-02-28 20:08:43 +01:00
EricFromCanada
b80af7837a bump-formula-pr: add missing URL escapes 2020-02-28 13:02:55 -05:00
Dawid Dziurla
aac200a53d
node: detect root via Process.uid 2020-02-28 13:37:44 +01:00
Dawid Dziurla
79a1500f2b
node: add --unsafe-perm to std_args only if run as root 2020-02-28 13:00:43 +01:00
Dawid Dziurla
6874c79375
node: add --unsafe-perm to std_args 2020-02-28 12:47:03 +01:00
Sean Molenaar
3dd23eb296
Update docs/Updating-Software-in-Homebrew.md
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-02-28 09:51:39 +01:00
Sean Molenaar
55a6c6f0ff
Update docs/Updating-Software-in-Homebrew.md
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-02-28 09:51:17 +01:00
Sean Molenaar
750e0b1ecc
Update docs/Updating-Software-in-Homebrew.md
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-02-28 09:51:00 +01:00
Sean Molenaar
f8c780c8c6
Update docs/Updating-Software-in-Homebrew.md
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-02-28 09:50:48 +01:00
Sean Molenaar
5a3a637d25
Update docs/Adding-Software-to-Homebrew.md
Co-Authored-By: Sam Ford <1584702+samford@users.noreply.github.com>
2020-02-28 09:50:34 +01:00
Mike McQuaid
f37cd18e1a
Merge pull request #7088 from SeekingMeaning/version
version: parse tag if detecting version
2020-02-27 19:29:33 +00:00
Seeker
11ebc27e0a version: parse tag if detecting version 2020-02-27 10:27:02 -08:00
Mike McQuaid
955947c8dc
Merge pull request #7085 from MikeMcQuaid/extract-core-maintainers
dev-cmd/extract: allow maintainers to extract to core.
2020-02-27 10:56:20 +00:00
Mike McQuaid
2eb908a9fb
dev-cmd/extract: allow maintainers to extract to core.
I was wanting to do this today to add `ruby@2.6` and it's a social
rather than technical requirement (i.e. we don't want users to mess
with their homebrew/core unless they know what they are doing) so allow
overriding with `HOMEBREW_DEVELOPER` set.
2020-02-27 10:36:10 +00:00
Mike McQuaid
d0ce83cbb6
Merge pull request #7083 from Homebrew/dependabot/bundler/Library/Homebrew/parser-2.7.0.3
build: bump parser from 2.7.0.2 to 2.7.0.3 in /Library/Homebrew
2020-02-27 10:03:04 +00:00
Mike McQuaid
5a8576eec5
Merge pull request #7082 from Bo98/versioned_formulae
formula: sort versioned_formulae by version
2020-02-27 10:02:32 +00:00
Mike McQuaid
88544291b5
Merge pull request #7081 from dasmfm/inline-versions
Inline versions of upgraded formulae
2020-02-27 09:56:34 +00:00
dependabot-preview[bot]
accb34585a
build: bump parser from 2.7.0.2 to 2.7.0.3 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.7.0.2 to 2.7.0.3.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.7.0.2...v2.7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-26 17:34:54 +00:00
Bo Anderson
a0f88c7197 formula: sort versioned_formulae by version 2020-02-26 15:59:50 +00:00
Boris Klimenko
00aa4b7a0b
Apply suggestions from code review
Co-Authored-By: Bo Anderson <mail@boanderson.me>
2020-02-26 16:49:48 +03:00
Boris Klimenko
4bde62b651
Apply suggestions from code review
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-02-26 15:56:45 +03:00
Mike McQuaid
e88eea6412
Merge pull request #7080 from Bo98/go@1.13
rubocop/urls: add go@1.13 to binary URLs whitelist
2020-02-26 12:35:09 +00:00
Boris Klimenko
22375bae7c
Fix style 2020-02-26 13:49:12 +03:00
Boris Klimenko
da5d804bd9
Inline versions of upgraded formulae 2020-02-26 13:42:18 +03:00
Bo Anderson
79811537fb rubocop/urls: add go@1.13 to binary URLs whitelist 2020-02-26 09:26:49 +00:00
Sean Molenaar
10f529d091
Docs: Add guides for common cases
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2020-02-25 21:43:03 +01:00
Mike McQuaid
cf02ac9d46
Merge pull request #7066 from alebcay/extract-handle-versions
extract: handle versioned formulae names
2020-02-25 19:31:38 +00:00
Mike McQuaid
2e1a9f8bb6
Merge pull request #7051 from EricFromCanada/bump-formula-mirrors
bump-formula-pr: improve mirror handling
2020-02-25 16:17:12 +00:00
Mike McQuaid
575f76a3fa
Merge pull request #7074 from dawidd6/log-homebrew-path
log: use user path
2020-02-25 08:43:38 +00:00
Issy Long
a80b89c66e
Merge pull request #7077 from issyl0/revert-homebrew-force-hol-changes
Revert "pull: use `homebrew` remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX"
2020-02-24 23:17:55 +00:00
Issy Long
6d5f6ce96c
Revert "pull: use homebrew remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX"
- This reverts commit 9fb1876101a1abac8e3bfcc9f4f6fadbf0921c7c and commit
f8863c8a3bbef32dc65c9b95a57b54d7fc26c27e.
- The `JENKINS_HOME` envvar appears to be unset on the Linux Jenkins
master that holds the BinTray credentials.
- It's bed time, we're too tired to be fixing forward!
2020-02-24 22:56:33 +00:00
Michka Popoff
9ce39808c8
Merge pull request #7076 from dawidd6/fix-pull-on-jenkins
pull: fix remote on jenkins
2020-02-24 23:45:17 +01:00
Dawid Dziurla
f8863c8a3b
pull: fix remote on jenkins 2020-02-24 23:26:28 +01:00
EricFromCanada
6f5cd0e7fe bump-formula-pr: support add multiple mirror URLs with --mirror 2020-02-24 13:07:46 -05:00
EricFromCanada
a24477dad6 bump-formula-pr: fix output when listing guesses 2020-02-24 13:07:46 -05:00
EricFromCanada
7ec2ffda93 bump-formula-pr: warn when removing mirrors 2020-02-24 13:07:46 -05:00
EricFromCanada
0132b905bf bump-formula-pr: automatically mirror Apache & GNU projects 2020-02-24 13:07:46 -05:00
EricFromCanada
50cc9db0f2 bump-formula-pr: also infer mirrors when a checksum is provided 2020-02-24 13:07:46 -05:00
EricFromCanada
29006396dd audit: check apache.org URLs 2020-02-24 13:07:46 -05:00
Mike McQuaid
670227bdc8
Merge pull request #7070 from dawidd6/pull-on-linux
pull: use `homebrew` remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX
2020-02-24 17:13:41 +00:00
Mike McQuaid
09f2ef8905
Merge pull request #7072 from SeekingMeaning/patch-2
Add ghc@8.6 to binary formula URLs whitelist
2020-02-24 17:13:22 +00:00
Dawid Dziurla
f11ddb9aab
log: use user path
Without this, one can't use a custom pager, if it's present in
non-standard PATH, like for example Homebrew on Linux prefix.
2020-02-24 13:26:42 +01:00
Mike McQuaid
5974714453
pull: add more docs comment context. 2020-02-24 11:41:29 +00:00
Mike McQuaid
ba52e7f932
rubocop/urls: remove deleted ghc@8.2. 2020-02-24 11:40:46 +00:00
Dawid Dziurla
9fb1876101
pull: use homebrew remote if HOMEBREW_FORCE_HOMEBREW_ON_LINUX 2020-02-23 21:49:23 +01:00
Mike McQuaid
2834a75f19
Merge pull request #7071 from SeekingMeaning/patch-1
Fix detecting version from URL
2020-02-23 19:39:03 +00:00
Caleb Xu
fa5faf3895 extract: handle versioned formulae names
Turn the output versioned formula from the form "name@version" to
"name-version", then following by appending the specific version
after it.

This solution ensures that separate extracted versions of a formulae
can exist alongside each other (e.g. 'python-2@2.7.17' and
'python-2@2.7.16').
2020-02-23 14:32:13 -05:00
Seeker
f60e2a0c4a
Add ghc@8.6 to binary formula URLs whitelist 2020-02-23 11:09:02 -08:00
Seeker
090a52a715
Fix detecting version from URL 2020-02-23 10:23:35 -08:00
Mike McQuaid
1cccba6a1a
Merge pull request #7069 from MikeMcQuaid/analytics-tweaks
analytics: tweak behaviour.
2020-02-23 16:21:25 +00:00