elementary / os-patches

Patched packages for elementary OS and the tools that keep them up-to-date
GNU General Public License v3.0
18 stars 11 forks source link

Create a PR when a new version of package appears #303

Closed stsdc closed 1 week ago

stsdc commented 2 weeks ago

This PR adds a new automatic feature that creates a PR for a package that can be updated.

~As previously an issue is created, but additionally get-latest-version.py gets a .dsc file which contains exact filename with a source archive. It downloads it and applies a new changes.~

To apply a new changes a new branch is created bot/update/{package-name}-{series} which will contain a new changes. Then a PR will be created.

obraz

danirabbit commented 2 weeks ago

If we have a PR created do we need to also create an issue? It's kinda like dependabot or Flatpak-x-checker, probably the PR is enough?

stsdc commented 2 weeks ago

Removed issue creation. Used apt source to download sources.

ryonakano commented 1 week ago

Confirmed the a PR is created against $PACKAGE-$UBUNTU_NAME branch when a new version of PACKAGE is available. Nice improvements!

What would we do about $PACKAGE-$UBUNTU_NAME-patched branch, which we are rebasing on the updated $PACKAGE-$UBUNTU_NAME branch and force-pushing in the current workflow?

stsdc commented 1 week ago

I think we can create another job that will check for $PACKAGE-$UBUNTU_NAME and create a PR for a patched branch?

But I would not add this functionality in this PR.