Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Use upstream gps lock diff implementation #312

Closed
@carolynvs

Description

@carolynvs

From #256, I implemented lock diffing and thought it may be more appropriate to have it in the gps package. At the very least it would remove some workarounds I had to put in because of unexported fields. Though one option is to update gps to export those fields and keep the diffing in dep.

  • dep.LockDiff struct, dep.LockedProjectDiff struct, dep.StringDiff struct. These are the structures which hold the diff and are printed to the console during a dry-run.
  • dep.diffLocks(), dep.diffProjects(). The diff implementation.
  • dep.getVersionInfo(): Decomposes a gps.Version interface into the underlying metadata that is persisted in the lock file (revision, branch and version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions