Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-146] appcd-detect: Detect engine scans paths that were already recursively scanned

GitHub Issuen/a
TypeBug
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2017-11-16T08:19:24.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.0.0
Componentsappcd-detect
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2017-11-15T23:40:06.000+0000
Updated2017-11-16T08:19:25.000+0000

Description

Found an issue where the detect engine is finding the same thing more than once. For example, say you have the search path /opt and the ANDROID_NDK environment variable is pointing to /opt/android-ndk. The search paths will be /opt and /opt/android-ndk. It will recursively scan /opt and find the ndk in /opt/android-ndk. However it will continue to scan the /opt/android and find the same thing again. The detect engine recursively walks the search paths in series, so it should be possible to track "visited" directories or "found" items.

Comments

No comments

JSON Source