Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | only a couple func really are needed | Thierry Vignaud | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | add basic POD documentation | Thierry Vignaud | 2012-08-31 | 1 | -0/+25 |
| | |||||
* | Synthesized commit during git-svn import combining previous Mandriva history ↵ | Mageia SVN-Git Migration | 2011-09-13 | 1 | -1/+1 |
| | | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1928 | dmorgan | 2011-09-13 21:44:28 +0100 (Tue, 13 Sep 2011) | 1 line Import urpmi ------------------------------------------------------------------------ | ||||
* | use "use strict" in all modules | Pascal Rigaux | 2009-01-06 | 1 | -0/+1 |
| | |||||
* | $o_url and blists_url is no more allowed, so adapt | Pascal Rigaux | 2008-07-08 | 1 | -9/+9 |
| | |||||
* | migrate to use blist->{pkgs} instead of blist->{list} | Pascal Rigaux | 2008-07-08 | 1 | -2/+2 |
| | |||||
* | goal: get rid of $list which must be used together with $urpm->{media}, and ↵ | Pascal Rigaux | 2008-07-08 | 1 | -18/+1 |
| | | | | | | | | | | | | | | 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 | ||||
* | - compute $blist->{list} first url instead of having it in $blist->{url} | Pascal Rigaux | 2008-07-08 | 1 | -3/+16 |
| | | | | | - create file_or_synthesis_dir_from_blist() and use it | ||||
* | remove obsolete urpm::removable::copy_packages_of_removable_media(), call | Pascal Rigaux | 2008-07-08 | 1 | -5/+0 |
| | | | | | urpm::cdrom::copy_packages_of_removable_media() directly | ||||
* | nicer error message | Pascal Rigaux | 2008-03-06 | 1 | -3/+3 |
| | |||||
* | correctly name function since it's outside of its module | Pascal Rigaux | 2008-03-03 | 1 | -2/+2 |
| | |||||
* | require urpm::cdrom where needed | Pascal Rigaux | 2008-02-29 | 1 | -0/+1 |
| | |||||
* | remove some functions that were moved to urpm::cdrom | Pascal Rigaux | 2008-02-29 | 1 | -27/+0 |
| | |||||
* | move is_iso to urpm::media and rename it | Pascal Rigaux | 2008-02-29 | 1 | -8/+0 |
| | |||||
* | o use hal to wait-for/mount cdroms: | Pascal Rigaux | 2008-02-29 | 1 | -170/+52 |
| | | | | | | | | | | | | | | | | you can now use more than one cdrom drive big commit, no time to split it... some details: - split urpm::removable into urpm::removable and urpm::cdrom - fix setting $urpm->{removable_mounted} - in try_mounting_non_cdroms(), check for local url, simpler than checking is_cdrom_url and then checking file_from_local_medium - fix _try_mounting_medium() not mounting non-cdrom anymore (regression introduced during devel) - even if urpmi says it wants cdroms in a given order, if you make a mistake, it will use the one you give (as a side-effect, it simplifies the sort on "already mounted" cdrom (cf _sort_media disappearing)) | ||||
* | do not pass the device around (we don't want to force a device anymore) | Pascal Rigaux | 2008-02-29 | 1 | -1/+1 |
| | |||||
* | if cdrom is not mounted, _check_notfound should fail, but nicely | Pascal Rigaux | 2008-02-29 | 1 | -0/+2 |
| | |||||
* | - rename _mount_it() into _mount_cdrom() | Pascal Rigaux | 2008-02-29 | 1 | -8/+8 |
| | | | | | | | - rename _mount_and_check_notfound() into _mount_cdrom_and_check_notfound() - in _mount_cdrom_and_check_notfound, use _try_mounting_medium since failure to mount is not fatal | ||||
* | rename look_for_mounted_cdrom() into _look_for_mounted_cdrom_in_mtab() | Pascal Rigaux | 2008-02-29 | 1 | -3/+3 |
| | |||||
* | - urpmi | Pascal Rigaux | 2008-02-27 | 1 | -8/+6 |
| | | | | | o do not copy rpms from cdrom if only one cdrom is used (#28083) | ||||
* | strictify prototype | Pascal Rigaux | 2008-02-27 | 1 | -5/+5 |
| | |||||
* | drop useless check | Pascal Rigaux | 2008-02-27 | 1 | -19/+1 |
| | |||||
* | _copy_from_cdrom() is a much better name than _examine_removable_medium() | Pascal Rigaux | 2008-02-27 | 1 | -6/+6 |
| | |||||
* | - all tools: | Pascal Rigaux | 2008-02-27 | 1 | -36/+62 |
| | | | | | o cdrom:// replaces removable:// | ||||
* | - create file_from_local_medium(), and use it where possible instead of | Pascal Rigaux | 2008-02-27 | 1 | -19/+20 |
| | | | | | | | | | file_from_local_url() - in urpm::removable, this implies passing $blist around nb: for now file_from_local_medium() doesn't use the first parameter if url is given, but future commit will use both (needed for {url} cdrom://) | ||||
* | create is_local_medium() and is_local_url() | Pascal Rigaux | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | internally use {iso} instead of {removable} for iso files | Pascal Rigaux | 2008-02-27 | 1 | -10/+5 |
| | | | | | (to make things more clear) | ||||
* | - fix typo in try_mounting_non_cdrom() (from previous commit) | Pascal Rigaux | 2008-02-27 | 1 | -11/+7 |
| | | | | | - copy_packages_of_removable_media() now only handles cdroms (no more iso) | ||||
* | treat iso as non-removable | Pascal Rigaux | 2008-02-27 | 1 | -8/+15 |
| | |||||
* | rename try_mounting_non_removable() into try_mounting_non_removables() | Pascal Rigaux | 2008-02-27 | 1 | -3/+11 |
| | | | | | and create try_mounting_non_removable() | ||||
* | use blists to ensure we only mount media which will be used | Pascal Rigaux | 2008-02-27 | 1 | -2/+4 |
| | |||||
* | create separate function to mount iso | Pascal Rigaux | 2008-02-27 | 1 | -21/+37 |
| | |||||
* | modify for the future | Pascal Rigaux | 2008-02-26 | 1 | -3/+3 |
| | |||||
* | _mount_it() can't fail! | Pascal Rigaux | 2008-02-26 | 1 | -4/+0 |
| | |||||
* | there is no reason copy_packages_of_removable_media should mount non removable | Pascal Rigaux | 2008-02-26 | 1 | -6/+3 |
| | | | | | media | ||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+2 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+1 |
| | |||||
* | fix comment | Pascal Rigaux | 2008-02-26 | 1 | -0/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -3/+3 |
| | |||||
* | split _get_removables_or_check_mounted into _try_mounting_non_removable and ↵ | Pascal Rigaux | 2008-02-26 | 1 | -7/+17 |
| | | | | _get_removables | ||||
* | add comment | Pascal Rigaux | 2008-02-26 | 1 | -0/+5 |
| | |||||
* | _check_notfound should be pure, there is no reason for _sort_media should | Pascal Rigaux | 2008-02-26 | 1 | -18/+19 |
| | | | | | mount any removable media. so introducing _mount_and_check_notfound() | ||||
* | add some comments | Pascal Rigaux | 2008-02-26 | 1 | -3/+17 |
| | |||||
* | - since find_mntpoints doesn't really return a list, make it clear | Pascal Rigaux | 2008-02-26 | 1 | -10/+10 |
| | | | | | - return a struct instead of using %info + returned value | ||||
* | rename $_ into $mntpoint | Pascal Rigaux | 2008-02-26 | 1 | -12/+12 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | simplify | Pascal Rigaux | 2008-02-26 | 1 | -2/+1 |
| | |||||
* | - re-indent | Pascal Rigaux | 2008-02-26 | 1 | -12/+17 |
| | | | | | - do not call eject on isos | ||||
* | simplify: reduce_pathname is only useful/needed for find_mntpoints | Pascal Rigaux | 2008-02-26 | 1 | -2/+3 |
| | |||||
* | create _non_mounted_mntpoints() to make things more clear | Pascal Rigaux | 2008-02-26 | 1 | -3/+8 |
| |