Expected:
The file count for a package should be consistent, independent of the node image versions from which the crawler is based on.
Observed:
The file count is different for package pod/cocoapods/-/SoftButton/0.1.0 between the harvested result from node 16 based crawler and the result from node 18 based crawler:
summaryInfo.count is 78 in the node:16 based image
summaryInfo.count is 80 in the node:18-bullseye based image.
The difference is due to the files in .git directory, specifically: .git/hooks/pre-merge-commit.sample, and .git/hooks/push-to-checkout.sample.
When processing files during harvest, files from .git directory are excluded. This is reflected in clearlydefined.versionx.files section in the harvested data, and the "Files" section in the UI.
Similarly, files under .git directory should be excluded when calculating the file count for the package.
Expected: The file count for a package should be consistent, independent of the node image versions from which the crawler is based on.
Observed: The file count is different for package pod/cocoapods/-/SoftButton/0.1.0 between the harvested result from node 16 based crawler and the result from node 18 based crawler:
The difference is due to the files in .git directory, specifically: .git/hooks/pre-merge-commit.sample, and .git/hooks/push-to-checkout.sample.
When processing files during harvest, files from .git directory are excluded. This is reflected in clearlydefined.versionx.files section in the harvested data, and the "Files" section in the UI.
Similarly, files under .git directory should be excluded when calculating the file count for the package.