add repo snapshot