Skip to content
Snippets Groups Projects

Implement parser for pipfile.lock

Merged Can Eldem requested to merge add-pipfilelock into master

What does this MR do?

Introduce dependency file parser for Pipfile.lock.

The parser is NOT enabled/imported in main.go because this is currently blocked by gitlab-org/gitlab#33341 (closed).

Also, this parser is redundant with Pipfile parser, enabled in gemnasium-python (see pipenv.go).

What are the relevant issue numbers?

gitlab-org/gitlab#33227 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Fabien Catteau
  • Fabien Catteau
  • Fabien Catteau
  • Fabien Catteau
  • Fabien Catteau
  • @caneldem It looks like you've implemented the Pipfile.lock parser, which is all we can do at the moment anyways, because of gitlab-org/gitlab#33341 (closed). Shall I review this? Is it still WIP?

    In the meantime I'm assigning the MR to you, to make sure it doesn't get lost.

    UPDATE: I did a quick review but didn't check every single line of code.

  • Can Eldem added 1 commit

    added 1 commit

    Compare with previous version

  • Can Eldem marked the checklist item Changelog entry added as completed

    marked the checklist item Changelog entry added as completed

  • Can Eldem changed the description

    changed the description

  • Can Eldem changed milestone to %12.4

    changed milestone to %12.4

  • Can Eldem unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Can Eldem changed title from WIP: Add pipfile.lock parser to Implement parser for pipfile.lock

    changed title from WIP: Add pipfile.lock parser to Implement parser for pipfile.lock

  • Author Contributor

    @fcatteau its ready for review thanks for early feedback.

    • Remove main.go line 31 after MR is accepted
    • Revert changes in .gitlab-ci.yml after MR is accepted. Changes are just for testing purposes
  • Can Eldem assigned to @fcatteau and unassigned @caneldem

    assigned to @fcatteau and unassigned @caneldem

  • Fabien Catteau
  • Fabien Catteau
  • Fabien Catteau
  • @caneldem Back to you! :ping_pong:

  • Fabien Catteau assigned to @caneldem and unassigned @fcatteau

    assigned to @caneldem and unassigned @fcatteau

  • Can Eldem added 1 commit

    added 1 commit

    • fbca8312 - Add missing test and apply feedback for refactor

    Compare with previous version

  • Can Eldem added 4 commits

    added 4 commits

    • d4f176ea - 1 commit from branch master
    • 262fce5d - Merge branch 'caneldem-master-patch-67399' into 'master'
    • 673b6c9f - Implement feedback
    • ec33676a - Add missing test and apply feedback for refactor

    Compare with previous version

  • Can Eldem added 1 commit

    added 1 commit

    Compare with previous version

  • Can Eldem added 4 commits

    added 4 commits

    Compare with previous version

  • Can Eldem added 1 commit

    added 1 commit

    Compare with previous version

  • Can Eldem added 1 commit

    added 1 commit

    Compare with previous version

  • Can Eldem added 1 commit

    added 1 commit

    Compare with previous version

  • Can Eldem added 1 commit

    added 1 commit

    • 6556b944 - Better structures for parsing

    Compare with previous version

  • Can Eldem added 1 commit

    added 1 commit

    • 98dbb3f2 - Accept packages from pypi and unknown

    Compare with previous version

  • Author Contributor

    @fcatteau

    • changed struct for parsing
    • added filter for pypi and empty fields
    • added condition for pipfile-spec field (see discussion above)
  • Can Eldem assigned to @fcatteau and unassigned @caneldem

    assigned to @fcatteau and unassigned @caneldem

  • Can Eldem added 1 commit

    added 1 commit

    • fbd97c0a - Accept packages from pypi and unknown

    Compare with previous version

  • Olivier Gonzalez changed milestone to %12.5

    changed milestone to %12.5

  • @caneldem Sorry for the delay. Back to you!

  • Fabien Catteau assigned to @caneldem and unassigned @fcatteau

    assigned to @caneldem and unassigned @fcatteau

  • Can Eldem added 43 commits

    added 43 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading