107 Commits

Author SHA256 Message Date
b9d5fa038c - Backport another fix for adding controls to installonlypkgs
+ Patch: 0001-context-Fix-dnf_package_is_installonly-RhBug-1928056.patch

- Add patch to move directory for dnf state data to /usr/lib/sysimage
 + Patch: libdnf-0.58.0-Use-usr-lib-sysimage-for-the-persistent-state-dir.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=57
2021-02-13 17:24:22 +00:00
f66c3c1fe9 - Backport fixes to add controls for installonlypkgs and protected_packages
+ Patch: 0001-context-Support-config-file-option-installonlypkgs.patch
  + Patch: 0002-context-Support-config-file-option-protected_package.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=56
2021-02-12 13:54:09 +00:00
a0857b1256 Accepting request 868790 from system:packagemanager:dnf
- Update to version 0.58.0
  + Option: Add reset() method
  + Add OptionBinds::getOption() method
  + [context] Add dnf_repo_conf_from_gkeyfile() and dnf_repo_conf_reset()
  + [context] Add support for options: minrate, throttle, bandwidth, timeout
  + [context] Remove g_key_file_get_string() from dnf_repo_set_keyfile_data()
  + Allow loading ext metadata even if only cache (solv) is present
  + Add ASAN_OPTIONS for test_libdnf_main
  + [context,API] Functions for accessing main/global configuration options
  + [context,API] Function for adding setopt
  + Add getter for modular obsoletes from ModuleMetadata
  + Add ModulePackage.getStaticContext() and getRequires()
  + Add compatible layer for MdDocuments v2
  + Fix modular queries with the new solver
  + Improve formatting of error string for modules
  + Change mechanism of module conflicts
  + Fix load/update FailSafe
- Drop patch included in this release
  + Patch: 0001-context-Sync-missing-arches-from-DNF.patch

OBS-URL: https://build.opensuse.org/request/show/868790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=22
2021-02-07 14:16:30 +00:00
1f7237d215 - Update to version 0.58.0
+ Option: Add reset() method
  + Add OptionBinds::getOption() method
  + [context] Add dnf_repo_conf_from_gkeyfile() and dnf_repo_conf_reset()
  + [context] Add support for options: minrate, throttle, bandwidth, timeout
  + [context] Remove g_key_file_get_string() from dnf_repo_set_keyfile_data()
  + Allow loading ext metadata even if only cache (solv) is present
  + Add ASAN_OPTIONS for test_libdnf_main
  + [context,API] Functions for accessing main/global configuration options
  + [context,API] Function for adding setopt
  + Add getter for modular obsoletes from ModuleMetadata
  + Add ModulePackage.getStaticContext() and getRequires()
  + Add compatible layer for MdDocuments v2
  + Fix modular queries with the new solver
  + Improve formatting of error string for modules
  + Change mechanism of module conflicts
  + Fix load/update FailSafe
- Drop patch included in this release
  + Patch: 0001-context-Sync-missing-arches-from-DNF.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=54
2021-02-03 01:55:29 +00:00
e0103bf298 Accepting request 860158 from system:packagemanager:dnf
- Add patch to support armv6hl and RISC-V architectures
  + Patch: 0001-context-Sync-missing-arches-from-DNF.patch

OBS-URL: https://build.opensuse.org/request/show/860158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=21
2021-01-08 16:32:21 +00:00
6244cfbefe - Add patch to support armv6hl and RISC-V architectures
+ Patch: 0001-context-Sync-missing-arches-from-DNF.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=52
2021-01-04 11:50:37 +00:00
246f2022e8 Accepting request 853401 from system:packagemanager:dnf
- Update to version 0.55.2
  + Improve performance of query installed() and available()
  + Swdb: Add a method to get the current transaction
  + [modules] Add special handling for src artifacts (rh#1809314)
  + Better msgs if "basecachedir" or "proxy_password" isn't set (rh#1888946)
  + Add new options module_stream_switch
  + Support allow_vendor_change setting in dnf context API
- Drop patches incorporated into this release
  + Patch: 0001-Support-allow_vendor_change-setting-in-dnf-context-A.patch
  + Patch: 0001-context-dnf_keyring_add_public_keys-not-generate-err.patch
- Use cmake_build and cmake_install macros

OBS-URL: https://build.opensuse.org/request/show/853401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=20
2020-12-09 21:10:57 +00:00
a80cbcd5d5 - Update to version 0.55.2
+ Improve performance of query installed() and available()
  + Swdb: Add a method to get the current transaction
  + [modules] Add special handling for src artifacts (rh#1809314)
  + Better msgs if "basecachedir" or "proxy_password" isn't set (rh#1888946)
  + Add new options module_stream_switch
  + Support allow_vendor_change setting in dnf context API
- Drop patches incorporated into this release
  + Patch: 0001-Support-allow_vendor_change-setting-in-dnf-context-A.patch
  + Patch: 0001-context-dnf_keyring_add_public_keys-not-generate-err.patch
- Use cmake_build and cmake_install macros

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=50
2020-12-06 15:25:36 +00:00
969662ed5d Accepting request 851721 from system:packagemanager:dnf
- Update to version 0.55.0
  + Add vendor to dnf API (rh#1876561)
  + Add formatting function for solver error
  + Add error types in ModulePackageContainer
  + Implement module enable for context part
  + Improve string formatting for translation
  + Remove redundant printf and change logging info to notice (rh#1827424)
  + Add allow_vendor_change option (rh#1788371) (rh#1788371)
- Backport patches from upstream
  + Patch: 0001-Support-allow_vendor_change-setting-in-dnf-context-A.patch
  + Patch: 0001-context-dnf_keyring_add_public_keys-not-generate-err.patch
- Add patch to turn off changing vendors by default
  + Patch: libdnf-0.55.0-Switch-allow_vendor_change-off.patch

OBS-URL: https://build.opensuse.org/request/show/851721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=19
2020-12-02 12:57:18 +00:00
84702c84bb - Add patch to turn off changing vendors by default
+ Patch: libdnf-0.55.0-Switch-allow_vendor_change-off.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=48
2020-11-29 23:49:18 +00:00
e80647aa17 - Update to version 0.55.0
+ Add vendor to dnf API (rh#1876561)
  + Add formatting function for solver error
  + Add error types in ModulePackageContainer
  + Implement module enable for context part
  + Improve string formatting for translation
  + Remove redundant printf and change logging info to notice (rh#1827424)
  + Add allow_vendor_change option (rh#1788371) (rh#1788371)
- Backport patches from upstream
  + Patch: 0001-Support-allow_vendor_change-setting-in-dnf-context-A.patch
  + Patch: 0001-context-dnf_keyring_add_public_keys-not-generate-err.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=47
2020-11-29 23:24:39 +00:00
6144dcd7cc Accepting request 843802 from system:packagemanager:dnf
- Update to version 0.54.2
  + history: Fix dnf history rollback when a package was removed (rh#1683134)
  + Add support for HY_GT, HY_LT in query nevra_strict
  + Fix parsing empty lines in config files
  + Accept '==' as an operator in reldeps (rh#1847946)
  + Add log file level main config option (rh#1802074)
  + Add protect_running_kernel configuration option (rh#1698145)
  + Context part of libdnf cannot assume zchunk is on (rh#1851841, rh#1779104)
  + Fix memory leak of resultingModuleIndex and handle g_object refs
  + Redirect librepo logs to libdnf logs with different source
  + Add hy_goal_lock
  + Enum/String conversions for Transaction Store/Replay
  + utils: Add a method to decode URLs
  + Unify hawkey.log line format with the rest of the logs
- Drop patches included in this release
  + Patch: 0001-tests-Fix-incorrect-usage-of-the-fail_unless-macro.patch
- Refresh patch for reposdir paths
  + Remove patch: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
  + Add patch: libdnf-0.54.2-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/request/show/843802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=18
2020-10-28 08:58:21 +00:00
fd9b29ac35 - Update to version 0.54.2
+ history: Fix dnf history rollback when a package was removed (rh#1683134)
  + Add support for HY_GT, HY_LT in query nevra_strict
  + Fix parsing empty lines in config files
  + Accept '==' as an operator in reldeps (rh#1847946)
  + Add log file level main config option (rh#1802074)
  + Add protect_running_kernel configuration option (rh#1698145)
  + Context part of libdnf cannot assume zchunk is on (rh#1851841, rh#1779104)
  + Fix memory leak of resultingModuleIndex and handle g_object refs
  + Redirect librepo logs to libdnf logs with different source
  + Add hy_goal_lock
  + Enum/String conversions for Transaction Store/Replay
  + utils: Add a method to decode URLs
  + Unify hawkey.log line format with the rest of the logs
- Drop patches included in this release
  + Patch: 0001-tests-Fix-incorrect-usage-of-the-fail_unless-macro.patch
- Refresh patch for reposdir paths
  + Remove patch: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
  + Add patch: libdnf-0.54.2-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=45
2020-10-24 16:49:42 +00:00
65b37ad8ac Accepting request 828393 from system:packagemanager:dnf
- Backport fix from upstream to fix building against check >= 0.15
  + Patch: 0001-tests-Fix-incorrect-usage-of-the-fail_unless-macro.patch
- Clean up spec comments about patches

OBS-URL: https://build.opensuse.org/request/show/828393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=17
2020-08-23 07:21:10 +00:00
b34300cc48 - Backport fix from upstream to fix building against check >= 0.15
+ Patch: 0001-tests-Fix-incorrect-usage-of-the-fail-unless-macro.patch
- Clean up spec comments about patches

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=43
2020-08-21 08:12:12 +00:00
8c804dae1a Accepting request 819222 from system:packagemanager:dnf
- Update to version 0.48.0
  + Add prereq_ignoreinst & regular_requires properties for pkg (rh#1543449)
  + Reset active modules when no module enabled or default (rh#1767351)
  + Add comment option to transaction (rh#1773679)
  + Failing to get module defauls is a recoverable error
  + Baseurl is not exclusive with mirrorlist/metalink (rh#1775184)
  + Add new function to reset all modules in C API (dnf_context_reset_all_modules)
  + [context] Fix to preserve additionalMetadata content (rh#1808677)
  + Fix filtering of DepSolvables with source rpms (rh#1812596)
  + Add setter for running kernel protection setting
  + Handle situation when an unprivileged user cannot create history database (rh#1634385)
  + Add query filter: latest by priority
  + Add DNF_NO_PROTECTED flag to allow empty list of protected packages
  + Remove 'dim' option from terminal colors to make them more readable (rh#1807774, rh#1814563)
  + [context] Error when main config file can't be opened (rh#1794864)
  + [context] Add function function dnf_context_is_set_config_file_path
  + swdb: Catch only SQLite3 exceptions and simplify the messages
  + MergedTransaction list multiple comments (rh#1773679)
  + Modify CMake to pull *.po files from weblate
  + Optimize DependencyContainer creation from an existing queue
  + fix a memory leak in dnf_package_get_requires()
  + Fix memory leaks on g_build_filename()
  + Fix memory leak in dnf_context_setup()
  + Add `hy_goal_favor` and `hy_goal_disfavor`
  + Define a cleanup function for `DnfPackageSet`
  + dnf-repo: fix dnf_repo_get_public_keys double-free
  + Do not cache RPMDB
  + Use single-quotes around string literals used in SQL statements
  + SQLite3: Do not close the database if it wasn't opened (rh#1761976)
  + Don't create a new history DB connection for in-memory DB
  + transaction/Swdb: Use a single logger variable in constructor
  + utils: Add a safe version of pathExists()
  + swdb: Handle the case when pathExists() fails on e.g. permission
  + Repo: prepend "file://" if a local path is used as baseurl
  + Move urlEncode() to utils
  + utils: Add 'exclude' argument to urlEncode()
  + Encode package URL for downloading through librepo (rh#1817130)
  + Replace std::runtime_error with libdnf::RepoError
  + Fixes and error handling improvements of the File class
  + [context] Use ConfigRepo for gpgkey and baseurl (rh#1807864)
  + [context] support "priority" option in .repo config file (rh#1797265)
- Drop obsolete patch: libdnf-0.45.0-handle-all-rpmdb-variants.patch
- Refresh patch for static linking libsolvext
  + Remove patch: libdnf-0.39.1-with-static-libsolvext.patch
  + Add patch: libdnf-0.48.0-with-static-libsolvext.patch

OBS-URL: https://build.opensuse.org/request/show/819222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=16
2020-07-15 09:23:11 +00:00
a5bea012b8 - Update to version 0.48.0
+ Add prereq_ignoreinst & regular_requires properties for pkg (rh#1543449)
  + Reset active modules when no module enabled or default (rh#1767351)
  + Add comment option to transaction (rh#1773679)
  + Failing to get module defauls is a recoverable error
  + Baseurl is not exclusive with mirrorlist/metalink (rh#1775184)
  + Add new function to reset all modules in C API (dnf_context_reset_all_modules)
  + [context] Fix to preserve additionalMetadata content (rh#1808677)
  + Fix filtering of DepSolvables with source rpms (rh#1812596)
  + Add setter for running kernel protection setting
  + Handle situation when an unprivileged user cannot create history database (rh#1634385)
  + Add query filter: latest by priority
  + Add DNF_NO_PROTECTED flag to allow empty list of protected packages
  + Remove 'dim' option from terminal colors to make them more readable (rh#1807774, rh#1814563)
  + [context] Error when main config file can't be opened (rh#1794864)
  + [context] Add function function dnf_context_is_set_config_file_path
  + swdb: Catch only SQLite3 exceptions and simplify the messages
  + MergedTransaction list multiple comments (rh#1773679)
  + Modify CMake to pull *.po files from weblate
  + Optimize DependencyContainer creation from an existing queue
  + fix a memory leak in dnf_package_get_requires()
  + Fix memory leaks on g_build_filename()
  + Fix memory leak in dnf_context_setup()
  + Add `hy_goal_favor` and `hy_goal_disfavor`
  + Define a cleanup function for `DnfPackageSet`
  + dnf-repo: fix dnf_repo_get_public_keys double-free
  + Do not cache RPMDB
  + Use single-quotes around string literals used in SQL statements
  + SQLite3: Do not close the database if it wasn't opened (rh#1761976)
  + Don't create a new history DB connection for in-memory DB
  + transaction/Swdb: Use a single logger variable in constructor
  + utils: Add a safe version of pathExists()
  + swdb: Handle the case when pathExists() fails on e.g. permission
  + Repo: prepend "file://" if a local path is used as baseurl
  + Move urlEncode() to utils
  + utils: Add 'exclude' argument to urlEncode()
  + Encode package URL for downloading through librepo (rh#1817130)
  + Replace std::runtime_error with libdnf::RepoError
  + Fixes and error handling improvements of the File class
  + [context] Use ConfigRepo for gpgkey and baseurl (rh#1807864)
  + [context] support "priority" option in .repo config file (rh#1797265)
- Drop obsolete patch: libdnf-0.45.0-handle-all-rpmdb-variants.patch
- Refresh patch for static linking libsolvext
  + Remove patch: libdnf-0.39.1-with-static-libsolvext.patch
  + Add patch: libdnf-0.48.0-with-static-libsolvext.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=41
2020-07-07 11:29:18 +00:00
c887628e64 Accepting request 789756 from system:packagemanager:dnf
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/789756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=15
2020-04-04 10:17:37 +00:00
9cbc53a09c Accepting request 787280 from system:packagemanager:dnf
- Add patch to support monitoring non-bdb rpmdb variants
  + Patch: libdnf-0.45.0-handle-all-rpmdb-variants.patch

OBS-URL: https://build.opensuse.org/request/show/787280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=14
2020-03-27 20:54:52 +00:00
481cef667b - Remove unused BR for gobject-introspection
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=38
2020-03-23 11:11:40 +00:00
2404d2adec - Add patch to support monitoring non-bdb rpmdb variants
+ Patch: libdnf-0.45.0-handle-all-rpmdb-variants.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=37
2020-03-22 15:24:12 +00:00
69fd8236f4 Accepting request 779941 from system:packagemanager:dnf
- Update to version 0.45.0
  + Config options: only first empty value clears existing (rh#1788154)
  + Make parsing of reldeps more strict (rh#1788107)
  + [context] Support repositories defined in main configuration file
  + Fix filtering packages by advisory when more versions and arches are available (rh#1770125)
  + Add expanding solvable provides for dependency matching (rh#1534123)
  + DnfRepo: fix module_hotfixes keyfile priority level
  + Add custom exceptions to libdnf interface
  + [conf] Set useful default colors when color is enabled
  + Port to libmodulemd-2 API (rh#1693683)

OBS-URL: https://build.opensuse.org/request/show/779941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=13
2020-02-27 15:57:41 +00:00
ace50e32f6 - Update to version 0.45.0
+ Config options: only first empty value clears existing (rh#1788154)
  + Make parsing of reldeps more strict (rh#1788107)
  + [context] Support repositories defined in main configuration file
  + Fix filtering packages by advisory when more versions and arches are available (rh#1770125)
  + Add expanding solvable provides for dependency matching (rh#1534123)
  + DnfRepo: fix module_hotfixes keyfile priority level
  + Add custom exceptions to libdnf interface
  + [conf] Set useful default colors when color is enabled
  + Port to libmodulemd-2 API (rh#1693683)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=35
2020-02-27 14:11:20 +00:00
5d7b7e3568 Accepting request 765591 from system:packagemanager:dnf
- Update to version 0.43.1
  + Allow excluding packages with "excludepkgs" and globs
  + Add two new query filters: obsoletes_by_priority, upgrades_by_priority
  + [context] Use installonly_limit from global config (rh#1256108)
  + [context] Add API to get/set "install_weak_deps"
  + [context] Add wildcard support for repo_id in dnf_context_repo_enable/disable (rh#1781420)
  + [context] Adds support for includepkgs in repository configuration.
  + [context] Adds support for excludepkgs, exclude, includepkgs, and disable_excludes in main configuration.
  + [context] Added function dnf_transaction_set_dont_solve_goal
  + [context] Added functions dnf_context_get/set_config_file_path
  + [context] Respect "plugins" global conf value
  + [context] Add API to disable/enable plugins

OBS-URL: https://build.opensuse.org/request/show/765591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=12
2020-01-19 19:57:46 +00:00
69ee3cdc6f - Update to version 0.43.1
+ Allow excluding packages with "excludepkgs" and globs
  + Add two new query filters: obsoletes_by_priority, upgrades_by_priority
  + [context] Use installonly_limit from global config (rh#1256108)
  + [context] Add API to get/set "install_weak_deps"
  + [context] Add wildcard support for repo_id in dnf_context_repo_enable/disable (rh#1781420)
  + [context] Adds support for includepkgs in repository configuration.
  + [context] Adds support for excludepkgs, exclude, includepkgs, and disable_excludes in main configuration.
  + [context] Added function dnf_transaction_set_dont_solve_goal
  + [context] Added functions dnf_context_get/set_config_file_path
  + [context] Respect "plugins" global conf value
  + [context] Add API to disable/enable plugins

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=33
2020-01-19 15:25:26 +00:00
a61e6d7252 Accepting request 752749 from system:packagemanager:dnf
- Update to version 0.39.1
  + Skip invalid key files in "/etc/pki/rpm-gpg" with warning (rh#1644040)
  + Enable timestamp preserving for downloaded data (rh#1688537)
  + Set default to skip_if_unavailable=false (rh#1679509)
  + Add configuration option skip_if_unavailable (rh#1689931)
  + Fix 'database is locked' error (rh#1631533)
  + Replace the 'Failed to synchronize cache' message (rh#1712055)
  + Fix 'no such table: main.trans_cmdline' error (rh#1596540)
  + Add support of modular FailSafe (rh#1623128) (temporarily with warnings
    instead of errors when installing modular RPMs without modular metadata)
  + Add support of DNF main config file in context; used by PackageKit and
    microdnf (rh#1689331)
  + Exit gpg-agent after repokey import (rh#1650266)
  + Don't disable nonexistent but required repositories (rh#1689331)
  + Fix toString() to not insert [] (rh#1584442)
  + Ignore trailing blank lines in config (rh#1722493)
  + Fix handling large number of filenames on input (rh#1690915)
  + Detect armv7 with crypto extension only on arm version >= 8
  + A new standardized User-Agent field consisting of the libdnf and OS version
    (including the variant) (rh#1156007)
  + Add basic countme support (rh#1647454)
  + Fix crash in PackageKit (rh#1636803)
  + Do not create @System.solv files (rh#1707995)
  + Set LRO_CACHEDIR so zchunk works again (rh#1739867)
  + Don't reinstall modified packages with the same NEVRA (rh#1644241)
  + Fix bug when moving temporary repository metadata after download (rh#1700341)
  + Improve detection of extras packages by comparing (name, arch) pair
    instead of full NEVRA (RhBuh:1684517)
  + Improve handling multilib packages in the history command (rh#1728637)
  + Repo download: use full error description into the exception text (rh#1741442)
  + Properly close hawkey.log (rh#1594016)
  + Fix dnf updateinfo --update to not list advisories for packages updatable
    only from non-enabled modules
  + Apply modular filtering by package name (rh#1702729)
  + Fully enable the modular fail safe mechanism (rh#1616167)
  + Use more descriptive message when failed to retrieve GPG key (rh#1605117)
  + Add removeMetadataTypeFromDownload function to the API
  + Context part of libdnf can now read vars (urlvars) from dirs and environment
  + Throw exception immediately if file cannot be opened
  + Add test when there is no primary metadata in compatible format (rh#1744960)
  + Don't abort on rpmdb checksum calculation failure
  + Enable module dependency trees when using set_modules_enabled_by_pkgset() (rh#1762314)
  + New method "Query::filterSubject()", replaces Solution::getBestSolution()
  + The Solution class was removed
  + Add query argument into get_best_query and get_best_solution
  + Add module reset function into dnf_context
  + Add method to get all repository metadata locations
  + Catch NoModuleException in case of not existent value was used in persistor (rh#1761773)
  + Handle NoModuleException in dnf_context_reset_modules (rh#1767453)
  + Report reason how package was excluded (rh#1649754)
  + Fix Arm detection improvements (rh#1691430)
  + Set skip_if_unavailable to true for all media repos (rh#1716067)
  + Only the pkg knows whether it is local or remote (rh#1734350, rh#1717865)
  + Don't use repo's packages as path to local pkgs (rh#1734350, rh#1717865)
- Drop patch for temporarily dropping support for module advisories
  * Patch: libdnf-0.31.0-Revert-support-for-Module-advisories.patch
- Refresh patches
  * Remove patch: libdnf-0.28.1-with-static-libsolvext.patch
  * Remove patch: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
  * Add patch: libdnf-0.39.1-with-static-libsolvext.patch
  * Add patch: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/request/show/752749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=11
2019-12-03 14:20:00 +00:00
cf41ff276b - Update to version 0.39.1
+ Skip invalid key files in "/etc/pki/rpm-gpg" with warning (rh#1644040)
  + Enable timestamp preserving for downloaded data (rh#1688537)
  + Set default to skip_if_unavailable=false (rh#1679509)
  + Add configuration option skip_if_unavailable (rh#1689931)
  + Fix 'database is locked' error (rh#1631533)
  + Replace the 'Failed to synchronize cache' message (rh#1712055)
  + Fix 'no such table: main.trans_cmdline' error (rh#1596540)
  + Add support of modular FailSafe (rh#1623128) (temporarily with warnings
    instead of errors when installing modular RPMs without modular metadata)
  + Add support of DNF main config file in context; used by PackageKit and
    microdnf (rh#1689331)
  + Exit gpg-agent after repokey import (rh#1650266)
  + Don't disable nonexistent but required repositories (rh#1689331)
  + Fix toString() to not insert [] (rh#1584442)
  + Ignore trailing blank lines in config (rh#1722493)
  + Fix handling large number of filenames on input (rh#1690915)
  + Detect armv7 with crypto extension only on arm version >= 8
  + A new standardized User-Agent field consisting of the libdnf and OS version
    (including the variant) (rh#1156007)
  + Add basic countme support (rh#1647454)
  + Fix crash in PackageKit (rh#1636803)
  + Do not create @System.solv files (rh#1707995)
  + Set LRO_CACHEDIR so zchunk works again (rh#1739867)
  + Don't reinstall modified packages with the same NEVRA (rh#1644241)
  + Fix bug when moving temporary repository metadata after download (rh#1700341)
  + Improve detection of extras packages by comparing (name, arch) pair
    instead of full NEVRA (RhBuh:1684517)
  + Improve handling multilib packages in the history command (rh#1728637)
  + Repo download: use full error description into the exception text (rh#1741442)
  + Properly close hawkey.log (rh#1594016)
  + Fix dnf updateinfo --update to not list advisories for packages updatable
    only from non-enabled modules
  + Apply modular filtering by package name (rh#1702729)
  + Fully enable the modular fail safe mechanism (rh#1616167)
  + Use more descriptive message when failed to retrieve GPG key (rh#1605117)
  + Add removeMetadataTypeFromDownload function to the API
  + Context part of libdnf can now read vars (urlvars) from dirs and environment
  + Throw exception immediately if file cannot be opened
  + Add test when there is no primary metadata in compatible format (rh#1744960)
  + Don't abort on rpmdb checksum calculation failure
  + Enable module dependency trees when using set_modules_enabled_by_pkgset() (rh#1762314)
  + New method "Query::filterSubject()", replaces Solution::getBestSolution()
  + The Solution class was removed
  + Add query argument into get_best_query and get_best_solution
  + Add module reset function into dnf_context
  + Add method to get all repository metadata locations
  + Catch NoModuleException in case of not existent value was used in persistor (rh#1761773)
  + Handle NoModuleException in dnf_context_reset_modules (rh#1767453)
  + Report reason how package was excluded (rh#1649754)
  + Fix Arm detection improvements (rh#1691430)
  + Set skip_if_unavailable to true for all media repos (rh#1716067)
  + Only the pkg knows whether it is local or remote (rh#1734350, rh#1717865)
  + Don't use repo's packages as path to local pkgs (rh#1734350, rh#1717865)
- Drop patch for temporarily dropping support for module advisories
  * Patch: libdnf-0.31.0-Revert-support-for-Module-advisories.patch
- Refresh patches
  * Remove patch: libdnf-0.28.1-with-static-libsolvext.patch
  * Remove patch: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
  * Add patch: libdnf-0.39.1-with-static-libsolvext.patch
  * Add patch: libdnf-0.39.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=31
2019-12-01 16:41:52 +00:00
9014622e3b Accepting request 702040 from system:packagemanager:dnf
- Update to version 0.33.0
  + Import subkeys when importing GPG keys (gh#projectatomic/rpm-ostree#1094)
  + [module] Fix swig binding for getModuleDependencies() (rh#1704871)
  + [module] Prevent std::string from nullptr (gh#rpm-software-management/libdnf#717)
  + Reintroduce hawkey.Repo as deprecated class

OBS-URL: https://build.opensuse.org/request/show/702040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=10
2019-05-12 09:44:37 +00:00
47cdccff2a - Update to version 0.33.0
+ Import subkeys when importing GPG keys (gh#projectatomic/rpm-ostree#1094)
  + [module] Fix swig binding for getModuleDependencies() (rh#1704871)
  + [module] Prevent std::string from nullptr (gh#rpm-software-management/libdnf#717)
  + Reintroduce hawkey.Repo as deprecated class

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=29
2019-05-10 14:46:08 +00:00
516fe76487 Accepting request 698443 from system:packagemanager:dnf
- Add patch for SLE to temporarily drop support for Module advisories
  * Patch: libdnf-0.31.0-Revert-support-for-Module-advisories.patch
- Update to version 0.31.0
  + Installroot now requires absolute path
  + Support "_none_" value for repo option "proxy" (rh#1680272)
  + Add support for Module advisories
  + Add support for xml:base attribute from primary.xml (rh#1691315)
  + Fix detection of Platform ID for modules (rh#1688462)

OBS-URL: https://build.opensuse.org/request/show/698443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=9
2019-04-28 18:12:02 +00:00
1837c28dae Fix comment in libdnf-0.31.0-Revert-support-for-Module-advisories.patch file
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=27
2019-04-26 21:02:54 +00:00
4d03447b9d - Add patch for SLE to temporarily drop support for Module advisories
* Patch: libdnf-0.31.0-Revert-support-for-Module-advisories.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=26
2019-04-26 18:55:46 +00:00
8a99dc5d1f - Update to version 0.31.0
+ Installroot now requires absolute path
  + Support "_none_" value for repo option "proxy" (rh#1680272)
  + Add support for Module advisories
  + Add support for xml:base attribute from primary.xml (rh#1691315)
  + Fix detection of Platform ID for modules (rh#1688462)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=25
2019-04-26 11:03:53 +00:00
b14f544701 Accepting request 690193 from system:packagemanager:dnf
- Update to version 0.28.1
  + Enhance modular solver to handle enabled and default module streams differently (rh#1648839)
  + Add support of wild cards for modules (rh#1644588)
  + Exclude module pkgs that have conflict
  + Enhance config parser to preserve order of data, and keep comments and format
  + Improve ARM detection
  + Add support for SHA-384
  + Return empty query if incorrect reldep (rh#1687135)
  + ConfigParser: Improve compatibility with Python ConfigParser and dnf-plugin-spacewalk (rh#1692044)
  + ConfigParser: Unify default set of string represenation of boolean values
  + Fix segfault when interrupting dnf process (rh#1610456)
- Drop backported patches that are part of this release
  * 0001-Reset-callback-to-NULL-RhBug-1637923.patch
  * 0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
  * 0003-swdb-Put-Swdb-constructors-together.patch
  * 0004-utils-Drop-empty-else-block.patch
  * 0005-transformer-Fix-minor-docstring-typo.patch
  * 0006-repo-Squash-Wmaybe-uninitialized-warning.patch
  * 0007-transaction-Consistently-use-the-same-swdb-variable.patch
  * 0008-transaction-Minor-syntax-tweak.patch
  * 0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
  * 0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
- Refresh patches
  * Remove patch: libdnf-0.24.1-with-static-libsolvext.patch
  * Remove patch: libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
  * Add patch: libdnf-0.28.1-with-static-libsolvext.patch
  * Add patch: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/request/show/690193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=8
2019-04-01 10:39:51 +00:00
d37746eedd - Update to version 0.28.1
+ Enhance modular solver to handle enabled and default module streams differently (rh#1648839)
  + Add support of wild cards for modules (rh#1644588)
  + Exclude module pkgs that have conflict
  + Enhance config parser to preserve order of data, and keep comments and format
  + Improve ARM detection
  + Add support for SHA-384
  + Return empty query if incorrect reldep (rh#1687135)
  + ConfigParser: Improve compatibility with Python ConfigParser and dnf-plugin-spacewalk (rh#1692044)
  + ConfigParser: Unify default set of string represenation of boolean values
  + Fix segfault when interrupting dnf process (rh#1610456)
- Drop backported patches that are part of this release
  * 0001-Reset-callback-to-NULL-RhBug-1637923.patch
  * 0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
  * 0003-swdb-Put-Swdb-constructors-together.patch
  * 0004-utils-Drop-empty-else-block.patch
  * 0005-transformer-Fix-minor-docstring-typo.patch
  * 0006-repo-Squash-Wmaybe-uninitialized-warning.patch
  * 0007-transaction-Consistently-use-the-same-swdb-variable.patch
  * 0008-transaction-Minor-syntax-tweak.patch
  * 0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
  * 0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
- Refresh patches
  * Remove patch: libdnf-0.24.1-with-static-libsolvext.patch
  * Remove patch: libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
  * Add patch: libdnf-0.28.1-with-static-libsolvext.patch
  * Add patch: libdnf-0.28.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=23
2019-03-31 15:32:32 +00:00
c2e21f0c98 Accepting request 679583 from system:packagemanager:dnf
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/679583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=7
2019-02-27 14:09:08 +00:00
229d96ea25 Accepting request 674418 from system:packagemanager:dnf
- Rebase to version 0.24.1
  + Add support for RH/Fedora modules
  + Add plugin support (unstable API)
  + Add zchunk support
  + Migrate from YUMDB to new SWDB
  + Rewrite into C++
- Drop Python 2 bindings
- Backport fixes from upstream eliminate various bugs
  * 0001-Reset-callback-to-NULL-RhBug-1637923.patch
  * 0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
  * 0003-swdb-Put-Swdb-constructors-together.patch
  * 0004-utils-Drop-empty-else-block.patch
  * 0005-transformer-Fix-minor-docstring-typo.patch
  * 0006-repo-Squash-Wmaybe-uninitialized-warning.patch
  * 0007-transaction-Consistently-use-the-same-swdb-variable.patch
  * 0008-transaction-Minor-syntax-tweak.patch
- Add proposed patches for improving zchunk support
  * 0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
  * 0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
- Refresh patch for linking to static libsolvext
  * Remove patch: libdnf-0.9.3-with-static-libsolvext.patch
  * Add patch: libdnf-0.24.1-with-static-libsolvext.patch
- Drop patch merged in upstream libdnf
  * 0001-Add-multiversion-kernel-as-a-recognized-installonlyp.patch
- Switch default reposdir to /etc/dnf/repos.d
  * Add patch: libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch
- Fix cmake macro pointer to source tree

OBS-URL: https://build.opensuse.org/request/show/674418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=6
2019-02-20 13:10:46 +00:00
421d2ab71f Accepting request 674457 from home:jengelh:branches:system:packagemanager:dnf
- Ensure neutrality of descriptions.
- Adjust RPM groups.

OBS-URL: https://build.opensuse.org/request/show/674457
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=20
2019-02-14 18:16:49 +00:00
5ce4498a40 - Fix cmake macro pointer to source tree
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=19
2019-02-13 08:42:10 +00:00
96abc6dd82 Note in changelog the removal of Python 2 bindings and add conflicts for old dnf
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=18
2019-02-07 07:17:14 +00:00
8ad27e250c - Switch default reposdir to /etc/dnf/repos.d
* Add patch: libdnf-0.24.1-Switch-default-reposdir-to-etc-dnf-repos.d.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=17
2019-02-07 06:27:30 +00:00
2b27674e0a - Rebase to version 0.24.1
+ Add support for RH/Fedora modules
  + Add plugin support (unstable API)
  + Add zchunk support
  + Migrate from YUMDB to new SWDB
  + Rewrite into C++
- Backport fixes from upstream eliminate various bugs
  * 0001-Reset-callback-to-NULL-RhBug-1637923.patch
  * 0002-reldep-list-Add-glib-AUTOPTR-cleanup.patch
  * 0003-swdb-Put-Swdb-constructors-together.patch
  * 0004-utils-Drop-empty-else-block.patch
  * 0005-transformer-Fix-minor-docstring-typo.patch
  * 0006-repo-Squash-Wmaybe-uninitialized-warning.patch
  * 0007-transaction-Consistently-use-the-same-swdb-variable.patch
  * 0008-transaction-Minor-syntax-tweak.patch
- Add proposed patches for improving zchunk support
  * 0101-Zchunk-configuration-flags-were-backwards-so-setting.patch
  * 0102-hy_repos-weren-t-being-filled-properly-when-using-zc.patch
- Refresh patch for linking to static libsolvext
  * Remove patch: libdnf-0.9.3-with-static-libsolvext.patch
  * Add patch: libdnf-0.24.1-with-static-libsolvext.patch
- Drop patch merged in upstream libdnf
  * 0001-Add-multiversion-kernel-as-a-recognized-installonlyp.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=16
2019-02-06 03:35:45 +00:00
11a4d7f720 Accepting request 630431 from system:packagemanager:dnf
- Refresh patch to fix building against static libsolvext
- Switch to full author identities

OBS-URL: https://build.opensuse.org/request/show/630431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=5
2018-08-20 14:21:36 +00:00
4967d49683 Add missing dep for libzstd
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=14
2018-08-20 00:10:44 +00:00
4d0192988f - Refresh patch to fix building against static libsolvext
- Switch to full author identities

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=13
2018-08-20 00:08:18 +00:00
8c26c1c1ae Accepting request 561502 from system:packagemanager:dnf
- Ensure SUSE kernel packages are recognized properly
  * New patch: 0001-Add-multiversion-kernel-as-a-recognized-installonlyp.patch

OBS-URL: https://build.opensuse.org/request/show/561502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdnf?expand=0&rev=4
2018-01-05 00:02:17 +00:00
9ccf7e397e Fix SUSE Linux GmbH line
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=11
2018-01-04 01:09:37 +00:00
13d8f46362 Oops, readd SUSE Linux GmbH line
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=10
2018-01-04 01:08:15 +00:00
2f22347a9b Drop unwanted SUSE Linux GmbH line
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=9
2018-01-04 01:03:12 +00:00
8f0db658f2 - Ensure SUSE kernel packages are recognized properly
* New patch: 0001-Add-multiversion-kernel-as-a-recognized-installonlyp.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=8
2018-01-04 00:33:56 +00:00