Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove defensive programming checks, which are already done in | Pascal Rigaux | 2006-11-24 | 1 | -17/+6 |
| | | | | | check_existing_medium() or add_medium() | ||||
* | remove check already done in check_existing_medium() | Pascal Rigaux | 2006-11-24 | 1 | -36/+39 |
| | |||||
* | better var name ($medium is always used to hold a medium, not a number) | Pascal Rigaux | 2006-11-24 | 1 | -3/+3 |
| | |||||
* | cleaner | Pascal Rigaux | 2006-11-24 | 1 | -0/+1 |
| | |||||
* | rename var $second_pass into $need_second_pass (more clear) | Pascal Rigaux | 2006-11-24 | 1 | -16/+17 |
| | |||||
* | - move lock functions to a full blown module | Pascal Rigaux | 2006-11-23 | 1 | -11/+5 |
| | | | | | | | | | | | | - handle get_exclusive and release_exclusive on existing lock, *but* don't use it for now! (not useful) - remove urpmi_db locking from add_medium and update_media - move rpm_db locking into _read_cachedir_pubkey - update_media: restrict rpm_db exclusive locking to parse_pubkeys - urpmi: move locking rpm_db near its use - handle lock directly in urpmi.addmedia, urpmi.update, urpme, urpmf - log locking/unlocking | ||||
* | don't have a global variable to hold locks, otherwise code can't lock twice | Pascal Rigaux | 2006-11-23 | 1 | -6/+7 |
| | | | | | non-exclusive | ||||
* | remove md5sum from @PER_MEDIA_OPT (which only list per-medium options in | Pascal Rigaux | 2006-11-22 | 1 | -2/+2 |
| | | | | | | | | | | urpmi.cfg), so that urpmi.cfg do not contain the md5sum (and so urpmi.cfg doesn't need to be modified on urpmi.update, only /var/lib/urpmi/MD5SUM is modified) (bug introduced when creating @PER_MEDIA_OPT in r35745, fixed in r35832, but broken again in r35953) | ||||
* | create urpm::removable out of urpm.pm | Pascal Rigaux | 2006-11-21 | 1 | -4/+5 |
| | |||||
* | move many functions from urpm.pm to urpm/media.pm | Pascal Rigaux | 2006-11-21 | 1 | -0/+1800 |