Skip to content

Updating Salt Bundle dependencies

Victor Zhestkov edited this page Oct 31, 2022 · 3 revisions

The Salt Bundle dependencies is listed in the table of Salt Bundle page. There is no any automated way to update the dependencies yet. So it's manual task right now.

obs-sb-check

There is a draft of the tool created to track the changes from the original package to the Salt Bundle dependency package: obs-sb-check

Here is an example of the output:

This example is showing the changes made for original swig package since the time the diff was stored last time. So the tool is basically is showing the diff of the previous diff and the current diff of the files.

There are some unresolved points:

  • Provide more clear output than a diff of the other diff
  • What time to update the stored diff to show relevant output in case of promoting new changes.

Possible cases of dependency package updates

  1. Adding patch file

    Copy the patch to the Salt Bundle dependency package source and adjust the spec file and a changes.

  2. Bumping package version

    Update sources archive and adjust spec and changes.

  3. Complex case combining the previous two

In some cases the dependency packages need to be updated in chain due to incompatibility between the versions or with Python 3.10. Updating Python to the next major version is the most complex case.