GithubHelp home page GithubHelp logo

hartwork / fetchcommandwrapper Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 4.0 41 KB

:cow: Wrapper integrating aria2 (https://aria2.github.io/) into portage's FETCHCOMMAND for faster downloads (Python)

Home Page: https://pypi.org/project/fetchcommandwrapper/

Python 98.76% Makefile 1.24%
aria2 cli downloader gentoo python python3

fetchcommandwrapper's People

Contributors

hartwork avatar vikraman avatar zenyusy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fetchcommandwrapper's Issues

couldn't download layout.conf

It tries to download layout.conf from every mirror and it fails

No digest file available and download failed.

!!! Couldn't download '.layout.conf.ftp.wh2.tu-dresden.de'. Aborting.
>>> Downloading 'ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/distfiles/texlive-module-luaimagee
mbed-2020.tar.xz'
ERROR: All Gentoo mirrors tried already, exiting.
>>> Downloading 'https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/layout.conf'
ERROR: All Gentoo mirrors tried already, exiting.
No digest file available and download failed.

!!! Couldn't download '.layout.conf.ftp-stud.hs-esslingen.de'. Aborting.
>>> Downloading 'https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/texlive-module-luai
mageembed-2020.tar.xz'
ERROR: All Gentoo mirrors tried already, exiting.
>>> Downloading 'https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/distfiles/layou
t.conf'
No digest file available and download failed.

!!! Couldn't download '.layout.conf.mirror.eu.oneandone.net'. Aborting.
>>> Downloading 'https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/distfiles/texli
ve-module-luaimageembed-2020.tar.xz'
ERROR: All Gentoo mirrors tried already, exiting.
>>> Downloading 'https://mirror.netcologne.de/gentoo/distfiles/layout.conf'
ERROR: All Gentoo mirrors tried already, exiting.
No digest file available and download failed.

!!! Couldn't download '.layout.conf.mirror.netcologne.de'. Aborting.
>>> Downloading 'https://mirror.netcologne.de/gentoo/distfiles/texlive-module-luaimageembed-2020.t
ar.xz'
ERROR: All Gentoo mirrors tried already, exiting.
>>> Downloading 'https://ftp.halifax.rwth-aachen.de/gentoo/distfiles/layout.conf'
ERROR: All Gentoo mirrors tried already, exiting.
No digest file available and download failed.

!!! Couldn't download '.layout.conf.ftp.halifax.rwth-aachen.de'. Aborting.
>>> Downloading 'https://ftp.halifax.rwth-aachen.de/gentoo

enhancement: randomly choose mirrors

I have an idea: instead of passing the full mirrors list to aria2c, why not pass it n randomly chosen (http or ftp) mirrors?
Should dramatically increase the speed when the files are not present in any mirror.

For example if aria2c download from 5 mirrors simultaneously, n can be 6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.