summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* allow setting aria2-options in urpmi.cfgAnssi Hannula2008-10-241-1/+1
|
* - urpmi, gurpmiPascal Rigaux2008-10-231-4/+12
| | | | | o retry once on aria2 versioned-file download failure
* - urpmi, gurpmiPascal Rigaux2008-10-214-6/+25
| | | | | o allow "retry" on aria2 download failure
* create urpm::msg::ask_yes_or_no() to remove duplicationPascal Rigaux2008-10-211-0/+5
|
* do not call {ask_yes_or_no} callback with explicit "(y/N)" otherwise it isPascal Rigaux2008-10-211-4/+4
| | | | | displayed in GUIs (gurpmi/rpmdrake/...)
* fix previous commit: we must not generated a 'start' event when we are donePascal Rigaux2008-10-211-1/+1
| | | | | with the list of files to download
* modify sync_aria2():Pascal Rigaux2008-10-211-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.addmediaPascal Rigaux2008-10-211-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 Rigaux2008-10-211-4/+11
|
* create _error_msg() out of _error()Pascal Rigaux2008-10-211-2/+7
|
* cleanup: split _get_pubkey_and_descriptions() into _get_descriptions() and ↵Pascal Rigaux2008-10-201-4/+9
| | | | _may_get_pubkey()
* add missing para to _get_pubkey()Pascal Rigaux2008-10-201-1/+1
|
* make things more clear: do not "delete $medium->{key-ids}" to ensure we don'tPascal Rigaux2008-10-201-9/+7
| | | | | loose key-ids for media we don't update (??)
* - urpmi.updatePascal Rigaux2008-10-201-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 Rigaux2008-10-201-5/+7
|
* move some code into _get_pubkey()Pascal Rigaux2008-10-201-7/+14
| | | | | (for next commits)
* - urpmiPascal Rigaux2008-10-201-1/+1
| | | | | o fix --auto-update ignoring --media and default-media (#45097)
* $urpm->{logger_id} is unused:Pascal Rigaux2008-10-172-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 Rigaux2008-10-171-54/+20
| | | | | this fixes displaying "raw_message" errors in case of --nodeps/--force
* move things for next commitPascal Rigaux2008-10-171-1/+2
|
* be safer, only main_loop (partially) handles "raw_message" errorsPascal Rigaux2008-10-172-1/+1
|
* final "Installation failed:" error message is empty when a transaction failedPascal Rigaux2008-10-171-7/+15
| | | | | and a "Try installation with..." question was prompted (#44960)
* extract error from aria2 log instead of giving it rawPascal Rigaux2008-10-161-2/+2
|
* - urpmiPascal Rigaux2008-10-142-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 Rigaux2008-10-141-1/+5
| | | | | o allow mdkapplet-upgrade-helper to force $MIRRORLIST distro version
* use aria2 even if nearest mirror is rsyncPascal Rigaux2008-10-141-1/+1
|
* add support for --clean in gurpmiThierry Vignaud2008-10-141-1/+1
|
* - urpmi.update, urpmi.addmedia, urpmi.removemedia:Pascal Rigaux2008-10-142-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 Rigaux2008-10-131-0/+1
| | | | | | o do not use --max-file-not-found=3 when downloading rpms (since rpms are "versioned")
* - gurpmi:Pascal Rigaux2008-10-071-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 gurpmiPascal Rigaux2008-10-071-1/+2
| | | | | (but only works as "--split-length=xx", not "--split-length xx")
* - urpmi:Pascal Rigaux2008-10-072-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 Rigaux2008-10-071-1/+1
| | | | signature
* what mdkonline really want, is that gurpmi/gurpmi2 handles --replacefilesPascal Rigaux2008-10-061-1/+1
|
* - urpmi, library:Pascal Rigaux2008-10-062-0/+2
| | | | | | o handle --replacefiles, will be used by mdkonline (require perl-URPM 3.19)
* - urpmi, rpmdrake:Pascal Rigaux2008-10-061-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 Rigaux2008-09-251-3/+3
|
* - aria2:Pascal Rigaux2008-09-231-0/+1
| | | | | o use --ftp-pasv (as suggested by aria2 developer)
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-09-231-10/+18
| | | | | | o for remote media, instead of first checking reconfig.urpmi, try MD5SUM. If it fails try reconfig.urpmi
* increase connect-timeout for aria2Pascal Rigaux2008-09-231-2/+2
|
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-09-231-1/+4
| | | | | | o do not get "descriptions" on non "update" media since it's useless and potentially slow
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-09-231-3/+1
| | | | | o only look for "descriptions" in media_info/
* - use "versioned" media_info filesPascal Rigaux2008-09-233-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 aria2Pascal Rigaux2008-09-231-6/+6
|
* {allow_metalink} was used unitialised, so now always using use_metalink() andPascal Rigaux2008-09-232-6/+8
| | | | | doing the memoizing inside use_metalink()
* cleanup using new sync_rel_one() and new option "preclean"Pascal Rigaux2008-09-231-23/+16
|
* create sync_rel_one() and use itPascal Rigaux2008-09-231-3/+8
|
* - sync_*(): return the downloaded filePascal Rigaux2008-09-231-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 Rigaux2008-09-231-4/+3
| | | | downloaded
* modify _download_media_info_file() prototypePascal Rigaux2008-09-231-10/+11
|