Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | much nicer userdir() functions: | Pascal Rigaux | 2008-09-04 | 1 | -5/+1 |
| | | | | | | | | | - userdir() does not modify $urpm->{cachedir} anymore, if you must ensure $urpm->{cachedir} to be modified, use ensure_valid_cachedir() - valid_cachedir() gives you a valid cachedir (works for root or simple-user), but does not modify $urpm->{cachedir} | ||||
* | simplify: always create "partial" and "rpms" in "userdir", that way we can use | Pascal Rigaux | 2008-09-04 | 1 | -7/+2 |
| | | | | | userdir() in most cases | ||||
* | - create urpm::blist_to_filenames() | Pascal Rigaux | 2008-09-03 | 1 | -1/+1 |
| | | | | | - use it and sync_rel() | ||||
* | now, get rid of blist->{list} :) | Pascal Rigaux | 2008-07-08 | 1 | -6/+3 |
| | |||||
* | fix typo | Pascal Rigaux | 2008-07-08 | 1 | -2/+2 |
| | |||||
* | migrate download_packages_of_distant_media() to use blist->{pkgs} instead of ↵ | Pascal Rigaux | 2008-07-08 | 1 | -6/+4 |
| | | | | blist->{list} | ||||
* | migrate _download_packages_of_distant_media() to use blist->{pkgs} instead ↵ | Pascal Rigaux | 2008-07-08 | 1 | -7/+8 |
| | | | | of blist->{list} | ||||
* | add {pkgs} to $blist, it deprecates {list} | Pascal Rigaux | 2008-07-08 | 1 | -3/+7 |
| | |||||
* | make selected2list() use selected2local_and_blists() | Pascal Rigaux | 2008-07-08 | 1 | -17/+14 |
| | | | | | and make selected2local_and_blists() do the computation | ||||
* | rename $i to $id to make it clear | Pascal Rigaux | 2008-07-08 | 1 | -6/+6 |
| | |||||
* | rename/create vars for clarity | Pascal Rigaux | 2008-07-08 | 1 | -5/+6 |
| | |||||
* | pass a blist to _download_packages_of_distant_media() | Pascal Rigaux | 2008-07-08 | 1 | -12/+10 |
| | |||||
* | re-indent | Pascal Rigaux | 2008-07-08 | 1 | -29/+30 |
| | |||||
* | create _download_packages_of_distant_media() out of ↵ | Pascal Rigaux | 2008-07-08 | 1 | -15/+23 |
| | | | | download_packages_of_distant_media() | ||||
* | goal: get rid of $list which must be used together with $urpm->{media}, and ↵ | Pascal Rigaux | 2008-07-08 | 1 | -8/+27 |
| | | | | | | | | | | | | | | 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 | ||||
* | create cachedir_rpms() out of _selected2local_and_ids() | Pascal Rigaux | 2008-07-08 | 1 | -8/+23 |
| | |||||
* | create _selected2local_and_ids() out of selected2list() | Pascal Rigaux | 2008-07-08 | 1 | -9/+20 |
| | |||||
* | we don't need to know the medium to compute ->is_delta_installable, so doing | Pascal Rigaux | 2008-07-08 | 1 | -4/+4 |
| | | | | | it in previous loop | ||||
* | rename var | Pascal Rigaux | 2008-07-08 | 1 | -3/+3 |
| | |||||
* | adapt the error message: --install-src is allowed for non-root for some time, | Pascal Rigaux | 2008-07-07 | 1 | -2/+1 |
| | | | | | | so the real pb here is $cachedir/partial being fucked up (occurs for example when /var is being removed during urpmi...) | ||||
* | - urpmi | Pascal Rigaux | 2008-06-26 | 1 | -1/+1 |
| | | | | | o fix displaying "files are missing" (regression introduced in 5.6) | ||||
* | empty_dir() is a better name, clean_dir() will be used for just removing the dir | Pascal Rigaux | 2008-06-24 | 1 | -2/+2 |
| | |||||
* | move removing bad file inside verify_partial_rpm_and_move() | Pascal Rigaux | 2008-02-26 | 1 | -3/+4 |
| | | | | | (it won't hurt urpm::removable::_do_the_copy()) | ||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+2 |
| | |||||
* | urpm::get_pkgs::verify_partial_rpm_and_move() return the final rpm | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | create verify_partial_rpm_and_move() out of | Pascal Rigaux | 2008-02-26 | 1 | -4/+12 |
| | | | | | download_packages_of_distant_media() | ||||
* | fix typo (introduced on 2008-02-24 r237346) | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | rename some vars | Pascal Rigaux | 2008-02-26 | 1 | -14/+12 |
| | |||||
* | display a "bad rpms" message instead of "files are missing" when the ↵ | Pascal Rigaux | 2008-02-24 | 1 | -10/+17 |
| | | | | | | | | | | 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 }) | ||||
* | further simplify (allowed by making "moving file" fatal) | Pascal Rigaux | 2008-02-24 | 1 | -2/+1 |
| | |||||
* | - urpmi, urpmi.addmedia, urpmi.update: | Pascal Rigaux | 2008-02-24 | 1 | -2/+2 |
| | | | | | | o have fatal errors on some errors that must not happen (eg: moving rpm from download dir to cachedir) | ||||
* | - urpmi: | Pascal Rigaux | 2008-01-18 | 1 | -3/+11 |
| | | | | | o --install-src as user now works for remote medium | ||||
* | use var (for future commit) | Pascal Rigaux | 2008-01-18 | 1 | -6/+8 |
| | |||||
* | - urpmi: | Pascal Rigaux | 2007-11-15 | 1 | -1/+9 |
| | | | | | | | | o fix "urpmi --install-src" (regression introduced in 4.10.9) nb: packages_by_name can't be used here since $urpm->{provides} doesn't have src.rpm so a full search is needed | ||||
* | - fix using already downloaded rpms (from /var/cache/urpmi/rpms) (#33655) | Pascal Rigaux | 2007-09-17 | 1 | -12/+17 |
| | |||||
* | previous commit was making some wrong assumptions when simplifying | Pascal Rigaux | 2007-09-12 | 1 | -4/+13 |
| | | | | | selected2list(). it needs to be a little more complex... | ||||
* | simplify selected2list() mess | Pascal Rigaux | 2007-09-11 | 1 | -75/+24 |
| | | | | | => make it instantaneous instead of taking 20% of the time of a small urpmi command | ||||
* | move cleaning of cachedir out of selected2list() | Pascal Rigaux | 2007-09-11 | 1 | -7/+8 |
| | |||||
* | simplify error handling | Pascal Rigaux | 2007-09-11 | 1 | -14/+2 |
| | |||||
* | better error message as suggested on cooker-i18n | Pascal Rigaux | 2007-08-28 | 1 | -1/+1 |
| | |||||
* | better error message as suggested on cooker-i18n | Pascal Rigaux | 2007-08-28 | 1 | -1/+1 |
| | |||||
* | fix typo | Pascal Rigaux | 2007-08-08 | 1 | -1/+1 |
| | |||||
* | - urpmi | Pascal Rigaux | 2007-08-08 | 1 | -0/+5 |
| | | | | | o explicit error when using "urpmi ---install-src" as user with remote media | ||||
* | restore cleaning /var/cache/urpmi/rpms | Pascal Rigaux | 2007-01-10 | 1 | -6/+7 |
| | |||||
* | simplify | Pascal Rigaux | 2007-01-10 | 1 | -13/+10 |
| | |||||
* | fix using N() | Pascal Rigaux | 2007-01-10 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2007-01-10 | 1 | -10/+7 |
| | |||||
* | log the cleaning of /var/cache/urpmi/partial | Pascal Rigaux | 2007-01-10 | 1 | -0/+1 |
| | |||||
* | directly set $urpm->{root}, it's simpler | Pascal Rigaux | 2006-11-29 | 1 | -2/+2 |
| | | | | | (also use it in urpm::get_pkgs::selected2list() even if callers didn't pass it) | ||||
* | - move download_packages_of_distant_media() from urpm.pm to urpm::get_pkgs | Pascal Rigaux | 2006-11-21 | 1 | -0/+218 |
- move urpm::get_source_packages() -> urpm::get_pkgs::selected2list() |