Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81304

packager.py and packager_enterprise.py code duplication

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 7.1.0-rc0
    • Component/s: None
    • Server Development Platform
    • ALL

      packager.py and packager_enterprise.py have duplicated code (see packager's move_repos_into_place(src, dst) and packager_enterprise's move_repos_into_place(src, dst)) at least for the moment of commit 41c591051a48b7d1aa3ba7a82ed02a1e61a555be.

      It's possible to eliminate the problem by refactoring packager_enterprise's move_repos_into_place(src, dst):

      def move_repos_into_place(src, dst):
          packager.move_repos_into_place(src, dst)
      

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            andrei.artemev@intel.com Andy Artemev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: