Lines Matching refs:repo
254 fetch_to_fd(struct repository *repo, const char *url, char *path, const char *fetchOpts)
286 repo->mirror_type == MIRROR_SRV) {
841 bootstrap_pkg(bool force, const char *fetchOpts, struct repository *repo)
854 printf("Bootstrapping pkg from %s, please wait...\n", repo->url);
859 packagesite = repo->url;
868 if ((fd_pkg = fetch_to_fd(repo, url, tmppkg, fetchOpts)) == -1)
871 if (repo->signature_type == SIGNATURE_FINGERPRINT) {
878 if ((fd_sig = fetch_to_fd(repo, url, tmpsig, fetchOpts)) == -1) {
884 if (verify_signature(fd_pkg, fd_sig, repo) == false)
886 } else if (repo->signature_type == SIGNATURE_PUBKEY) {
892 repo->url, bootstrap_name);
894 if ((fd_sig = fetch_to_fd(repo, url, tmpsig, fetchOpts)) == -1) {
900 if (verify_pubsignature(fd_pkg, fd_sig, repo) == false)
1157 /* Advance past repo name. */
1191 * should try to bootstrap from the repo.
1208 struct repository *repo;
1251 STAILQ_FOREACH(repo, repositories, next) {
1252 if ((ret = bootstrap_pkg(force, fetchOpts, repo)) == 0)