getRemoteHook
returns http address of the remote Repository.
Then it can be used to download artifacts from the remote Repository.
getRemoteHook(
repo = aoptions("repo"),
user = aoptions("user"),
branch = aoptions("branch"),
subdir = aoptions("subdir"),
repoType = aoptions("repoType")
)
A character containing a name of a Git repository on which the Repository is archived.
A character containing a name of a Git user on whose account the repo
is created.
A character containing a name of Git Repository's branch on which the Repository is archived.
Default branch
is master
.
A character containing a name of a directory on Git repository
on which the Repository is stored. If the Repository is stored in main folder on Git repository, this should be set
to subdir = "/"
as default.
A character containing a type of the remote repository. Currently it can be 'github' or 'bitbucket'.
Bug reports and feature requests can be sent to https://github.com/pbiecek/archivist/issues
Przemyslaw Biecek, przemyslaw.biecek@gmail.com
Other archivist:
Repository
,
Tags
,
%a%()
,
addHooksToPrint()
,
addTagsRepo()
,
aformat()
,
ahistory()
,
alink()
,
aoptions()
,
archivistPackage
,
aread()
,
areadLocal()
,
asearch()
,
asearchLocal()
,
asession()
,
atrace()
,
cache()
,
copyLocalRepo()
,
createLocalRepo()
,
createMDGallery()
,
deleteLocalRepo()
,
getTagsLocal()
,
loadFromLocalRepo()
,
md5hash
,
removeTagsRepo()
,
restoreLibs()
,
rmFromLocalRepo()
,
saveToLocalRepo()
,
searchInLocalRepo()
,
setLocalRepo()
,
shinySearchInLocalRepo()
,
showLocalRepo()
,
splitTagsLocal()
,
summaryLocalRepo()
,
zipLocalRepo()
if (FALSE) {
# objects preparation
getRemoteHook("graphGallery", "pbiecek")
}
Run the code above in your browser using DataLab