fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
# SPDX-license-identifer: Apache-2.0
# Copyright © 2021 Intel Corporation
import argparse
import shutil
def main() -> None:
parser = argparse.ArgumentParser()
parser.add_argument('input')
parser.add_argument('output')
args = parser.parse_args()
shutil.copy2(args.input, args.output)
if __name__ == "__main__":
main()
@@ -0,0 +1,10 @@
#ifndef GLOBAL_ARG
char * success(void);
#endif
#ifndef PROJECT_ARG
char * success(void);
#endif
#ifndef CMD_ARG
char * success(void);
#endif
int success(void);
@@ -0,0 +1,5 @@
#include "src/global-project.h"
int success(void) {
return 0;
}
@@ -0,0 +1,14 @@
// SPDX-license-identifer: Apache-2.0
// Copyright © 2023 Intel Corporation
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
include!("global-project.rs");
fn main() {
unsafe {
std::process::exit(success());
};
}
@@ -0,0 +1,8 @@
// SPDX-license-identifer: Apache-2.0
// Copyright © 2021 Intel Corporation
#pragma once
#include "other.h"
int32_t add(const int32_t, const int32_t);
@@ -0,0 +1,14 @@
// SPDX-license-identifer: Apache-2.0
// Copyright © 2021 Intel Corporation
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
include!("header.rs");
fn main() {
unsafe {
std::process::exit(add(0, 0));
};
}
@@ -0,0 +1,15 @@
// SPDX-license-identifer: Apache-2.0
// Copyright © 2021 Intel Corporation
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
include!("gen.rs");
fn main() {
unsafe {
std::process::exit(add(0, 0));
};
}
@@ -0,0 +1,8 @@
// SPDX-license-identifer: Apache-2.0
// Copyright © 2021 Intel Corporation
#include "header.h"
int32_t add(const int32_t first, const int32_t second) {
return first + second;
}