Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better integration with renovate #60

Open
vanniktech opened this issue Oct 20, 2022 · 2 comments
Open

Better integration with renovate #60

vanniktech opened this issue Oct 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@vanniktech
Copy link

So I use renovate to keep my dependencies up to date. Like here: vanniktech/TextBuilder#77 material version was updated, but then the task from dependency guard files since obviously that version hasn't been updated properly.

Slightly off-topic but: Do you happen to know if there is way in which we can feed the text files into renovate so that it'll just do a search + replace?

That would solve the problem of regenerating the file manually and pushing, while still catching regressions in case a new version has been introduced.

@qwert2603
Copy link
Contributor

Hi! Just "a search + replace" is not the best option, because the new version the of external dependency may bring some new transitive dependencies and dependencyGuard task will fail, if these transitive dependencies are not stated in dependencies lock-files.

Better solution is trigger dependencyGuardBaseline task after the version updated (via CI or in other way) to update dependencies lock-files properly.

@vanniktech
Copy link
Author

Better solution is trigger dependencyGuardBaseline task after the version updated (via CI or in other way) to update dependencies lock-files properly.

I've tried this using:

  "postUpgradeTasks": {
    "commands": ["./gradlew app:dependencyGuardBaseline"],
    "fileFilters": ["**/*.toml"],
    "executionMode": "update"
  }

However running custom scripts can only be done in the self hosted environment.

@handstandsam handstandsam added the enhancement New feature or request label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants