summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
Commit message (Collapse)AuthorAgeFilesLines
* goal: get rid of $list which must be used together with $urpm->{media}, and ↵Pascal Rigaux2008-07-081-7/+7
| | | | | | | | | | | | | | use $blists instead - create urpm::get_pkgs::selected2local_and_blists(), which is similar to selected2list(), but returns a $blists - the following functions have been modified to use a $blists instead of $list: urpm::cdrom::copy_packages_of_removable_media() urpm::install::prepare_transaction() urpm::removable::try_mounting_non_cdroms() urpm::get_pkgs::download_packages_of_distant_media() - adapt code to use $blists
* urpm::install::prepare_transaction() now returns the computed values instead ofPascal Rigaux2008-07-081-5/+3
| | | | | modifying the parameters
* rename %transaction_sources into $transaction_sources (for future commit)Pascal Rigaux2008-07-081-16/+17
|
* remove obsolete urpm::removable::copy_packages_of_removable_media(), callPascal Rigaux2008-07-081-1/+2
| | | | | urpm::cdrom::copy_packages_of_removable_media() directly
* simplifyPascal Rigaux2008-07-081-1/+1
|
* o handle "unrequested orphans" (similar to "deborphan")Pascal Rigaux2008-07-071-0/+4
|
* handle transaction set with only removed packagesPascal Rigaux2008-07-031-2/+3
| | | | | (for upcoming orphans handling)
* factorize options handlingPascal Rigaux2008-07-031-7/+1
|
* cleanupPascal Rigaux2008-06-261-6/+7
|
* - urpmiPascal Rigaux2008-06-261-14/+3
| | | | | | | o display a message "Package foo is already installed" when asking "urpmi foo bar" and only installing bar (#41593) (requires perl-URPM 3.16)
* - urpmi:Pascal Rigaux2008-06-261-18/+27
| | | | | | o "missing file" and "bad rpms" errors are reported asap and are fatal errors unless the user wants to go on anyway (or --force)
* - urpmiPascal Rigaux2008-06-261-6/+6
| | | | | o fix displaying "files are missing" (regression introduced in 5.6)
* handle need_restart() rooted (not very useful, except for tests!)Pascal Rigaux2008-03-181-1/+1
|
* - urpmi:Pascal Rigaux2008-03-171-1/+6
| | | | | o tell the user to "restart system" when it is needed
* treat iso as non-removablePascal Rigaux2008-02-271-1/+1
|
* rename try_mounting_non_removable() into try_mounting_non_removables()Pascal Rigaux2008-02-271-1/+1
| | | | | and create try_mounting_non_removable()
* use blists to ensure we only mount media which will be usedPascal Rigaux2008-02-271-1/+1
|
* there is no reason copy_packages_of_removable_media should mount non removablePascal Rigaux2008-02-261-0/+2
| | | | | media
* - urpmiPascal Rigaux2008-02-251-0/+1
| | | | | | o fix "using one big transaction" that occurs when using --keep (#30198) (part of the fix is in perl-URPM 3.09)
* - urpmiPascal Rigaux2008-02-251-4/+4
| | | | | o --test: only display "Installation is possible" when it is the case (#29837)
* typo fixThierry Vignaud2008-02-251-1/+1
|
* (run) kill 'bad_rpms' & 'missing_files_summary' callbacks, reusingThierry Vignaud2008-02-251-7/+7
| | | | | existing unused 'message' callback
* display a "bad rpms" message instead of "files are missing" when the ↵Pascal Rigaux2008-02-241-3/+9
| | | | | | | | | | downloaded rpm is bad. this adds a new callback for rpmdrake: "bad_rpms" this modifies the API of urpm::get_pkgs::download_packages_of_distant_media ($error_sources is now { url => reason } instead of { id => url })
* - urpmiPascal Rigaux2008-01-181-0/+5
| | | | | | | | | o --install-src will succesfully installed src.rpm from /var/cache/urpmi/rpms/* (unless post-clean is 0) we could not do that by default because "urpmi --install-src" as user could not download the file
* do display computed transaction with --debug__do_not_install even if --debugPascal Rigaux2007-09-121-0/+7
| | | | | is not used
* move cleaning of cachedir out of selected2list()Pascal Rigaux2007-09-111-1/+2
|
* fix using --debug__do_not_install with --envPascal Rigaux2007-09-051-2/+3
|
* add new urpmi option, only for debugging purpose: --debug__do_not_installPascal Rigaux2007-09-041-0/+2
|
* - urpmiPascal Rigaux2007-08-231-0/+1
| | | | | o new option --justdb (new perl-URPM 1.76)
* rename urpm::install::create_transaction() into build_transaction_set_()Pascal Rigaux2007-08-231-1/+1
| | | | | (to avoid confusion with $db->create_transaction from URPM.xs)
* (run) introduce "already_installed_or_not_installable" callback for GUIesThierry Vignaud2007-08-131-0/+1
|
* (run) forward callback_report_uninst callbackThierry Vignaud2007-08-131-0/+1
|
* drop unneeded svn:executablePascal Rigaux2007-08-121-0/+0
|
* - urpmiPascal Rigaux2007-08-111-0/+1
| | | | | o new option --replacepkgs (same as rpm --replacepkgs) (#16112)
* - urpmiPascal Rigaux2007-08-111-0/+1
| | | | | o fix --quiet (regression introduced in 4.9.28)
* - urpmiPascal Rigaux2007-08-091-0/+284
o move some code to new module urpm::main_loop to share it with rpmdrake