Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow setting aria2-options in urpmi.cfg | Anssi Hannula | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | - urpmi, gurpmi | Pascal Rigaux | 2008-10-23 | 1 | -4/+12 |
| | | | | | o retry once on aria2 versioned-file download failure | ||||
* | - urpmi, gurpmi | Pascal Rigaux | 2008-10-21 | 4 | -6/+25 |
| | | | | | o allow "retry" on aria2 download failure | ||||
* | create urpm::msg::ask_yes_or_no() to remove duplication | Pascal Rigaux | 2008-10-21 | 1 | -0/+5 |
| | |||||
* | do not call {ask_yes_or_no} callback with explicit "(y/N)" otherwise it is | Pascal Rigaux | 2008-10-21 | 1 | -4/+4 |
| | | | | | displayed in GUIs (gurpmi/rpmdrake/...) | ||||
* | fix previous commit: we must not generated a 'start' event when we are done | Pascal Rigaux | 2008-10-21 | 1 | -1/+1 |
| | | | | | with the list of files to download | ||||
* | modify sync_aria2(): | Pascal Rigaux | 2008-10-21 | 1 | -18/+18 |
| | | | | | | | | | | - prototype change: use $medium and $rel_files - remove from $rel_files things successfully downloaded (needed for next commit) - create a .metalink file even if we don't use mirrorlist (it reduces potential duplication in next commits) - don't pass specific mirrorlist aria2 options when not using mirrorlist | ||||
* | - urpmi.update, urpmi.addmedia | Pascal Rigaux | 2008-10-21 | 1 | -0/+2 |
| | | | | | | | | o exit on failing media instead of ignoring them (esp. for urpmi.addmedia --distrib). exceptions: "urpmi.update -a" and "urpmi.update --update" for backward compatibility | ||||
* | create _parse_aria2_output() out of sync_aria2() | Pascal Rigaux | 2008-10-21 | 1 | -4/+11 |
| | |||||
* | create _error_msg() out of _error() | Pascal Rigaux | 2008-10-21 | 1 | -2/+7 |
| | |||||
* | cleanup: split _get_pubkey_and_descriptions() into _get_descriptions() and ↵ | Pascal Rigaux | 2008-10-20 | 1 | -4/+9 |
| | | | | _may_get_pubkey() | ||||
* | add missing para to _get_pubkey() | Pascal Rigaux | 2008-10-20 | 1 | -1/+1 |
| | |||||
* | make things more clear: do not "delete $medium->{key-ids}" to ensure we don't | Pascal Rigaux | 2008-10-20 | 1 | -9/+7 |
| | | | | | loose key-ids for media we don't update (??) | ||||
* | - urpmi.update | Pascal Rigaux | 2008-10-20 | 1 | -0/+5 |
| | | | | | | | | | o fix --force-key (#45094) nb: 2 cases must be handled. When the medium is updated, we just need to ensure urpmi.cfg is written. But when it's not updated, we must do a special case | ||||
* | handle {forcekey} elsewhere (for next commit) | Pascal Rigaux | 2008-10-20 | 1 | -5/+7 |
| | |||||
* | move some code into _get_pubkey() | Pascal Rigaux | 2008-10-20 | 1 | -7/+14 |
| | | | | | (for next commits) | ||||
* | - urpmi | Pascal Rigaux | 2008-10-20 | 1 | -1/+1 |
| | | | | | o fix --auto-update ignoring --media and default-media (#45097) | ||||
* | $urpm->{logger_id} is unused: | Pascal Rigaux | 2008-10-17 | 2 | -3/+0 |
| | | | | | | | | - it has been "replaced" by $urpm->{logger_count} (r15626 | rgarciasuarez | 2006-03-20) - it was still used before when urpmi was forking on multiple transactions (dropped in urpmi 4.9.0, Nov 2006) | ||||
* | remove code duplication, | Pascal Rigaux | 2008-10-17 | 1 | -54/+20 |
| | | | | | this fixes displaying "raw_message" errors in case of --nodeps/--force | ||||
* | move things for next commit | Pascal Rigaux | 2008-10-17 | 1 | -1/+2 |
| | |||||
* | be safer, only main_loop (partially) handles "raw_message" errors | Pascal Rigaux | 2008-10-17 | 2 | -1/+1 |
| | |||||
* | final "Installation failed:" error message is empty when a transaction failed | Pascal Rigaux | 2008-10-17 | 1 | -7/+15 |
| | | | | | and a "Try installation with..." question was prompted (#44960) | ||||
* | extract error from aria2 log instead of giving it raw | Pascal Rigaux | 2008-10-16 | 1 | -2/+2 |
| | |||||
* | - urpmi | Pascal Rigaux | 2008-10-14 | 2 | -2/+8 |
| | | | | | | o diskspace issues are now a fatal error (need perl-URPM 3.20) (no use going on with the other transactions) | ||||
* | - library: | Pascal Rigaux | 2008-10-14 | 1 | -1/+5 |
| | | | | | o allow mdkapplet-upgrade-helper to force $MIRRORLIST distro version | ||||
* | use aria2 even if nearest mirror is rsync | Pascal Rigaux | 2008-10-14 | 1 | -1/+1 |
| | |||||
* | add support for --clean in gurpmi | Thierry Vignaud | 2008-10-14 | 1 | -1/+1 |
| | |||||
* | - urpmi.update, urpmi.addmedia, urpmi.removemedia: | Pascal Rigaux | 2008-10-14 | 2 | -7/+7 |
| | | | | | | | o do not check wether the media are valid, it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work (nb: not equivalent with urpmi.addmedia, since pubkey will not be imported) | ||||
* | - aria2: | Pascal Rigaux | 2008-10-13 | 1 | -0/+1 |
| | | | | | | o do not use --max-file-not-found=3 when downloading rpms (since rpms are "versioned") | ||||
* | - gurpmi: | Pascal Rigaux | 2008-10-07 | 1 | -6/+9 |
| | | | | | | | o overall progress-bar, display the download speed, nicer looking - urpm::download::progress_text() is created out of urpm::download::sync_logger | ||||
* | add --split-level and --split-length to gurpmi | Pascal Rigaux | 2008-10-07 | 1 | -1/+2 |
| | | | | | (but only works as "--split-length=xx", not "--split-length xx") | ||||
* | - urpmi: | Pascal Rigaux | 2008-10-07 | 2 | -3/+19 |
| | | | | | o fix displaying "bad signature" in non-utf8 (#44587) | ||||
* | exit code 15 is already used for --expect-install, use exit code 16 for bad ↵ | Pascal Rigaux | 2008-10-07 | 1 | -1/+1 |
| | | | | signature | ||||
* | what mdkonline really want, is that gurpmi/gurpmi2 handles --replacefiles | Pascal Rigaux | 2008-10-06 | 1 | -1/+1 |
| | |||||
* | - urpmi, library: | Pascal Rigaux | 2008-10-06 | 2 | -0/+2 |
| | | | | | | o handle --replacefiles, will be used by mdkonline (require perl-URPM 3.19) | ||||
* | - urpmi, rpmdrake: | Pascal Rigaux | 2008-10-06 | 1 | -1/+1 |
| | | | | | | o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing on bad signature (#44575) | ||||
* | export new_unrequested() (for future use in drakx (?)) | Pascal Rigaux | 2008-09-25 | 1 | -3/+3 |
| | |||||
* | - aria2: | Pascal Rigaux | 2008-09-23 | 1 | -0/+1 |
| | | | | | o use --ftp-pasv (as suggested by aria2 developer) | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-09-23 | 1 | -10/+18 |
| | | | | | | o for remote media, instead of first checking reconfig.urpmi, try MD5SUM. If it fails try reconfig.urpmi | ||||
* | increase connect-timeout for aria2 | Pascal Rigaux | 2008-09-23 | 1 | -2/+2 |
| | |||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-09-23 | 1 | -1/+4 |
| | | | | | | o do not get "descriptions" on non "update" media since it's useless and potentially slow | ||||
* | - urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-09-23 | 1 | -3/+1 |
| | | | | | o only look for "descriptions" in media_info/ | ||||
* | - use "versioned" media_info files | Pascal Rigaux | 2008-09-23 | 3 | -1/+41 |
| | | | | | | | | | | (needed for aria2 to handle mirrors not having some media_info/*) it fixes: - downloading parts of media_info file from different mirrors and failing to obtain a valid result - checking md5sum of media_info files | ||||
* | help debugging aria2 | Pascal Rigaux | 2008-09-23 | 1 | -6/+6 |
| | |||||
* | {allow_metalink} was used unitialised, so now always using use_metalink() and | Pascal Rigaux | 2008-09-23 | 2 | -6/+8 |
| | | | | | doing the memoizing inside use_metalink() | ||||
* | cleanup using new sync_rel_one() and new option "preclean" | Pascal Rigaux | 2008-09-23 | 1 | -23/+16 |
| | |||||
* | create sync_rel_one() and use it | Pascal Rigaux | 2008-09-23 | 1 | -3/+8 |
| | |||||
* | - sync_*(): return the downloaded file | Pascal Rigaux | 2008-09-23 | 1 | -20/+18 |
| | | | | | | - sync_rel: handle "preclean", and do cleanup things after failed download - simplify some mess using the returned value | ||||
* | simplify: "$urpm->{cachedir}/partial" is the default "dir" where files are ↵ | Pascal Rigaux | 2008-09-23 | 1 | -4/+3 |
| | | | | downloaded | ||||
* | modify _download_media_info_file() prototype | Pascal Rigaux | 2008-09-23 | 1 | -10/+11 |
| |