Giter Club home page Giter Club logo

aqua-renovate-config's Introduction

aqua-renovate-config's People

Contributors

aereal avatar aqua-update-checksum-public[bot] avatar frezbo avatar mikutas avatar renovate-bot avatar renovate[bot] avatar suzuki-shunsuke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aqua-renovate-config's Issues

Failed to update `golang.org/x/tools/cmd/goimports` by `go` datasource

https://app.renovatebot.com/dashboard#github/suzuki-shunsuke/test-renovate/762018971

DEBUG: Found no results from datasource that look like a version (golang.org/x/tools/cmd/goimports)(dependency="golang.org/x/tools/cmd/goimports")
{
  "result": {
    "sourceUrl": "https://github.com/golang/tools",
    "releases": []
  }
}

https://app.renovatebot.com/dashboard#github/suzuki-shunsuke/test-renovate/762018971

renovate.json

{
  "extends": [
    "config:base",
  ],
  "prHourlyLimit": 0,
  "prConcurrentLimit": 0,
  "branchConcurrentLimit": 0,
  "regexManagers": [
    {
      "fileMatch": ["\\.?aqua\\.ya?ml"],
      "matchStrings": [
        " +['\"]?(version|ref)['\"]? *: +['\"]?(?<currentValue>[^'\" \\n]+?)['\"]? +# renovate: depName=(?<depName>[^\\n]+)",
        " +['\"]?name['\"]? *: +['\"]?(?<depName>[^\\n]+\\.[^\\n]+)*@(?<currentValue>[^'\" \\n]+)['\"]?"
      ],
      "datasourceTemplate": "go"
    }
  ]
}
registries:
- type: standard
  ref: v3.21.0
packages:
- name: golang.org/x/tools/cmd/[email protected]

Resolve the deprecation warning: Partial matches for `matchPaths` are deprecated. Please use a minimatch glob pattern or switch to `matchFiles` if you need exact matching

https://app.renovatebot.com/dashboard#github/aquaproj/aqua/963509988

WARN: Partial matches for `matchPaths` are deprecated. Please use a minimatch glob pattern or switch to `matchFiles` if you need exact matching.(packageFile="tests/slsa/aqua.yaml")
{
  "rulePath": "aqua.yaml"
}
Partial matches for `matchPaths` are deprecated.
Please use a minimatch glob pattern or
switch to `matchFiles` if you need exact matching.

https://docs.renovatebot.com/configuration-options/#matchpaths

List of strings or glob patterns to match against package files.

minimatch: https://github.com/isaacs/minimatch

aquaYAMLMatchPaths: [
".aqua.yaml",
".aqua.yml",
"aqua.yaml",
"aqua.yml"
],

{
matchPackageNames: utils.githubTagsPackages,
matchPaths: utils.aquaYAMLMatchPaths,
matchDatasources: ["github-releases"],
enabled: false,
},

Failed to update 2 spaces

    "github>aquaproj/aqua-renovate-config#0.1.2"
- name: gohugoio/hugo
  version: v0.91.0  # renovate: depName=gohugoio/hugo
               {
                 "depName": "gohugoio/hugo",
                 "currentValue": "v0.91.0 ",
                 "datasource": "github-releases",
                 "replaceString": "  version: v0.91.0  # renovate: depName=gohugoio/hugo",
                 "depIndex": 1,
                 "updates": [],
                 "warnings": [],
                 "versioning": "semver",
                 "skipReason": "invalid-value"
               }

golang/go not updated

Go 1.19 was released on 2nd Aug, 2022, but it seems I didn't get a renovate PR for the same.

The renovate config clearly sees the deps here:

image
seems something got broken recently. Creating it here to track why some deps doesn't gets updated. Had a similar issue with goimports as referenced in #185

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/actionlint.yaml
  • actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
  • aquaproj/aqua-installer v3.0.1@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c
.github/workflows/test.yaml
  • dorny/paths-filter v3.0.2@de90cc6fb38fc0963ad72b210f1f284cd68cea36
  • aquaproj/update-checksum-workflow v1.0.1@75c72cdc372a43dd1b1ad0458748f5d6bfeac7b9
  • suzuki-shunsuke/renovate-config-validator-workflow v0.2.3@4a378742d05b4e67aae34039d7c779ac913cd79d
  • tibdex/github-app-token v2.1.0@3beb63f4bd073e61482598c45c71c1019b59b73a
  • actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
  • aquaproj/aqua-installer v3.0.1@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c
  • actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
  • aquaproj/aqua-installer v3.0.1@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c
  • actions/checkout v4.1.6@a5ac7e51b41094c92402da3b24376905380afc29
  • aquaproj/aqua-installer v3.0.1@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c
regex
.github/workflows/actionlint.yaml
  • aquaproj/aqua v2.28.0
.github/workflows/test.yaml
  • aquaproj/aqua v2.28.0
  • aquaproj/aqua v2.28.0
  • aquaproj/aqua v2.28.0
  • aquaproj/aqua v2.28.0
renovate.json5
  • aquaproj/aqua-renovate-config 2.3.0
aqua/aqua.yaml
  • aquaproj/aqua-registry v4.180.1

  • Check this box to trigger a request for Renovate to run again on this repository

Limit domain for go datasource

$ git grep -h "path:" registry.yaml | grep "\." | grep "/" | sed -E "s/^ +path: //" | sed -E "s|^([^/]+)/.*|\1|" | sort -u
github.com
golang.org
sigs.k8s.io

[Q] why does Renovate create a wrong PR for one single tool?

  • I'm using Aqua to maintain the tooling on my different laptops
  • I've installed the Renovate app which takes care of updating versions
  • I'm using Chezmoi for managing dotfiles across different platforms (should not be the cause for my problem)

https://github.com/CrystalMethod/dotfiles

I'm using datree for policy management and enforcement in my Kubernetes environments.

https://github.com/CrystalMethod/dotfiles/blob/6215b4ec9ab3aa820acfd8007cc18267c1d30790/private_dot_config/private_aqua/aqua.yaml.tmpl#LL31

Since installing datree version 1.8.33 there where several updates and current version is 1.8.39. So there is a PR generated by Renovate.

CrystalMethod/dotfiles#249

But the PR would insert prefix "v", so 1.8.33 would become v1.8.39. Aqua wouldn't be able to install datree/[email protected]. See the package definition in "standard" Aqua registry.

https://github.com/aquaproj/aqua-registry/blob/b4c9b5f6638d3103121a64c46d88cd5a8f56bb9b/pkgs/datreeio/datree/pkg.yaml#L2

So my question is: why does Renovate generates a wrong PR for this single tool?

If you look at the history of PRs, you can see that this has been going on for quite a while.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.