Skip to content
Snippets Groups Projects
  1. Feb 20, 2025
  2. Oct 03, 2024
  3. Sep 20, 2024
  4. Sep 03, 2024
    • Dylan Aïssi's avatar
      apertis-pkg-merge-updates: don't use Path objects as a context manager · 0113451d
      Dylan Aïssi authored
      
      This is deprecated and will be removed in python 3.13.
      
      /usr/bin/apertis-pkg-merge-updates:38: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
      /usr/bin/apertis-pkg-merge-updates:75: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
      
      Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
      0113451d
  5. Jan 29, 2022
    • Emanuele Aina's avatar
      pkg-merge-updates: Try to fast-forward before rebasing · f36e681c
      Emanuele Aina authored
      
      Explicitly attempt a fast forward merge before rebasing.
      
      Currently we always try to rebase, which already doews a fast-forward
      merge when possible. The issue is that after that we incoditionally try
      to append a new changelog entry and if we're fast-forwarding we should
      **not** to that since the changelog will already have a version equal or
      newer than the one we're trying to add.
      
      By explicitly attempting a fast-forward merge and exiting early we avoid
      that issue.
      
      This has not been a particular issue so far since the mirroring
      pipeline which uses the rebasing feature does not usually trigger it
      when a fast-forward is possible and will create all the branches in
      their final state.
      
      However in some cases unrelated errors encountered during the process
      have left repositories in a inconsistent state and this change allows to
      recover cleanly from those situations.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      f36e681c
  6. Oct 19, 2021
Loading