Arfon Smith
1da425ae2f
Merge pull request #2162 from github/instrumentation
...
Add instrumentation to detection and classification
2015-03-05 15:03:30 -06:00
Arfon Smith
a1010b8cf8
Actually return the strategy
2015-03-05 13:21:07 -06:00
Brandon Keepers
7fdead0100
Only yield if block given
2015-03-05 10:11:08 -08:00
Brandon Keepers
2d5476f6c8
Yield the block in LocalInstrumenter
2015-03-05 10:01:28 -08:00
Arfon Smith
c22a6563d9
Writing some (failing) tests for instrumentation
2015-03-01 22:13:26 -06:00
Paul Chaignon
7c593899e7
Make heuristic for Prolog more specific
2015-03-01 12:43:35 +01:00
Arfon Smith
9151e7066a
Merge pull request #2175 from github/sqlllll
...
Sqlllll
2015-02-28 20:45:08 -06:00
Paul Chaignon
730be65514
Ignore symlinks in repository statistics
2015-02-28 16:08:16 +01:00
Arfon Smith
4ef925d8be
Merge pull request #2087 from pchaigno/case-sensitivity
...
Detection by extension made case-insensitive
2015-02-27 14:06:50 -06:00
Arfon Smith
7ba4f0c571
Oracle grammar now has a license
2015-02-27 13:51:23 -06:00
Arfon Smith
a338228b57
Merge branch 'master' into sqlllll
2015-02-27 13:32:09 -06:00
Arfon Smith
d6d232ec37
Merge pull request #2154 from pchaigno/kicad-files
...
Support for .pro INI files (KiCad project files)
2015-02-27 10:14:20 -06:00
Lars Brinkhoff
2b25bb6d1c
Add MUF language - Multi-user Forth.
2015-02-25 19:29:57 +01:00
Garen Torikian
04252c28f2
Merge pull request #2153 from github/enforce-type
...
Test that languages have a type
2015-02-24 13:34:22 -08:00
Arfon Smith
8561f2a6b0
Merge branch 'master' into revert-2014-revert-1976-path-for-fileblob
...
Conflicts:
lib/linguist/version.rb
2015-02-24 14:54:14 -06:00
Garen Torikian
6b26386a81
Improve "no type found" error message
2015-02-22 20:21:02 -08:00
Paul Chaignon
e592381a54
Support for .pro INI files (KiCad project files)
...
Update the heuristic for .pro to include both INI and QMake files
Fixes #2116
2015-02-22 19:33:06 +01:00
Garen Torikian
fecf0cc137
There is no "other"
2015-02-22 10:32:01 -08:00
Garen Torikian
8420e4b044
Test that languages have a type
2015-02-22 10:23:48 -08:00
Paul Chaignon
2ca5868610
Detect Go files generated by Protocol Buffers
2015-02-22 10:50:47 +01:00
Adam Roben
80f72a5093
Classify the .google_apis/ directory as vendored
...
This is used in Android projects that use certain Google SDKs to store
the SDKs locally.
2015-02-20 10:36:47 -05:00
Adam Roben
9e020dd15d
Classify "documentation/" directories (lowercase) as documentation
...
This is used in repositories like jashkenas/coffeescript.
2015-02-20 10:24:59 -05:00
Adam Roben
c7c0c30ecf
Classify javadoc/ directories as documentation
2015-02-20 10:24:38 -05:00
Adam Roben
60deead669
Add a couple more documentation patterns
...
These are used in repositories like jashkenas/coffeescript and
tj/git-extras.
2015-02-20 09:53:07 -05:00
Stefan Johnson
885b5aab41
Changed tokenizer number literals to be more encompassing
...
Number literals now skips hexadecimal, and C style literals.
2015-02-20 14:08:39 +11:00
Arfon Smith
7fd720bf39
Merge branch 'master' into ascii
2015-02-16 11:18:31 -08:00
Adam Roben
2f5b49f4ae
Merge pull request #2097 from github/detect-all-markup
...
Detect all markup languages when computing language statistics
2015-02-13 16:43:41 -05:00
Adam Roben
1bf91d4281
Use .html files in some #documentation? tests
...
This is what we were trying to classify in the twbs/bootstrap
repository, for example.
2015-02-13 14:31:40 -05:00
Adam Roben
8d2dd55c94
Categorize INSTALL files as documentation too
2015-02-13 14:30:44 -05:00
Adam Roben
6a86e8ea97
Add BlobHelper#include_in_language_stats?
...
This just extracts some logic from Repository#compute_stats and makes it
testable.
2015-02-13 14:27:20 -05:00
Adam Roben
066052ddd2
Exclude documentation files from language statistics
...
Documentation is an important part of a software project but is not
generally thought of as part of the code for that project. Repository
language statistics are used to quantify the project's code, so it makes
sense to exclude documentation from those computations.
Documentation files are recognized similarly to vendored files.
lib/linguist/documentation.yml contains regular expressions to match
common names for documentation files. A new linguist-documentation Git
attribute can be used to override those conventions.
2015-02-12 10:20:47 -05:00
Arfon Smith
fffd1b986d
Merge pull request #2085 from github/shebang-first
...
Shebang first
2015-02-11 16:00:25 -06:00
Paul Chaignon
665f9ee5b5
Merge branch 'master' into new-grammars
2015-02-09 23:19:37 +01:00
Paul Chaignon
4eb8903bed
Comment for GAP grammar in whitelist
2015-02-09 23:01:24 +01:00
Paul Chaignon
d11b2f05bb
Detection of zlib license
2015-02-09 22:57:19 +01:00
Paul Chaignon
11f7e6e1b4
Add Papyrus and GAP grammars to whitelist
2015-02-09 21:29:53 +01:00
Brandon Keepers
bdc724d548
Detect "use 5.xxx" as Perl
2015-02-09 10:19:36 -05:00
David Pyke Le Brun
5e9bb67d10
temporary add grammer to whitelist until license gets added
2015-02-09 14:27:14 +00:00
Arfon Smith
88e79cd3a8
Adding fixtures to test shebang strategy ordering
2015-02-07 10:24:03 -06:00
Paul Chaignon
41e1b7bd4e
Detection by extension made case-insensitive
2015-02-06 22:14:22 +01:00
Arfon Smith
0db1d1c8ca
Modifying some modeline fixtures to test case InSeNsItivitY
2015-02-06 08:48:59 -06:00
Lars Brinkhoff
2077fa3837
'Text' doesn't qualify as a valid modeline language.
2015-02-04 08:20:19 +01:00
Edmundo Ruiz
9fa7adaa61
#1638 New heuristics to distinguish between AsciiDoc, AGS Script, and Public Key.
2015-02-03 00:43:53 -08:00
Arfon Smith
69b68f3a44
Extracting common methods into helper.
2015-01-26 16:22:55 -06:00
Arfon Smith
119a8fff1e
Emacs modeline fixtures
2015-01-26 15:38:19 -06:00
Arfon Smith
8094b1bd92
Test strategy and language
2015-01-26 15:38:07 -06:00
Arfon Smith
429c791377
Testing Vim modeline support
2015-01-26 14:39:07 -06:00
Arfon Smith
8aa4dce6f4
Merge pull request #1723 from techhat/pythonmultiline
...
Python also supports triple single-quotes for comments
2015-01-24 10:54:30 -06:00
Paul Chaignon
bf5651e127
Merge branch 'master' into newlisp
2015-01-24 00:15:52 +01:00
Arfon Smith
01be9e68ee
Revert "Revert "Use path for Generated?""
2015-01-20 14:34:36 -06:00