Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-8146

Factor out commonalities of MBImport.pl and ImportReplicationChanges

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database setup, Refactoring
    • Labels:
      None

      Description

      The two scripts admin/MBImport.pl and admin/replication/ImportReplicationChanges basically do the same thing (read data from files, put into the database) and have similar code, e.g. the ImportTable and findFile subs are almost identical. This should be factored out. Perhaps the scripts could even be merged.

      (from https://bitbucket.org/metabrainz/musicbrainz-server/pull-request/1440/adapt-importreplicationchanges-to-current/diff#comment-4665248)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chirlu Ulrich Klauer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package