Skip to content

vscode Concourse extension false positive: Unknown property 'fetch_tags' for type 'GitSource'(YamlSchemaProblem) #668

Closed

Description

@sfuerte

Describe the bug
Getting the subject error when adding fetch_tags to Git repo source

Using standard https://github.com/concourse/git-resource

while the extension flags an "error", fly set-pipeline command runs just fine.

Versions:

Concourse CI Pipeline Editor extension - v1.26.0

VS Code - Version: 1.59.0 (Universal)
Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8
Date: 2021-08-04T23:14:40.191Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Darwin x64 20.6.0

> fly --version
7.0.0

To Reproduce / Sample

  - name: my-repo
    type: git
    icon: source-merge
    source:
      uri: git@private-github
      branch: main
      private_key: ((repo-key))
      fetch_tags: true
      tag_filter: "*"

Activity

  1. added this to the 4.11.1.RELEASE milestone on Aug 9, 2021
  2. added a commit that references this issue on Aug 9, 2021
  3. kdvolder commented on Aug 9, 2021

    @kdvolder
    Member

    I've added support for that property to our schema. You can try it out by installing the latest snapshot vscode-concourse build from .vsix file you can get here:

    http://dist.springsource.com/snapshot/STS4/nightly-distributions.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions