concourse / concourse/git-resource

Resource versions created with both SHA1 and tag, preventing tag_filter and tag_regex from working

Open
#353 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
203
Forks
305
Avg merge
11d 14h
Merged PRs (30d)
2

Description

What happened?

  • With this resource:
  - name: mirrors_github_pinniped
    type: git
    icon: github
    tags: [ pinniped-ci-calatrava ]
    source:
      uri: git@gitlab.whatever.com:akeesler/fake-mirrors_github_pinniped.git
      tag_regex: v[0-9]+\.[0-9]+\.[0-9]+ # e.g., v0.4.1
      private_key: REDACTED

What did I expect to happen?

  • I hoped to see only resource versions with a ref matching my tag_regex.

Notes

  • Not sure if this functionality has more to do with this git resource type, or the concourse resource checker.
  • I am working with Concourse 7.0.0 at https://hush-house.pivotal.io.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at assets/check around line 161 and reproduce the configuration with tag_regex and a repository containing matching tags. Trace how the latest resource version ref is selected and verify that completed behavior exposes only versions whose refs match the requested tag filter or regex, including tags added afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.