You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolved multiple issues and made some improvements related to low memory situations
- Added a section to the README on how to detect failed package builds because of low memory
- Adjusted the builder OOM score to make it more likely the builder will be killed in low RAM situations instead of (potentially more crucial) applications on the host machine
- Fixed issue that could cause the builder docker image build to fail due to an outdated archlinux-keyring when you have really unfortunate timing
- Unpromisified a couple of functions that were synchronous inside, as this has no added benefit
- AUR packages that have a different package base are now cloned correctly
- Example: The rog-control-center AUR package has asusctl set as it's base, causing the GIT clone URL to be different
- Fixed a dependency resolve loop in very specific cases
- Example: The rog-control-center AUR package has asusctl as a dependency, but the rog-control-center package is provided by the asusctl package, causing an infinite loop
@@ -189,6 +192,14 @@ export default class PackageHelper {
189
192
return;
190
193
}
191
194
195
+
if(packageType.packageToInstall===dependencyOf){
196
+
console.warn(`[builder] The package "${dependencyOf}" tells us it requires "${packageType.packageToInstall}" as a dependency, which would cause an endless loop. We will just ignore this request.`);
197
+
198
+
resolve();
199
+
200
+
return;
201
+
}
202
+
192
203
if(packageType.type==='system'){
193
204
console.log(`[builder] Installing system package "${packageType.packageToInstall}"`);
console.warn(`[builder] Package "${packageName}" has a different package base according to the AUR, building "${aurResult.packageToInstall}" instead`);
25
+
}
26
+
23
27
resolve(aurResult);
24
28
25
29
return;
@@ -54,7 +58,7 @@ export default class PackageTypeHelper {
0 commit comments