platform/upstream/libsolv.git
10 years agoadd changes, bump version
Michael Schroeder [Fri, 14 Feb 2014 10:05:21 +0000 (11:05 +0100)]
add changes, bump version

10 years agoalways keep job/jobflags in selection_filter()
Michael Schroeder [Thu, 13 Feb 2014 13:03:25 +0000 (14:03 +0100)]
always keep job/jobflags in selection_filter()

10 years agorefactor testcase_str2dep
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)

10 years agorefactor a bit
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

10 years agodo not create update/feature rules for applications or patterns
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".

10 years agofix typo in application backlink creation
Michael Schroeder [Tue, 4 Feb 2014 13:31:57 +0000 (14:31 +0100)]
fix typo in application backlink creation

10 years agotestcase: support "haiku" disttype
Michael Schroeder [Mon, 3 Feb 2014 18:06:16 +0000 (19:06 +0100)]
testcase: support "haiku" disttype

10 years agosupport PRODUCT_ENDOFLIFE, store repoid as flexarray so we can add a lable later
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

10 years agosupport ADD_NO_AUTOPRODUCTS in repo_autopattern, use in rpmdb2solv
Michael Schroeder [Tue, 28 Jan 2014 12:44:56 +0000 (13:44 +0100)]
support ADD_NO_AUTOPRODUCTS in repo_autopattern, use in rpmdb2solv

10 years agoalso translate autoproduct strings
Michael Schroeder [Tue, 28 Jan 2014 12:38:26 +0000 (13:38 +0100)]
also translate autoproduct strings

10 years agoadd changes, bump version
Michael Schroeder [Mon, 27 Jan 2014 16:16:45 +0000 (17:16 +0100)]
add changes, bump version

10 years agorpmdb2solv: set repo to installed so that no autoproducts are generated
Michael Schroeder [Mon, 27 Jan 2014 15:43:59 +0000 (16:43 +0100)]
rpmdb2solv: set repo to installed so that no autoproducts are generated

10 years agosupport PRODUCT_UPDATES_REPOID strarray for SLE-12 product handling
Michael Schroeder [Mon, 27 Jan 2014 15:29:34 +0000 (16:29 +0100)]
support PRODUCT_UPDATES_REPOID strarray for SLE-12 product handling

10 years agoadd autoproduct support
Michael Schroeder [Mon, 27 Jan 2014 14:51:03 +0000 (15:51 +0100)]
add autoproduct support

10 years agoalways put -Wl,--as-needed to the front of the system libs
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

10 years agofix for old swig versions
Michael Schroeder [Fri, 24 Jan 2014 14:08:34 +0000 (15:08 +0100)]
fix for old swig versions

10 years agoadd bnc to changes
Michael Schroeder [Fri, 24 Jan 2014 12:55:41 +0000 (13:55 +0100)]
add bnc to changes

10 years agoadd changes, bump version to 0.4.2
Michael Schroeder [Fri, 24 Jan 2014 12:54:34 +0000 (13:54 +0100)]
add changes, bump version to 0.4.2

10 years agoadd forgotten -X option to susetags2solv tool
Michael Schroeder [Fri, 24 Jan 2014 12:49:29 +0000 (13:49 +0100)]
add forgotten -X option to susetags2solv tool

10 years agotestsolv: support '-s' option to take solutions
Michael Schroeder [Thu, 23 Jan 2014 13:23:58 +0000 (14:23 +0100)]
testsolv: support '-s' option to take solutions

10 years agofix typos in pool_job2str
Michael Schroeder [Thu, 23 Jan 2014 13:22:49 +0000 (14:22 +0100)]
fix typos in pool_job2str

10 years agorepo_rpmdb: refactor count_headers
Michael Schroeder [Wed, 22 Jan 2014 16:12:38 +0000 (17:12 +0100)]
repo_rpmdb: refactor count_headers

10 years agoserialize dbenv operations on FEDORA systems
Michael Schroeder [Wed, 22 Jan 2014 13:44:37 +0000 (14:44 +0100)]
serialize dbenv operations on FEDORA systems

10 years agoupdate constantids.
Michael Schroeder [Tue, 21 Jan 2014 18:07:39 +0000 (19:07 +0100)]
update constantids.

10 years agodocument describe_decision
Michael Schroeder [Tue, 21 Jan 2014 17:12:32 +0000 (18:12 +0100)]
document describe_decision

10 years agosupport DISTRO in content parser
Michael Schroeder [Mon, 20 Jan 2014 12:46:54 +0000 (13:46 +0100)]
support DISTRO in content parser

10 years agoimprove comment about gpgv
Michael Schroeder [Mon, 20 Jan 2014 11:26:51 +0000 (12:26 +0100)]
improve comment about gpgv

10 years agofix last commit
Michael Schroeder [Mon, 20 Jan 2014 10:30:35 +0000 (11:30 +0100)]
fix last commit

10 years agoMerge pull request #41 from dmacvicar/master
Michael Schroeder [Mon, 20 Jan 2014 10:25:18 +0000 (02:25 -0800)]
Merge pull request #41 from dmacvicar/master

10 years agoknownid.h lacks include guards
Duncan Mac-Vicar P. [Sun, 19 Jan 2014 00:21:10 +0000 (01:21 +0100)]
knownid.h lacks include guards

10 years agomake addfilelist more resistant against corrupt rpms
Michael Schroeder [Mon, 13 Jan 2014 17:25:50 +0000 (18:25 +0100)]
make addfilelist more resistant against corrupt rpms

10 years agoencode flags into rpmdb cookie
Michael Schroeder [Fri, 10 Jan 2014 14:23:59 +0000 (15:23 +0100)]
encode flags into rpmdb cookie

10 years agoadd identical and evrcmp methods for solvables
Michael Schroeder [Thu, 9 Jan 2014 12:29:48 +0000 (13:29 +0100)]
add identical and evrcmp methods for solvables

10 years agothree other changes to make cppcheck happier
Michael Schroeder [Wed, 8 Jan 2014 13:43:10 +0000 (14:43 +0100)]
three other changes to make cppcheck happier

10 years agofix a couple of minor problems found with cppcheck
Michael Schroeder [Wed, 8 Jan 2014 13:29:44 +0000 (14:29 +0100)]
fix a couple of minor problems found with cppcheck

10 years agoplug memory leak when the rpmdb is found to be corrupt
Michael Schroeder [Tue, 7 Jan 2014 16:44:33 +0000 (17:44 +0100)]
plug memory leak when the rpmdb is found to be corrupt

10 years agoadd lockstep testcases
Michael Schroeder [Tue, 17 Dec 2013 12:35:49 +0000 (13:35 +0100)]
add lockstep testcases

10 years agochange infarch rule generation so that it does not break installed lock-steps
Michael Schroeder [Tue, 17 Dec 2013 12:35:11 +0000 (13:35 +0100)]
change infarch rule generation so that it does not break installed lock-steps

10 years agofix typo in solver_addbestrules
Michael Schroeder [Tue, 17 Dec 2013 12:33:20 +0000 (13:33 +0100)]
fix typo in solver_addbestrules

10 years agoAlso copy the checksums in repo_add_rpmdb_reffp
Michael Schroeder [Mon, 16 Dec 2013 14:57:11 +0000 (15:57 +0100)]
Also copy the checksums in repo_add_rpmdb_reffp

Sorry. Also bumps the RPMDB_COOKIE_VERSION so old broken solv
files don't get reused.

10 years agofix typo in comment
Michael Schroeder [Fri, 13 Dec 2013 14:00:25 +0000 (15:00 +0100)]
fix typo in comment

10 years agorepo_autopattern: make sure that the category is valid utf8
Michael Schroeder [Fri, 13 Dec 2013 13:52:21 +0000 (14:52 +0100)]
repo_autopattern: make sure that the category is valid utf8

10 years agorefactor pool_calc_duchanges a bit
Michael Schroeder [Thu, 12 Dec 2013 17:02:20 +0000 (18:02 +0100)]
refactor pool_calc_duchanges a bit

No functual changes.

10 years agofix double-free if the number of languages is reduced to zero
Michael Schroeder [Tue, 10 Dec 2013 15:15:38 +0000 (16:15 +0100)]
fix double-free if the number of languages is reduced to zero

10 years agoadd appdata2solv.c
Michael Schroeder [Mon, 9 Dec 2013 13:32:04 +0000 (14:32 +0100)]
add appdata2solv.c

10 years agoenable appdata support for suse
Michael Schroeder [Mon, 9 Dec 2013 10:54:13 +0000 (11:54 +0100)]
enable appdata support for suse

10 years agosolv example: add autopackages on SUSE systems
Michael Schroeder [Fri, 6 Dec 2013 14:36:11 +0000 (15:36 +0100)]
solv example: add autopackages on SUSE systems

10 years agoimplement lock-stepping for infarch packages in implicitobsoleteusescolors mode
Michael Schroeder [Wed, 4 Dec 2013 17:41:42 +0000 (18:41 +0100)]
implement lock-stepping for infarch packages in implicitobsoleteusescolors mode

Makeing the infarch rules weak when implicitobsoleteusescolors is set
is too simplistic, lets hope that the lock-step approach is good enough.

10 years agoadd changes, bump VERSION
Michael Schroeder [Tue, 3 Dec 2013 13:34:26 +0000 (14:34 +0100)]
add changes, bump VERSION

10 years agosupport appdata parsing in tools, support SUSE auto-pattern generation
Michael Schroeder [Tue, 3 Dec 2013 12:17:39 +0000 (13:17 +0100)]
support appdata parsing in tools, support SUSE auto-pattern generation

10 years agopysolv: more python3 adaptions
Michael Schroeder [Fri, 22 Nov 2013 10:25:04 +0000 (11:25 +0100)]
pysolv: more python3 adaptions

10 years agosupport DELTA_LOCATION_BASE for completeness...
Michael Schroeder [Thu, 21 Nov 2013 12:56:26 +0000 (13:56 +0100)]
support DELTA_LOCATION_BASE for completeness...

10 years agotweak python version detection, add Datamatch.binary()
Michael Schroeder [Wed, 20 Nov 2013 11:58:09 +0000 (12:58 +0100)]
tweak python version detection, add Datamatch.binary()

Also no longer misuse swig's cdata typemap.

10 years agofix Chksum.add() method also for perl/ruby
Michael Schroeder [Tue, 19 Nov 2013 15:54:21 +0000 (16:54 +0100)]
fix Chksum.add() method also for perl/ruby

10 years agoport to python3
Michael Schroeder [Tue, 19 Nov 2013 15:18:41 +0000 (16:18 +0100)]
port to python3

11 years agotweak findproblemrule heuristic for conflicts
Michael Schroeder [Mon, 18 Nov 2013 18:00:18 +0000 (19:00 +0100)]
tweak findproblemrule heuristic for conflicts

Return conflict instead of requires if one of the required package
conflicts with an installed package.

11 years agorename repo_find_pubkeys to repo_find_all_pubkeys, add repo_find_pubkey
Michael Schroeder [Mon, 18 Nov 2013 13:47:43 +0000 (14:47 +0100)]
rename repo_find_pubkeys to repo_find_all_pubkeys, add repo_find_pubkey

11 years agosplit repo_find_pubkeys from repo_verify_sigdata
Michael Schroeder [Mon, 18 Nov 2013 10:31:05 +0000 (11:31 +0100)]
split repo_find_pubkeys from repo_verify_sigdata

11 years agoCreate a real type for a checksum handle
Michael Schroeder [Thu, 14 Nov 2013 15:35:09 +0000 (16:35 +0100)]
Create a real type for a checksum handle

Should be completely compatible, as the handle
was of type "void *" before.

11 years agoMerge pull request #39 from andreas-schwab/master
Michael Schroeder [Tue, 12 Nov 2013 11:48:37 +0000 (03:48 -0800)]
Merge pull request #39 from andreas-schwab/master

Add m68k architecture

11 years agoAdd m68k architecture
Andreas Schwab [Mon, 11 Nov 2013 15:50:21 +0000 (16:50 +0100)]
Add m68k architecture

11 years agoMerge pull request #38 from k0da/master
Michael Schroeder [Wed, 6 Nov 2013 12:01:11 +0000 (04:01 -0800)]
Merge pull request #38 from k0da/master

Add ppc64le architecture

11 years agoAdd ppc64le architecture
Dinar Valeev [Tue, 5 Nov 2013 22:03:19 +0000 (23:03 +0100)]
Add ppc64le architecture

This commit adds PowerPC64 Little Endian architecture

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
11 years agodo not rewrite the command line repo
Michael Schroeder [Thu, 31 Oct 2013 12:58:12 +0000 (13:58 +0100)]
do not rewrite the command line repo

11 years agosolv example: always internalize the "installed" repo, support '-i' option
Michael Schroeder [Thu, 31 Oct 2013 12:52:09 +0000 (13:52 +0100)]
solv example: always internalize the "installed" repo, support '-i' option

11 years agomake keyid of master key available in subkeys
Michael Schroeder [Wed, 30 Oct 2013 12:08:07 +0000 (13:08 +0100)]
make keyid of master key available in subkeys

11 years agosolvsig_verify: error out early if the checksum is finished
Michael Schroeder [Wed, 30 Oct 2013 11:51:42 +0000 (12:51 +0100)]
solvsig_verify: error out early if the checksum is finished

11 years agobindings: sig verification only works with ENABLE_PGPVRFY
Michael Schroeder [Tue, 29 Oct 2013 16:01:03 +0000 (17:01 +0100)]
bindings: sig verification only works with ENABLE_PGPVRFY

11 years agoplug weakrulemap memory map if the solver gets re-run
Michael Schroeder [Tue, 29 Oct 2013 15:05:24 +0000 (16:05 +0100)]
plug weakrulemap memory map if the solver gets re-run

11 years agosupport signature verification in bindings
Michael Schroeder [Tue, 29 Oct 2013 14:18:52 +0000 (15:18 +0100)]
support signature verification in bindings

11 years agorepo_add_keydir: put flags last (as with the other repo_add calls)
Michael Schroeder [Tue, 29 Oct 2013 14:18:22 +0000 (15:18 +0100)]
repo_add_keydir: put flags last (as with the other repo_add calls)

11 years agodelete solv_verify_sig, sort keys in verify
Michael Schroeder [Tue, 29 Oct 2013 13:05:03 +0000 (14:05 +0100)]
delete solv_verify_sig, sort keys in verify

11 years agorefactor a bit, add some comments
Michael Schroeder [Tue, 29 Oct 2013 09:55:30 +0000 (10:55 +0100)]
refactor a bit, add some comments

11 years agosupport ADD_WITH_SUBKEYS/ADD_MULTIPLE_PUBKEYS/ADD_WITH_KEYSIGNATURES
Michael Schroeder [Mon, 28 Oct 2013 18:18:37 +0000 (19:18 +0100)]
support ADD_WITH_SUBKEYS/ADD_MULTIPLE_PUBKEYS/ADD_WITH_KEYSIGNATURES

11 years agoadd repo_add_keyring() and repo_add_keydir() functions
Michael Schroeder [Mon, 28 Oct 2013 12:25:15 +0000 (13:25 +0100)]
add repo_add_keyring() and repo_add_keydir() functions

11 years agoadd repo_verify_sigdata, refactor solv_parse_sig into solvsig_create/free/verify
Michael Schroeder [Fri, 25 Oct 2013 12:43:26 +0000 (14:43 +0200)]
add repo_verify_sigdata, refactor solv_parse_sig into solvsig_create/free/verify

11 years agoterminate solvable2str() string when there is no arch
Michael Schroeder [Fri, 25 Oct 2013 12:06:21 +0000 (14:06 +0200)]
terminate solvable2str() string when there is no arch

11 years agocleanup code a bit. remove unused choice calculation in order code.
Michael Schroeder [Thu, 24 Oct 2013 12:47:39 +0000 (14:47 +0200)]
cleanup code a bit. remove unused choice calculation in order code.

11 years agocosmetic sigpkg -> sigpkt, clone the hash before finishing it
Michael Schroeder [Wed, 23 Oct 2013 11:20:49 +0000 (13:20 +0200)]
cosmetic sigpkg -> sigpkt, clone the hash before finishing it

11 years agosupport :any in testcases
Michael Schroeder [Fri, 18 Oct 2013 13:58:01 +0000 (15:58 +0200)]
support :any in testcases

11 years agosmall improvement in :any parsing
Michael Schroeder [Fri, 18 Oct 2013 10:01:39 +0000 (12:01 +0200)]
small improvement in :any parsing

11 years agosupport debian multiarch annotation
Michael Schroeder [Fri, 18 Oct 2013 09:54:07 +0000 (11:54 +0200)]
support debian multiarch annotation

11 years agosimplify packagelink code a bit
Michael Schroeder [Thu, 17 Oct 2013 15:19:16 +0000 (17:19 +0200)]
simplify packagelink code a bit

11 years agono longer ask the nscallback for pruduct buddies
Michael Schroeder [Thu, 17 Oct 2013 10:00:29 +0000 (12:00 +0200)]
no longer ask the nscallback for pruduct buddies

11 years agoremove trailing whitespace
Michael Schroeder [Wed, 16 Oct 2013 16:29:42 +0000 (18:29 +0200)]
remove trailing whitespace

11 years agoremove trailing whitespace
Michael Schroeder [Wed, 16 Oct 2013 16:29:13 +0000 (18:29 +0200)]
remove trailing whitespace

11 years agoremove trailing whitespace
Michael Schroeder [Wed, 16 Oct 2013 16:25:15 +0000 (18:25 +0200)]
remove trailing whitespace

11 years agofix a bug in the application link code
Michael Schroeder [Wed, 16 Oct 2013 16:15:53 +0000 (18:15 +0200)]
fix a bug in the application link code

11 years agoadd is_noinst_pseudo_package(), use it for filtering installs
Michael Schroeder [Wed, 16 Oct 2013 14:29:02 +0000 (16:29 +0200)]
add is_noinst_pseudo_package(), use it for filtering installs

11 years agoadd repo_autopattern (SUSE only for now)
Michael Schroeder [Wed, 16 Oct 2013 14:14:15 +0000 (16:14 +0200)]
add repo_autopattern (SUSE only for now)

11 years agomake 'solv info' work with command line packages
Michael Schroeder [Wed, 16 Oct 2013 14:13:33 +0000 (16:13 +0200)]
make 'solv info' work with command line packages

11 years agofix typo in find_pattern_link
Michael Schroeder [Wed, 16 Oct 2013 13:00:29 +0000 (15:00 +0200)]
fix typo in find_pattern_link

11 years agoadd some comments about what linked packages are
Michael Schroeder [Wed, 16 Oct 2013 10:13:46 +0000 (12:13 +0200)]
add some comments about what linked packages are

11 years agomake pattern translations also look at the linked packages
Michael Schroeder [Wed, 16 Oct 2013 10:06:07 +0000 (12:06 +0200)]
make pattern translations also look at the linked packages

11 years agorefactor most of the linked pkg code into a seperate source file
Michael Schroeder [Wed, 16 Oct 2013 09:57:50 +0000 (11:57 +0200)]
refactor most of the linked pkg code into a seperate source file

11 years agoDeprecate PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION. Fix spelling bugs.
Michael Schroeder [Tue, 15 Oct 2013 15:13:16 +0000 (17:13 +0200)]
Deprecate PRODUCT_DISTPRODUCT/PRODUCT_DISTVERSION. Fix spelling bugs.

11 years agoOnly complile "patchcheck" for SUSE systems
Michael Schroeder [Tue, 15 Oct 2013 12:17:17 +0000 (14:17 +0200)]
Only complile "patchcheck" for SUSE systems

11 years agoget rid of unused variables if ENABLE_LINKED_PKGS is not set
Michael Schroeder [Tue, 15 Oct 2013 12:13:30 +0000 (14:13 +0200)]
get rid of unused variables if ENABLE_LINKED_PKGS is not set

11 years agoadapt testcase to latest change
Michael Schroeder [Tue, 15 Oct 2013 12:10:55 +0000 (14:10 +0200)]
adapt testcase to latest change

11 years agoFix obsoletes handling in multiversion mode (hopefully for the last time)
Michael Schroeder [Tue, 15 Oct 2013 11:57:58 +0000 (13:57 +0200)]
Fix obsoletes handling in multiversion mode (hopefully for the last time)

Seems like rpm does not really obsolete packages in multiversion mode,
but instead reports a conflict.