Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup fails for large repos with many files and large number of versions #7

Open
nycnewman opened this issue Nov 11, 2020 · 0 comments

Comments

@nycnewman
Copy link

The current process only looks for packages and then files within packages. For large repos the package retrieval can take a long time (we have hundreds of versions) and then the package file list never returns (error from bintray). Alternative approach would be to parse the versions within a package and request file list per version per package.

Sadly my Kotlin is non-existent otherwise would try to provide a Pull Request.

https://bintray.com/docs/api/#_get_package
https://bintray.com/docs/api/#_get_version_files

i.e.

  • get list of packages within repo
  • for each package get package details and parse versions
  • for each package/version get list of files
  • download files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant