Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open this file in a browser. You will need to get two parts of the screen onto raw files by copy-pasting it:

  1. Scroll down to the section on the project's compile dependencies (transitive

...

  1. ). Grab the table using the mouse, and save the result to a text file. Name the file pkg-dependencies-raw.txt. Keep the browser page open, you will need it later.
  2. Scroll down to the project's runtime dependencies. Grab the table using the mouse and save the result to a text file named runtime-dependencies-raw.txt.
Note
Do NOT trust the License column in the browser. You will need to manually verify the license in a later step by following the package links in the page.

...

Code Block
languagebash
titleProcessing license dependencies
# First, get the new list of dependencies, sorted
cat pkg-dependencies-raw.txt | awk '{printf("%s:%s:%s\n", $1, $2, $3);}' | sort | uniq > /tmp/x1
cat runtime-dependencies-raw.txt | awk '{printf("%s:%s:%s\n", $1, $2, $3);}' | sort | uniq >> /tmp/x1
sort /tmp/x1 >> new-pkg-versions.txt

# Now pull out all package version lines from the existing LICENSE-binary file into another file, call it current-pkg-versions.txt.unsorted
sort current-pkg-versions.txt.unsorted | uniq > current-pkg-versions.txt

# Now you can compare (diff) the two files to see which packages have been removed, and which ones have been added.

# I use tkdiff, but you can use 'diff -y' or some of the more fancy options of diff that helps you get what you want.
tkdiff current-pkg-versions.txt new-pkg-versions.txt


Once you have the old and new package with version numbers, do the following:

...