• Olivier Brunel's avatar
    Add events _PKGDOWNLOAD_{START, DONE, FAILED} · bd3d1a17
    Olivier Brunel authored and Allan McRae's avatar Allan McRae committed
    
    
    These will be emmitted when download a package file from a repository,
    indicating that the download starts, and whether it was successfull or
    not.
    
    Note that when multiple servers are available, no event is emmitted when
    switching to another server.
    
    (This doesn't apply to alpm_fetch_pkgurl(), but since it is called by
    the frontend, it shouldn't have problems knowing when the download
    starts and when it ends.)
    
    Signed-off-by: default avatarOlivier Brunel <jjk@jjacky.com>
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
    bd3d1a17