The manpage pkg-repo() states:
Sadly, this is not true. Only some directories starting with '.' are not traversed. Specifically, those with more than one letter after the '.'
This seems to be a widespread "anti-pattern": in order to avoid grabbing .. togheter with .*, people seem to require at least two charaters after the dot. Example.
Code:
To create a package repository catalogue, specify the top-level directory
beneath which all the packages are stored as repo-path. pkg repo will
search the filesystem beneath repo-path to find all the packages it
contains. Directories starting with ‘.’ or named Latest are not
traversed.
Sadly, this is not true. Only some directories starting with '.' are not traversed. Specifically, those with more than one letter after the '.'
This seems to be a widespread "anti-pattern": in order to avoid grabbing .. togheter with .*, people seem to require at least two charaters after the dot. Example.