Commit graph

21 commits

Author SHA1 Message Date
Bradley M. Kuhn
ba087e3285 First draft of new diffstat-total-compare.plx script. 2013-08-15 20:48:16 -04:00
Bradley M. Kuhn
f407f1e8b2 This script is based on blame-count-lines-by-name-and-commit-list.plx.
It will handle finding lines of text in a blame file for commits that
match a given user, and give out a list of commit ids that are not on a
commit list.
2012-08-13 17:50:01 -04:00
Bradley M. Kuhn
ff49fe5311 Similar to blame-find-by-name.plx, but has three lists worth of criteria. 2012-08-13 17:49:14 -04:00
Bradley M. Kuhn
c4151115ef Script similar to blame-counter.plx that will count based on two criteria. 2012-08-13 17:47:52 -04:00
Bradley M. Kuhn
0ed5f8090e Merge commit 'refs/merge-requests/1' of git://gitorious.org/gpl-enforcement-tools/gpl-enforcement-scripts into merge-requests/1 2012-06-19 15:08:49 -04:00
Bradley M. Kuhn
c3be8155aa There's no reason for diff call here to not always ignore whitespace. 2012-05-24 09:43:42 -04:00
Bradley M. Kuhn
232072ed9e Switch some of the temporary file operations to use File::Temp() 2012-04-15 11:01:01 -04:00
Bradley M. Kuhn
df4e0f2f0e die if write to output file fails for any reason. 2011-12-06 09:27:31 -05:00
Brett Smith
d0bc6f16da first version of license header reporter 2011-09-17 12:01:17 -04:00
Bradley M. Kuhn
c13600b7fb Change sorting order. 2011-08-30 13:24:39 -04:00
Bradley M. Kuhn
f4147dc085 Changed format of output to be more uniform. Include percentage. 2011-08-30 13:24:30 -04:00
Bradley M. Kuhn
c44ec348eb Began script to print all commit IDs and number of lines found in blame output. 2011-08-29 16:08:30 -04:00
Bradley M. Kuhn
73f1df4e47 First draft of line blame counter script. 2011-08-23 10:23:23 -04:00
Denver Gingerich
1208e8b7da h-c: sort the list of files used for file compare
Sorting the list of files used for file comparisons (MD5 sums and
actually diffs) makes the output much easier to deal with, especially
for C&CS checkers.  It groups all the files in a given directory
together so that one can more easily deal with all these files at
once.  This is useful for comparing differences in particular
components, especially ones like BusyBox whose files exist mostly in a
single directory and have the same checksums (since they all point to
one binary).
2011-05-20 11:24:13 -04:00
Denver Gingerich
31e2c78e8c h-c: infinite context for file MD5 sum comparison
Since C&CS checkers are often interested in the list of files that
have stayed the same between a firmware release and the result of
compiling the C&CS for that firmware (ie. to see if there are binaries
which have not changed, which is unlikely because each compiler
configuration outputs slightly different binaries), add "infinite"
lines of context in the diff command for the MD5 checksum comparison.
This will include all files that have not changed (in addition to the
files that have changed).

I didn't immediately see a flag for infinite lines of context in the
diff manpage so I'm using a big number for now (2,000,000,000).
2011-05-20 11:16:11 -04:00
Denver Gingerich
349f4eee34 h-c: "comparision" -> "comparison" 2011-05-20 11:06:10 -04:00
Denver Gingerich
98f589eb63 h-c: "unablet open" -> "unable to open" 2011-05-20 11:04:41 -04:00
Denver Gingerich
b04949af1a h-c: add headings for each type of comparison
Without headings, it's non-obvious which sections correspond to which
comparisons in the output file.  This information was printed to
standard output, but not to the output file.  So I added this
information to the output file as well.

My knowledge of Perl is limited so I just used system("/bin/echo ..");
for now.  It would be good to fix that later.

I've added a copyright notice for myself, since this change is
probably significant enough to be copyrightable.
2011-05-20 10:56:11 -04:00
Bradley M. Kuhn
19e762da5f Put proper copyright notices after email exchange with all the authors in
question to verify they agree to GPLv3-or-later.  I have the email
archives privately if anyone ever needs to verify that all copyright
holders agreed to license this code GPLv3-or-later.
2011-04-27 10:51:27 -04:00
Bradley M. Kuhn
2e0c765a28 Added copy of GPLv3 2011-04-21 12:51:44 -04:00
Bradley M. Kuhn
5c750d7c58 Versions of these two scripts that I've been using on my machines for many years.
They have never been consistently kept in any revision control history, so
the revision control stuff I have before today is probably not all that
helpful either since it's so sporadic.
2011-04-21 12:46:36 -04:00