Changeset 408
- Timestamp:
- 11/15/11 12:07:35 (12 years ago)
- Location:
- server/trunk/web
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/bin/sophie_scan
r404 r408 16 16 foreach my $pathkey (@pkey) { 17 17 my $time = time; 18 Sophie::Scan::RpmsPath 19 ->new($pathkey, Sophie::Scan->new) 20 ->set_no_needupdate; 18 21 my @delta = Sophie::Scan::RpmsPath 19 22 ->new($pathkey, Sophie::Scan->new) -
server/trunk/web/lib/Sophie/Base.pm
r333 r408 17 17 my $cg = Config::General->new($file); 18 18 $config = { $cg->getall() }; 19 last 19 20 } 20 21 $config or die "No config found"; -
server/trunk/web/lib/Sophie/Base/Result/Paths.pm
r333 r408 6 6 7 7 __PACKAGE__->table('d_path'); 8 __PACKAGE__->add_columns(qw/d_path_key path added updated meta_path exists/); 8 __PACKAGE__->add_columns( 9 qw/d_path_key path added updated meta_path 10 exists needupdate/ 11 ); 9 12 __PACKAGE__->set_primary_key('d_path_key'); 10 13 __PACKAGE__->add_unique_constraint('path' => [ 'path' ]); -
server/trunk/web/lib/Sophie/Scan/RpmsPath.pm
r407 r408 128 128 sub set_no_needupdate { 129 129 my ($self) = @_; 130 warn "$$ UPD";131 130 $self->db->base->resultset('Paths')->find( 132 131 { d_path_key => $self->key } … … 137 136 sub set_updated { 138 137 my ($self) = @_; 139 warn "$$ UPD";140 138 $self->db->base->resultset('Paths')->find( 141 139 { d_path_key => $self->key }
Note: See TracChangeset
for help on using the changeset viewer.