summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - urpmi:Pascal Rigaux2008-01-185-29/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-183-0/+13
| | | | | | | | | 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
|
* even if we don't want $urpm->{cachedir} to be userdir() by defaultPascal Rigaux2008-01-181-0/+2
| | | | | | (so that it doesn't always get created but only when needed), when we create it, we can really set $urpm->{cachedir}
* - urpmi:Pascal Rigaux2008-01-182-3/+13
| | | | | 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-182-0/+3
| | | | | | 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
|
* add some tests (including a failing one)Pascal Rigaux2008-01-185-0/+75
|
* - urpmq:Pascal Rigaux2008-01-182-2/+7
| | | | | | | | | | | | 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
* it's not an ERROR, urpmi really must do +a-2,+c-2,-b-1 in the same transactionPascal Rigaux2008-01-181-1/+1
|
* add a failing test casePascal Rigaux2008-01-185-0/+73
|
* cleanup using run_urpm_cmdPascal Rigaux2008-01-183-8/+4
|
* cleanup using run_urpm_cmdPascal Rigaux2008-01-183-8/+3
|
* cleanup using run_urpm_cmdPascal Rigaux2008-01-181-9/+3
|
* only display the cmd when debuggingPascal Rigaux2008-01-181-1/+1
|
* check rpmv3 pkg files are installedPascal Rigaux2008-01-181-1/+6
|
* - urpmf:Pascal Rigaux2008-01-184-9/+53
| | | | | | o add special code for --files simple case, it makes urpmf 3x faster for this often used case
* fix using urpmi --env where the media are virtual (by removing "virtual" ↵Pascal Rigaux2008-01-171-1/+5
| | | | from urpmi.cfg)
* o fix displaying error message when failing to lock (regression in 5.1)Pascal Rigaux2008-01-172-2/+3
| | | | | (thanks to blino)
* - urpmq:Pascal Rigaux2008-01-176-2/+27
| | | | | o add --provides
* - all tools:Pascal Rigaux2008-01-174-15/+17
| | | | | | o deprecate --curl and --wget in favor of --downloader curl and --downloader --wget
* add missing --aria2 to --helpPer Øyvind Karlsen2008-01-171-0/+1
|
* 5.1Pascal Rigaux2008-01-162-1/+3
|
* test urpmq/urpmf correctly use info.xml.lzma with exotic medium namePascal Rigaux2008-01-161-1/+37
|
* need real fix... urpmi one or the other...Pascal Rigaux2008-01-161-1/+1
|
* - urpmf, urpmq:Pascal Rigaux2008-01-152-2/+5
| | | | | | | o fix using xml info files with spaces in medium name (as reported in a comment of bug #36742)
* add run_urpm_cmd()Pascal Rigaux2008-01-151-1/+7
|
* use genhdlist2 and create xml info filesPascal Rigaux2008-01-151-3/+4
|
* fix calls to {fatal}Pascal Rigaux2008-01-152-4/+4
|
* fix commit adding --sourcerpmPascal Rigaux2008-01-151-1/+1
|
* rpm bug #27417 is fixedPascal Rigaux2008-01-152-2/+0
|
* test "urpmq --list"Pascal Rigaux2008-01-151-0/+6
|
* - urpmqPascal Rigaux2008-01-152-0/+4
| | | | | | | o fix --list (regression introduced in 5.0) (those lines were wrongly dropped in r232614 2007-12-19)
* deprecate "urpmq --requires"Pascal Rigaux2008-01-142-1/+5
|
* o deprecate "urpmq -R" and "urpmq -RR"Pascal Rigaux2008-01-142-2/+7
|
* fix documentation for "urpmq -d"Pascal Rigaux2008-01-141-1/+1
|
* - urpmq:Pascal Rigaux2008-01-145-6/+19
| | | | | o add --sourcerpm
* - urpmf:Pascal Rigaux2008-01-142-1/+4
| | | | | o fix --license
* - 5.0Pascal Rigaux2008-01-1115-63/+561
| | | | | | | | | | | | | | | | | | | - urpmf, urpmq: o use xml info instead of hdlist when possible o "urpmq -l" is faster (3x) o "urpmf -l" is slower (1.5x) o "urpmf --sourcerpm" is much faster o see "xml-info" option in urpmi.cfg(5) to see when those files are downloaded o new require: perl module XML::LibXML - urpmq: o use rpm file instead of hdlist/xml-info when file is local o use URPM::Package->changelogs (need perl-URPM 3.06) - urpmi.update, urpmi.addmedia, urpmi.removemedia: o drop hdlist support replaced with xml media_info (this imply file-deps are correctly handled, see genhdlist2(1)) - urpmi.addmedia o new --xml-info option
* factorize code with statedir_media_info_file()Pascal Rigaux2008-01-111-3/+7
|
* create _copy_media_info_file() out of _get_list_or_pubkey__local()Pascal Rigaux2008-01-111-5/+14
|
* better fix for "always prompt before doing a priority-upgrade transaction,Pascal Rigaux2008-01-112-2/+2
| | | | | | | | | | | | even if there is only one priority upgrade package (since there will be more packages to install after restarting urpmi)" since we don't want to prompt if all pkgs have been especially prompted on command-line also not using suggests when selecting pkgs in priority-upgrade (nb: this may by-pass some suggests in priority-upgrade pkgs, need more checking)
* enhance commentPascal Rigaux2008-01-111-2/+2
|
* - urpmq:Pascal Rigaux2008-01-112-6/+5
| | | | | o use URPM::Package->changelogs (need perl-URPM 3.06)
* use a var name $id instead of $_Pascal Rigaux2008-01-101-3/+3
|
* move the list of known tags out of urpm/args.pm into urpmf,Pascal Rigaux2008-01-102-38/+38
| | | | | | and remove duplicated list (nb: conf_files has been added to command-line, but this won't hurt afaik)
* normalize to fit xml_info namesPascal Rigaux2008-01-102-4/+4
|
* no_second_pass option is no more (since "drop hdlist support")Pascal Rigaux2008-01-102-2/+0
|
* add put_in_hash() for future usePascal Rigaux2008-01-101-1/+2
|