← Back to issue list

Backport to 1.x: Fix FD leakage by closing apt cache in repo.py

View original Github issue

Metadata

Project
snapcraft
Number
#291
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Merged backport of #268 to the 1.x branch. Resolves file descriptor leakage by closing the apt cache in cmds.py. Approved by @sergiusens and integrated.

Suggested action:

No scores available.

Issue body

Backport of #268 for 1.x. Note that in 1.x this wasn't actually in repy.py, but in cmds.py.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged backport of #268 to the 1.x branch. Resolves file descriptor leakage by closing the apt cache in cmds.py. Approved by @sergiusens and integrated.
qwen3.6-35b-a3b-mtp-q6 Merged backport of #268 to the 1.x branch, resolving file descriptor leakage by closing the apt cache in cmds.py. Approved by sergiusens and successfully merged.
qwen3.6-35b-a3b-mtp-q6 Merged backport of #268 to the 1.x branch. Resolves file descriptor leakage by closing the apt cache in cmds.py. Approved by @sergiusens and successfully merged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#268 fix FD leakage by closing apt cache in repo.py snapcraft merged Merged fix for file descriptor leakage in repo.py by closing apt cache. Maintainer landed contributor's patch, modifying one file (+10/-8 lines) to resolve LP: #1537705.
75%