55 Commits

Author SHA256 Message Date
6281cbc1f3 Accepting request 1295804 from home:AndreasStieger:gpgme
- adjust gpgme requirement for future-proofing

OBS-URL: https://build.opensuse.org/request/show/1295804
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=104
2025-07-25 16:12:23 +00:00
a5952bc60f Accepting request 1254411 from home:dancermak:branches:system:packagemanager:dnf
New upstream release 0.74.0

OBS-URL: https://build.opensuse.org/request/show/1254411
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=102
2025-03-19 13:05:47 +00:00
8ddf3e6980 Accepting request 1244409 from home:AndreasStieger:branches:system:packagemanager:dnf
libdnf 0.73.4

OBS-URL: https://build.opensuse.org/request/show/1244409
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=100
2025-02-08 21:21:58 +00:00
cafe364039 Accepting request 1198646 from home:pgajdos
- version update to 0.73.3
  * Support colon in username, use LRO_USERNAME and LRO_PASSWORD
  * Set pool flag to fix pool_addfileprovides_queue() without filelists.xml
  * Fix a memory leak in glob_for_cachedir()

OBS-URL: https://build.opensuse.org/request/show/1198646
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=98
2024-10-20 12:55:25 +00:00
c2404aeea2 Accepting request 1190487 from home:pgajdos
- version update to 0.73.2
  * context: use rpmtsAddReinstallElement() when doing a reinstall by @kontura in #1650
  * MergedTransaction: Fix invalid memory access when dropping items by @jan-kolarik in #1658
  * ConfigParser: fix use-out-of-scope leaks by @evan-goode in #1661
  * Since we use rpmtsAddReinstallElement rpm also uninstalls the package by @kontura in #1660
  * Fix countme bucket calculation by @dmnks in #1662

OBS-URL: https://build.opensuse.org/request/show/1190487
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=96
2024-08-02 07:22:10 +00:00
a82ec6aecf Accepting request 1164280 from home:pgajdos
- version update to 0.73.1
  * Bug fixes:
    - Fix https://issues.redhat.com/browse/RHEL-27657
    - subject-py: Fix memory leak
  * Others:
    - MergedTransaction: Calculate RPM difference between two same versions as no-op
    - Onboard packit tests
    - Add virtual destructor to TransactionItem

OBS-URL: https://build.opensuse.org/request/show/1164280
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=94
2024-04-03 10:47:36 +00:00
ac05cf4c2a Accepting request 1146746 from home:pgajdos
- version update to 0.73.0
  * Major changes:
  * filelists metadata not loaded by default
  * deltarpm disabled by default
  * New features:
  * conf: Introduce new optional_metadata_types option to load
    filelists on demand
  * goal: Method for detecting file dependency problems

OBS-URL: https://build.opensuse.org/request/show/1146746
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=92
2024-02-22 10:56:47 +00:00
651969220a - Update to 0.72.0
+ PGP: Use new librepo PGP API, remove gpgme dependency
  + API: Basic support for OpenPGP public keys
  + Avoid using GNU extensions in the dependency splitter regex
  + filterAdvisory: match installed_solvables sort with lower_bound (rh#2212838)
  + Make code C++20 compatible
  + Avoid reinstalling installonly packages marked for ERASE (rh#2163474)
  + transaction: Save the reason for installing (rh#1733274)
  + hawkey.subject: get_best_selectors only obsoleters of latest (rh#2183279, rh#2176263)
  + conf: Add limited shell-style variable expansion (rh#1789346)
  + conf: Add support for $releasever_major, $releasever_minor (rh#1789346)
  + repo: Don't download the repository if the local cache is up to date
  + Allow DNF to be removed by DNF 5 (rh#2221907)
  + Include dist-info for python3-libdnf
  + bindings: Load all modules with RTLD_GLOBAL
  + Update translations
- Fix RHBZ references
- Refresh patch to link with static libsolvext
  + Remove patch: libdnf-0.48.0-with-static-libsolvext.patch
  + Add patch: libdnf-0.72.0-with-static-libsolvext.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=90
2023-11-04 18:53:45 +00:00
770fbdda8d Accepting request 1101755 from home:vlefebvre:branches:system:packagemanager:dnf
Update to release 0.70.2

OBS-URL: https://build.opensuse.org/request/show/1101755
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=88
2023-08-01 14:11:07 +00:00
25900666b5 Accepting request 1089715 from home:dirkmueller:Factory
- update to 0.70.1:
  * Add repoid to solver errors for RPMs (RhBug:2179413)
  * Avoid using obsolete RPM API and drop redundant calls
  * Remove DNF from list of protected packages
- avoid bashism

OBS-URL: https://build.opensuse.org/request/show/1089715
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=86
2023-05-30 09:37:16 +00:00
85b44251f2 Accepting request 1068046 from home:AndreasStieger:branches:system:packagemanager:dnf
libdnf 0.70.0

OBS-URL: https://build.opensuse.org/request/show/1068046
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=84
2023-02-27 18:24:38 +00:00
799f90e01b Accepting request 1067635 from home:dziobian
- Precompile python bytecode (boo#1208151)

OBS-URL: https://build.opensuse.org/request/show/1067635
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=82
2023-02-24 16:43:49 +00:00
eae5131ec5 Accepting request 1011156 from home:AndreasStieger:branches:system:packagemanager:dnf
libdnf 0.69.0

OBS-URL: https://build.opensuse.org/request/show/1011156
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=80
2022-10-15 19:27:01 +00:00
d616d034ea Accepting request 974931 from home:polslinux:branches:system:packagemanager:dnf
- Update to 0.67.0:
  * Add 'loongarch' support
  * Use dnf solv userdata to check versions and checksum (rh#2027445)
  * context: Substitute all repository config options (rh#2076853)

OBS-URL: https://build.opensuse.org/request/show/974931
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=78
2022-05-04 14:37:06 +00:00
25740a8e15 - Update to 0.66.0
+ Use `rpmdbCookie` from librpm, remove `hawkey.Sack._rpmdb_version`
  + Fix handling transaction id in resolveTransactionItemReason (rh#2010259, rh#2053014)
  + Remove deprecated assertions (rh#2027383)
  + Increase required rpm version since we use `rpmdbCookie()`
  + Skip rich deps for autodetection of unmet dependencies (rh#2033130)
- Use ldconfig_scriptlets macro for ldconfig scriptlets

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=76
2022-03-27 21:27:48 +00:00
084b5b2060 - Update to 0.65.0
+ Add support for excluding packages to be installed as weak dependencies
  + Add support for autodetecting packages to be excluded from being installed as weak dependencies
  + Turn off strict validation of modulemd documents (rh#2004853, rh#2007166, rh#2007167)
  + Implement logic for demodularization of modular rpms (rh#1805260)
  + DnfContext: fix handling of default module profiles
  + ModuleMetadata: gracefully handle modules with no defaults
  + Remove failovermethod config option (rh#1961083)

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=75
2021-11-03 11:19:42 +00:00
397bcbd553 - Update to 0.63.1
+ ModuleProfile: add isDefault()
  + ModulePackage: add getDefaultProfile()
  + Add new dnf_context_module_install() C API
  + Fix a crash when [media] section in .treeinfo is missing for bootable media (rh#1946024)
  + Add hy_query_get_advisory_pkgs to C API (rh#1960561)
  + Add dnf_advisorypkg_get_advisory()
  + DNF does not fail on non UTF-8 file names in a package (rh#1893176)
  + Improve error-reporting for modular functions
- Drop patch included in this release
  + Patch: 0001-Fix-a-crash-when-repoId-not-found-in-loaded-conf-gke.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=74
2021-08-27 03:10:57 +00:00
66570b81c2 - Add patch to fix crash when loading DVD repositories
+ Patch: 0001-Fix-a-crash-when-repoId-not-found-in-loaded-conf-gke.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=72
2021-04-15 15:58:58 +00:00
8cf4c0879f - Update to 0.62.0
+ Change order of TransactionItemReason (rh#1921063)
  + Add two new comperators for security filters (rh#1918475)
  + Apply security filters for candidates with lower priority
  + Fix: Goal - translation of messages in global maps
  + Enhance description of modular solvables
  + Improve performance for module query 
  + Change mechanism of modular errata applicability (rh#1804234)
  + dnf_transaction_commit(): Remove second call to rpmtsSetVSFlags
  + Fix a couple of memory leaks
  + Fix: Setting of librepo handle in newHandle function
  + Remove failsafe data when module is not enabled (rh#1847035)
  + Expose librepo's checksum functions via SWIG
  + Fix: Mising check of "hy_split_nevra()" return code
  + Do not allow 1 as installonly_limit value (rh#1926261)
  + Fix check whether the subkey can be used for signing
  + Hardening: add signature check with rpmcliVerifySignatures 
    (CVE-2021-3445, CVE-2021-3421, CVE-2021-20271, rh#1932079, rh#1932089, rh#1932090, boo#1183779)
  + Add a config option sslverifystatus, defaults to false (rh#1814383)
  + [context] Add API for distro-sync

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=70
2021-04-13 13:29:52 +00:00
ffe3672b50 Revert disabling zypp subpackage, it's not needed
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=69
2021-03-21 14:37:59 +00:00
47da2a7359 - Disable the zypp repo config package because YaST produces
broken repository configuration by default.

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=68
2021-03-21 12:36:43 +00:00
79a8d197e5 - Fix dependency for repo-config-zypp subpackage to work with SLE
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=66
2021-03-02 13:25:21 +00:00
bbeab5ee6c - Update to 0.60.0
+ Fix repo.fresh() implementation
  + Fix: Fully set ssl in newHandle function
  + [conf] Add options for working with certificates used with proxy
  + Apply proxy certificate options
  + lock: Switch return-if-fail to assert to quiet gcc -fanalyzer
  + build-sys: Clean up message about Python bindings
  + Modify module NSVCA parsing - context definition (rh#1926771)
  + [context] Fix: dnf_package_is_installonly (rh#1928056)
  + Fix problematic language
  + Add getApplicablePackages to advisory and isApplicable to advisorymodule
  + Keep isAdvisoryApplicable to preserve API
  + Run ModulePackageContainerTest tests in tmpdir, merge interdependent
  + [context] Support config file option "proxy_auth_method", defaults "any"
  + Properly handle multiple collections in updateinfo.xml (rh#1804234)
  + Support main config file option "installonlypkgs"
  + Support main config file option "protected_packages"
- Drop patches now part of this release
  + Patch: 0001-context-Support-config-file-option-installonlypkgs.patch
  + Patch: 0002-context-Support-config-file-option-protected_package.patch
  + Patch: 0001-context-Fix-dnf_package_is_installonly-RhBug-1928056.patch
  + Patch: 0001-Fix-librepo-version-required-in-CMakeList.txt-1.12.0.patch
  + Patch: 0002-Fix-Fully-set-ssl-in-newHandle-function.patch
  + Patch: 0003-conf-Add-options-for-working-with-certificates-used-.patch
  + Patch: 0004-Apply-proxy-certificate-options.patch
  + Patch: 0001-Deduplicate-code-create-Repo-Impl-stringToProxyAuthM.patch
  + Patch: 0002-context-Support-config-file-option-proxy_auth_method.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=65
2021-03-02 04:00:22 +00:00
8b2e76d9a4 - Backport more fixes for using certs for repo authorization
+ Patch: 0001-Deduplicate-code-create-Repo-Impl-stringToProxyAuthM.patch
  + Patch: 0002-context-Support-config-file-option-proxy_auth_method.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=64
2021-02-26 14:18:22 +00:00
e1f02065d7 - Add repo-config-zypp subpackage to allow easily using Zypper
repository configuration

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=62
2021-02-25 15:53:11 +00:00
fbff9b53d4 - Backport support for using certificates for repository authorization
+ Patch: 0001-Fix-librepo-version-required-in-CMakeList.txt-1.12.0.patch
  + Patch: 0002-Fix-Fully-set-ssl-in-newHandle-function.patch
  + Patch: 0003-conf-Add-options-for-working-with-certificates-used-.patch
  + Patch: 0004-Apply-proxy-certificate-options.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/libdnf?expand=0&rev=59
2021-02-23 12:21:07 +00:00
0052c9908f - 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
14a8a68f98 - 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
0fd89cfa80 - 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
abc2147940 - 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
11f1d08a29 - 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
92e87bf833 - 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
4d2d98e1c6 - 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
c75dd59b55 - 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
64b1b1dcad - 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
c79abe19b6 - 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
5c61960c59 - 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
c6e9eab248 - 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
66ab769f1a - 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
a2b47d62cf - 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
84f51a846d - 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
7719cdbb8a - 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
fccb48c310 - 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
7f7390f535 - 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
a1ad8a8ec8 - 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
d289a768f0 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
ab564b8921 - 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
c871a1b52c 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
f3a86c61ca - 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
53531f2d26 - 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