summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
Commit message (Collapse)AuthorAgeFilesLines
* document 'post_download' callback tooThierry Vignaud2013-03-211-0/+8
|
* difference2 && untaint are not neeededThierry Vignaud2013-03-211-1/+1
|
* drop 'callback_report_uninst'Thierry Vignaud2013-03-161-3/+0
| | | | rationale: 'callback_uninst' now enables to get erasure progress
* really enable callers to pass their own callback for erasure progressThierry Vignaud2013-03-161-0/+3
|
* document trans_log parametersThierry Vignaud2013-03-161-1/+1
|
* hint @URPMThierry Vignaud2013-03-161-1/+1
|
* enable callers to pass their own callbacks for erasure progress & errorsThierry Vignaud2013-02-251-0/+3
| | | | eg: for rpmdrake/gurpm/drakx
* (run) document itThierry Vignaud2013-02-251-0/+88
|
* sync doc with codeThierry Vignaud2013-02-251-1/+1
|
* (install_logger) keep a separate counter for erasuresThierry Vignaud2013-02-091-30/+1
| | | | | | | | | | only initialize $total_pkg: - when starting a new transaction - or on first erasure in transaction (_compute_pkg_total) kill it (no more needed) adjust testsuite accordingly
* bump copyrightThierry Vignaud2013-02-051-1/+1
|
* (_compute_pkg_total) introduce it in order to count total elementsThierry Vignaud2013-02-051-1/+30
| | | | (run) compute exact total of installed/removed packages
* (_download_all) fix --download-all (mga#8272)Thierry Vignaud2012-12-021-1/+1
| | | | | | regression introduced by init_cache_dir() -> init_dir() renaming in commit r6192 on October 11 2012 : ("(init_cache_dir) rename as init_dir() which is more meaningful")
* (get_distant_media_filesize) kill unused parameterThierry Vignaud2012-08-311-1/+1
|
* (run) drop unused parameterThierry Vignaud2012-08-311-1/+1
| | | | warning: needs newer drakx & rpmdrake
* document some functionsThierry Vignaud2012-08-311-1/+39
|
* add basic POD documentationThierry Vignaud2012-08-311-0/+25
|
* (extract_packages_to_install) drop unused parameterThierry Vignaud2012-08-311-1/+1
|
* (prepare_transaction) drop unused parameterThierry Vignaud2012-08-311-1/+1
|
* (clean_trans_sources_from_src_packages) split it out of run()Thierry Vignaud2012-08-311-6/+11
|
* typo fix in commentThierry Vignaud2012-08-311-2/+2
|
* (_verify_rpm) make sure to have a meaningfull return code when callingThierry Vignaud2012-08-241-2/+4
| | | | | | | | | 'bad_signature' callback (run) fix installing a package if user acks bogus signature (regression introduced in commit r4862 on 2012-06-08: "(_download_all) split it out of run()")
* (_download_packages) decrease total package count when some files are missingThierry Vignaud2012-08-241-0/+1
|
* (_install_src) simplifyThierry Vignaud2012-06-081-1/+2
|
* (_verify_rpm) let rpmdrake pass 'basename' option againThierry Vignaud2012-06-081-2/+1
|
* (_finish) split it out of run()Thierry Vignaud2012-06-081-5/+13
|
* (run) simplifyThierry Vignaud2012-06-081-3/+2
|
* (_run_transaction,run) try to make more readable by having less dereferencingThierry Vignaud2012-06-081-11/+16
|
* (_run_transaction) split it out of run()Thierry Vignaud2012-06-081-44/+57
|
* one less variable to pass aroundThierry Vignaud2012-06-081-4/+5
|
* (_download_all, _install_src, _init_common_options,Thierry Vignaud2012-06-081-10/+10
| | | | | | | | _run_parallel_transaction) pass less arguments now that we have package scope variables which also fix a bug in newly introduced _install_src() where it would increment $nok w/o any actual side effect in run()
* make some global variables having package scopeThierry Vignaud2012-06-081-2/+7
|
* (run) drop unused env variableThierry Vignaud2012-06-081-2/+2
|
* (_run_parallel_transaction) split it out of run()Thierry Vignaud2012-06-081-9/+14
|
* (_log_installing) split it out of run()Thierry Vignaud2012-06-081-9/+14
|
* (run) add some commentsThierry Vignaud2012-06-081-0/+8
|
* (_init_common_options) split it out of run()Thierry Vignaud2012-06-081-15/+20
|
* (_handle_removable_media) split it out of run()Thierry Vignaud2012-06-081-8/+13
|
* (_continue_on_error) split it out of run()Thierry Vignaud2012-06-081-16/+22
|
* (_install_src) split it out of run()Thierry Vignaud2012-06-081-14/+19
|
* (_verify_rpm) split it out of run()Thierry Vignaud2012-06-081-14/+19
|
* (_download_all) split it out of run()Thierry Vignaud2012-06-081-28/+33
|
* (_download_callback) split it out of _download_packages()Thierry Vignaud2012-06-081-5/+9
|
* (_download_packages) split it out of run()Thierry Vignaud2012-06-081-42/+41
|
* (run) fix downloading twice noarch packages on x86_64 with --download-all ↵Thierry Vignaud2012-06-081-0/+3
| | | | | | | (mga#4867)) (w/o introducing testsuite regressions like previous fix) (reducing side effects to the download-all code)
* sort imported functionsThierry Vignaud2012-03-261-1/+1
|
* (run) perl_checker cleanupThierry Vignaud2012-03-261-2/+2
| | | | | that's the only commit from the cleaning branch that will land before the mga2 release
* (handle_need_restart) enable to test "should restart" againThierry Vignaud2012-02-271-1/+1
| | | | | it didn't work since commit r263652 on Tue Nov 24 2009 (was: "(handle_need_restart) do not advice to reboot when inside a chroot")
* (run) --test: do not update /var/lib/rpm/installed-through-deps.list again & ↵Thierry Vignaud2012-02-141-1/+1
| | | | again
* (run) add infrastructure so that GUIes can offer not to ask anymore about ↵Thierry Vignaud2011-09-191-1/+2
| | | | missing or bad packages