chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:17 +08:00
commit cf8edb9f21
44281 changed files with 1655134 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/local/bin/perl
# openall.cgi
# Add all classes to the open list
require './cluster-software-lib.pl';
&ReadParse();
($host) = grep { $_->{'id'} eq $in{'id'} } &list_software_hosts();
foreach $p (@{$host->{'packages'}}) {
@w = split(/\//, $p->{'class'});
for($j=0; $j<@w; $j++) {
push(@list, join('/', @w[0..$j]));
}
}
@list = &unique(@list);
&save_heiropen(\@list, $in{'id'});
&redirect("edit_host.cgi?id=$in{'id'}");