On Sun, Mar 22, 2015, at 04:36 PM, Joerg Jung wrote:
> Hi,
>
> please find below a simple update of textproc/cloc to 1.62.
> New version includes several further languages.
>
> Comments, OKs?
>
> Regards,
> Joerg
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/cloc/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile 19 Oct 2013 09:56:18 -0000 1.5
> +++ Makefile 22 Mar 2015 15:26:47 -0000
> @@ -2,7 +2,7 @@
>
> COMMENT= count lines of code
>
> -DISTNAME= cloc-1.60
> +DISTNAME= cloc-1.62
> DIST_SUBDIR= cloc
>
> CATEGORIES= textproc devel
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/textproc/cloc/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- distinfo 19 Oct 2013 09:56:18 -0000 1.3
> +++ distinfo 22 Mar 2015 15:26:47 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (cloc/cloc-1.60.pl) =
> SqhwvvEE/SuPA8Zn74vizWcc31n0bHIEbEPtFOIioFw=
> -SIZE (cloc/cloc-1.60.pl) = 344405
> +SHA256 (cloc/cloc-1.62.pl) =
> +jeTtXaJXN4qyuJqSUR78MVas/eb2s+wCoj8HSVcJXA=
> +SIZE (cloc/cloc-1.62.pl) = 374834
>
Upgraded with zero issues and ran on my local checkouts of some code.
OK from me. The fact that 'D' is detected in the folder and that it has
a -1
comment count is not a regression - I have the same behaviour with
v1.60.
Judging from the output at least JSON was added as a language.
===> Installing cloc-1.62 from /usr/packages/i386/all/
cloc-1.60->1.62: ok
$ cloc --version
1.62
$ cloc $HOME/go/src
1208 text files.
1145 unique files.
386 files ignored.
http://cloc.sourceforge.net v 1.62 T=38.61 s (22.9 files/s, 4764.8
lines/s)
--------------------------------------------------------------------------------
Language files blank comment
code
--------------------------------------------------------------------------------
Go 741 20810 24469
123530
Javascript 35 635 417
3937
CSS 16 651 74
3536
HTML 35 387 62
3092
Assembly 4 51 22
642
Lisp 4 89 114
517
JSON 29 1 0
164
vim script 3 20 31
144
Bourne Again Shell 3 30 26
137
YAML 6 13 0
95
Tcl/Tk 1 17 0
61
Python 1 9 3
55
Ruby 1 12 1
47
Bourne Shell 3 0 0
17
make 1 4 8
14
XML 1 0 0
11
--------------------------------------------------------------------------------
SUM: 884 22729 25227
135999
--------------------------------------------------------------------------------
$ cloc $HOME/code
2 text files.
1 unique file.
1 file ignored.
http://cloc.sourceforge.net v 1.62 T=0.18 s (5.6 files/s, 56.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment
code
-------------------------------------------------------------------------------
C 1 1 0
9
-------------------------------------------------------------------------------
$ cloc $HOME/kiln
695 text files.
379 unique files.
434 files ignored.
http://cloc.sourceforge.net v 1.62 T=29.81 s (5.2 files/s, 4837.9
lines/s)
--------------------------------------------------------------------------------
Language files blank comment
code
--------------------------------------------------------------------------------
Bourne Shell 6 1839 610
134124
XML 42 77 0
4497
YAML 90 112 48
1656
Perl 2 50 49
403
Python 6 45 8
171
Haskell 3 23 53
142
Bourne Again Shell 1 21 6
95
D 1 11 -1
54
JSON 2 0 0
28
make 1 11 1
24
Ruby 1 8 34
20
SQL 1 0 0
1
--------------------------------------------------------------------------------
SUM: 156 2197 808
141215
--------------------------------------------------------------------------------
old output for the last folder
$ cloc $HOME/kiln
695 text files.
379 unique files.
1362 files ignored.
http://cloc.sourceforge.net v 1.60 T=24.79 s (6.2 files/s, 5816.3
lines/s)
--------------------------------------------------------------------------------
Language files blank comment
code
--------------------------------------------------------------------------------
Bourne Shell 6 1839 610
134124
XML 42 77 0
4497
YAML 90 112 48
1656
Perl 2 50 49
403
Python 6 45 8
171
Haskell 3 23 53
142
Bourne Again Shell 1 21 6
95
D 1 11 -1
54
make 1 11 1
24
Ruby 1 8 34
20
SQL 1 0 0
1
--------------------------------------------------------------------------------
SUM: 154 2197 808
141187
--------------------------------------------------------------------------------
Regards,
Adam