platform/upstream/libsolv.git
8 years agoImported Upstream version 0.6.13 12/94112/1 upstream/0.6.13
DongHun Kwak [Thu, 27 Oct 2016 05:54:40 +0000 (14:54 +0900)]
Imported Upstream version 0.6.13

Change-Id: I9fed388d0b8658275d9089b22473596379566069
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.12 11/94111/1 upstream/0.6.12
DongHun Kwak [Thu, 27 Oct 2016 05:54:32 +0000 (14:54 +0900)]
Imported Upstream version 0.6.12

Change-Id: I57ee1847c5c25f2602e0348213fa145f97cc3434
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.11 10/94110/1 upstream/0.6.11
DongHun Kwak [Thu, 27 Oct 2016 05:54:23 +0000 (14:54 +0900)]
Imported Upstream version 0.6.11

Change-Id: Ia7fcc570c551205421c68cc6feb2ecfd3c97e149
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.10 09/94109/1 upstream/0.6.10
DongHun Kwak [Thu, 27 Oct 2016 05:54:07 +0000 (14:54 +0900)]
Imported Upstream version 0.6.10

Change-Id: Ia0aa60fc8934d4022da0cf8669ae3e4e121f3386
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.9 08/94108/1 upstream/0.6.9
DongHun Kwak [Thu, 27 Oct 2016 05:53:59 +0000 (14:53 +0900)]
Imported Upstream version 0.6.9

Change-Id: Icf4a1aa6525f6c2bfc9da6f3ba1609728f39a073
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.8 07/94107/1 upstream/0.6.8
DongHun Kwak [Thu, 27 Oct 2016 05:53:52 +0000 (14:53 +0900)]
Imported Upstream version 0.6.8

Change-Id: I831fe431b1bc73eb9fb9300b07abe823d806d843
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.7 06/94106/1 upstream/0.6.7
DongHun Kwak [Thu, 27 Oct 2016 05:53:44 +0000 (14:53 +0900)]
Imported Upstream version 0.6.7

Change-Id: I4903b1e04cf23c0c38f633e48a06732764ee6444
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.6 05/94105/1 upstream/0.6.6
DongHun Kwak [Thu, 27 Oct 2016 05:53:30 +0000 (14:53 +0900)]
Imported Upstream version 0.6.6

Change-Id: I39261d63e28e2f057203bd11bd6b1cbb83523fab
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
8 years agoImported Upstream version 0.6.5 04/94104/1 upstream/0.6.5
DongHun Kwak [Thu, 27 Oct 2016 05:52:55 +0000 (14:52 +0900)]
Imported Upstream version 0.6.5

Change-Id: If69a2170a61800e3f778ec1f78364531c9642950
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
10 years agoadd changes, bump version upstream/0.6.4
Michael Schroeder [Tue, 8 Jul 2014 12:14:59 +0000 (14:14 +0200)]
add changes, bump version

10 years agotweak solver_identical so that applications ignore requires
Michael Schroeder [Tue, 8 Jul 2014 12:11:18 +0000 (14:11 +0200)]
tweak solver_identical so that applications ignore requires

Fixes bug 885830.

10 years agofix instbuddy generation code
Michael Schroeder [Tue, 8 Jul 2014 12:09:48 +0000 (14:09 +0200)]
fix instbuddy generation code

we iterated over the wrong array, thus the rpm -> buddy link
did not work.

10 years agoadd '-m' option to test the solution callback
Michael Schroeder [Tue, 24 Jun 2014 11:41:26 +0000 (13:41 +0200)]
add '-m' option to test the solution callback

10 years agorework branch handling so that the old decisions are still available
Michael Schroeder [Tue, 24 Jun 2014 11:40:02 +0000 (13:40 +0200)]
rework branch handling so that the old decisions are still available

This allows us to auto-minimize packages that got supplemented
later on.

10 years agosupport -X option in rpmmd2solv, make add_autopattern available in bindings
Michael Schroeder [Mon, 23 Jun 2014 14:44:48 +0000 (16:44 +0200)]
support -X option in rpmmd2solv, make add_autopattern available in bindings

10 years agochanges 0.6.3
Michael Andres [Fri, 13 Jun 2014 10:16:27 +0000 (12:16 +0200)]
changes 0.6.3

10 years ago[hotfix] Relax solvable_identical check for producs [bnc#881493]
Michael Andres [Fri, 13 Jun 2014 06:27:27 +0000 (08:27 +0200)]
[hotfix] Relax solvable_identical check for producs [bnc#881493]

10 years agochanges 0.6.2
Michael Andres [Fri, 6 Jun 2014 09:40:58 +0000 (11:40 +0200)]
changes 0.6.2

10 years agoProvide PRODUCT_REGISTER_TARGET for available products [bnc#881320]
Michael Andres [Fri, 6 Jun 2014 09:40:27 +0000 (11:40 +0200)]
Provide PRODUCT_REGISTER_TARGET for available products [bnc#881320]

10 years agofix bugs in solver_describe_decision and solver_describe_weakdep_decision
Michael Schroeder [Tue, 3 Jun 2014 14:31:15 +0000 (16:31 +0200)]
fix bugs in solver_describe_decision and solver_describe_weakdep_decision

10 years agorepo_appdata: add missing break statement
Michael Schroeder [Fri, 16 May 2014 14:54:32 +0000 (16:54 +0200)]
repo_appdata: add missing break statement

10 years agoadd the SOLVER_FLAG_FOCUS_INSTALLED solver flag
Michael Schroeder [Thu, 15 May 2014 12:48:30 +0000 (14:48 +0200)]
add the SOLVER_FLAG_FOCUS_INSTALLED solver flag

Setting this flag means that the solver will prefer picking
a package version that fits the other installed packages
over updating installed packages.

10 years agoadd a 'g' to the sed line
Michael Schroeder [Wed, 14 May 2014 15:07:28 +0000 (17:07 +0200)]
add a 'g' to the sed line

10 years agouse sed instead of grep to get rid of the <?xml...> line
Michael Schroeder [Wed, 14 May 2014 13:50:11 +0000 (15:50 +0200)]
use sed instead of grep to get rid of the <?xml...> line

This allows us to parse files with no newlines.

10 years agoopencode some values in pool_id2rel (thanks Thierry Vignaud)
Michael Schroeder [Wed, 7 May 2014 12:32:14 +0000 (14:32 +0200)]
opencode some values in pool_id2rel (thanks Thierry Vignaud)

10 years agoadd #ifdef FEDORA lines
Michael Schroeder [Fri, 2 May 2014 08:43:11 +0000 (10:43 +0200)]
add #ifdef FEDORA lines

10 years agoMerge pull request #44 from akozumpl/archs
Michael Schroeder [Fri, 2 May 2014 08:39:05 +0000 (10:39 +0200)]
Merge pull request #44 from akozumpl/archs

Add a couple of architectures.

10 years agoAdd a couple of architectures.
Ales Kozumplik [Wed, 30 Apr 2014 07:29:09 +0000 (09:29 +0200)]
Add a couple of architectures.

The Fedora rel-eng team missed ia32e, amd64, athlon, geode, ppc64iseries
and ppc64pseries.

10 years agoobey droporphaned map in keep_orhans mode
Michael Schroeder [Tue, 22 Apr 2014 16:19:07 +0000 (18:19 +0200)]
obey droporphaned map in keep_orhans mode

10 years agoadd changes, bump version
Michael Schroeder [Thu, 17 Apr 2014 12:49:33 +0000 (14:49 +0200)]
add changes, bump version

10 years agoimplement SOLVER_FLAG_BREAK_ORPHANS
Michael Schroeder [Thu, 17 Apr 2014 12:18:42 +0000 (14:18 +0200)]
implement SOLVER_FLAG_BREAK_ORPHANS

10 years agoadapt to AppStream 0.6
Michael Schroeder [Thu, 17 Apr 2014 09:23:12 +0000 (11:23 +0200)]
adapt to AppStream 0.6

10 years agoadd KEEP_ORPHANS and BREAK_ORPHANS solver flags
Michael Schroeder [Wed, 16 Apr 2014 13:15:42 +0000 (15:15 +0200)]
add KEEP_ORPHANS and BREAK_ORPHANS solver flags

BREAK_ORPHANS is not implemented yet

10 years agorepodata_swap_attrs: make sure src and dest are in the repodata
Michael Schroeder [Wed, 16 Apr 2014 11:57:24 +0000 (13:57 +0200)]
repodata_swap_attrs: make sure src and dest are in the repodata

10 years agoremove unneded repodata_extend calls
Michael Schroeder [Wed, 16 Apr 2014 11:56:41 +0000 (13:56 +0200)]
remove unneded repodata_extend calls

10 years agoalso check for read-only rpm db in /usr/share/rpm (ostree)
Michael Schroeder [Tue, 15 Apr 2014 16:01:31 +0000 (18:01 +0200)]
also check for read-only rpm db in /usr/share/rpm (ostree)

10 years agofix type introduced in commit #bbdec95b
Michael Schroeder [Mon, 14 Apr 2014 17:05:59 +0000 (19:05 +0200)]
fix type introduced in commit #bbdec95b

Also makes the code deal correctly with non-canonicalized
filename dependencies.

10 years agoadd a single space
Michael Schroeder [Mon, 14 Apr 2014 13:49:33 +0000 (15:49 +0200)]
add a single space

10 years agosmall optimization for pool_addfileprovides
Michael Schroeder [Mon, 14 Apr 2014 12:07:38 +0000 (14:07 +0200)]
small optimization for pool_addfileprovides

Should use less memory and be a tiny bit faster. The code is
a bit simpler as well.

10 years agouse less memory when just writing the filelist
Michael Schroeder [Wed, 9 Apr 2014 13:03:14 +0000 (15:03 +0200)]
use less memory when just writing the filelist

10 years agofree memory on the fly in repodata_internalize
Michael Schroeder [Tue, 8 Apr 2014 17:04:11 +0000 (19:04 +0200)]
free memory on the fly in repodata_internalize

makes the code only slightly slower, but helps a lot with oversized
repositories like Fedora Everything...

10 years agomake repodata_stringify return the result string
Michael Schroeder [Tue, 8 Apr 2014 09:43:06 +0000 (11:43 +0200)]
make repodata_stringify return the result string

This is in preparation of stringify no longer patching
the str element in the kv.

10 years agoadd changes, bump version
Michael Schroeder [Mon, 7 Apr 2014 13:39:50 +0000 (15:39 +0200)]
add changes, bump version

10 years agouse "implicitobsoleteusescolors" to limit our update/feature rules
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...

10 years agoadd "just in case" code if our multiplier gets too big
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...

10 years agoalso simplify solvable_copy_cb's checksum handling
Michael Schroeder [Mon, 7 Apr 2014 11:01:43 +0000 (13:01 +0200)]
also simplify solvable_copy_cb's checksum handling

10 years agosimplyfy checksum code
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.

10 years agosupport "notbyuser" in testcases
Michael Schroeder [Mon, 7 Apr 2014 10:49:08 +0000 (12:49 +0200)]
support "notbyuser" in testcases

10 years agodo not count problem resolution install jobs as userinstalled
Michael Schroeder [Fri, 4 Apr 2014 16:46:07 +0000 (18:46 +0200)]
do not count problem resolution install jobs as userinstalled

10 years agoadd NEWS
Michael Schroeder [Fri, 4 Apr 2014 14:25:17 +0000 (16:25 +0200)]
add NEWS

10 years ago[ABI BREAKAGE] add support for SHA224/384/512
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.

10 years agomore swig trickery: automaticall free the pool, add a disown method
Michael Schroeder [Fri, 4 Apr 2014 12:09:10 +0000 (14:09 +0200)]
more swig trickery: automaticall free the pool, add a disown method

10 years agoINCOMPATIBLE bindings change: modernize Dataiterator/Datamatch classes
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.

10 years agoadd pool_add_userinstalled_jobs and solver_get_userinstalled functions
Michael Schroeder [Thu, 3 Apr 2014 11:08:08 +0000 (13:08 +0200)]
add pool_add_userinstalled_jobs and solver_get_userinstalled functions

10 years agofix pool_job2str message for lock ;)
Michael Schroeder [Tue, 1 Apr 2014 14:34:38 +0000 (16:34 +0200)]
fix pool_job2str message for lock ;)

10 years agosuppport RPM_ADD_FILTERED_FILELIST
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.

10 years agomake the __iter__ methods in the python bindings return self
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.

10 years agosupport new dupallow flags in testcases (thanks Honza)
Michael Schroeder [Mon, 31 Mar 2014 10:15:47 +0000 (12:15 +0200)]
support new dupallow flags in testcases (thanks Honza)

10 years agoautopattern: always chose the lexicographical first one if there are two pattern...
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

10 years agofix getrpmruleinfos for linked packages
Michael Schroeder [Thu, 27 Mar 2014 10:17:05 +0000 (11:17 +0100)]
fix getrpmruleinfos for linked packages

10 years agofix grep call
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.

10 years agobump version, add changes
Michael Schroeder [Wed, 26 Mar 2014 14:13:22 +0000 (15:13 +0100)]
bump version, add changes

10 years agosupport SOLVER_FLAG_DUP_ALLOW* flags in solver_set_flags and bindings
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

10 years agofix handling of packages with no update/feature rule but with specialupdaters
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.

10 years agorepo2solv.sh: ignore -A option
Michael Schroeder [Wed, 26 Mar 2014 11:36:24 +0000 (12:36 +0100)]
repo2solv.sh: ignore -A option

10 years agorename schemaoffset to less confusing schemaidx
Michael Schroeder [Wed, 26 Mar 2014 09:55:06 +0000 (10:55 +0100)]
rename schemaoffset to less confusing schemaidx

10 years agofix access to freed memory if we had to allocate a new schema when serializing a key
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

10 years agoadapt repo->end in repo_empty() function
Michael Schroeder [Tue, 25 Mar 2014 17:40:51 +0000 (18:40 +0100)]
adapt repo->end in repo_empty() function

10 years agoignore pattern() provides that start with '.'
Michael Schroeder [Tue, 25 Mar 2014 14:25:38 +0000 (15:25 +0100)]
ignore pattern() provides that start with '.'

10 years agoimprove solver_addrule a bit
Michael Schroeder [Tue, 25 Mar 2014 13:15:30 +0000 (14:15 +0100)]
improve solver_addrule a bit

10 years agocplxdeps: special case SYSTEMSOLVABLE
Michael Schroeder [Tue, 25 Mar 2014 12:00:03 +0000 (13:00 +0100)]
cplxdeps: special case SYSTEMSOLVABLE

10 years agoDon't put -SYSTEMSOLVABLE into conflicts
Michael Schroeder [Tue, 25 Mar 2014 10:21:32 +0000 (11:21 +0100)]
Don't put -SYSTEMSOLVABLE into conflicts

10 years agodeal correctly with rules that contain the system solvable
Michael Schroeder [Mon, 24 Mar 2014 18:16:21 +0000 (19:16 +0100)]
deal correctly with rules that contain the system solvable

10 years agobring "removing unwanted" code in line with the other parts
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...

10 years agoignore negative assertions in choice rule generation
Michael Schroeder [Mon, 24 Mar 2014 17:01:19 +0000 (18:01 +0100)]
ignore negative assertions in choice rule generation

10 years agosmall optimization for solver_addupdaterule
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.

10 years agosupport REPOKEYWORDS in the content parser
Michael Schroeder [Wed, 12 Mar 2014 14:34:02 +0000 (15:34 +0100)]
support REPOKEYWORDS in the content parser

10 years agoimplement complex deps handling in cleandeps/unneeded calculation
Michael Schroeder [Mon, 10 Mar 2014 16:38:40 +0000 (17:38 +0100)]
implement complex deps handling in cleandeps/unneeded calculation

10 years agoadd #if 0 to some debug printf calls
Michael Schroeder [Fri, 7 Mar 2014 16:44:05 +0000 (17:44 +0100)]
add #if 0 to some debug printf calls

10 years agoalso support complex deps when doing recommends/suggests filtering
Michael Schroeder [Fri, 7 Mar 2014 15:55:36 +0000 (16:55 +0100)]
also support complex deps when doing recommends/suggests filtering

10 years agorevert pyhton3 part that was commit by mistake in #ab8b3ded
Michael Schroeder [Wed, 5 Mar 2014 15:38:29 +0000 (16:38 +0100)]
revert pyhton3 part that was commit by mistake in #ab8b3ded

10 years agotestcase: support filtering in unneeded check, support setting of result flags withou...
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

10 years agodelete broken solvables if the xml parser returns an error
Michael Schroeder [Wed, 5 Mar 2014 14:48:33 +0000 (15:48 +0100)]
delete broken solvables if the xml parser returns an error

10 years agoadd support for complex dependencies
Michael Schroeder [Wed, 5 Mar 2014 14:33:56 +0000 (15:33 +0100)]
add support for complex dependencies

10 years agoalso look at the pkgname when searching for the application link
Michael Schroeder [Wed, 5 Mar 2014 12:02:54 +0000 (13:02 +0100)]
also look at the pkgname when searching for the application link

10 years agorepo_appdata: add support for keywords and pkgname, simplify lang handling
Michael Schroeder [Wed, 5 Mar 2014 10:52:53 +0000 (11:52 +0100)]
repo_appdata: add support for keywords and pkgname, simplify lang handling

10 years agobindings: don't let str(Datamatch) change the strings, instead create a copy
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.

10 years agobindings: make Dataterator match/flags optional
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.

10 years agofix basename optimization for STRINGEND
Michael Schroeder [Mon, 3 Mar 2014 14:02:45 +0000 (15:02 +0100)]
fix basename optimization for STRINGEND

broken with commit 0804020d92975c20a683f490f81339c14555b2d4

10 years agofix Datamatcher's idstr() method when calld for dirs
Michael Schroeder [Mon, 3 Mar 2014 14:01:48 +0000 (15:01 +0100)]
fix Datamatcher's idstr() method when calld for dirs

10 years agofix Pool_repo_iterator and Repo_solvable_iterator in perl bindings
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.

10 years ago'licence' is actually the metadata license we don't case about
Michael Schroeder [Thu, 27 Feb 2014 14:54:17 +0000 (15:54 +0100)]
'licence' is actually the metadata license we don't case about

10 years agomake "product_license" (appstream) an alias for "licence" (appdata)
Michael Schroeder [Thu, 27 Feb 2014 13:24:10 +0000 (14:24 +0100)]
make "product_license" (appstream) an alias for "licence" (appdata)

10 years agoimprove guessing of appdata.xml file name
Michael Schroeder [Wed, 26 Feb 2014 17:15:01 +0000 (18:15 +0100)]
improve guessing of appdata.xml file name

10 years agoadd changes, bump version
Michael Schroeder [Wed, 26 Feb 2014 14:11:53 +0000 (15:11 +0100)]
add changes, bump version

10 years agoappdata2solv: add support for -d and -r options
Michael Schroeder [Wed, 26 Feb 2014 12:08:52 +0000 (13:08 +0100)]
appdata2solv: add support for -d and -r options

10 years agoimprove appdata.xml parsing
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

10 years agorepo_helix: parse application elements
Michael Andres [Tue, 25 Feb 2014 10:36:10 +0000 (11:36 +0100)]
repo_helix: parse application elements

10 years agoadd changes, bump version
Michael Schroeder [Fri, 21 Feb 2014 15:25:26 +0000 (16:25 +0100)]
add changes, bump version

10 years agofix bug in solver_get_unneeded that could lead to an endless loop
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