Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #12412
Closed
Open
Issue created Jun 25, 2019 by Olivier Gonzalez@gonzoyumo👶Developer4 of 4 checklist items completed4/4 checklist items

Document DS_PIP_DEPENDENCY_PATH option for Dependency Scanning and add to vendored template

Problem to solve

To address gitlab-org/security-products/analyzers/gemnasium-python!11 (merged) we've added an option to specify a path to the installed python pip dependencies.

We should document this new option and allow to use this variable from the Dependency Scanning vendored template.

Intended users

Persona: Software developer

Proposal

  • rename the PIP_DEPENDENCY_PATH environment variable in gemnasium-python into DS_PIP_DEPENDENCY_PATH. Keep the old PIP_DEPENDENCY_PATH value as an alias for backward compatibility. (gitlab-org/security-products/analyzers/gemnasium-python!24 (merged))
  • add the DS_PIP_DEPENDENCY_PATH variable to the vendored template (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30762)
  • document DS_PIP_DEPENDENCY_PATH in the Available variables section (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30762)

Testing

  • update the python-pip test project to use DS_PIP_DEPENDENCY_PATH, and make sure it really uses it - that's not the case right now and the integration test is misleading (gitlab-org/security-products/analyzers/gemnasium-python!24 (comment 193912902))

What does success look like, and how can we measure that?

DS_PIP_DEPENDENCY_PATH option is properly documented.

What is the type of buyer?

GitLab Ultimate

Links / references

Edited Jul 19, 2019 by xlg
Assignee
Assign to
Time tracking