Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | simplify code using select_media_by_name() | Pascal Rigaux | 2006-11-14 | 1 | -14/+5 |
| | |||||
* | use ->select_media_by_name & ->remove_media instead of ->select_media & ↵ | Pascal Rigaux | 2006-11-13 | 1 | -5/+4 |
| | | | | ->remove_selected_media | ||||
* | create remove_media out of remove_selected_media, and cleanup | Pascal Rigaux | 2006-11-13 | 1 | -8/+10 |
| | |||||
* | create select_media_by_name which return the list of matching media. | Pascal Rigaux | 2006-11-13 | 1 | -30/+31 |
| | | | | | | the goal is to stop using $medium->{modified} to mean selected (eg: ->remove_selected_media used in urpmi.removemedia) | ||||
* | cleanup | Pascal Rigaux | 2006-11-13 | 1 | -4/+7 |
| | |||||
* | fix replacing "next" with "return" when _update_medium_first_pass() was ↵ | Pascal Rigaux | 2006-11-13 | 1 | -1/+1 |
| | | | | introduced | ||||
* | fix replacing "next"s with "return" after moving code in previous commit | Pascal Rigaux | 2006-11-13 | 1 | -1/+1 |
| | |||||
* | create _update_medium_first_pass__local() out of _update_medium_first_pass() | Pascal Rigaux | 2006-11-13 | 1 | -180/+196 |
| | |||||
* | localize $dir to the block we're sure it has a meaning (and it's now no more ↵ | Pascal Rigaux | 2006-11-13 | 1 | -2/+2 |
| | | | | used outside) | ||||
* | this can't hurt: {url} ends with $dir, and it may even help in case if ↵ | Pascal Rigaux | 2006-11-13 | 1 | -1/+1 |
| | | | | non-local media | ||||
* | factorize handling of reconfig.urpmi, do it early so we don't need to redo ↵ | Pascal Rigaux | 2006-11-13 | 1 | -28/+24 |
| | | | | the function | ||||
* | fix error when introducing _update_medium_first_pass: there was a "redo ↵ | Pascal Rigaux | 2006-11-13 | 1 | -2/+2 |
| | | | | MEDIA", so it's not a function call, it must be return after redoing | ||||
* | cleanup | Pascal Rigaux | 2006-11-13 | 1 | -2/+3 |
| | |||||
* | more clear | Pascal Rigaux | 2006-11-13 | 1 | -4/+4 |
| | |||||
* | add a comment | Pascal Rigaux | 2006-11-13 | 1 | -0/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2006-11-13 | 1 | -17/+10 |
| | |||||
* | factorize code into ↵ | Pascal Rigaux | 2006-11-13 | 1 | -27/+23 |
| | | | | _read_existing_synthesis_and_hdlist_if_same_time_and_msize() and _read_existing_synthesis_and_hdlist() | ||||
* | simplify | Pascal Rigaux | 2006-11-13 | 1 | -10/+5 |
| | |||||
* | create protocol_from_url() and use it | Pascal Rigaux | 2006-11-13 | 1 | -5/+10 |
| | |||||
* | $protocol is a better var name | Pascal Rigaux | 2006-11-13 | 1 | -4/+4 |
| | |||||
* | create name2medium() and use it | Pascal Rigaux | 2006-11-13 | 2 | -18/+17 |
| | |||||
* | revalidate $medium instead of searching by name twice | Pascal Rigaux | 2006-11-13 | 1 | -4/+6 |
| | |||||
* | simpler regexp which handles deprecate url removable_xxx://... | Pascal Rigaux | 2006-11-13 | 1 | -80/+92 |
| | |||||
* | Copying release 0.9.6-2mdv2007.1 to pristine/ directory. | Mandrake | 2006-10-26 | 1 | -4/+4 |
| | |||||
* | Created directory for version 0.9.6. | Mandrake | 2006-10-26 | 1 | -9/+4 |
| | |||||
* | always cook args to sync_webfetch(), now renamed _sync_webfetch_raw() | Pascal Rigaux | 2006-11-13 | 1 | -71/+41 |
| | |||||
* | drop $urpm->{sync}, directly call ->sync_webfetch | Pascal Rigaux | 2006-11-13 | 1 | -12/+10 |
| | |||||
* | - correctly cook args to sync_file() | Pascal Rigaux | 2006-11-13 | 2 | -6/+3 |
| | | | | | - util::cfg is not needed in urpm::download | ||||
* | make it more explicit the parsing of the deprecated format ↵ | Pascal Rigaux | 2006-11-13 | 1 | -3/+5 |
| | | | | removable_hdc://mnt/cdrom | ||||
* | simplify $check_notfound in copy_packages_of_removable_media | Pascal Rigaux | 2006-11-13 | 1 | -14/+13 |
| | |||||
* | simplify probe_removable_device() | Pascal Rigaux | 2006-11-13 | 1 | -21/+19 |
| | |||||
* | create analyse_url__file_if_local() | Pascal Rigaux | 2006-11-13 | 1 | -12/+23 |
| | |||||
* | add dirname() | Pascal Rigaux | 2006-11-13 | 1 | -1/+2 |
| | |||||
* | don't clean obsolete headers in cache if cache is empty | Pascal Rigaux | 2006-11-13 | 1 | -7/+9 |
| | |||||
* | create remove_obsolete_headers_in_cache out of update_media | Pascal Rigaux | 2006-11-13 | 1 | -18/+22 |
| | |||||
* | create _update_medium_second_pass out of update_media | Pascal Rigaux | 2006-11-13 | 1 | -73/+78 |
| | |||||
* | create _update_medium_first_pass() out of ->update_media | Pascal Rigaux | 2006-11-13 | 1 | -541/+545 |
| | | | | | (which is now only 141 lines long... but _update_medium_first_pass is *603* lines long) | ||||
* | cleanup: declare variables where they are needed | Pascal Rigaux | 2006-11-13 | 1 | -5/+7 |
| | |||||
* | create clean_dir() out of get_source_packages | Pascal Rigaux | 2006-11-13 | 1 | -5/+10 |
| | |||||
* | create recursive_find_rpm_files() out of ->update_media | Pascal Rigaux | 2006-11-13 | 1 | -360/+248 |
| | |||||
* | sync_prozilla need exporting (used in urpm.pm) | Pascal Rigaux | 2006-11-10 | 1 | -1/+1 |
| | |||||
* | cleanup | Pascal Rigaux | 2006-11-10 | 1 | -4/+5 |
| | |||||
* | create _configure_parallel() out of configure() | Pascal Rigaux | 2006-11-10 | 1 | -32/+38 |
| | |||||
* | fix parsing of ::logger_id:: | Pascal Rigaux | 2006-11-10 | 1 | -2/+2 |
| | | | | | (for the case where there is no logger_id (which occurs when ->check fail, see #27026)) | ||||
* | fix a comment, and add comment on a bug | Pascal Rigaux | 2006-11-10 | 1 | -1/+4 |
| | |||||
* | use glob() | Pascal Rigaux | 2006-11-10 | 1 | -12/+7 |
| | |||||
* | help perl_checker | Pascal Rigaux | 2006-11-10 | 1 | -0/+2 |
| | |||||
* | perl_checker compliance | Pascal Rigaux | 2006-11-10 | 1 | -1/+3 |
| | |||||
* | - adapt ->translate_why_unselected to do what each callers do: sort its args ↵ | Pascal Rigaux | 2006-11-10 | 3 | -21/+25 |
| | | | | | | | and return a single string - create translate_why_unselected_one to make function smaller | ||||
* | - adapt ->translate_why_removed to do what each callers do: sort its args ↵ | Pascal Rigaux | 2006-11-10 | 4 | -32/+35 |
| | | | | | | | and return a single string - create translate_why_removed_one to make function smaller |