warn"Listing repositories with activity or changes since #{date}"project_ids=Project.where('last_activity_at > ? OR updated_at > ?',date,date).pluck(:id).sortnamespace_ids=Namespace.where(['updated_at > ?',date]).pluck(:id).sortscope=scope.where('id IN (?) OR namespace_id in (?)',project_ids,namespace_ids)