Project

General

Profile

Actions

Bug #14109

closed

incremental import does not work

Added by Chris Duryee almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When attempting an incremental import, the following error occurs:

Could not synchronize the repository:
  no implicit conversion of Symbol into Integer

This appears to be related to the patch for #13653, which changed the format of the file list slightly.

A quick patch to incremental_import.rb:

          rpm_filepaths = rpm_files.collect do |filepath|
              {path: filepath, filename: File.basename(filepath)}
          end

Then, passing rpm_filepaths to the UploadFiles action will succeed.

Actions

Also available in: Atom PDF