Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleanup (if we sync_fetch something, we really want it to succeed) | Pascal Rigaux | 2006-11-15 | 1 | -10/+6 |
| | |||||
* | use copy_and_own | Pascal Rigaux | 2006-11-15 | 1 | -1/+1 |
| | |||||
* | create copy_and_own, and use it | Pascal Rigaux | 2006-11-15 | 2 | -10/+19 |
| | |||||
* | - create _update_medium__get_descriptions_local() out of ↵ | Pascal Rigaux | 2006-11-15 | 1 | -34/+50 |
| | | | | | | | _update_medium_first_pass__local() - create _update_medium__get_descriptions_remote() out of _update_medium_first_pass__remote() | ||||
* | create _update_medium_first_pass__remote() out of _update_medium_first_pass() | Pascal Rigaux | 2006-11-15 | 1 | -141/+152 |
| | |||||
* | use statedir_* funcs, but make them safe first | Pascal Rigaux | 2006-11-15 | 1 | -18/+16 |
| | |||||
* | removing $medium->{name}.cache was introduced in commit 33830, but i can't | Pascal Rigaux | 2006-11-15 | 1 | -2/+1 |
| | | | | | find out the reason why... dropping | ||||
* | create statedir_names and use it | Pascal Rigaux | 2006-11-15 | 1 | -2/+6 |
| | |||||
* | create statedir_descriptions() and use it | Pascal Rigaux | 2006-11-15 | 1 | -12/+11 |
| | |||||
* | move comment where it should be | Pascal Rigaux | 2006-11-15 | 1 | -2/+2 |
| | |||||
* | create write_urpmi_cfg() out of write_config() | Pascal Rigaux | 2006-11-15 | 1 | -3/+8 |
| | |||||
* | reorder | Pascal Rigaux | 2006-11-15 | 1 | -2/+4 |
| | |||||
* | simplify | Pascal Rigaux | 2006-11-14 | 1 | -4/+2 |
| | |||||
* | reorder | Pascal Rigaux | 2006-11-14 | 1 | -3/+4 |
| | |||||
* | log the fact that hdlist/synthesis is up-to-date | Pascal Rigaux | 2006-11-14 | 1 | -0/+2 |
| | |||||
* | create $urpm->{md5sum_modified} which is a finer flag than $urpm->{modified}, | Pascal Rigaux | 2006-11-14 | 1 | -11/+14 |
| | | | | | write_config is no more called because md5sum changed :) | ||||
* | - don't pass $basename to get_md5sum() | Pascal Rigaux | 2006-11-14 | 1 | -5/+6 |
| | | | | | - cleanup | ||||
* | create write_MD5SUM() out of write_config() | Pascal Rigaux | 2006-11-14 | 1 | -7/+13 |
| | |||||
* | don't allow calling ->add_media or ->add_distrib_media with unitialised ↵ | Pascal Rigaux | 2006-11-14 | 1 | -2/+2 |
| | | | | $urpm->{media} | ||||
* | create may_reconfig_urpmi() out of _update_medium_first_pass() | Pascal Rigaux | 2006-11-14 | 1 | -14/+20 |
| | |||||
* | create _read_cachedir_pubkey() out of _update_medium_first_pass() | Pascal Rigaux | 2006-11-14 | 1 | -16/+26 |
| | |||||
* | get rid of one $basename | Pascal Rigaux | 2006-11-14 | 1 | -2/+1 |
| | |||||
* | trying to get rid of $basename | Pascal Rigaux | 2006-11-14 | 1 | -7/+10 |
| | |||||
* | use statedir_synthesis() | Pascal Rigaux | 2006-11-14 | 1 | -1/+2 |
| | |||||
* | create statedir_hdlist_or_synthesis() and use it | Pascal Rigaux | 2006-11-14 | 1 | -8/+8 |
| | |||||
* | create statedir_list() and cachedir_list() | Pascal Rigaux | 2006-11-14 | 1 | -12/+20 |
| | |||||
* | create cachedir_hdlist() and use it | Pascal Rigaux | 2006-11-14 | 1 | -16/+20 |
| | |||||
* | (packing => 1) is used by every callers of _parse_hdlist | Pascal Rigaux | 2006-11-14 | 1 | -12/+9 |
| | |||||
* | create hdlist_or_synthesis_for_virtual_medium() and use it | Pascal Rigaux | 2006-11-14 | 1 | -11/+15 |
| | |||||
* | factorize code | Pascal Rigaux | 2006-11-14 | 1 | -6/+3 |
| | |||||
* | create statedir_hdlist() and statedir_synthesis() and use them | Pascal Rigaux | 2006-11-14 | 1 | -33/+42 |
| | |||||
* | rewrite a little | Pascal Rigaux | 2006-11-14 | 1 | -9/+16 |
| | |||||
* | simplify | Pascal Rigaux | 2006-11-14 | 1 | -10/+12 |
| | |||||
* | 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() |