./devel/cloc, Count lines of code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.96, Package name: cloc-1.96, Maintainer: pkgsrc-users

cloc counts blank lines, comment lines, and physical lines of source
code in many programming languages, with the following features:

* Reads user-supplied language comment definition files
* Allows results from multiple runs to be summed together by
language and by project.
* Produces results in a variety of formats: plain text, XML, YAML,
CSV.
* Counts code within compressed archives (tarballs, Zip files, Java
.ear files).
* Has numerous troubleshooting options.
* Handles file and directory names with spaces and other unusual
characters.


Required to run:
[textproc/p5-Regexp-Common] [lang/perl5] [devel/p5-Algorithm-Diff] [devel/p5-Parallel-ForkManager]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 634.572 KB

Version history: (Expand)


CVS history: (Expand)


   2023-01-09 19:44:21 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
cloc: update to 1.96.

============================================================================
                Release Notes for cloc version 1.96
                   https://github.com/AlDanial/cloc
                             Dec. 18, 2022

New Languages and File Types:
    o Cairo
    o Carbon
    o Circom
    o Containerfile
    o HolyC
    o kvlang
    o Nunjucks
    o OpenSCAD
    o P4
    o Pest
    o Pony
    o TEAL
    o WGSL

Updates:
    o New switch --diff-list-files to run diff given two list
      files.
    o Handle comments embedded in OCaml strings.
    o Write empty JSON and XML structures if the inputs yield zero
      counts.
    o Including Win32::LongPath to support long paths on Windows.
    o Better support for building and running Docker image on Windows
    o Better output file names when running with --count-and-diff
      and --out.
    o Resolve internal file handle conflict when running --diff with
      --sdir or --categorized.

============================================================================
                Release Notes for cloc version 1.94
                   https://github.com/AlDanial/cloc
                             July 4, 2022

New Languages and File Types:
    o Derw
    o Finite State Language
    o Flatbuffers
    o Futhark
    o Godot Shaders
    o HTML EEx
    o Lem
    o PEG, peg.js, peggy, tspeg
    o Text (.txt and .text)
    o Visual Studio Module
    o X++

Updates:
    o Handle empty Unicode files which contain only a BOM (byte
      order mark).
    o The arguments to --include-lang are now case insensitive.
    o .cjs added as JavaScript extension.
    o Switches --git and --xml together now include additional git
      metadata (origin, branch, commit hash) in the XML output.  Future
      releases will include these additions in YAML, JSON, SQL, and
      Markdown output as well.
    o New switch --no-recurse prevents recursive directory traversal.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2022-06-27 17:29:18 by Frederic Cambus | Files touched by this commit (41)
Log message:
*: drop maintainership for packages not related to toolchains and ELF.
   2021-12-06 13:41:47 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
cloc: update to 1.92.

New Languages and File Types:
    o GraphQL
    o Metal Shading Language
    o PlantUML
    o Properties
    o Umka

Updates:
    o The .bzl and .bazel extensions are now associated with Starlark.
    o Added support for Puppet functions and type aliases.
    o Removed reliance on XML definition with --force-lang-def
    o Fixed broken --csv-delimiter handling.
    o Fixed broken interaction of --vcs=git with --max-file-size;
      support floating point value for --max-file-size.
    o Improved support for uniform handling of uppercase and
      lowercase filenames and extensions on Windows.
    o Recognize CMakeLists.txt on Windows.
    o Fixed handling of --unicode for small files.
    o Updated Dockerfile to produce a smaller image.
    o Improved contents of --ignored file (now includes skipped
      binary files and does not include directory names).
    o Identify SCSS separately from Sass.
    o Updated Sass filters to handle C++ style comments.
    o Improved support for Assembly.
    o Recognize :: comments in DOS batch files.
    o Properly handle explicitly-excluded files (for example,
      .gitignore) with --diff.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-06-28 21:41:36 by Michael Forney | Files touched by this commit (1) | Package updated
Log message:
cloc: specify PODDATE exactly instead of using non-portable stat(1) command

BSD and Linux stat(1) vary quite heavily in their option syntax,
and this usage is not supported on Linux. Instead, just write out
the manual date explicity (to be updated during releases).
   2021-06-13 21:51:24 by Frederic Cambus | Files touched by this commit (1)
Log message:
cloc: fix man page generation.

pod2man.mk previously failed to generate the man page because of a date
command failure.

Issue originally reported by Omar Polo on the OpenBSD ports mailing
list, and workaround provided there by Stuart Henderson.