1. 20 Feb, 2022 3 commits
    • James Fargher's avatar
      Stop backup files from requiring directories to exist when skipped · e2541c62
      James Fargher authored
      Calls to File.realpath where the directory does not exist will raise an
      exception. Since all backup tasks are initialized no matter if they are
      skipped or not, we need to stop calling realpath within the initializer.
      Instead here we are lazily initializing realpath as required.
      
      Removed assertions for the now private realpath accessors. These paths
      are still correctly asserted by checking the exact tar commandline
      arguments.
      
      Changelog: fixed
      e2541c62
    • Furkan Ayhan's avatar
      Merge branch 'aw-fix-type-error-from-tags-reference' into 'master' · b627a22a
      Furkan Ayhan authored
      Fix TypeError from Tags::Reference
      
      See merge request gitlab-org/gitlab!80845
      b627a22a
    • Avielle Wolfe's avatar
      Fix TypeError from Tags::Reference · 9a2ee677
      Avielle Wolfe authored
      Some missing references were raising a TypeError when using `dig` to
      extract the referenced object from a reference, in cases where the
      reference included too many symbols and we ended up attempting to
      extract a value from an array using a symbol.
      
      This commit fixes the issue by rescuing from TypeError and properly
      returning a message stating that the given reference cannot be found in
      the given configuration.
      
      Changelog: fixed
      9a2ee677
  2. 18 Feb, 2022 37 commits