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

Clean-up CLI command for find and cleaning orphaned TMs and LanguageResources

    XMLWordPrintable

Details

    • High
    • It may happen that Language Resources are deleted in translate5 but the files remain in t5memory and vice versa. There is now a CLI tool to find that fragments and clean them up.

    Description

      problem

      1. It may happen that in t5memory there are TMs not registered to any Language Resource
      2. It may happen that there are Language Resources where one or all specified TMs are missing in t5memory

      solution

      A t5 CLI command which finds and lists the orphaned entries on both sides.

      After finding and showing them, the command asks the user which of them (bulk by type) should be deleted/cleaned. With --force parameter to control that via parameter.

      ATTENTION: querying t5memory must pay attention to the configured prefix, so the command may show and consider only TMs on t5memory side with the proper prefix there.
       
       
       

       

      Attachments

        Activity

          People

            leonkiz Leon Kiz
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: