pkg version -vl '<'
took a blink of an eye. Now i tested a gitup ports
, and that pkg command takes now ~40 seconds till the ~200 packages are listed that the ports tree is newer than the quarterly binary packages I've got installed.
Both tools give you a plain tree of files. With portsnap, you have metadata in
/var/db, with git in a
single subdirectory in
/usr/ports. This doesn't change anything about the speed of traversal on the filesystem level.
Your link tells me that git saves some disk space - but it seems to me that it was "usefull wasted" before
No. No other tool except portsnap itself ever uses portsnap's metadata.
edit: Ha, looking a bit deeper into this: pkg DOES use an index if present in the ports tree. That's
not portsnap's metadata, but portsnap fetches it together with the snapshots. You can fetch it yourself with
make fetchindex
. Drawback: could be slightly out of date, similar to the snapshots portsnap fetches. But at least only a few hours, while porsnap snapshots can be a few days old.
make index
will build it locally, which, of course, requires traversal again.
(No one asked, but: I don't think that anyone would not contribute because there's svn and not git (that was named as the reason for this switch). Git is just the next cool must have to play with. It has zero benefit to me, but is a additional burden to deal with.)
I get it doesn't have any value for YOU. Well, bad luck, but the rest is utter nonsense.