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

Factor out commonalities of MBImport.pl and ImportReplicationChanges

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Database setup

      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)

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

              Created:
              Updated:

                Version Package