Skip to content

Commit

Permalink
Merge pull request #62 from teofiln/master
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Jul 6, 2023
2 parents 5c281a8 + 38034eb commit 050f0a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ vignettes_src
^scripts$
^appveyor\.yml$
^\.github$
^.*\.Rproj$
^\.Rproj\.user$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ docs/
__pycache__
README.html
stevedore_*.tar.gz
stevedore.Rproj
.Renviron
5 changes: 3 additions & 2 deletions R/docker_client_support.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ pull_status_printer <- function(stream = stdout()) {
cur <- x$progressDetail[["current"]]
tot <- x$progressDetail[["total"]]
str <- sprintf("%s: %s %s/%s %d%%%s", x[["id"]], x[["status"]],
pretty_bytes(cur), pretty_bytes(tot),
# pretty_bytes(cur), pretty_bytes(tot),
cur, tot,
round(cur / tot * 100),
endl)
} else {
Expand Down Expand Up @@ -833,7 +834,7 @@ mcr_prepare_push <- function(name, tag, registry_auth) {
name <- parse_image_name(name)
tag <- name$tag %||% "latest"
registry_auth <- api_client$auth$get(name$registry) %||% base64encode("{}")
name <- sprintf("%s/%s", name$registry, name$image)
name <- sprintf("%s/%s", name$registry, name$name)
}, list(name = name, tag = tag, registry_auth = registry_auth))
}

Expand Down

0 comments on commit 050f0a7

Please sign in to comment.