53 Commits

Author SHA1 Message Date
Maxim Belkin
be1ef83427
Fix ignore file 2018-05-28 15:11:33 -05:00
Mike McQuaid
2f522ff04b docs: update gems.
- check in the Gemfile.lock
- use a modern Ruby version
- remove gem upper limits
2018-01-15 09:55:28 +00:00
Mike McQuaid
e5856a9f55 Merge pull request #2786 from mansimarkaur/gitignore
Added `/Library/Homebrew/bin` and `/Library/Homebrew/.npmignore` to gitignore
2017-06-16 14:15:08 +01:00
mansimarkaur
e0358a55ce Added bin and .npmignore to gitignore 2017-06-15 02:47:02 +05:30
JCount
88964adf19 Move .codecov.yml to root.
also, unignore it.
2017-06-01 10:52:03 -04:00
Mike McQuaid
57db2e539e Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07 17:28:39 +01:00
Mike McQuaid
ee253e465b Vendor all Homebrew's gems.
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
Mike McQuaid
a559cef5cc docs: tweak CSS.
Import new brew.sh CSS changes to improve the appearance of tables and
links.
2017-04-27 12:35:15 +01:00
Misty De Meo
668d7a0c49 test: add a bundle config
This smooths over the transition for users who have an existing
bundle config in this location due to having gems installed at the old
path.

Closes #2203.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2017-02-28 22:42:41 +11:00
Mike McQuaid
127e9def50 Cleanup documentation site
GitHub now nicely generates a documentation site for us at
http://brew.sh/brew based on our docs folder. Optimise the output of
this and the GitHub docs directory for readability and the various user
groupings.
2017-01-04 10:53:21 +00:00
Markus Reiter
a9746934fd Update .gitignore to match vendor/bundle everywhere. 2016-10-29 18:28:08 +02:00
Mike McQuaid
5cf3838f42 Merge pull request #1041 from penman/parallel_tests
Parallelise test suite
2016-09-23 07:57:35 +01:00
Alyssa Ross
1c4ae98823 tests, cask-tests: log test runtimes 2016-09-20 13:16:11 +01:00
Mike McQuaid
9067cc39b8 gitignore: rearrange repository, simplify rules. 2016-09-20 10:41:42 +01:00
Mike McQuaid
521efeab78 Merge Cask's gitignore with root one.
This fixes the ignoring in libgit2 clients that don't read nested
`.gitignore` files.
2016-09-10 10:03:19 +01:00
Mike McQuaid
665783cba4 Make "brew man" also generate Cask's manpage.
Also, check in this manpage, adjust the Rakefile and remove the old one.

Fixes #731.
2016-08-20 16:36:34 +01:00
Mike McQuaid
c7ba1c65ca gitignore: fix portable-ruby stashing. 2016-08-08 21:41:55 +01:00
Xu Cheng
8f178187c0
add file directory for vendor Ruby
The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`,
with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it.

In addition, a `Library/Homebrew/vendor/portable-ruby-version` will
track the latest version of vendor binaries.

This gives us version control on vendor Ruby and enables us to bump vendor
Ruby whenever needed such as security update.
2016-07-11 19:23:00 +08:00
Xu Cheng
8d64b6a02d introduce global lock directory (#337)
Since #292, HOMEBREW_CACHE was moved to a per-user directory. This makes
it unsuitable to store global lock files on multiple users environment.

Therefore, introducing a global lock directory `/Library/Lock.d` to
store lock files from formula lockers as well as `brew update`.
2016-06-08 17:29:03 +08:00
Xu Cheng
edf000e4cd Core/formula separation Part 2(b)
* move shell completion scripts to where can be auto picked up

Let's use switching new remote as opportunity to put shell completion
scripts to where they should be and avoid git conflict during the process.

* add Library/Formula and Library/Aliases symlinks

Formulae and Aliases has been relocated to homebrew/core tap.
The symlinks are pointed to new location to keep backward compatibility.

* remove formula_renames and tap_migrations

They have been replaced by the json files in the core tap.

* update: set new remote

* bump Homebrew version to 0.9.9
2016-04-03 18:34:17 +08:00
Mike McQuaid
8156e76576 Move Kickstarter supporters file. 2016-02-18 08:21:20 +00:00
Dominyk Tiller
ee9b657213 gitignore: update documentation paths 2016-02-18 08:19:17 +00:00
Mike McQuaid
a36872c1da gitignore: reorder, cleanup and document.
This new `.gitignore` format produces consistent/expected `git status`
output with Git <2.7.0, Git >2.7.0 and libgit2 0.23.4.

Closes Homebrew/homebrew#47721.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-05 19:16:03 +00:00
Mike McQuaid
52f471ac8d gitignore: fix Git 2.7.0 behaviour.
Closes Homebrew/homebrew#47710.
2016-01-05 14:09:26 +00:00
Mike McQuaid
b745546943 Overhaul, simplify and cleanup documentation.
Remove duplication, link to the API documentation more often,
tweak wording, add `@UniqMartin` as a maintainer, note `@jacknagel`'s
and `@adamv`'s significant past contributions to Homebrew, delete some
outdated or unneeded documentation, add some missing `Formula` API.
entries and simplify/improve `CONTRIBUTING.md`.

Closes Homebrew/homebrew#46179.

Closes Homebrew/homebrew#46618.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07 13:37:49 +00:00
Mike McQuaid
49241473ec Add Travis CI configuration.
Closes Homebrew/homebrew#43976.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-09-18 09:54:29 +01:00
CNA-Bld
fda82b0b64 add /Library/PinnedTaps to .gitignore 2015-08-10 12:17:25 +01:00
Xu Cheng
c4ba428d54 gitignore: add fs_leak_log file from test 2015-07-22 20:27:20 +08:00
Baptiste Fontaine
44a8ebdc7e 'brew tests' optional coverage measure added
Closes Homebrew/homebrew#41890.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-07-20 20:44:12 +02:00
Mike McQuaid
9011060c00 Merge test gitignore into root version.
libgit2 clients struggle at parsing these otherwise because of how we
set up our ignore rules.

And remove now unneeded formula ignore rule.

Closes Homebrew/homebrew#41593.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-13 08:11:04 -07:00
Mike McQuaid
19d12aee45 Import docs from wiki.
Closes Homebrew/homebrew#33211.
2014-10-26 14:57:36 +00:00
Mike McQuaid
93c71bafca Use YARD for API documentation.
Massive TODO.

We'll get there eventually...
2014-10-18 11:19:36 +01:00
Mike McQuaid
05739585d1 Generate RDoc documentation.
This is currently still very messy and we probably want to work out the
best way to declare what parts of our DSL/what files are "public".

Still, even if this is a WIP I'd rather get something committed sooner
rather than later and start iterating on this as a replacement for
`example_formula.rb` and the formula cookbook.

To test:
```bash
cd $(brew --prefix)/Library/Homebrew && \
  rdoc formula.rb requirement.rb utils.rb &&\
  open doc/index.html
```

Closes Homebrew/homebrew#32470.
2014-09-24 15:08:10 -07:00
Mike McQuaid
317a91bc1c LICENSE: move to root folder.
This is where people expect to find it so let's make it easier.

Closes Homebrew/homebrew#28418.
2014-04-23 08:11:02 +01:00
Mike McQuaid
311dd6f5e8 CODEOFCONDUCT: add Homebrew CoC, diversity doc.
Add the Homebrew Code of Conduct and Diversity statement.

These are heavily based on those created by Python:
http://www.python.org/psf/codeofconduct/
http://www.python.org/community/diversity/

Closes Homebrew/homebrew#26904.
2014-02-23 11:49:32 +00:00
Mike McQuaid
64ef95e676 Add Kickstarter supporters file. 2013-04-06 17:32:47 +01:00
Simon Sigurdhsson
f8a88b5f28 brew-pin: prevent selected formulae from upgrade.
* Added `pin` et. al. to manpage.
* Added `brew pin` to `brew.1` * Added `brew unpin` to `brew.1`
* Added `brew list --pinned` to `brew.1`
* Added information about frozen formulae to `brew upgrade` in `brew.1`
* Added `pin` et.al. to completion scripts.
* Unpin formulae when uninstalling them
* Unpin and re-pin formulae when upgrading (avoids stale symlink)

References Homebrew/homebrew#18386.
Closes Homebrew/homebrew#18515.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-30 19:50:47 +00:00
Mike McQuaid
518fa7a7e3 Add Contributing Guidelines. 2012-10-03 00:04:24 +01:00
Max Howell
903b1167a6 Prevent tapped symlinks showing up in git status
The symlinks taps write to Formula show up in git status, but this trick prevents this. brew-(un)tap maintain a .gitignore in Formula that contains all the symlinks brew-tap creates.

We add the .gitignore to the root .gitignore and TADA! Magic.
2012-03-16 21:06:15 +00:00
Max Howell
0c7e7ae437 brew tap and brew untap 2012-03-16 21:06:15 +00:00
Max Howell
13918ff6d9 Record which keg is linked
Will be useful for a variety of reasons, but for now, I'm just using it to ensure install won't install again if something is already installed (use brew upgrade instead).

But means that brew switch and that can work properly etc.
2011-08-24 22:30:44 +01:00
Adam Vandenberg
1cd2c685a0 Fix .gitignore to allow add bin/brew without -f 2010-10-30 15:00:29 -07:00
Christopher Sexton
c1f5d73a77 Man page for Homebrew
Includes: generator script, ronn source, manpage output

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

Man page updates.

* Generator command is now an external command with additional options
* Added more brew commands
* Tweaks and reformats
2010-06-13 21:46:24 -07:00
Theo
ac1d366fab Ignore .DS_Store, everywhere 2009-12-18 21:06:47 +01:00
Max Howell
b9033700b6 Fixes .gitignore
So now it does ignore new stuff in root but not in the dirs we like.
2009-09-29 23:33:22 +01:00
Ben Alpert
2b464a82fa Change .gitignore to specifically include files we want tracked.
Closes Homebrew/homebrew#66
2009-09-28 17:26:40 -06:00
Hunter Morris
aafbdcc115 Added 'man' to be ignored
Signed-off-by: Max Howell <max@methylblue.com>

Homebrew doesn't install to man, but if it's already there, we should indeed ignore it.
2009-09-16 15:05:22 +01:00
Brett Porter
5b855386c3 ignore sbin
Signed-off-by: Max Howell <max@methylblue.com>
2009-09-01 00:24:16 +08:00
Max Howell
8433ff0faa Improvements to cmake install 2009-07-23 03:02:09 +01:00
Max Howell
3d140f5a57 More sensible .gitignore 2009-07-10 00:49:51 +01:00