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
70582fc5
Verified
Commit
70582fc5
authored
Jul 15, 2025
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
statistics module: update branch format
sisyphus_loongarch64 -> sisyphus (loongarch64)
parent
9095e4aa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
statistics.py
src/handlers/statistics.py
+8
-1
No files found.
src/handlers/statistics.py
View file @
70582fc5
...
@@ -35,7 +35,14 @@ async def statistics_handler(m: Message, user: User | None, branch: str | None =
...
@@ -35,7 +35,14 @@ async def statistics_handler(m: Message, user: User | None, branch: str | None =
statistics_date
=
(
datetime
.
fromisoformat
(
statistics_date
=
(
datetime
.
fromisoformat
(
statistics_data
.
date_update
))
.
strftime
(
"
%-
d
%
B
%
Y г."
)
statistics_data
.
date_update
))
.
strftime
(
"
%-
d
%
B
%
Y г."
)
statistics_message
=
f
"{statistics_data.branch.capitalize()} ({statistics_date})
\n\n
"
if
"_"
in
statistics_data
.
branch
:
branch
,
arch
=
statistics_data
.
branch
.
split
(
"_"
)
branch
=
f
"{branch} ({arch})"
else
:
branch
=
statistics_data
.
branch
statistics_message
=
f
"{branch.capitalize()} ({statistics_date})
\n\n
"
for
packages
in
statistics_data
.
packages_count
:
for
packages
in
statistics_data
.
packages_count
:
statistics_message
+=
f
"Архитектура: {packages.arch} ({packages.component})
\n
"
statistics_message
+=
f
"Архитектура: {packages.arch} ({packages.component})
\n
"
...
...
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