Commit Graph

234 Commits

Author SHA1 Message Date
Alfredo Beaumont
0990c2868d common: Add filename parameter to GetLanguageByContent function
Internal code needs the filename to select a matcher, so not passing
any filename means no language will ever be found otherwise.
2017-08-08 11:58:02 +02:00
Alfredo Beaumont
bac0ef279c Merge pull request #88 from abeaumont/fix/ignore-symlinks-while-dirwalking
cli: Ignore symlinks inside a directory walk
2017-08-02 10:51:36 +02:00
Alfredo Beaumont
faeecb93ed cli: Ignore symlinks inside a directory walk 2017-08-01 11:54:48 +02:00
Alfredo Beaumont
c4e4848aae Merge pull request #85 from bzz/patch-1
Update README.md
2017-07-26 12:30:23 +02:00
Juanjo Alvarez Martinez
116f9f7881 Merge pull request #86 from bzz/fix/panic-on-shebang
Fix LanguagesByShebang strategy on single shebang
2017-07-25 13:22:48 +02:00
Alexander Bezzubov
3303cf7824 Fix 🐛 on file starting with single shebang 2017-07-25 10:37:11 +02:00
Alexander
8003c102eb Update README.md
Project rename artefacts
2017-07-25 09:15:50 +02:00
Alfredo Beaumont
7cd8904cbb Merge pull request #83 from mcarmonaa/fix/cli-analyzing-file
fixed bug in cli
2017-07-21 13:55:36 +02:00
Manuel Carmona
0b6e83ed74 fixed bug in cli 2017-07-21 13:38:19 +02:00
Alfredo Beaumont
4d42cb06d3 Merge pull request #73 from dpaz/issue72
Cli to analyze a single file
2017-07-20 13:40:56 +02:00
Alfredo Beaumont
77db3446cf Merge pull request #77 from abeaumont/feature/replace-mit-by-apache2-license
legal: Replace MIT by Apache2 license
2017-07-19 12:26:20 +02:00
David Paz
52d7ccd6cf Updated mimeType.gold and regenerated mimeType.go 2017-07-19 10:18:18 +02:00
Alfredo Beaumont
200c153302 Merge pull request #82 from mcarmonaa/improvement/linguist-version
added linguist version to CLI
2017-07-18 16:59:40 +02:00
Manuel Carmona
99d2085aad added linguist version to CLI 2017-07-18 16:41:14 +02:00
Alfredo Beaumont
dbc4115830 Merge pull request #81 from mcarmonaa/fix/ci-build-binaries
added before_deploy section to .travis.yml
2017-07-18 16:39:39 +02:00
Manuel Carmona
d28497d3d1 added before_deploy section to .travis.yml 2017-07-18 16:14:59 +02:00
Alfredo Beaumont
98e1ee847e Merge pull request #79 from mcarmonaa/fix/histogram-url
fixed histogram's url
2017-07-18 15:34:44 +02:00
Manuel Carmona
ddeb568f38 fixed histogram's url 2017-07-18 15:26:13 +02:00
Alfredo Beaumont
6a906f20c0 Merge pull request #80 from mcarmonaa/fix/travis-ci
added deploy section to .travis.yml
2017-07-18 14:50:06 +02:00
Manuel Carmona
adcaeb4a48 added deploy section to .travis.yml 2017-07-18 14:44:30 +02:00
Alfredo Beaumont
c885af7834 Merge pull request #76 from mcarmonaa/fix/makefile-ci
Included src-d/ci/Makefile.main in Makefile
2017-07-18 13:48:31 +02:00
Manuel Carmona
8e0a26f810 modified benchmark_test.go to use a cloned linguist repo 2017-07-18 13:31:34 +02:00
Manuel Carmona
510c430fd0 fixed some tests that were not using a temp-linguist-repo 2017-07-18 13:31:34 +02:00
Manuel Carmona
1d1e090149 modified Makefile to include src-d/ci/Makefile.main 2017-07-18 13:31:34 +02:00
Alfredo Beaumont
29f7bc77b7 Merge pull request #78 from mcarmonaa/improvement/update-data
upadated data
2017-07-18 12:57:04 +02:00
David Paz
bd402a063c Fixed output text 2017-07-18 12:54:54 +02:00
David Paz
b2fe3f69ce Added mymeType.gold 2017-07-18 12:47:19 +02:00
David Paz
ea819f58c2 Renamed mime to mimeType 2017-07-18 12:46:29 +02:00
David Paz
632422db69 Added pending untracked files 2017-07-18 12:46:29 +02:00
David Paz
25e12e9c03 Returns text/plain when mime it's undefined 2017-07-18 12:46:29 +02:00
David Paz
125c802582 Now generates mime file 2017-07-18 12:46:29 +02:00
David Paz
5df52d50a6 Most of the file analyze done 2017-07-18 12:46:29 +02:00
Alfredo Beaumont
16405aa52f Merge pull request #57 from mcarmonaa/fix/document-sync
document the sync with linguist
2017-07-18 11:24:18 +02:00
Manuel Carmona
12e09ae1d0 upadated data 2017-07-18 09:01:42 +02:00
Alfredo Beaumont
3f3d1c0e70 legal: Replace MIT by Apache2 license 2017-07-14 18:01:08 +02:00
Manuel Carmona
24e751f821 document the sync with lignuist 2017-07-14 15:19:29 +02:00
Alfredo Beaumont
608949faad Merge pull request #58 from mcarmonaa/feature-benchmarks
Benchmarks and results
2017-07-14 15:00:56 +02:00
Manuel Carmona
22cb6f602e renamed benchmark directory to benchmarks
updated .gitignore
2017-07-13 08:23:10 +02:00
Manuel Carmona
4ca7ffb769 added shebang to plot-histogram.gp 2017-07-13 08:23:10 +02:00
Manuel Carmona
f51a17547d augmented histogram font 2017-07-13 08:23:10 +02:00
Manuel Carmona
68109ad01c removed benchmark/output directory 2017-07-13 08:23:10 +02:00
Manuel Carmona
abf45f9266 modified README
requested changes in README

updated performance comment in README
2017-07-13 08:23:05 +02:00
Manuel Carmona
e4fa0067b3 added files with local execution results 2017-07-13 08:21:09 +02:00
Manuel Carmona
8d91dc7be8 added benchmarks and scripts to run, parse and plot them
moved benchmark/run-slow-benchmarks.sh's content to Makefile
2017-07-13 08:21:09 +02:00
Manuel Carmona
2045abfa41 use of gopkg.in/toqueteos/substring.v1 in content.go to improve GetLanguagesByContent performance 2017-07-13 08:21:09 +02:00
Alfredo Beaumont
b2b40bbfc5 Merge pull request #75 from mcarmonaa/fix/document-divergences
documented divergences from linguist
2017-07-12 17:09:42 +02:00
Manuel Carmona
013dc51499 documented divergences from linguist
requested changes
2017-07-11 14:18:49 +02:00
Alfredo Beaumont
c6e4c7f41c Merge pull request #70 from mcarmonaa/fix/document-safe
documented safe value and plural functions in the README
2017-07-11 10:26:38 +02:00
Alfredo Beaumont
4c28f19759 Merge pull request #64 from abeaumont/feature/add-maintainers
docs: Add MAINTAINERS file
2017-07-11 10:25:40 +02:00
Manuel Carmona
b2d0e5935b documented safe value and plural functions in the README 2017-07-11 08:34:33 +02:00