-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comments for gh issues #800
Conversation
6f10590
to
0840f68
Compare
0840f68
to
8dce9bf
Compare
alws/crud/errata.py
Outdated
@@ -510,7 +510,8 @@ async def get_matching_albs_packages( | |||
errata_package: models.NewErrataPackage, | |||
prod_repos_cache, | |||
module, | |||
) -> List[models.ErrataToALBSPackage]: | |||
) -> Tuple[List[models.ErrataToALBSPackage], dict]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/ErrataToALBSPackage/NewErrataToALBSPackage/
|
||
comments = set() | ||
build_ids = set() | ||
for pack in find_packages_types: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use either pkg
or package
instead of pack
alws/crud/errata.py
Outdated
@@ -540,17 +541,24 @@ async def get_matching_albs_packages( | |||
errata_package.source_srpm = src_nevra.name | |||
items_to_insert.append(mapping) | |||
errata_package.albs_packages.append(mapping) | |||
return items_to_insert | |||
package_type["type"] = "prod" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not critical, just a personal taste, I'd prefer to use an enum here rather than checking on either prod
or build
strings later on.
8dce9bf
to
a6d8fa2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but please fix that comment
a6d8fa2
to
5e0fc93
Compare
requirements.txt
Outdated
@@ -32,4 +32,4 @@ uvicorn==0.29.0 | |||
websockets==12.0 | |||
git+https://github.com/AlmaLinux/immudb-wrapper.git@0.1.2#egg=immudb_wrapper | |||
git+https://github.com/AlmaLinux/errata2osv.git@0.0.3#egg=errata2osv | |||
git+https://github.com/AlmaLinux/albs-github-integration.git@0.3.0#egg=albs_github | |||
git+https://github.com/AlmaLinux/albs-github-integration.git@0.4.0#egg=albs_github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's ship AlmaLinux/albs-github-integration#5 and see if that makes CI happier
5e0fc93
to
6426aab
Compare
Code Coverage Summary
Linter reportsPylint report
Black report
Isort report
Bandit report
View full reports on the Job Summary page. |
6426aab
to
046f25b
Compare
046f25b
to
7a79cd8
Compare
Blocked by AlmaLinux/albs-github-integration#6 |
Resolves: AlmaLinux/build-system#239
Resolves: AlmaLinux/build-system#253