Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
altlinux-packages-bot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Unitsaev
altlinux-packages-bot
Commits
969a82ee
Verified
Commit
969a82ee
authored
Jul 27, 2025
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
news.bugs: update format
parent
c8ab6ff6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bugs.py
src/altrepo/parser/news/bugs.py
+1
-1
bugs.py
src/services/news/bugs.py
+1
-1
No files found.
src/altrepo/parser/news/bugs.py
View file @
969a82ee
...
...
@@ -52,7 +52,7 @@ async def bugs_parser(html: str, url: str):
if
not
line
.
strip
():
continue
if
re
.
match
(
r"^Total\s+\d+\s+pending bugs"
,
line
.
strip
(),
re
.
IGNORECASE
):
continue
break
description_buffer
+=
line
.
strip
()
+
" "
if
current_bug
and
section_name
:
...
...
src/services/news/bugs.py
View file @
969a82ee
...
...
@@ -33,7 +33,7 @@ async def format_bugs(bugs: BugsModel):
bug_message
+=
(
"Источник: "
+
HTMLFormatter
(
link
(
bugs
.
url
,
text
=
"sisyphus-cybertalk"
))
+
HTMLFormatter
(
bold
(
link
(
bugs
.
url
,
text
=
"sisyphus-cybertalk"
)
))
+
"
\n\n
#Репорты
\n\n
"
"Сформировано при помощи "
+
HTMLFormatter
(
bold
(
link
(
"https://t.me/altlinux_packages_bot"
,
text
=
"ALT Packages Bot"
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment