-
Notifications
You must be signed in to change notification settings - Fork 218
[review] os: implement build-deps #4024
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Matthew McGovern (LINUX) <[email protected]>
Oh wow I realized we aren't actually confirming to the apt sources standard. We parse the output of apt update instead for some reason. I might go ahead and fix that as well. |
r"URIs:\s*(?P<uri>\S+)\s*" | ||
r"Suites:\s*(?P<suite>.*)\n" | ||
r"Components:\s*(?P<components>.+?)\s*" | ||
r"(?P<options>((?:\S+:\s*.+)\n?)*)$" |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
r"URIs:\s*(?P<uri>\S+)\s*" | ||
r"Suites:\s*(?P<suite>.*)\n" | ||
r"Components:\s*(?P<components>.+?)\s*" | ||
r"(?P<options>((?:\S+:\s*.+)\n?)*)$" |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
r"(?P<status>\S+):(?P<id>\d+)\s+(?P<uri>\S+)\s+(?P<name>\S+)" | ||
r"\s+(?P<metadata>.*)\s*" | ||
r"^(?P<type>deb(?:-src)?)\s+" # deb or deb-src | ||
r"(?P<options>(?:\w+=\w+\s?)*)\s" # [option1=value1 ...] |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
Implements
apt-get build-dep
,dnf/yum build-dep
, andzypper si -d
to install source package build dependencies using the package manager source package metadata.