[SERVER-81304] packager.py and packager_enterprise.py code duplication Created: 21/Sep/23  Updated: 27/Oct/23  Resolved: 27/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.1.0-rc0
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Andy Artemev Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Operating System: ALL
Participants:

 Description   

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)



 Comments   
Comment by Noopur Gupta [ 28/Sep/23 ]

The Server Triage team does not consider this as a bug, but looks like a case of code refactoring worth looking into.

Forwarding to Server Development Platform for further triaging. 

Generated at Thu Feb 08 06:46:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.