Ignore:
Timestamp:
01/15/11 20:32:28 (13 years ago)
Author:
nanardon
Message:
  • is_updated take care to src/binary
Location:
server/trunk/web/lib/Sophie/Controller
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Analysis.pm

    r310 r311  
    163163        { id => $id } 
    164164    ); 
     165    $distspec->{src} = $pkg->issrc ? 1 : 0; 
    165166 
    166167    $c->forward('/analysis/solver/is_updated', 
  • server/trunk/web/lib/Sophie/Controller/User/Folder.pm

    r310 r311  
    116116            sessions_fkey => ($User ? undef : 'session:' . $c->sessionid), 
    117117            pkgid => $pkgid, 
     118            issrc => (ref $tags->{Sourcerpm} ? 0 : 1), 
    118119        } 
    119120    ); 
     
    129130                        : ''), 
    130131                    mode => $tags->{Filemodes}{integer}[$fcount], 
    131                     md5 => ref $tags->{Filedigests}{string}[$fcount]  
     132                    md5 => (ref $tags->{Filedigests}{string}[$fcount]  
    132133                        ? undef 
    133                         : $tags->{Filedigests}{string}[$fcount], 
     134                        : $tags->{Filedigests}{string}[$fcount]), 
    134135                } 
    135136            ); 
Note: See TracChangeset for help on using the changeset viewer.