porg doesn't account for hardlinks in size calculation
Source Code Package Organizer
Brought to you by:
davidrr
For example, git (which has 111 hardlinks to 7,5M /usr/bin/git) counted as 906M instead of 70M in reality:
ojab [ ~ ]$ porg -s git
906M git-2.0.4
ojab [ ~ ]$ ls -larth /usr/bin/git
-rwxr-xr-x 111 root root 7,5M Aug 8 11:50 /usr/bin/git
OK.
So the fix here would be to detect all hard links pointing to the same
file, and counting its size only once.
I'll deal with it right away.
Thanks for helping,
~David.
FIXED IN SVN!
Now sizes of hardlinks are printed like if they were ordinary files,
but when calculating the total size of the packages, multiple
hardlinks pointing to the same file are counted only once.
Cheers.
2014-11-30 13:56 GMT+01:00, David Ricart davidrr@users.sf.net:
Related
Tickets: #2
OK.
So the fix here would be to detect all hard links pointing to the same
file, and counting its size only once.
I'll deal with it right away.
Thanks for helping,
~David.
2014-08-10 17:04 GMT+02:00, ojab ojab@users.sf.net:
Related
Tickets: #2