Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Greg Villicana 80146ce1b9
Add logs to MvnCLI and use dictionaries to improve perf on large repos (#1213)
* Add logs to MvnCLI and use dictionaries to improve perf on large repos
* Add cancellation token to MvnCLI command
2024-07-30 15:56:59 -07:00
James Oakley f85b6c4363
Support development dependencies for the Gradle detector (#878)
* Support development dependencies for the Gradle detector

Lack of development dependency detection for Gradle is a problem for
Android teams, especially in the context of Component Governance
alerts. Unfortunately Gradle doesn't provide enough information to
definitively identify dev dependencies in all cases, so manual
configuration is required. This change adds dev dependency
classification through two mechanisms

1. `buildscript-gradle.lockfile` and `settings-gradle.lockfile`
   contain only build-system dependencies, so always classify these as
   development dependencies.
2. Processing based on two new environment variables:
   `GRADLE_PROD_CONFIGURATIONS_REGEX` and
   `GRADLE_DEV_CONFIGURATIONS_REGEX`. Gradle lockfiles indicate which
   Gradle configuration(s) each dependency is required by.
   `GRADLE_PROD_CONFIGURATIONS_REGEX` allows specifying
   production configurations explicitly. All other configurations are
   considered development. Alternately, dev configurations may be
   specified in `GRADLE_DEV_CONFIGURATIONS_REGEX` and all others are
   considered production.

* Changes based on meeting prior to the holidays

* fluent assertions

* Visual studio recommendations

* More fluent assertsions

* Fix test to be cross-platform

* Fix the cross-platform test fix

* Fix code coverage by removing dead code check

* Address code review comments
2024-02-27 10:39:53 -08:00
Justin Perez 260487ea06
feat: disable detector experiments by default (#688) 2023-07-31 21:07:49 +00:00
Justin Perez f5494ac552
docs: correct pip default cache enties (#547) 2023-05-01 22:47:35 +01:00
Justin Perez f4ea6f977d
refactor(npm): separate lockfile 3 detector (#504) 2023-04-12 14:57:08 -07:00
Justin Perez 4c53d00338
feat(npm): add support for lockfile v3 (#490) 2023-04-07 12:13:44 -07:00
Rushabh 0bab2eea89
Enable GoCliDetector by default. Using env variable 'DisableGoCliDetector=true" to manually disable GoCliDetector. (#113)
Previously, the Go-Detector by default scanned the manifest and generated components. We were using EnableGoCliScan env. variable to activate the Go Cli Detector. With this change, the use of EnableGoCliScan is removed. The Go detector by default uses Cli scan.

To manually override this behavior, new env. variable DisableGoCliScan is introduced.
2022-05-09 11:09:56 -07:00
Jamie Magee 2d5a418320
docs: document environment variables (#84) 2022-03-24 15:12:38 -07:00