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

Automate distribution dependency bumps #1164

Open
abelsromero opened this issue Apr 6, 2023 · 1 comment
Open

Automate distribution dependency bumps #1164

abelsromero opened this issue Apr 6, 2023 · 1 comment

Comments

@abelsromero
Copy link
Member

The distribution has several dependencies that depend on manual updates.
To avoid having to keep track manually we could start automating them with dependabot on weekly basis.

I am considering restricting it for now to:

  • org.asciidoctor:asciidoctorj-epub3
  • org.asciidoctor:asciidoctorj-diagram
  • org.asciidoctor:asciidoctorj-diagram-ditaamini
  • org.asciidoctor:asciidoctorj-diagram-plantuml
  • org.asciidoctor:asciidoctorj-pdf
  • org.asciidoctor:asciidoctorj-revealjs
  • As well as jruby and jruby-complete for all modules.

If we consider this works for us, we can extend it to other dependencies to reduce manual work.

@abelsromero
Copy link
Member Author

abelsromero commented Jun 24, 2023

After checking #1228

I think we could narrow branch v2.5.x with (note it excludes asciidoctorj-diagram)

version: 2
updates:
  - package-ecosystem: "gradle"
    directory: "/"
    schedule:
      interval: "weekly"
    labels:
      - "dependencies"
    commit-message:
      prefix: "(v2.5.x)"
    target-branch: "v2.5.x"
    allow:
      - dependency-name: "org.asciidoctor:asciidoctorj-pdf"
      - dependency-name: "org.asciidoctor:asciidoctorj-epub3"
      - dependency-name: "org.asciidoctor:asciidoctorj-diagram-ditaamini"
      - dependency-name: "org.asciidoctor:asciidoctorj-diagram-plantuml"
      - dependency-name: "org.asciidoctor:asciidoctorj-revealjs"

This needs to be on the main branch though...that's how dependabot does it's things

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

No branches or pull requests

1 participant