[libstring-copyright-perl] annotated tag upstream/0.002001 created (now 14d9dd1)
Jonas Smedegaard
dr at jones.dk
Thu Aug 11 10:15:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a change to annotated tag upstream/0.002001
in repository libstring-copyright-perl.
at 14d9dd1 (tag)
tagging ccf9e5098e466c3cd4de510ebb8552094f6b8c8a (commit)
replaces upstream/0.001002
tagged by Jonas Smedegaard
on Thu Aug 11 11:41:33 2016 +0200
- Log -----------------------------------------------------------------
Upstream version 0.002001
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJXrEhNAAoJECx8MUbBoAEhNFgP/jSAmCWEeraWr1AQVZ8LkHA0
f9oh56I2s75LkKhpAcDXP7Z+huzxkTZkmR84nLj/5uDqSlPUq0ShnUFIcxFndOdQ
fKq9y+mJKGEaGpgF+kBA9LsmMrALWAG1ODy17x/nKhKcejhgPYHVL1Z7SUz+CNg0
5xT4qbE+N0o/qxTW/v8OUeIaAcV4cahESXhIPtR6p2nl34itnFIhVWEdpmlJPPGz
X862Fwhlpv2Os4iYeNCoi+EXT0Q0QvAFu/5gY8HGruBW10MYPCX+nu/1QSe5ZFCm
3ol6dsVIhBT4vUFIYKAPTKf2Q5AWME95Or1UekcOI1gHZyjajNJMg5UkYxFvNr3G
OqpDDF1ZexH4bFro7zsr0ZnM8EgTGzZtKc9ERH/WwlmDqCYLT3UiKi3PNG13Zumc
Bd+4ptxP8bd420HfLW/miUDGmwMpWMcyunUX/i0fs3qkUR5mvQ7daOPuQk4hZsZE
MHSTxi+320GOlkPmPMkYSQLuUUsn12UMdC2XfmjnUU3G0eE/AMtTX4sjWcLAWR49
aaawdaVIGqnG5hqMViKtwAlmz2KPbGWYGgDELtfFcAsxhGXEOiWFJSXv+8ng/n1d
k44E5tKx7E2iy7PbWDLXO3tjbUQpq2e1Y3busqCECMHMlDKStFhzPxSr054ORH/Z
gaBwBzGrkRUIfPWLAGUI
=uQCP
-----END PGP SIGNATURE-----
Jonas Smedegaard (70):
Tidy parser: Reorder and compact regexes above subs.
Tidy parser: Strip subsequent copyright signs in initial capture re (not separately).
Tidy parser: Eliminate superfluous $copyright variable.
Tidy parser: Return immediately (not at end of if-else loop) if sign was bogus.
Tidy parser: Define $match only when needed.
Tidy parser: Dissolve needless else block.
Tidy parser: Strip ancient commented out debug code.
Add initial context tests.
Rename regex $not_before_sign_re → $bogus_sign_re, and include in $sign_with_capture_re (not separately).
Fix stop include next line based on it starting with digits (only on previous line ending with digits).
Tidy parser: Drop unused in-block tracking.
Tidy parser: Chomp in initial capture re (not separately).
Tidy parser: Separate regex $years_owners_re.
Improve parser: Separate regexes $years_re $owners_re. Adapt tests.
Tidy parser: Rename regex $not_owner_re → $bogus_owner_re, and improve comment.
Tidy parser: Detect and avoid bogus owner in initial capture re (not separately).
Tidy parser: Rename regex $sign_with_capture_re → $sign_years_owners_re.
Tidy tests: Simplify to not use newline where (soon) failing.
Fix extend block into next line(s) only when purely years detected (not on any - possibly owner - string ending in digits). Adapt range tests to match.
Tidy parser: Return immediately (not at end of if-else loop) if no match.
Merge sub parse_line() into parse_string().
Tidy a comment.
Fix silence closure warnings for regex variable.
Tidy parser: Separate regex $comma_re.
Tidy parser: Separate regex $year_re.
Tighten parser slightly regarding years matching of subsequent lines. Adapt tests.
Tidy parser: Separate regex $comma_tidy_re.
Improve parsing of year-like strings: Now treated as owner in more corner cases.
Tidy parser: slightly simplify $sign_re.
Tighten parsing to consider only space and tab (not other whitespace) where appropriate.
Add a few tests for year-like owner field.
Update changes, and bump version.
Fix use re 'eval'.
Update changes, and bump version.
Tidy parser: Rename regex $hspace_re → $blank_re (equivalent to POSIX [[:blank:]] but perl \h may include additional Unicode whitespace).
Tighten owner detection to require non-punctuation as initial character. Improve testsuite.
Fix stop exclude define's (misses statements embedded in e.g. "banner" define); instead tighten sign detection to require space around pseudo-sign (c). Adjust testsuite.
Relax years detection to tolerate initial commas. Improve testsuite.
Tidy parser: Stop needlesly avoid years initially in $owners_re (core regex logic is for the previous $years_re to match more greedily).
Tidy parser: Move capture group for years to $years_re.
Tidy parser: Rename regex $bogus_owner_re → $chatter_re.
Add tests for nonsign.
Limit chatter detection to non-email-like strings generally (not only for info/information).
Tidy parser: Sort and simplify regex $chatter_re.
Tidy parser: Rephrase if( not(...) ) → unless(...).
Detect chatter before signs or owners.
Tidy parser: Avoid tracking beyond match in regex $owners_re.
Detect comma before years. Adjust testsuite.
Extend testsuite with (not yet handled) sloppy year ranges and multiple statements on same line.
Update changes, and bump version.
Detect "copyright law(s)" and "copyright on" as chatter.
Improve chatter detection to less likely catch false positives. Extend comment on how to test at codesearch.debian.net.
Detect chatter involving "and".
Extend testsuite.
Use Exporter::Tiny.
Implement threshold options, with none by default (was hardcoded threshold_after=5).
Slight optimization: Tidy comma only once.
Slight optimization: Limit $comma_re to non-empty string.
Slight optimization: Limit $comma_re and $owners_re to at most one newline.
Slight optimization: Limit $signs_re to blank (not other space).
Parse multiple lines at a time; Now detects year range with newline after hyphen, and avoids misdetecting year-only statements as tied to text sebarated by blank line. Update testsuite.
Tidy parser: Drop regex $years_owners_re (now used only once).
Tighten detection to either comma or colon after signs (not both).
Extend testsuite with (yet unsupported) corner cases related to signs on separate line.
Tighten parser: Explude comma as initial owner character.
Tidy parser: Restructure loop breaks to (soon) be optimized away based on configuration.
Merge sub parse_string into _generate_copyright, enabling optimizing away loop breaks when not enabled by config.
Update changes, and bump version.
Update and sort spell list.
Imported Upstream version 0.002001
-----------------------------------------------------------------------
No new revisions were added by this update.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libstring-copyright-perl.git
More information about the Pkg-perl-cvs-commits
mailing list