/[soft]/rpm/perl-URPM
ViewVC logotype

Log of /rpm/perl-URPM

View Directory Listing Directory Listing


Sticky Revision:


Revision 7879 - Directory Listing
Modified Mon Apr 15 05:41:46 2013 UTC (6 years, 9 months ago) by tv
3.40.3

Revision 7878 - Directory Listing
Modified Mon Apr 15 05:41:41 2013 UTC (6 years, 9 months ago) by tv
add basic support for --downgrade (mga#6655)

enabling eg to switching back to packages from core/release after
having installed some from core/updates_testing, then disabling it

(backported from trunk)

Revision 7726 - Directory Listing
Modified Sat Mar 30 12:12:19 2013 UTC (6 years, 10 months ago) by tv
fix warning in debug message

(Argument "19697|19719|19..." isn't numeric in array element at ...URPM/Resolve.pm'

(introduced by pixel in commit r227273 on Sep 7 2007:
"add some debug messages)

Revision 7639 - Directory Listing
Modified Sat Mar 23 16:05:11 2013 UTC (6 years, 10 months ago) by tv
4.27

Revision 7638 - Directory Listing
Modified Sat Mar 23 16:05:08 2013 UTC (6 years, 10 months ago) by tv
fix selecting right DKMS flavor (mga#9172)

Revision 7296 - Directory Listing
Modified Sat Feb 9 21:25:06 2013 UTC (6 years, 11 months ago) by tv
4.26

Revision 7295 - Directory Listing
Modified Sat Feb 9 21:25:01 2013 UTC (6 years, 11 months ago) by tv
add basic support for --downgrade (mga#6655)

enabling eg to switching back to packages from core/release after
having installed some from core/updates_testing, then disabling it

Revision 7286 - Directory Listing
Modified Tue Feb 5 14:58:01 2013 UTC (6 years, 11 months ago) by tv
add a test for payload_format()

Revision 7285 - Directory Listing
Modified Tue Feb 5 14:31:40 2013 UTC (6 years, 11 months ago) by tv
4.25

Revision 7284 - Directory Listing
Modified Tue Feb 5 14:31:37 2013 UTC (6 years, 11 months ago) by tv
fix retrieving payload format

commit r6545 on 2012-12-2 broke delta rpm support:
"(Pkg_description, Pkg_sourcerpm) split UTF-8 strings from raw strings
functions, then simplify"

Revision 7264 - Directory Listing
Modified Sun Feb 3 22:16:48 2013 UTC (6 years, 11 months ago) by tv
4.24

Revision 7263 - Directory Listing
Modified Sun Feb 3 22:16:43 2013 UTC (6 years, 11 months ago) by tv
fix date

Revision 7262 - Directory Listing
Modified Sun Feb 3 22:16:39 2013 UTC (6 years, 11 months ago) by tv
typo fix

Revision 7261 - Directory Listing
Modified Sun Feb 3 22:16:36 2013 UTC (6 years, 11 months ago) by tv
(mask_from_string) factorize code

Revision 7260 - Directory Listing
Modified Sun Feb 3 22:16:32 2013 UTC (6 years, 11 months ago) by tv
simplify style

Revision 7248 - Directory Listing
Modified Tue Jan 29 17:56:44 2013 UTC (7 years ago) by tv
(update_provides) clean unused variable

Revision 7247 - Directory Listing
Modified Tue Jan 29 17:56:35 2013 UTC (7 years ago) by tv
enhance doc

Revision 7246 - Directory Listing
Modified Tue Jan 29 17:56:32 2013 UTC (7 years ago) by tv
fix doc

(should have been done in commit r230048 by pixel on 2007-09-27:
"handle promotion via obsolete, not only provides")

Revision 7245 - Directory Listing
Modified Tue Jan 29 17:56:24 2013 UTC (7 years ago) by tv
(update_provides) document ->info case

Revision 7244 - Directory Listing
Modified Tue Jan 29 17:56:21 2013 UTC (7 years ago) by tv
(rpmRunTransactions_callback) handle new RPMCALLBACK_INST_STOP

(redundant with INST_CLOSE_FILE...)

Revision 7243 - Directory Listing
Modified Tue Jan 29 17:56:18 2013 UTC (7 years ago) by tv
add support for callback_error

Revision 7242 - Directory Listing
Modified Tue Jan 29 17:56:15 2013 UTC (7 years ago) by tv
remove wrong comment

Revision 7241 - Directory Listing
Modified Tue Jan 29 17:56:06 2013 UTC (7 years ago) by tv
bump copyrigh years

Revision 7240 - Directory Listing
Modified Tue Jan 29 17:56:03 2013 UTC (7 years ago) by tv
document callbacks

Revision 7239 - Directory Listing
Modified Tue Jan 29 17:55:50 2013 UTC (7 years ago) by tv
(parse_synthesis) document return value

Revision 7238 - Directory Listing
Modified Tue Jan 29 17:55:42 2013 UTC (7 years ago) by tv
(return_list_tag) simplify/factorize

Revision 7237 - Directory Listing
Modified Tue Jan 29 17:55:39 2013 UTC (7 years ago) by tv
(call_package_callback,rpmRunTransactions_callback) optimize: preextend stack if needed

Revision 7176 - Directory Listing
Modified Mon Jan 21 05:53:22 2013 UTC (7 years ago) by tv
initial attempt to use rpmstrpool


Revision 7175 - Directory Listing
Modified Mon Jan 21 05:52:09 2013 UTC (7 years ago) by tv
branch


Revision 7173 - Directory Listing
Modified Sun Jan 20 21:08:15 2013 UTC (7 years ago) by tv
4.23

Revision 7172 - Directory Listing
Modified Sun Jan 20 21:08:12 2013 UTC (7 years ago) by tv
document traverse_db*() return values

Revision 7171 - Directory Listing
Modified Sun Jan 20 21:08:04 2013 UTC (7 years ago) by tv
(push_in_depslist) factorize common code for adding a package to {depslist}

Revision 7170 - Directory Listing
Modified Sun Jan 20 21:08:00 2013 UTC (7 years ago) by tv
(stream2header,spec2srcheader) simplify

Revision 7169 - Directory Listing
Modified Sun Jan 20 21:07:57 2013 UTC (7 years ago) by tv
(parse_line) make it more readable

Revision 7168 - Directory Listing
Modified Sun Jan 20 21:07:54 2013 UTC (7 years ago) by tv
(Urpm_stream2header) simplify

Revision 7167 - Directory Listing
Modified Sun Jan 20 21:07:52 2013 UTC (7 years ago) by tv
(pack_header) separate the suggests & requires cases

the doble test was needed in mdv2008.0 due to suggests being implemented
as requires

Revision 7166 - Directory Listing
Modified Sun Jan 20 21:07:49 2013 UTC (7 years ago) by tv
(update_provides_files) simplify: let callee compute the length

Revision 7165 - Directory Listing
Modified Sun Jan 20 21:07:46 2013 UTC (7 years ago) by tv
(parse_line) simplify

Revision 7164 - Directory Listing
Modified Sun Jan 20 21:07:43 2013 UTC (7 years ago) by tv
add comments

Revision 7148 - Directory Listing
Modified Sun Jan 20 10:44:34 2013 UTC (7 years ago) by tv
(_is_selected_or_installed ) fix scoring locale packages

revert part of commit r5052 (June 28 2012, "light speedups")

Revision 6811 - Directory Listing
Modified Mon Dec 17 16:31:01 2012 UTC (7 years, 1 month ago) by tv
typo fix

Revision 6809 - Directory Listing
Modified Mon Dec 17 16:16:50 2012 UTC (7 years, 1 month ago) by tv
4.22

Revision 6808 - Directory Listing
Modified Mon Dec 17 16:15:03 2012 UTC (7 years, 1 month ago) by tv
prevent creating empty transactions in rare cases

(that cause rpm to abort on assert while creating a new pool)

Revision 6807 - Directory Listing
Modified Mon Dec 17 16:14:59 2012 UTC (7 years, 1 month ago) by tv
enhanced log

Revision 6805 - Directory Listing
Modified Mon Dec 17 15:05:02 2012 UTC (7 years, 1 month ago) by tv
RPMFILE_EXCLUDE & RPMFILE_UNPATCHED were drop from external API in rpm-4.11

RPMFILE_UNPATCHED is no more used and RPMFILE_EXCLUDE only exists during
spec parse (see rpm commit 8d277bbb)

Revision 6635 - Directory Listing
Modified Fri Dec 7 12:46:59 2012 UTC (7 years, 1 month ago) by tv
4.21.1

Revision 6634 - Directory Listing
Modified Fri Dec 7 12:46:56 2012 UTC (7 years, 1 month ago) by tv
(EVR) fix it on packages from rpmdb (was ok on synthesis ones) (mga#7739)

Revision 6569 - Directory Listing
Modified Tue Dec 4 16:28:56 2012 UTC (7 years, 1 month ago) by tv
4.21

Revision 6568 - Directory Listing
Modified Tue Dec 4 16:28:54 2012 UTC (7 years, 1 month ago) by tv
(find_required_package) previous commit enables us to not reinvent packages_providing()

Revision 6567 - Directory Listing
Modified Tue Dec 4 16:28:51 2012 UTC (7 years, 1 month ago) by tv
(packages_providing) sort package ids before returning them

this mean prefering package from first medium when same NEVR exists in
several media, thus prefering 64bit media over 32 bit ones (mga#7524)

complement commit r2909 on Feb 7 2012:
" (find_required_package) really prefer packages from first media, thus
fixing downloading noarch packages from 32 bit repository (mga#1603)"

Revision 6556 - Directory Listing
Modified Tue Dec 4 06:09:34 2012 UTC (7 years, 1 month ago) by tv
(get_installed_arch) silent a warning (mga#8287)

Revision 6552 - Directory Listing
Modified Mon Dec 3 02:20:38 2012 UTC (7 years, 1 month ago) by tv
4.20

Revision 6551 - Directory Listing
Modified Mon Dec 3 02:20:35 2012 UTC (7 years, 1 month ago) by tv
(Db_traverse_tag_find) fix a rare segfault

found accidently

could be triggered by the following (calling enough times either
requires() or provides() while traversing rpm db) which resulting in
an "Invalid read of size 8":

use URPM;
my $db = URPM::DB::open()->traverse_tag_find('whatprovides', 'kernel',
sub {
    my ($p) = @_;
    warn $p->requires, $p->requires, $p->requires, $p->requires, $p->requires,
    $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires,
    $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires;
    return 1;
});

bug introduced in commit r4947 on June 14 2012:
"(_run_cb_while_traversing) introduce this helper"

Revision 6550 - Directory Listing
Modified Mon Dec 3 02:20:32 2012 UTC (7 years, 1 month ago) by tv
fix previous commit

Revision 6546 - Directory Listing
Modified Sun Dec 2 14:52:22 2012 UTC (7 years, 1 month ago) by tv
4.18

Revision 6545 - Directory Listing
Modified Sun Dec 2 14:52:14 2012 UTC (7 years, 1 month ago) by tv
(Pkg_description, Pkg_sourcerpm) split UTF-8 strings from raw strings
functions, then simplify

Revision 6544 - Directory Listing
Modified Sun Dec 2 14:52:11 2012 UTC (7 years, 1 month ago) by tv
drop ->disttag (unused, was introduced by pok just before the fork)

Revision 6534 - Directory Listing
Modified Thu Nov 29 15:07:17 2012 UTC (7 years, 2 months ago) by tv
(update_provide_entry) kill it

Revision 6526 - Directory Listing
Modified Thu Nov 29 09:38:21 2012 UTC (7 years, 2 months ago) by tv
Mageia copyright

Revision 6525 - Directory Listing
Modified Thu Nov 29 09:02:45 2012 UTC (7 years, 2 months ago) by tv
typo fix

Revision 6510 - Directory Listing
Modified Sun Nov 25 20:16:49 2012 UTC (7 years, 2 months ago) by tv
syntax fix (Guillaume Rousse)

Revision 6500 - Directory Listing
Modified Thu Nov 22 14:15:34 2012 UTC (7 years, 2 months ago) by tv
make clear those functions are not related to macros

Revision 6493 - Directory Listing
Modified Wed Nov 21 20:08:53 2012 UTC (7 years, 2 months ago) by tv
(Pkg_suggests) alias it on *_nonsense

(it should have been named suggests_nosense in the first place, bad pixel...)

Revision 6492 - Directory Listing
Modified Wed Nov 21 20:08:50 2012 UTC (7 years, 2 months ago) by tv
alias obsoletes/provides/requires

Revision 6491 - Directory Listing
Modified Wed Nov 21 20:08:46 2012 UTC (7 years, 2 months ago) by tv
(requires_nosense) alias it to other *_nosense() functions

Revision 6490 - Directory Listing
Modified Wed Nov 21 20:08:43 2012 UTC (7 years, 2 months ago) by tv
(Pkg_requires_nosense) stop passing RPMTAG_REQUIREFLAGS

rationale:
it was passing RPMTAG_REQUIREFLAGS as flags instead of since commit
r225637 from pixel on 2007-08-09 that added initial suggests support

by that time, suggests were basically RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK.
in mdv2008.1, they were re-implemented the SuSe way with RPMTAG_SUGGESTSNAME.

since we no more support old mdv2008.0 suggests since commit r4974 on
2012-06-17 ("drop support for old mdv2008.0 suggests"), we no longer
try to distinct requires from suggests by looking at tag flags
so don't need to pass RPMTAG_REQUIREFLAGS anymore

(needed for next commit)

Revision 6486 - Directory Listing
Modified Wed Nov 21 02:25:15 2012 UTC (7 years, 2 months ago) by tv
4.18

Revision 6485 - Directory Listing
Modified Wed Nov 21 02:25:13 2012 UTC (7 years, 2 months ago) by tv
further bump threshold for detecting looping forever

Revision 6484 - Directory Listing
Modified Wed Nov 21 02:25:10 2012 UTC (7 years, 2 months ago) by tv
workaround a segfault (mga#8158)

calling ->provides or ->requires in traverse_tag_find() results in an
invalid read if provides/requires list is big (or if called several
times)

basically reverting commit r6476 on 2012-11-16
("(unsatisfied_requires) (slightly) optimize")

Revision 6483 - Directory Listing
Modified Wed Nov 21 02:25:06 2012 UTC (7 years, 2 months ago) by tv
(callback_list_str_xpush_requires) kill it since it's now identical to callback_list_str_xpush()

Revision 6482 - Directory Listing
Modified Mon Nov 19 18:26:58 2012 UTC (7 years, 2 months ago) by tv
4.17

Revision 6481 - Directory Listing
Modified Mon Nov 19 18:26:55 2012 UTC (7 years, 2 months ago) by tv
bump threshold for detecting looping forever (mga#8106)

Revision 6480 - Directory Listing
Modified Mon Nov 19 18:26:47 2012 UTC (7 years, 2 months ago) by tv
drop header_filename (long obsolete, no more use)

Revision 6477 - Directory Listing
Modified Fri Nov 16 20:18:38 2012 UTC (7 years, 2 months ago) by tv
4.16

Revision 6476 - Directory Listing
Modified Fri Nov 16 20:18:35 2012 UTC (7 years, 2 months ago) by tv
(unsatisfied_requires) (slightly) optimize

Revision 6475 - Directory Listing
Modified Fri Nov 16 20:18:27 2012 UTC (7 years, 2 months ago) by tv
(resolve_requested__no_suggests_) prevent urpmi from looping forever when some packages are broken

alternatively, we could try detecting if diff_provides doesn't change
for
a couple loops or not going over already rejected packages
(selecting/promoting/rejecting the same package forever)

eg: gtk+3.0-3.6.1-3.mga3.x86_64 is on the mirrors but not
lib64gtk+3_0-3.6.1-3.mga3.x86_64
we will then loop forever:

set_rejected: gtk+3.0-3.6.1-2.mga3.x86_64
installed lib64gtk+3_0-3.6.1-2.mga3.x86_64 is conflicting because of
unsatisfied gtk+3.0[== 3.6.1-2.mga3] gtk+3.0[*][== 3.6.1-2.mga3]
set_rejected: lib64gtk+3_0-3.6.1-2.mga3.x86_64
installed lib64gtk+3.0-devel-3.6.1-2.mga3.x86_64 is conflicting because
of unsatisfied lib64gtk+3_0[== 3.6.1]
set_rejected: lib64gtk+3.0-devel-3.6.1-2.mga3.x86_64
installed lib64gtk-gir3.0-3.6.1-2.mga3.x86_64 is conflicting because of
unsatisfied lib64gtk+3_0[== 3.6.1-2.mga3]
set_rejected: lib64gtk-gir3.0-3.6.1-2.mga3.x86_64
installed gtk+3.0-3.6.1-2.mga3.x86_64 is conflicting because of
unsatisfied lib64gtk+3_0[== 3.6.1]
promoting gtk+3.0-3.6.1-3.mga3.x86_64 because of conflict above
unselecting gtk+3.0-3.6.1-3.mga3.x86_64

set_rejected: gtk+3.0-3.6.1-2.mga3.x86_64
(...)

Revision 6390 - Directory Listing
Modified Thu Nov 1 14:50:27 2012 UTC (7 years, 2 months ago) by tv
explain the 'flags' signifiance

Revision 6389 - Directory Listing
Modified Thu Nov 1 14:50:24 2012 UTC (7 years, 2 months ago) by tv
rename FLAG_RATE as FLAG_RATE_MASK as it really is a mask

Revision 6388 - Directory Listing
Modified Thu Nov 1 14:50:21 2012 UTC (7 years, 2 months ago) by tv
rename FLAG_ID as FLAG_ID_MASK as it really is a mask

Revision 6387 - Directory Listing
Modified Thu Nov 1 14:50:18 2012 UTC (7 years, 2 months ago) by tv
(Pkg_id,Pkg_setid) simplify by having a temporary variable

Revision 6386 - Directory Listing
Modified Thu Nov 1 14:50:15 2012 UTC (7 years, 2 months ago) by tv
applying similar styling to other callers

Revision 6385 - Directory Listing
Modified Thu Nov 1 14:50:11 2012 UTC (7 years, 2 months ago) by tv
(Trans_traverse) style after previous commit (2/2)

Revision 6384 - Directory Listing
Modified Thu Nov 1 14:50:08 2012 UTC (7 years, 2 months ago) by tv
(Trans_traverse) simplify using _run_cb_while_traversing() (1/2)

Revision 6383 - Directory Listing
Modified Thu Nov 1 14:50:04 2012 UTC (7 years, 2 months ago) by tv
(_run_cb_while_traversing) enable to pass additional flags

(Db_traverse,Db_traverse_tag) discard callback results prior to
introducing _run_cb_while_traversing() in commit r4947 on Jun 14 2012:
"(_run_cb_while_traversing) introduce this helper"

Revision 6254 - Directory Listing
Modified Tue Oct 16 21:39:16 2012 UTC (7 years, 3 months ago) by tv
(Urpm_verify_rpm) simplify

Revision 6253 - Directory Listing
Modified Tue Oct 16 21:39:13 2012 UTC (7 years, 3 months ago) by tv
reduce the scope of some variables (thanks cppcheck)

Revision 6252 - Directory Listing
Modified Tue Oct 16 21:39:10 2012 UTC (7 years, 3 months ago) by tv
(unused_variable) kill unused function

Revision 6251 - Directory Listing
Modified Tue Oct 16 21:39:07 2012 UTC (7 years, 3 months ago) by tv
kill dead comment

(should have been dropped along commit r6166 on 2012-10-05:
"(Trans_run) drop support for repackage (non working since rpm-4.6 in 2009)")

Revision 6196 - Directory Listing
Modified Thu Oct 11 15:50:41 2012 UTC (7 years, 3 months ago) by tv
4.15.1

Revision 6170 - Directory Listing
Modified Fri Oct 5 16:28:10 2012 UTC (7 years, 3 months ago) by tv
adjust doc accordingly

Revision 6166 - Directory Listing
Modified Fri Oct 5 16:04:32 2012 UTC (7 years, 3 months ago) by tv
(Trans_run) drop support for repackage (non working since rpm-4.6 in 2009)

should have been done right after commit r251061 by pixel on Tue Jan
2009: "- drop urpmi.recover
(no more possible with rpm 4.6 which doesn't handle --repackage)"

Revision 6107 - Directory Listing
Modified Thu Sep 27 17:24:14 2012 UTC (7 years, 4 months ago) by tv
let's have a link in doc

Revision 6076 - Directory Listing
Modified Thu Sep 27 11:05:28 2012 UTC (7 years, 4 months ago) by tv
4.15

Revision 6065 - Directory Listing
Modified Wed Sep 26 19:12:28 2012 UTC (7 years, 4 months ago) by tv
rename find_candidate_packages_() as find_candidate_packages()

Revision 6064 - Directory Listing
Modified Wed Sep 26 19:12:24 2012 UTC (7 years, 4 months ago) by tv
remove deprecated find_chosen_packages() & find_candidate_packages()

Revision 6063 - Directory Listing
Modified Wed Sep 26 19:12:21 2012 UTC (7 years, 4 months ago) by tv
(strict_arch_check,strict_arch_check_installed) simplify

Revision 6062 - Directory Listing
Modified Wed Sep 26 19:12:16 2012 UTC (7 years, 4 months ago) by tv
introduce any() from MDK::Common and resuse it

Revision 6061 - Directory Listing
Modified Wed Sep 26 19:12:13 2012 UTC (7 years, 4 months ago) by tv
(_find_required_package__kmod) simplify

Revision 6060 - Directory Listing
Modified Wed Sep 26 19:12:09 2012 UTC (7 years, 4 months ago) by tv
(_handle_conflicts_with_selected) simplify

Revision 5996 - Directory Listing
Added Fri Sep 21 11:30:58 2012 UTC (7 years, 4 months ago) by tv
add EVR method for rpmdrake


  ViewVC Help
Powered by ViewVC 1.1.26