forked from Ram-Z/ccr-tools
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
I've had this script for a while, but didn't think about including it in ccr-tools until just now.
http://paste.chakra-project.org/1446/
It find duplicates of official packages that are in the CCR with the same name, and gives a colorized report of what it found, that looks something like this:
$ ccrdups
colordiff is a duplicate! It exists in both the CCR and [testing]
The version in CCR is 1.0.9-1; the version in the repos is 1.0.9-1 (Both are the same)
lesspipe is a duplicate! It exists in both the CCR and [testing]
The version in CCR is 1.72-1; the version in the repos is 1.72-1 (Both are the same)
packagekit-python is a duplicate! It exists in both the CCR and [testing]
The version in CCR is 0.7.1-1; the version in the repos is 0.6.22-1 (CCR package is newer)
zramswap is a duplicate! It exists in both the CCR and [testing]
The version in CCR is 0.2-1; the version in the repos is 0.2-1 (Both are the same)
Total duplicates: 4
The script is very slow, so if you can think of a better way to implement the same function, that would be good.