8000 Ignored dependency in testImports · Issue #505 · Masterminds/glide · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Ignored dependency in testImports #505
Closed
@bakks

Description

@bakks

I have a project with a glide.yaml file with the following (among other things):

ignore:
  - common
  - common/http

This project has a test file that imports common/http. After running glide update on v0.11.0 I see the following in my glide.lock

testImports:
- name: common/http
  version: ""

Basically an explicitly ignored module is showing up in the in glide.lock. I'm aware that doing relative imports in this way isn't the advised pattern. However - this was pretty unexpected behavior and I would guess is a bug? The reason I noticed it was that it broke the glide install I ran later on.

Hope this is helpful, let me know if any more clarification would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0