Michael Schroeder [Mon, 7 Apr 2014 13:39:50 +0000 (15:39 +0200)]
add changes, bump version
Michael Schroeder [Mon, 7 Apr 2014 11:45:24 +0000 (13:45 +0200)]
use "implicitobsoleteusescolors" to limit our update/feature rules
We will only consider packages of the same color as update candidate.
This currently also is true for the feature rules, thus the solver
will not offer to use replacement packages of a different color.
Let's see how this works out in real life...
Michael Schroeder [Mon, 7 Apr 2014 11:06:33 +0000 (13:06 +0200)]
add "just in case" code if our multiplier gets too big
I don't think that this can happen the way we use the modulo
code, but I feel somewhat safer with the check in place...
Michael Schroeder [Mon, 7 Apr 2014 11:01:43 +0000 (13:01 +0200)]
also simplify solvable_copy_cb's checksum handling
Michael Schroeder [Mon, 7 Apr 2014 10:50:06 +0000 (12:50 +0200)]
simplyfy checksum code
Also change dumpsolv to use solv_chksum_type2str instead of printing
the internal type.
Michael Schroeder [Mon, 7 Apr 2014 10:49:08 +0000 (12:49 +0200)]
support "notbyuser" in testcases
Michael Schroeder [Fri, 4 Apr 2014 16:46:07 +0000 (18:46 +0200)]
do not count problem resolution install jobs as userinstalled
Michael Schroeder [Fri, 4 Apr 2014 14:25:17 +0000 (16:25 +0200)]
add NEWS
Michael Schroeder [Fri, 4 Apr 2014 14:18:06 +0000 (16:18 +0200)]
[ABI BREAKAGE] add support for SHA224/384/512
We also use this to reorder knownid.h, thus breaking
the libsolv ABI. Next step is to bump the version.
Michael Schroeder [Fri, 4 Apr 2014 12:09:10 +0000 (14:09 +0200)]
more swig trickery: automaticall free the pool, add a disown method
Michael Schroeder [Thu, 3 Apr 2014 14:20:28 +0000 (16:20 +0200)]
INCOMPATIBLE bindings change: modernize Dataiterator/Datamatch classes
Use attributes instead of methods to access the matched data (except
for Datapos constructors). Also, while we're breaking the API, drop
the solvid argument from the Dataiterator constructors. Add different
constructors for the special cases.
Also fix and document Datamatcher's 'binary' attribute.
Michael Schroeder [Thu, 3 Apr 2014 11:08:08 +0000 (13:08 +0200)]
add pool_add_userinstalled_jobs and solver_get_userinstalled functions
Michael Schroeder [Tue, 1 Apr 2014 14:34:38 +0000 (16:34 +0200)]
fix pool_job2str message for lock ;)
Michael Schroeder [Mon, 31 Mar 2014 13:13:28 +0000 (15:13 +0200)]
suppport RPM_ADD_FILTERED_FILELIST
Probably only useful for distris that enforce filelist dependency
policies, e.g. SUSE.
Michael Schroeder [Mon, 31 Mar 2014 12:58:06 +0000 (14:58 +0200)]
make the __iter__ methods in the python bindings return self
The old code returned a new iterator object, which broke
the skip_solvable method. I hope the new way does not break
anything.
Michael Schroeder [Mon, 31 Mar 2014 10:15:47 +0000 (12:15 +0200)]
support new dupallow flags in testcases (thanks Honza)
Michael Schroeder [Thu, 27 Mar 2014 10:44:11 +0000 (11:44 +0100)]
autopattern: always chose the lexicographical first one if there are two pattern/product provides
Michael Schroeder [Thu, 27 Mar 2014 10:17:05 +0000 (11:17 +0100)]
fix getrpmruleinfos for linked packages
Michael Schroeder [Wed, 26 Mar 2014 14:31:42 +0000 (15:31 +0100)]
fix grep call
Unlike perl, grep parses '?' as literal question mark and '\?' as
zero or one quantifier in the default "basic regexp" mode.
Michael Schroeder [Wed, 26 Mar 2014 14:13:22 +0000 (15:13 +0100)]
bump version, add changes
Michael Schroeder [Wed, 26 Mar 2014 13:58:28 +0000 (14:58 +0100)]
support SOLVER_FLAG_DUP_ALLOW* flags in solver_set_flags and bindings
Michael Schroeder [Wed, 26 Mar 2014 13:47:50 +0000 (14:47 +0100)]
fix handling of packages with no update/feature rule but with specialupdaters
We cannot simply reuse the multiversion code in this case.
Michael Schroeder [Wed, 26 Mar 2014 11:36:24 +0000 (12:36 +0100)]
repo2solv.sh: ignore -A option
Michael Schroeder [Wed, 26 Mar 2014 09:55:06 +0000 (10:55 +0100)]
rename schemaoffset to less confusing schemaidx
Michael Schroeder [Tue, 25 Mar 2014 18:01:20 +0000 (19:01 +0100)]
fix access to freed memory if we had to allocate a new schema when serializing a key
Michael Schroeder [Tue, 25 Mar 2014 17:40:51 +0000 (18:40 +0100)]
adapt repo->end in repo_empty() function
Michael Schroeder [Tue, 25 Mar 2014 14:25:38 +0000 (15:25 +0100)]
ignore pattern() provides that start with '.'
Michael Schroeder [Tue, 25 Mar 2014 13:15:30 +0000 (14:15 +0100)]
improve solver_addrule a bit
Michael Schroeder [Tue, 25 Mar 2014 12:00:03 +0000 (13:00 +0100)]
cplxdeps: special case SYSTEMSOLVABLE
Michael Schroeder [Tue, 25 Mar 2014 10:21:32 +0000 (11:21 +0100)]
Don't put -SYSTEMSOLVABLE into conflicts
Michael Schroeder [Mon, 24 Mar 2014 18:16:21 +0000 (19:16 +0100)]
deal correctly with rules that contain the system solvable
Michael Schroeder [Mon, 24 Mar 2014 17:29:24 +0000 (18:29 +0100)]
bring "removing unwanted" code in line with the other parts
should not make any difference, but it's cleaner anyway...
Michael Schroeder [Mon, 24 Mar 2014 17:01:19 +0000 (18:01 +0100)]
ignore negative assertions in choice rule generation
Michael Schroeder [Mon, 24 Mar 2014 16:58:44 +0000 (17:58 +0100)]
small optimization for solver_addupdaterule
hopefully also reduces pool_queuetowhatprovides calls and thus
the memory footprint.
Michael Schroeder [Wed, 12 Mar 2014 14:34:02 +0000 (15:34 +0100)]
support REPOKEYWORDS in the content parser
Michael Schroeder [Mon, 10 Mar 2014 16:38:40 +0000 (17:38 +0100)]
implement complex deps handling in cleandeps/unneeded calculation
Michael Schroeder [Fri, 7 Mar 2014 16:44:05 +0000 (17:44 +0100)]
add #if 0 to some debug printf calls
Michael Schroeder [Fri, 7 Mar 2014 15:55:36 +0000 (16:55 +0100)]
also support complex deps when doing recommends/suggests filtering
Michael Schroeder [Wed, 5 Mar 2014 15:38:29 +0000 (16:38 +0100)]
revert pyhton3 part that was commit by mistake in #
ab8b3ded
Michael Schroeder [Wed, 5 Mar 2014 15:35:44 +0000 (16:35 +0100)]
testcase: support filtering in unneeded check, support setting of result flags without having a result
Michael Schroeder [Wed, 5 Mar 2014 14:48:33 +0000 (15:48 +0100)]
delete broken solvables if the xml parser returns an error
Michael Schroeder [Wed, 5 Mar 2014 14:33:56 +0000 (15:33 +0100)]
add support for complex dependencies
Michael Schroeder [Wed, 5 Mar 2014 12:02:54 +0000 (13:02 +0100)]
also look at the pkgname when searching for the application link
Michael Schroeder [Wed, 5 Mar 2014 10:52:53 +0000 (11:52 +0100)]
repo_appdata: add support for keywords and pkgname, simplify lang handling
Michael Schroeder [Tue, 4 Mar 2014 14:36:27 +0000 (15:36 +0100)]
bindings: don't let str(Datamatch) change the strings, instead create a copy
Also always set the SEARCH_FILES and SEARCH_CHECKSUMS flags.
Michael Schroeder [Tue, 4 Mar 2014 14:31:37 +0000 (15:31 +0100)]
bindings: make Dataterator match/flags optional
Also document the solvable.Dataiterator method.
Michael Schroeder [Mon, 3 Mar 2014 14:02:45 +0000 (15:02 +0100)]
fix basename optimization for STRINGEND
broken with commit
0804020d92975c20a683f490f81339c14555b2d4
Michael Schroeder [Mon, 3 Mar 2014 14:01:48 +0000 (15:01 +0100)]
fix Datamatcher's idstr() method when calld for dirs
Michael Schroeder [Thu, 27 Feb 2014 15:20:16 +0000 (16:20 +0100)]
fix Pool_repo_iterator and Repo_solvable_iterator in perl bindings
A perliter() call was missing.
Michael Schroeder [Thu, 27 Feb 2014 14:54:17 +0000 (15:54 +0100)]
'licence' is actually the metadata license we don't case about
Michael Schroeder [Thu, 27 Feb 2014 13:24:10 +0000 (14:24 +0100)]
make "product_license" (appstream) an alias for "licence" (appdata)
Michael Schroeder [Wed, 26 Feb 2014 17:15:01 +0000 (18:15 +0100)]
improve guessing of appdata.xml file name
Michael Schroeder [Wed, 26 Feb 2014 14:11:53 +0000 (15:11 +0100)]
add changes, bump version
Michael Schroeder [Wed, 26 Feb 2014 12:08:52 +0000 (13:08 +0100)]
appdata2solv: add support for -d and -r options
Michael Schroeder [Wed, 26 Feb 2014 12:06:22 +0000 (13:06 +0100)]
improve appdata.xml parsing
- ignore tags with a set language (for now)
- read desktop file if name/summary is not present
- the requires needs to be the full file name
Michael Andres [Tue, 25 Feb 2014 10:36:10 +0000 (11:36 +0100)]
repo_helix: parse application elements
Michael Schroeder [Fri, 21 Feb 2014 15:25:26 +0000 (16:25 +0100)]
add changes, bump version
Michael Schroeder [Fri, 21 Feb 2014 14:13:54 +0000 (15:13 +0100)]
fix bug in solver_get_unneeded that could lead to an endless loop
Michael Schroeder [Wed, 19 Feb 2014 12:08:36 +0000 (13:08 +0100)]
adapt to new rpm tags for weak dependencies
The old tags are still read as fallback.
Michael Schroeder [Tue, 18 Feb 2014 14:42:07 +0000 (15:42 +0100)]
change last commit to check for SOLVER_TRANSACTION_KEEP_PSEUDO
Michael Schroeder [Tue, 18 Feb 2014 14:34:40 +0000 (15:34 +0100)]
Always return IGNORE for pseudo packages in RPM_ONLY mode
The example codes already expect this behavior.
Michael Schroeder [Tue, 18 Feb 2014 14:25:01 +0000 (15:25 +0100)]
fix pseudo packages obsoleting other pseudo packages
This was broken with commit #
ea033e29, which fixed pseudo packages
obsoleting real packages.
Michael Schroeder [Tue, 18 Feb 2014 12:07:57 +0000 (13:07 +0100)]
treat AND and COND more optimistic in pool_addrelproviders
Also keep result sorted in the OR case.
Michael Schroeder [Mon, 17 Feb 2014 12:23:54 +0000 (13:23 +0100)]
optimize unfulfilled rule handling a bit
Michael Schroeder [Fri, 14 Feb 2014 10:05:21 +0000 (11:05 +0100)]
add changes, bump version
Michael Schroeder [Thu, 13 Feb 2014 13:03:25 +0000 (14:03 +0100)]
always keep job/jobflags in selection_filter()
Michael Schroeder [Wed, 12 Feb 2014 18:48:24 +0000 (19:48 +0100)]
refactor testcase_str2dep
- no longer patch the string
- also support REL_AND (&) and REL_COND (IF)
Michael Schroeder [Wed, 12 Feb 2014 18:42:48 +0000 (19:42 +0100)]
refactor a bit
- clean up comments in rule generation
- refactor is_otherproviders_dep helper function
- treat COND as AND in supplements handling
- special case OR in supplements handling so that AND functionality does not get lost
Michael Schroeder [Tue, 4 Feb 2014 13:58:39 +0000 (14:58 +0100)]
do not create update/feature rules for applications or patterns
Also rename "multiversionupdaters" to "specialupdaters".
Michael Schroeder [Tue, 4 Feb 2014 13:31:57 +0000 (14:31 +0100)]
fix typo in application backlink creation
Michael Schroeder [Mon, 3 Feb 2014 18:06:16 +0000 (19:06 +0100)]
testcase: support "haiku" disttype
Michael Schroeder [Thu, 30 Jan 2014 16:08:52 +0000 (17:08 +0100)]
support PRODUCT_ENDOFLIFE, store repoid as flexarray so we can add a lable later
Michael Schroeder [Tue, 28 Jan 2014 12:44:56 +0000 (13:44 +0100)]
support ADD_NO_AUTOPRODUCTS in repo_autopattern, use in rpmdb2solv
Michael Schroeder [Tue, 28 Jan 2014 12:38:26 +0000 (13:38 +0100)]
also translate autoproduct strings
Michael Schroeder [Mon, 27 Jan 2014 16:16:45 +0000 (17:16 +0100)]
add changes, bump version
Michael Schroeder [Mon, 27 Jan 2014 15:43:59 +0000 (16:43 +0100)]
rpmdb2solv: set repo to installed so that no autoproducts are generated
Michael Schroeder [Mon, 27 Jan 2014 15:29:34 +0000 (16:29 +0100)]
support PRODUCT_UPDATES_REPOID strarray for SLE-12 product handling
Michael Schroeder [Mon, 27 Jan 2014 14:51:03 +0000 (15:51 +0100)]
add autoproduct support
Michael Schroeder [Fri, 24 Jan 2014 15:10:47 +0000 (16:10 +0100)]
always put -Wl,--as-needed to the front of the system libs
Michael Schroeder [Fri, 24 Jan 2014 14:08:34 +0000 (15:08 +0100)]
fix for old swig versions
Michael Schroeder [Fri, 24 Jan 2014 12:55:41 +0000 (13:55 +0100)]
add bnc to changes
Michael Schroeder [Fri, 24 Jan 2014 12:54:34 +0000 (13:54 +0100)]
add changes, bump version to 0.4.2
Michael Schroeder [Fri, 24 Jan 2014 12:49:29 +0000 (13:49 +0100)]
add forgotten -X option to susetags2solv tool
Michael Schroeder [Thu, 23 Jan 2014 13:23:58 +0000 (14:23 +0100)]
testsolv: support '-s' option to take solutions
Michael Schroeder [Thu, 23 Jan 2014 13:22:49 +0000 (14:22 +0100)]
fix typos in pool_job2str
Michael Schroeder [Wed, 22 Jan 2014 16:12:38 +0000 (17:12 +0100)]
repo_rpmdb: refactor count_headers
Michael Schroeder [Wed, 22 Jan 2014 13:44:37 +0000 (14:44 +0100)]
serialize dbenv operations on FEDORA systems
Michael Schroeder [Tue, 21 Jan 2014 18:07:39 +0000 (19:07 +0100)]
update constantids.
Michael Schroeder [Tue, 21 Jan 2014 17:12:32 +0000 (18:12 +0100)]
document describe_decision
Michael Schroeder [Mon, 20 Jan 2014 12:46:54 +0000 (13:46 +0100)]
support DISTRO in content parser
Michael Schroeder [Mon, 20 Jan 2014 11:26:51 +0000 (12:26 +0100)]
improve comment about gpgv
Michael Schroeder [Mon, 20 Jan 2014 10:30:35 +0000 (11:30 +0100)]
fix last commit
Michael Schroeder [Mon, 20 Jan 2014 10:25:18 +0000 (02:25 -0800)]
Merge pull request #41 from dmacvicar/master
Duncan Mac-Vicar P. [Sun, 19 Jan 2014 00:21:10 +0000 (01:21 +0100)]
knownid.h lacks include guards
Michael Schroeder [Mon, 13 Jan 2014 17:25:50 +0000 (18:25 +0100)]
make addfilelist more resistant against corrupt rpms
Michael Schroeder [Fri, 10 Jan 2014 14:23:59 +0000 (15:23 +0100)]
encode flags into rpmdb cookie
Michael Schroeder [Thu, 9 Jan 2014 12:29:48 +0000 (13:29 +0100)]
add identical and evrcmp methods for solvables
Michael Schroeder [Wed, 8 Jan 2014 13:43:10 +0000 (14:43 +0100)]
three other changes to make cppcheck happier
Michael Schroeder [Wed, 8 Jan 2014 13:29:44 +0000 (14:29 +0100)]
fix a couple of minor problems found with cppcheck
Michael Schroeder [Tue, 7 Jan 2014 16:44:33 +0000 (17:44 +0100)]
plug memory leak when the rpmdb is found to be corrupt