Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4548

Rename existing private Hotfolder plugin to ProjectHotfolder and make it a public plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • Hotfolder Import
    • High
    • The import hotfolder plug-in is moved from private to public plug-ins and renamed to ProjectHotfolder.

      problem

      The Hotfolder plug-in to import task must be moved from private plug-ins to public plug-ins.

      • Movement without git history
      • Rename it to ProjectHotfolder
      • rename config entries
      • change name in confluence
      • About DB migration files:
        • move and rename the existing DB files accordingly, also the confignames inside there.
        • In core we place a migration script which does something like:
          • update Zf_dbversion set origin = 'ProjectHotfolder' origin like 'A%Hotfolder';
            
            update Zf_dbversion set filename = '01-TRANSLATE-3218-add-config-params.sql' where origin = 'ProjectHotfolder' and filename like '01-TRANSLATE-3218-add-%';
            
            update Zf_dbversion set filename = '07-TRANSLATE-3468-fix-hotfolder-sql.sql' where origin = 'ProjectHotfolder' and filename like '07-TRANSLATE-3468-fix-%';
            
            update Zf_dbversion set filename = '09-TRANSLATE-3821-add-worker-dependency-for-export-worker.sql' where origin = 'ProjectHotfolder' and filename like '09-TRANSLATE-3821-add-worker-dependency-for-%';
            
        • This three files must be renamed accordingly in the ProjectHotfolder database folder
        • This ensures that the already installed files are not executed again also with sanitised filenames
      • add old foldername to application/modules/default/Models/Installer/filesToBeDeleted.txt
      • Something else?

       

            sanya@mittagqi.com Sanya Mikhliaiev
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: