From bbabb49f8e2fe97fa5d269db7a799814bed1d4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Navarro?= Date: Fri, 16 Sep 2022 16:51:14 +0200 Subject: [PATCH] Added a ToDo for issue #24 --- pypickup/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypickup/controller.py b/pypickup/controller.py index 0124fca..9457a03 100644 --- a/pypickup/controller.py +++ b/pypickup/controller.py @@ -114,6 +114,7 @@ def parseScriptArguments(self, args: argparse.ArgumentParser): self.packageName = args.packageName self.pypiLocalPath = args.pypiLocalPath + # ToDo: these are optional params. This must not be parsed in this generic method, but passed as a parameter to the main method of each command. self.onlySources = args.onlySources self.includeDevs = args.includeDevs self.includeRCs = args.includeRCs @@ -341,7 +342,6 @@ def synchronizeWithRemote(self): pypiRemoteIndexFiltered: str = self._htmlManager.filterInHTML(pypiRemoteIndexStr, self._regexZIPAndTars) - # ToDo: fix the bug happening if the local repo hast the wheels&src but the update method has enabled the -s option which means we only want the source. the warning message would not apply yet remoteIndexHRefs: Dict[str, str] = self._htmlManager.getHRefsList(pypiRemoteIndexFiltered) localIndexHRefs: Dict[str, str] = self._htmlManager.getHRefsList(pypiLocalIndex) newPackagesToDownload: Dict[str, str] = self.__getNewPackagesInRemote(remoteIndexHRefs, localIndexHRefs)