complete pkg_system basic design and impl

This commit is contained in:
Liu Zhicong
2023-08-16 20:06:09 -07:00
parent 3d8f6fd5c8
commit 6b39379d7c
10 changed files with 554 additions and 76 deletions
+6 -1
View File
@@ -4,7 +4,12 @@ class pkg_info:
self.name = ""
self.cid = None
self.depends : list[str] = None
pass
self.author = None
self.remote_urls = None
self.target_media_type = "dir"
self.source_media_type = "7z"
def parse_pkg_name(pkg_name:str) -> Tuple[str, str, str]:
#return pkg_id,version_str,cid