summaryrefslogtreecommitdiff
path: root/run.sh
AgeCommit message (Collapse)Author
2020-11-10fix: detect maven wrapper in sub directorymo khan
* chore: fix bin scripts
2020-08-21Install tools from .deb packagemo khan
2020-08-18Update license_finder to 6.8.1mo khan
* Update CHANGELOG * Add default retry for all jobs * Ensure all deb packages are built
2020-08-13Ensure drupal pkgs are detected correctlymo khan
* Use same composer.json and composer.lock file from issue * Check if vendor path exists before specifying env vars * Install php from deb package
2020-08-12Explicitly source bashrcmo khan
In some cases the '$HOME' environment variable is overwritten in the runtime environment. This occurred when running this image in a OpenShift environment.
2020-08-10Unpack Rust deb package before asdf installmo khan
2020-07-14Fetch dependencies from a custom dotnet sourcemo khan
* Install custom ca certificate in location where nuget can recognize it * Add subject alternative name to the generate x509 cert * Do not cache packages and https requests * Detect vbproj, fsproj, csproj, and sln files * Improve nuget package detection * Parse SPDX license expression from nuspec files * Update version and update CHANGELOG
2020-07-10Isolate license_management ruby from projectmo khan
* Target ruby version 2.7.1 * Add spec to fetch gems from a custom source * Add proxy to rubygems.org config * Specify default env vars to support offline environment * Cleanup custom certificates after spec * Inline docker-test script * Do not install license_finder with each installed ruby * Increase gem log verbosity and include backtrace * Extract test fixtures for the different ruby scenarios * Find *.gemspec files in gems dir * Use RUBYLIB to hijack src path * Run scan from project path dir
2020-07-06Install gems from custom source with custom CAmo khan
* Bump version and add CHANGELOG entry * Configure Bundler logging * Include install_path of gem * Use gem summary and full_gem_path * Specify a vendor path to install dependencies to prevent leakage between tests and take advantage of build job cache
2020-06-26Update Java to match new naming conventionmo khan
2020-06-14Update default name of the generated reportTetiana Chupryna
2020-06-08Use GOPROXY to test downloading modules for trusted and untrusted TLS endpointsmo khan
* Use haproxy to proxy to package registry * Install haproxy in setup script * Add markers for collapsible sections * Move ignored groups setup to prepare_project
2020-06-05Extract function to prepare java and pythonmo khan
2020-06-05Extract function to switch to exact tool and versionmo khan
2020-06-05Allow configuring Python version using environment variablesmo khan
2020-06-05Launch the desired Java versionmo khan
2020-05-07Output `asdf install`Philippe Lafoucrière
2020-05-04Add tests for js npm projectsmo khan
* Add tests for js projects with npm-lock.json file * Add specs for project that does not have a package-lock.json * Fix typo in loading fixture file content not path * Remove dev dependencies for expected js test reports * Add spec for using different engine * Add latest nodejs LTS * Cleanup files after install and disable NPM update checks * Install a .curlrc to remove progress meter * Export LOG_LEVEL=debug in dev mode * Update fixture files * Update to latest patch level of nodejs, php, python, ruby * Add CHANGELOG entry * Move prepare_javascript from bash to ruby
2020-04-20Use --local to install license-management gemmo khan
* Add CHANGELOG entry
2020-04-17Redirect stdout/stderr to /dev/nullmo khan
2020-04-17Print message when tools are getting installedmo khan
2020-04-17Use … charactermo khan
2020-04-17Skip tool install unless requiredmo khan
2020-04-17Forwarding the --python-version is not required anymoremo khan
2020-04-16Update to latest Java 11mo khan
2020-04-15Use GRADLE_CLI_OPTS when invoking gradle directlymo khan
* Extract gradle_command method * Bump version and update CHANGELOG * Remove prepare_java step from run.sh
2020-04-02Reproduce failure with go modules scanningmo khan
* Install sudo for existing configurations * Detect dependencies in a gomodules project * Add CHANGELOG entry and bump version * Symlink to $GOPATH for non go modules projects * Remove problematic go get setup
2020-04-01Pull package info from sources in Pipfile.lockmo khan
* Exclude dependencies in "develop" group" * Install pipenv by default * Use .venv to match the default location as pipenv * Use pip-licenses to detect licenses in Pipfile project * Add variation of the MIT License * Redirect asdf install stdout to /dev/null * Add CHANGELOG entry and bump version
2020-04-01Fix bug with forwarding LICENSE_FINDER_CLI_OPTSmo khan
2020-03-30Use virtualenv, pip-licenses to scan projectsmo khan
* Add PIL License to list of normalized licenses * Update Python 3 v2.0 report fixture * Add CHANGELOG entry * Define local variables in bash functions * Ensure `SETUP_CMD` continues to work for python projects * build virtualenv app-data cache * Fallback to legacy scanner when SETUP_CMD is used * Extract Shell class to be able to pass custom env
2020-03-20Install maven packages for multi-module setupmo khan
* Install packages when multiple maven modules are detected * Add CHANGELOG entry * Install gem silently * Add package manager to test description * Sort paths
2020-03-19Fix usage of SETUP_CMDmo khan
2020-03-18Remove extra mvn install stepmo khan
LicenseFinder uses the [mvn license-maven-plugin:download-licenses](https://github.com/pivotal/LicenseFinder/blob/57914395fba6c8ceb741b1dc7ca2ef4efe91f6c9/lib/license_finder/package_managers/maven.rb#L16) plugin to fetch licenses. There is no need for the extra `mvn install` step. We just need to make sure that the `MAVEN_CLI_OPTS` are forwarded to `mvn` properly.
2020-03-18Use MAVEN_CLI_OPTSmo khan
2020-03-18Split recursive optionmo khan
2020-03-09Check for CI_PROJECT_DIR variable otherwise fallback to commandline argumentsmo khan
2020-03-09Take the last argument providedmo khan
2020-03-09Print input arguments when CI_DEBUG_TRACE is enabledmo khan
2020-03-07Rename LM_DEBUG to CI_DEBUG_TRACEmo khan
2020-03-07Ensure legacy SETUP_CMD scripts continue to workmo khan
2020-03-07Fix shellcheck errormo khan
2020-03-07Fix nuget specsmo khan
2020-03-07Fix BUNDLE_PATH conflict.mo khan
BUNDLE_PATH is hard coded [here](https://github.com/pivotal/LicenseFinder/blob/e91798fd82c127f3d9e7d844600886853a41b6c3/lib/license_finder/package_managers/bundler.rb#L42)
2020-03-06Remove + expansionmo khan
2020-03-06Try plus expansionmo khan
2020-03-06Extract python_version variablemo khan
2020-03-06fix some pip specsmo khan
2020-03-05Install gem into pkg dirmo khan
2020-03-05Extract default env varsmo khan
2020-03-05Extract logical defaultsmo khan