Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python3-module-altrepo
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
python3-module-altrepo
Commits
e28c926f
Verified
Commit
e28c926f
authored
Apr 03, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api: refactor nested URL methods into subclasses with deprecated aliases
parent
a57b6974
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
methods.py
altrepo/api/methods.py
+0
-0
images.py
examples/images.py
+1
-1
security_audit.py
examples/security_audit.py
+1
-1
No files found.
altrepo/api/methods.py
View file @
e28c926f
This diff is collapsed.
Click to expand it.
examples/images.py
View file @
e28c926f
...
...
@@ -8,7 +8,7 @@ async def main():
client
=
ALTRepo
()
await
client
.
init
()
images
=
await
client
.
api
.
image
.
iso
_
all_images
()
images
=
await
client
.
api
.
image
.
iso
.
all_images
()
print
(
f
"Всего ISO-образов: {len(images.images)}"
)
for
img
in
images
.
images
[:
5
]:
print
(
f
" {img.name} ({img.branch}, {img.date})"
)
...
...
examples/security_audit.py
View file @
e28c926f
...
...
@@ -8,7 +8,7 @@ async def main():
client
=
ALTRepo
()
await
client
.
init
()
fixes
=
await
client
.
api
.
vuln
.
cve
_
fixes
(
"CVE-2024-6387"
)
fixes
=
await
client
.
api
.
vuln
.
cve
.
fixes
(
"CVE-2024-6387"
)
print
(
f
"CVE-2024-6387 — исправлено в {len(fixes.packages)} пакетах:"
)
for
pkg
in
fixes
.
packages
[:
5
]:
print
(
f
" {pkg.name} {pkg.version}-{pkg.release} ({pkg.branch})"
)
...
...
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