ropensci-org / gitcellar Goto Github PK
View Code? Open in Web Editor NEWHelps Download Archives of GitHub Repositories
Home Page: https://docs.ropensci.org/gitcellar/
License: Other
Helps Download Archives of GitHub Repositories
Home Page: https://docs.ropensci.org/gitcellar/
License: Other
Users might wish to use a PAT with the minimum required permissions to list the repos & download the migration archives. What are the minimum required permissions?
I got it to work with a PAT with admin:org
, repo
. Can we use even less?
Hi,
I am not 100% sure if I understand the keep
argument.
For example. If I go:
download_organization_repos(
organizations = "NCC-CNC",
extra_repos = NULL,
keep = c("rollup", "impact"),
dest_folder = getwd()
)
Will this archive and download only those two public repos?
I'm having trouble finding the actual source code after uncompressing the *tar.gz file locally. I'm not sure if it is missing or if I just cannot find it?
Thanks for putting this package together and making it generalized!
I tried using gitcellar::download_organization_repos
on 2 different github organizations (r4ss
and ss3sim
) and both errored out at curl::curl_download(...)
.
Line 37 in 6639f1a
It looks like headers$location
a few lines above is NULL
(i.e., I don't see it when calling names(headers)
when a browser()
statement is inserted just above curl::curl_download(...)
and therefore causing the issue. I'm not really sure where to go next to solve the issue, though... not sure if I am doing something wrong or if this is a bug (or something specific about the orgs I tried?)?
I do have admin permissions on both of these (and got a nice warning on another org that I don't have admin permissions on), so I don't think it is related to a permissions issue?
Any help would be appreciated!
since @jeroen wrote the curl part
which we actually use for ropensci.
extra_repos could be a named vector, or a tibble.
If one tries to download the archives for several accounts at once, it'd be nice to be able to use the keep argument.
Or maybe having the ability to use the function for several accounts at once is not a good idea anyway. ๐ค
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.