Revisions of libdnf

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 851721 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 19)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 843802 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 18)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 828393 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 17)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 819222 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 16)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 789756 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 15)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 787280 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 14)
- Add patch to support monitoring non-bdb rpmdb variants
  + Patch: libdnf-0.45.0-handle-all-rpmdb-variants.patch
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 779941 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 13)
- 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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 765591 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 12)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 752749 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 11)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 702040 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 10)
- 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
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 698443 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 9)
- 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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 690193 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 8)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 679583 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 7)
Automatic submission by obs-autosubmit
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 674418 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 6)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 630431 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 5)
- Refresh patch to fix building against static libsolvext
- Switch to full author identities
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 561502 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 4)
- Ensure SUSE kernel packages are recognized properly
  * New patch: 0001-Add-multiversion-kernel-as-a-recognized-installonlyp.patch
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 541513 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 3)
- Update to version 0.11.1:
  + Make NEVRA parsing stricter
  + Fix segfault with queries if epoch isn't set
  + Improve performance of queries of solvables
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 533000 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 2)
- Update to version 0.11.0:
  + Improves query performance with 'name' and 'arch' filters.
    Also 'nevra' filter will now handle string with or without
    'epoch'.
  + For Python bindings, it renames 'NEVRA._has_just_name()' to
    'NEVRA.has_just_name()' as it's now implemented in the C API.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 517041 from Neal Gompa's avatar Neal Gompa (Pharaoh_Atem) (revision 1)
Initial import of libdnf into Factory
Displaying revisions 21 - 39 of 39
openSUSE Build Service is sponsored by