A powerful tool to concurrently clone, pull, or fork user and org repos and gists to create a GitHub archive.
MIT License
--location
strings. This now allows for spaces in paths and proper expansion of home directories (eg: ~
)Published by Justintime50 about 1 year ago
Fixes PyGithub pinned version to ensure Auth
is available
Published by Justintime50 about 1 year ago
--https
flag)--token
and --https
to be mutually exclusive (you can now authenticate with other tools such as Git Credential Manager instead of only SSH)Published by Justintime50 over 1 year ago
Published by Justintime50 over 1 year ago
Published by Justintime50 over 1 year ago
Published by Justintime50 almost 2 years ago
--https
flag)--token
and --https
when it should only be one or the otherPublished by Justintime50 about 2 years ago
--fork
CLI arg which adds support to fork the repos or gists specified via users
, orgs
, stars
, or gists
Published by Justintime50 about 2 years ago
Published by Justintime50 over 2 years ago
threading
package to the concurrent.futures
package allowing us to return values from each individual thread (in this case, the names of failed git assets)
--log_level
to allow the user to specify a custom log levelinclude
and exclude
help verbage used to be more clear they are optional filtersPublished by Justintime50 over 2 years ago
--include
and --exclude
CLI flag that accepts a comma-separated list of repo names to either include or exclude. If neither are passed, no filtering will occur (closes #43)Published by Justintime50 almost 3 years ago
Published by Justintime50 almost 3 years ago
mypy
and fixes typing errorsPublished by Justintime50 almost 3 years ago
woodchips
to use the new implementation (also fixes a bug where we were creating a new woodchips.Logger
class each time we called the logger instead of reusing the same logger instance)Published by Justintime50 almost 3 years ago
woodchips
for logging and removes internal logging logic from the package-C
flag to invoke it in the directory we wantPublished by Justintime50 almost 3 years ago
Published by Justintime50 about 3 years ago
--https
flag which will authenticate via HTTPS instead of the default SSH
--stars
flag would not properly run due to a missing parameter. This parameter wasn't actually being used anymore and has been removed. Tests were beefed up for this function to protect against this happening againPublished by Justintime50 about 3 years ago
github-archive --help
(closes #30)--users
flag which can be used to clone or pull git assets for a list of comma separated users (closes #20)--threads
flag which can specify the number of concurrent threads to run at once, default is 10
(closes #22)--view
flag which allows you to "dry run" the application, seeing the entire list of repos and gists based on the input provided (closes #25)--stars
flag which you can pass a comma separated list of users to and GitHub Archive will retrieve all of their starred repos which you can then view, clone, or pull (closes #26)--forks
flag which will include forks for whatever lists and operations you provide, default is False
(closes #17))180 seconds
to 300 seconds
to assist with cloning or pulling larger repos (closes #22)mock
library in favor of builtin unittest.mock
libraryPublished by Justintime50 over 3 years ago
branch
flag and functionality as it was causing issues and inconsistencies when cloning/pulling and branches didn't match up. This became especially prevelant when repos started changing from master
to main
Published by Justintime50 almost 4 years ago
False
, this shouldn't change behavior from previous versionsbranch
has been changed from master
to None
and is handled via logic now. If no branch is specified, the default repo branch will be used instead of blindly assuming that master
is the default branch (closes #18)