]> git.donarmstrong.com Git - wannabuild.git/commitdiff
wanna-build: add preliminary build_arch_all support
authorPhilipp Kern <pkern@debian.org>
Fri, 25 Mar 2011 14:48:07 +0000 (14:48 +0000)
committerPhilipp Kern <pkern@debian.org>
Fri, 25 Mar 2011 14:51:52 +0000 (14:51 +0000)
bin/wanna-build

index be16dbe886dab82a8bb9f8ed7150939608c8edcd..177fa23ec4fb42dbbd200e6ff12255db9da60507 100755 (executable)
@@ -789,6 +789,7 @@ sub add_one_building {
                 print  "    - extra-conflicts: $pkg->{'extra_conflicts'}\n" if $pkg->{'extra_conflicts'};
                 print  "    - archive: $distributions{$distribution}->{'archive'}\n" if $distributions{$distribution}->{'archive'};
                 print  "    - build_dep_resolver: $distributions{$distribution}->{'build_dep_resolver'}\n" if $distributions{$distribution}->{'build_dep_resolver'};
+                print  "    - arch_all: $pkg->{'build_arch_all'}\n" if $pkg->{'build_arch_all'};
             }
                change_state( \$pkg, 'Building' );
                $pkg->{'package'} = $name;
@@ -2796,7 +2797,7 @@ sub get_readonly_source_info {
         my $q = "SELECT rel, priority, state_change, permbuildpri, section, buildpri, failed, state, binary_nmu_changelog, bd_problem, version, package, distribution, installed_version, notes, failed_category, builder, old_failed, previous_state, binary_nmu_version, depends, extract(days from date_trunc('days', now() - state_change)) as state_days, floor(extract(epoch from now()) - extract(epoch from state_change)) as state_time"
             . ", (SELECT max(build_time) FROM ".pkg_history_table_name()." WHERE pkg_history.package = packages.package AND pkg_history.distribution = packages.distribution AND result = 'successful') AS successtime"
             . ", (SELECT max(build_time) FROM ".pkg_history_table_name()." WHERE pkg_history.package = packages.package AND pkg_history.distribution = packages.distribution ) AS anytime"
-            . ", extra_depends, extra_conflicts"
+            . ", extra_depends, extra_conflicts, build_arch_all"
             . " FROM " .  table_name()
             . ' WHERE package = ? AND distribution = ?';
        my $pkg = $dbh->selectrow_hashref( $q,