summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* - urpmi, urpmi.addmedia, urpmi.update:Pascal Rigaux2008-02-251-2/+7
| | | | | o handle variables $ARCH/$RELEASE in mirrorlist
* typo fixThierry Vignaud2008-02-251-1/+1
|
* (run) kill 'bad_rpms' & 'missing_files_summary' callbacks, reusingThierry Vignaud2008-02-251-7/+7
| | | | | existing unused 'message' callback
* display a "bad rpms" message instead of "files are missing" when the ↵Pascal Rigaux2008-02-242-13/+26
| | | | | | | | | | 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 })
* create hide_password() (to be used in urpm::main_loop to remove duplication)Pascal Rigaux2008-02-241-2/+7
|
* further simplify (allowed by making "moving file" fatal)Pascal Rigaux2008-02-241-2/+1
|
* fix typo in previous commitPascal Rigaux2008-02-241-1/+1
|
* - urpmi, urpmi.addmedia, urpmi.update:Pascal Rigaux2008-02-244-9/+14
| | | | | | o have fatal errors on some errors that must not happen (eg: moving rpm from download dir to cachedir)
* make it fatal to fail to remove cachedir rpmsPascal Rigaux2008-02-241-2/+4
|
* - do not say "removing installed rpms" for rpms which are not in cachedirPascal Rigaux2008-02-241-4/+13
| | | | | | | - do not say "removing installed rpms" for rpms which were not scheduled to be installed, instead remove those rpms from cachedir with a special error message
* urpmf: fix mirrolist handlingPascal Rigaux2008-02-231-2/+3
|
* - all tools:Pascal Rigaux2008-02-234-16/+288
| | | | | | o handle mirrorlist (need perl-Zone-TimeInfo patched for geolocalisation)
* - urpmi.addmediaPascal Rigaux2008-02-231-4/+13
| | | | | | o don't fail on remaining statedir files (#36267) (especially useful when using media.d/*.cfg)
* simplify ("list" is not used anymore)Pascal Rigaux2008-02-231-7/+7
|
* fix typo calling _is_local_virtualPascal Rigaux2008-02-231-1/+1
|
* get_content() as a wrapper around sync() to get file contentPascal Rigaux2008-02-221-0/+15
|
* rename conf_file__rel_media into with-dirPascal Rigaux2008-02-212-4/+4
| | | | | (since it will be used in urpmi.cfg too, it needs a less verbose name)
* create _new_distribconf_and_download() and use itPascal Rigaux2008-02-211-6/+15
| | | | | (for future commit)
* - fix typo _is_local_virtual() and _is_remote_virtual()Pascal Rigaux2008-02-211-6/+11
| | | | | - introduce _local_file()
* do not use an undefined valuePascal Rigaux2008-02-211-7/+7
|
* - urpmi handles /etc/urpmi/media.d/*.cfgPascal Rigaux2008-02-142-4/+99
| | | | | | | as an alternative to using urpmi.addmedia nb: need documentation
* ensure that aria2 doesn't connect multiple times to same host with different ↵Per Øyvind Karlsen2008-02-131-0/+1
| | | | protocols
* - urpmi.update, urpmi.addmedia:Pascal Rigaux2008-02-061-6/+31
| | | | | | o handle --virtual for remove media (a better name would be "auto-update", a la yum)
* nocheck_access is quite wrong nowadays afaikPascal Rigaux2008-02-051-10/+7
|
* - urpmi.update, urpmi.addmedia:Pascal Rigaux2008-02-051-49/+6
| | | | | | o do not parse synthesis o drop /var/lib/urpmi/names.<medium>
* - urpmi, urpme, urpmq, urpmf:Pascal Rigaux2008-02-051-1/+1
| | | | | | | o fix --use-distrib (and add test to ensure it never breaks again)
* - library:Pascal Rigaux2008-02-041-9/+10
| | | | | o since any_xml_info can be slow, add a "callback" option (#37264)
* - urpmi.cfg:Pascal Rigaux2008-02-042-7/+39
| | | | | | | | | | | o "media_info_dir: media_info" is the default o "no-media-info" is used for media for which media_info must be built from rpms the goal of this change is to allow upcoming /etc/urpmi/media.d/*.cfg (or whatever they will be called) to skip mentionning media_info_dir, but also to cleanup urpmi.cfg
* simplify: _update_medium() and _update_medium_() are always called withPascal Rigaux2008-02-011-5/+0
| | | | | $medium->{modified} set
* changing the way --synthesis is done in urpm::media::configure.Pascal Rigaux2008-01-301-6/+13
| | | | | | | | This is used by urpmi/urpmq/urpmf. --synthesis will now be more similar to using a virtual medium (a la --use-distrib), compared to really only using the given synthesis.
* - urpmq:Pascal Rigaux2008-01-251-1/+1
| | | | | o add --no-suggests
* - urpme, urpmi:Pascal Rigaux2008-01-221-1/+2
| | | | | o add basesystem-minimal to prohibit-remove
* - urpmi:Pascal Rigaux2008-01-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o --buildrequires deprecate --src, --src is kept for compatibility but its behaviour is changed a little (it doesn't download src.rpm anymore) ie implement what i suggested on cooker mailing list: Date: Thu, 15 Nov 2007 18:21:32 +0100 Subject: urpmi --src issues, suggesting replacing --src with --buildrequires current situation: % urpmi /xxx/foo.src.rpm #=> installs foo.src.rpm buildrequires % urpmi --install-src foo bar #=> downloads foo.src.rpm bar.src.rpm and "rpm -i" % urpmi --help | grep -- --src --src, -s - next package is a source package. % urpmi --src foo #=> urpmi says it will install foo buildrequires + foo.src.rpm #=> in fact, it only installs foo buildrequires weird cases in current urpmi: % urpmi --src foo bar #=> equiv to "urpmi --src foo ; urpmi bar" % urpmi foo --src bar #=> equiv to "urpmi --src foo bar" above :-( % urpmi --src foo --src bar #=> equiv to "urpmi --src foo bar" :-( suggestions: 1) we could make --src a global option: % urpmi --src foo bar #=> would install buildrequires of foo.src.rpm and bar.src.rpm cons: it breaks compatibility (though i'm quite sure noone uses the previous behaviour) 2) deprecate --src, introduce with --buildrequires: % urpmi --buildrequires foo bar #=> would install buildrequires of foo.src.rpm and bar.src.rpm 3) when doing "urpmi /xxx/foo.src.rpm", warn the user that it should use either "--install-src" or "--buildrequires", and that urpmi is defaulting to "--buildrequires" 2) and 3) are implemented now
* - urpmiPascal Rigaux2008-01-181-0/+5
| | | | | | | | | o --install-src will succesfully installed src.rpm from /var/cache/urpmi/rpms/* (unless post-clean is 0) we could not do that by default because "urpmi --install-src" as user could not download the file
* add begins_with()Pascal Rigaux2008-01-181-0/+6
|
* - urpmi:Pascal Rigaux2008-01-181-3/+11
| | | | | o --install-src as user now works for remote medium
* use var (for future commit)Pascal Rigaux2008-01-181-6/+8
|
* - urpmf:Pascal Rigaux2008-01-181-0/+1
| | | | | | o display a warning when searching "xxx(yyy)" since it is handled as a regexp and so the parentheses are useless. suggest using --literal
* factorize duplicated codePascal Rigaux2008-01-181-15/+15
|
* - urpmq:Pascal Rigaux2008-01-181-2/+6
| | | | | | | | | | | | o fix option -a : display packages of all compatible archs (#36942) this fixes another issue introduced in commit r231535 (urpmi 4.10.15, 2007-11-15), partially fixed in r231782 (2007-11-28) the commit has 2 parts: - ensure all compatible archs are kept when {all} option is used - display one pkg per line in urpmq
* - urpmf:Pascal Rigaux2008-01-182-3/+10
| | | | | | o add special code for --files simple case, it makes urpmf 3x faster for this often used case
* o fix displaying error message when failing to lock (regression in 5.1)Pascal Rigaux2008-01-171-2/+2
| | | | | (thanks to blino)
* - urpmq:Pascal Rigaux2008-01-172-1/+9
| | | | | o add --provides
* - all tools:Pascal Rigaux2008-01-171-2/+6
| | | | | | o deprecate --curl and --wget in favor of --downloader curl and --downloader --wget
* - urpmf, urpmq:Pascal Rigaux2008-01-151-1/+2
| | | | | | | o fix using xml info files with spaces in medium name (as reported in a comment of bug #36742)
* fix calls to {fatal}Pascal Rigaux2008-01-151-2/+2
|
* deprecate "urpmq --requires"Pascal Rigaux2008-01-141-0/+4
|
* o deprecate "urpmq -R" and "urpmq -RR"Pascal Rigaux2008-01-141-2/+6
|
* - urpmq:Pascal Rigaux2008-01-141-0/+1
| | | | | o add --sourcerpm
* - urpmf:Pascal Rigaux2008-01-141-1/+1
| | | | | o fix --license