datasourcelib 0.1.11__py3-none-any.whl → 0.1.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- datasourcelib/datasources/azure_devops_source.py +15 -3
- {datasourcelib-0.1.11.dist-info → datasourcelib-0.1.13.dist-info}/METADATA +1 -1
- {datasourcelib-0.1.11.dist-info → datasourcelib-0.1.13.dist-info}/RECORD +6 -6
- {datasourcelib-0.1.11.dist-info → datasourcelib-0.1.13.dist-info}/WHEEL +0 -0
- {datasourcelib-0.1.11.dist-info → datasourcelib-0.1.13.dist-info}/licenses/LICENSE +0 -0
- {datasourcelib-0.1.11.dist-info → datasourcelib-0.1.13.dist-info}/top_level.txt +0 -0
|
@@ -339,12 +339,24 @@ class AzureDevOpsSource(DataSourceBase):
|
|
|
339
339
|
content_text = w_resp.content.decode("utf-8", errors="ignore")
|
|
340
340
|
except Exception:
|
|
341
341
|
content_text = ""
|
|
342
|
-
|
|
342
|
+
# Construct a 'full' description string using available pieces
|
|
343
|
+
content_text = BeautifulSoup(content_text or "", "html.parser").get_text(),
|
|
344
|
+
parts = []
|
|
345
|
+
if display_name:
|
|
346
|
+
parts.append(f"Wiki Page Name is {display_name}. Page has information about {display_name}")
|
|
347
|
+
if project_name:
|
|
348
|
+
parts.append(f"This page is documented by for Project '{project_name}' and by the team '{project_name}'")
|
|
349
|
+
if url:
|
|
350
|
+
parts.append(f"The devops wiki page (url) link to access this page is {url}")
|
|
351
|
+
if project_name:
|
|
352
|
+
parts.append(f"These wiki page content refers sharepoint site links and other documents from sharepoint. So to get full detailed steps or contents you need to refer those links with appropriate permissions. This page contents are available on wiki are [{content_text}].")
|
|
353
|
+
|
|
354
|
+
index_content = ". ".join(parts)
|
|
343
355
|
results.append({
|
|
344
356
|
"display_name": self.sanitize(display_name.replace(" ", "_").strip()),
|
|
357
|
+
"page_name": display_name,
|
|
345
358
|
"url": url,
|
|
346
|
-
"content":
|
|
347
|
-
"wiki": wiki_display,
|
|
359
|
+
"content": index_content,
|
|
348
360
|
"project": project_name
|
|
349
361
|
})
|
|
350
362
|
|
|
@@ -5,7 +5,7 @@ datasourcelib/core/sync_manager.py,sha256=pfnvWv4AwmlJJUIsfxNNxYDBOsa7juTIxgFJIE
|
|
|
5
5
|
datasourcelib/core/sync_types.py,sha256=KVZB7PkfkFTzghoe--U8jLeAU8XAfba9qMRIVcUjuMc,297
|
|
6
6
|
datasourcelib/datasources/__init__.py,sha256=lZtgs0vT-2gub5UZo8BUnREZl3K_-_xYqUP8mjf8vhM,436
|
|
7
7
|
datasourcelib/datasources/azure_devops_source copy.py,sha256=g-IOCq5vGwwteU21jZPWW_GggMu1_myVJkP0_BmSdGY,7282
|
|
8
|
-
datasourcelib/datasources/azure_devops_source.py,sha256=
|
|
8
|
+
datasourcelib/datasources/azure_devops_source.py,sha256=jWey-FbL5DnzVFFhFaw5QdVUv0t81ATLM3ASKMozGhc,19639
|
|
9
9
|
datasourcelib/datasources/azure_devops_source10dec.py,sha256=J48E78AEfqkS-eBq7sesA48zmSiZ9oSfJkQjL7RAbyA,7928
|
|
10
10
|
datasourcelib/datasources/blob_source.py,sha256=Qk61_ulqUSPYDaiMzqgvJAu43c4AjTlDRdfFg4VwgDU,3574
|
|
11
11
|
datasourcelib/datasources/datasource_base.py,sha256=N8fOGvTl8oWWAiydLI0Joz66luq73a5yovO0XA9Q3jk,1068
|
|
@@ -30,8 +30,8 @@ datasourcelib/utils/exceptions.py,sha256=mgcDaW1k3VndgpMOwSm7NqgyRTvvE2a5ehn3x4f
|
|
|
30
30
|
datasourcelib/utils/file_reader.py,sha256=Zr0rwNTRWE6KeVJEXgTOPS1_JI74LiUSiX5-6qojmN0,7301
|
|
31
31
|
datasourcelib/utils/logger.py,sha256=Sl6lNlvubxtK9ztzyq7vjGVyA8_-pZ_ixpk5jfVsh6U,424
|
|
32
32
|
datasourcelib/utils/validators.py,sha256=fLgmRAb5OZSdMVlHu_n0RKJUDl-G8dI8JsRSfxIquh8,205
|
|
33
|
-
datasourcelib-0.1.
|
|
34
|
-
datasourcelib-0.1.
|
|
35
|
-
datasourcelib-0.1.
|
|
36
|
-
datasourcelib-0.1.
|
|
37
|
-
datasourcelib-0.1.
|
|
33
|
+
datasourcelib-0.1.13.dist-info/licenses/LICENSE,sha256=9S0AcKETmp9XOcC73jEjN7WSkuSWGFGreiBat6ONClo,1087
|
|
34
|
+
datasourcelib-0.1.13.dist-info/METADATA,sha256=0OVrXyRAPvKZz9gXSrM5DBOr_Vh1_iJPgVVOB7PB3wY,1200
|
|
35
|
+
datasourcelib-0.1.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
36
|
+
datasourcelib-0.1.13.dist-info/top_level.txt,sha256=wIwiwdIj8T9pAvE2TkGLUvT2oIi43C2vkkTKibUlv3U,14
|
|
37
|
+
datasourcelib-0.1.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|