renovate icon indicating copy to clipboard operation
renovate copied to clipboard

ansible-galaxy / parsing ends when a comment is found in dependencies

Open nesies opened this issue 2 years ago • 2 comments

How are you running Renovate?

Self-hosted

If you're self-hosting Renovate, tell us what version of Renovate you run.

32.122.5

Please select which platform you are using if self-hosting.

GitLab self-hosted

If you're self-hosting Renovate, tell us what version of the platform you run.

15.1.2

Was this something which used to work for you, and then stopped?

I never saw this working

Describe the bug

I use a galaxy.yml with some comments:

dependencies:
  first.dep: "1.0.0"
  #  comment
  second.dep: "2.0.0"

When renovate encounter a comment, he assumes it is the end of the dependencies block

The code involved seems to be located in: lib/modules/manager/ansible-galaxy/collections-metadata.ts

if a dependency line do not match the regex galaxyRegEx, then the parser stops.

Relevant debug logs

Logs
Copy/paste the relevant log(s) here, between the starting and ending backticks

Have you created a minimal reproduction repository?

No reproduction repository

nesies avatar Jul 25 '22 10:07 nesies

Hi there,

Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible.

Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this.

To get started, please read our guide on creating a minimal reproduction.

We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment.

Good luck,

The Renovate team

github-actions[bot] avatar Jul 25 '22 11:07 github-actions[bot]

When a bug has been marked as needing a reproduction, it means nobody can work on it until one is provided. In cases where no reproduction is possible, or the issue creator does not have the time to reproduce, we unfortunately need to close such issues as they are non-actionable and serve no benefit by remaining open. This issue will be closed after 7 days of inactivity.

github-actions[bot] avatar Aug 09 '22 02:08 github-actions[bot]

This bug report has been closed as we need a reproduction to work on this. If the original poster or anybody else with the same problem discovers that they can reproduce it, please create a new issue, and reference this issue.

github-actions[bot] avatar Aug 16 '22 02:08 github-actions[bot]