diff --git a/data/package/career/java_backend.json b/data/package/career/java_backend.json index b8d3e3c8650198f33d876dcc09d7f7b363dce627..862e27d2668e5363ea006e8f179debe2a807c726 100644 --- a/data/package/career/java_backend.json +++ b/data/package/career/java_backend.json @@ -16,5 +16,5 @@ "se" ] }, - "package_id": "4ee897f9c6ef49f78d906cd46b813208" + "package_id": "career-4ee897f9c6ef49f78d906cd46b813208" } \ No newline at end of file diff --git a/data/package/career/python_crawler.json b/data/package/career/python_crawler.json index 172e51b30280a92ff6fc8d2e9e8f1f4a229a9cae..486c207571d51778fa53872cb30a54d3dc422a1c 100644 --- a/data/package/career/python_crawler.json +++ b/data/package/career/python_crawler.json @@ -15,5 +15,5 @@ "pg" ] }, - "package_id": "968cf8e80217499fa68d119140033e5a" + "package_id": "career-968cf8e80217499fa68d119140033e5a" } \ No newline at end of file diff --git a/data/package/career/python_data_analyzer.json b/data/package/career/python_data_analyzer.json index 945ab7bbff4cdf8fe88215282be6ea22298eca78..bbdd598fb62b054159c3b9298442ff3a6eb3b0b3 100644 --- a/data/package/career/python_data_analyzer.json +++ b/data/package/career/python_data_analyzer.json @@ -14,5 +14,5 @@ "pg" ] }, - "package_id": "900fef3acfbd450a8b342a6bbfb5145d" + "package_id": "career-900fef3acfbd450a8b342a6bbfb5145d" } \ No newline at end of file diff --git a/data/package/career/python_ops.json b/data/package/career/python_ops.json index 58b9be1c966e3cb5d07a579e4a127e47d0f8eae5..e84e91a44f220a4c1b9f19db272ebab1279f9f08 100644 --- a/data/package/career/python_ops.json +++ b/data/package/career/python_ops.json @@ -14,5 +14,5 @@ "pg" ] }, - "package_id": "2afef99901814988afc7624c4c59a122" + "package_id": "career-2afef99901814988afc7624c4c59a122" } \ No newline at end of file diff --git a/src/main/package.py b/src/main/package.py index 2392fd648a9edbdc9120a4d020ddf08a14fb8902..87a08c544e2ba87dab0de08e0fc5b6ec82042674 100644 --- a/src/main/package.py +++ b/src/main/package.py @@ -19,5 +19,5 @@ class Package: self.visit_package(file_full_name, pkg) def visit_package(self, file_full_name, pkg): - pkg['package_id'] = uuid.uuid4().hex + pkg['package_id'] = 'career-'+uuid.uuid4().hex dump_json(file_full_name, pkg, exist_ok=True, override=True)