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.

Setting up init test table - don't understand results #315

Closed
@tro3

Description

@tro3

I am working on setting up a table of init test cases. Below are the descriptions of the first three cases, but I am getting results other than I expect. The table shows my expectation, and afterwards are what I am getting:

Two remote repos: repo A used in code, and repo A depends on repo B
Remote repo A: has version 2.0.0 and later commit a0196
Remote repo B: has versions 0.8.0, 0.8.1, and 1.0.0 and later commit 3f4c3

Case Gopath Vendor Exp Manifest Exp Lock
Case 1 - - - A 2.0.0, B 1.0.0
Case 2 A a0196 - A a0196 A a0196, B 1.0.0
Case 3 B 0.8.0 - B 0.8.0 A 2.0.0, B 0.8.0
  • I am getting the correct answer in case 1
  • In case 2, I am getting the correct manifest, but the later B 3f4c3 revision in the lock
  • In case 3, I am getting no manifest, and B 1.0.0 in the lock (note this is a consistent sol'n, just not the one I'd expect)

Are the above expectations wrong, or are these bugs? I'd think the lock choices would be the latest tagged remote version when there is nothing in Gopath or Vendor, and when something is, it would take precedence and the manifest would modify to reflect that pecedence.

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