chore: reorganize project directory structure#318
Merged
wyu71 merged 1 commit intolinuxdeepin:masterfrom Apr 3, 2026
Merged
Conversation
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
Contributor
Author
|
/rtest |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
Move source modules under src/, configs and scripts under misc/, remove unused DDav/, delete empty READMEs, rename KeyPress to keypress, fix file permissions. 将代码目录移入 src/,配置和脚本移入 misc/,删除未使用的 DDav/ 目录和空 README 文件,统一 KeyPress 目录命名为小写,修复文件权限。 Log: 重新组织项目目录结构 Influence: 目录结构调整,不影响功能和构建产物。
|
Note
详情{
"misc/script/download_holidays.py": [
{
"line": " url = f\"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/{year}.json\"",
"line_number": 41,
"rule": "S35",
"reason": "Url link | 0730d511ed"
}
],
"src/calendar-client/assets/org.deepin.calendar.metainfo.xml": [
{
"line": " <url type=\"bugtracker\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 23,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"help\">https://github.com/linuxdeepin/developer-center/issues/</url>",
"line_number": 24,
"rule": "S35",
"reason": "Url link | fd115c2cfd"
},
{
"line": " <url type=\"homepage\">https://bbs.deepin.org/</url>",
"line_number": 25,
"rule": "S35",
"reason": "Url link | c60d8b1a34"
}
],
"src/calendar-client/src/main.cpp": [
{
"line": " app->setApplicationAcknowledgementPage(\"https://www.deepin.org/acknowledgments/dde-calendar\");",
"line_number": 73,
"rule": "S35",
"reason": "Url link | f82e0b7f80"
}
],
"src/calendar-client/src/widget/calendarmainwindow.cpp": [
{
"line": " url = \"https://www.deepin.org/zh/agreement/privacy/\";",
"line_number": 1167,
"rule": "S35",
"reason": "Url link | 20e2eab189"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-cn\";",
"line_number": 1169,
"rule": "S35",
"reason": "Url link | 4850a00dd7"
},
{
"line": " url = \"https://www.deepin.org/en/agreement/privacy/\";",
"line_number": 1173,
"rule": "S35",
"reason": "Url link | 38d42f63bf"
},
{
"line": " url = \"https://www.uniontech.com/agreement/privacy-en\";",
"line_number": 1175,
"rule": "S35",
"reason": "Url link | f82409d3b5"
}
],
"src/calendar-common/src/lunarandfestival/method_interface.cpp": [
{
"line": " return TianGan[num % 10] + DiZhi[num % 12];",
"line_number": 84,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-common/src/lunarandfestival/lunarandfestival.h": [
{
"line": "static QVector<QString> DiZhi = {\"子\", \"丑\", \"寅\", \"卯\", \"辰\", \"巳\", \"午\", \"未\", \"申\", \"酉\", \"戌\", \"亥\"};",
"line_number": 103,
"rule": "C151",
"reason": "政治敏感词 | 8503710310"
}
],
"src/calendar-service/assets/holiday-cn/2019.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2019.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 13160397df"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2018-12/06/content_5346276.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 0383e0fa1e"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-03/22/content_5375877.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | 8ff6055cb1"
}
],
"src/calendar-service/assets/holiday-cn/2026.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2026.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 7f52954439"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202511/content_7047091.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | d07efd89af"
}
],
"src/calendar-service/assets/holiday-cn/2020.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2020.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 843c84a738"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2019-11/21/content_5454164.htm\",",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a4827650b4"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-01/27/content_5472352.htm\"",
"line_number": 7,
"rule": "S35",
"reason": "Url link | e13024345b"
}
],
"src/calendar-service/assets/holiday-cn/2022.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 335e709177"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2021-10/25/content_5644835.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 90da8a89b3"
}
],
"src/calendar-service/assets/holiday-cn/2025.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2025.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | feef2d31dc"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202411/content_6986383.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | f187f32d0d"
}
],
"src/calendar-service/assets/holiday-cn/2024.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 738f27d0af"
},
{
"line": " \"https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 6563a4d532"
}
],
"src/calendar-service/assets/holiday-cn/2023.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 5229d30a97"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2022-12/08/content_5730844.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | a7f9c337a6"
}
],
"src/calendar-service/assets/holiday-cn/2021.json": [
{
"line": " \"$schema\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json\",",
"line_number": 2,
"rule": "S35",
"reason": "Url link | a43bfa6ba7"
},
{
"line": " \"$id\": \"https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json\",",
"line_number": 3,
"rule": "S35",
"reason": "Url link | 3b8fb29762"
},
{
"line": " \"http://www.gov.cn/zhengce/zhengceku/2020-11/25/content_5564127.htm\"",
"line_number": 6,
"rule": "S35",
"reason": "Url link | 274f5033e2"
}
],
"src/calendar-service/src/dbmanager/dhuanglidatabase.cpp": [
{
"line": "const QString HolidayUpdateURLPrefix =\"https://cdn-nu-common.uniontech.com/deepin-calendar\";",
"line_number": 21,
"rule": "S35",
"reason": "Url link | 0b2e847e1f"
}
],
"src/calendar-service/src/synchronization/syncfilemanage.h": [
{
"line": "const QString syncDBpassword = \"calendar123\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | ac24654216"
}
],
"src/calendar-service/src/calendarDataManager/daccountmanagemodule.cpp": [
{
"line": "const QString firstDayOfWeek_key = \"firstDayOfWeek\";",
"line_number": 12,
"rule": "S106",
"reason": "Var naming | dc5ba3cd3f"
},
{
"line": "const QString shortTimeFormat_key = \"shortTimeFormat\";",
"line_number": 13,
"rule": "S106",
"reason": "Var naming | 7e44ab71d7"
},
{
"line": "const QString firstDayOfWeekSource_key = \"firstDayOfWeekSource\";",
"line_number": 14,
"rule": "S106",
"reason": "Var naming | 615e50c973"
},
{
"line": "const QString shortTimeFormatSource_key = \"shortTimeFormatSource\";",
"line_number": 15,
"rule": "S106",
"reason": "Var naming | da98f021ed"
}
]
} |
lzwind
approved these changes
Apr 3, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lzwind, wyu71 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move source modules under src/, configs and scripts under misc/, remove unused DDav/, delete empty READMEs, rename KeyPress to keypress, fix file permissions.
将代码目录移入 src/,配置和脚本移入 misc/,删除未使用的 DDav/
目录和空 README 文件,统一 KeyPress 目录命名为小写,修复文件权限。
Log: 重新组织项目目录结构
Influence: 目录结构调整,不影响功能和构建产物。