Michael Schroeder
d19e3bcdcf
Remove more dead code
2024-02-14 10:31:33 +01:00
Michael Schroeder
35ff8dcac7
Also fulfill the update rule if we did a "special updater" update
2024-02-14 10:24:47 +01:00
Michael Schroeder
40ac28e8e8
Always use PyObject_Call as suggested by Jan Kolarik
...
PyObject_Call is available since python 2.2
2024-02-13 16:33:48 +01:00
Michael Schroeder
e0d0438e5c
fix last commit
...
Swig is weird.
2024-02-13 16:13:52 +01:00
Michael Schroeder
34b7a4edca
Replace deprecated PyEval_CallObject will PyObject_Call when build for python >= 3.0
...
Fixes issue #551
2024-02-13 16:05:50 +01:00
Michael Schroeder
600aa2b96d
Add testcase for issue #550
2024-02-13 15:26:28 +01:00
Michael Schroeder
bbd1801748
Handle installed packages in three passes
...
Fixes issue #550
2024-02-13 15:25:47 +01:00
Michael Schroeder
4c7ce06528
Move special updaters handling into its own function
2024-02-13 14:46:07 +01:00
Michael Schroeder
553c69b514
resolve_installed: remove dead code
...
Since we simplified our dup handling the update rules always
start with the installed package.
2024-02-13 12:43:50 +01:00
Michael Schroeder
f171207cd3
Bring python singlespec nearer to the documentation
2024-02-06 15:01:11 +01:00
Michael Schroeder
c1593c930b
Get rid of a couple of time_t uses
...
We are using our 'unsigned long long' numeric data type anyway
later on.
2024-02-06 14:09:15 +01:00
Michael Schroeder
c8dbb3a77c
Add changes, bump version to 0.7.28
0.7.28
2024-01-26 11:36:15 +01:00
Michael Schroeder
f7a378972e
Add 'make clean' in singlespec build
...
This seems to be unneeded as the Makefile written by cmake
automatically detects that it needs to rebuild if a different
python version is used. But just be be on the safe side...
2024-01-26 11:34:01 +01:00
Michael Schroeder
719a36869c
Merge pull request #542 from bluca/typos
...
Fix various typos found by Lintian
2024-01-26 11:15:43 +01:00
Michael Schroeder
e693614f42
Get rid of cmake warning
2024-01-25 16:20:28 +01:00
Michael Schroeder
08569627bb
Build for multiple python versions for SUSE
2024-01-25 14:36:03 +01:00
Michael Schroeder
94536ca4e7
Merge pull request #546 from jonashaag/patch-1
...
Disable choice rules for Conda
2023-12-11 12:31:20 +01:00
Jonas Haag
07b2655e12
Disable choice rules for Conda
2023-12-02 12:21:51 +01:00
Luca Boccassi
33e9b8d75a
Fix various typos found by Lintian
2023-11-26 12:55:42 +00:00
Michael Schroeder
0caa2edb94
Add changes, bump version to 0.7.27
0.7.27
2023-11-23 15:14:11 +01:00
Michael Schroeder
2373713eaa
Further optimize dirpool caching in repo_write
...
This halves the time to convert the rawhide/Everything repo.
2023-11-23 15:08:02 +01:00
Michael Schroeder
34f018f724
Add license blurb to findfileconflicts tool
...
Like with all the other tools...
2023-11-23 14:40:04 +01:00
Michael Schroeder
e1822814d5
installcheck: use solver_problemruleinfo2str()
2023-11-23 13:26:48 +01:00
Michael Schroeder
aabd639a8f
No longer use legacy problem types in installcheck
...
No functual changes.
2023-11-23 13:03:31 +01:00
Michael Schroeder
ae08a512da
Rewrite strlen_comp so that it no longer has its own list of compression types
2023-11-23 12:54:53 +01:00
Michael Schroeder
777960e55e
Merge pull request #544 from Vogtinator/zst
...
installcheck: Support .zst files and fix .lzma
2023-11-23 12:43:52 +01:00
Fabian Vogt
3d6e070416
installcheck: Support .zst files and fix .lzma
2023-11-23 11:13:09 +01:00
Michael Schroeder
23cbed3219
repo_write: add a small cache for putinowndirpool()
...
This helps a lot with diskusage data or filelists.
2023-11-08 13:53:11 +01:00
Michael Schroeder
48c9853751
Add changes, bump version to 0.7.26
0.7.26
2023-11-07 12:47:36 +01:00
Michael Schroeder
fb6ed7f96c
repo_rpmdb.c: Do not use deprecated headerUnload with newer rpm versions
...
We check the definition of RPM_MASK_TYPE to find out it rpm is
new enough.
2023-11-07 11:54:09 +01:00
Michael Schroeder
d301f84316
Fix evr roundtrip
...
Remove the "0:" stripping from the evr in testcase_read. Messing
with the evr is not our business, we need to reproduce the data
as faithful as possible.
2023-09-27 17:24:34 +02:00
Michael Schroeder
f1be8bf3dc
Add changes, bump version to 0.7.25
0.7.25
2023-09-14 14:18:10 +02:00
Michael Schroeder
1f0e7b46f4
Support rich deps in SOLVABLE_PREREQ_IGNOREINST
2023-09-12 13:14:17 +02:00
Michael Schroeder
4edf4e62db
Do not minimize from an installed to an uninstalled package when checking recommends
...
Also prune to installed packages (or their update candidates)
when doing extra reordering, i.e. when the update roles are
not yet resolved.
Fixes issue #539
2023-09-06 14:10:17 +02:00
Michael Schroeder
86717630b7
repo_conda: overwrite the package subdir with the info subdir if there is a conflict
...
This is what classic conda does, so we also need to do it.
Fixes issue #529
2023-07-21 13:53:46 +02:00
Michael Schroeder
296f854b7a
Save memory in repo_updateinfoxml by not interleaving repo_addflexarray calls
...
Mixing repo_addflexarray calls will make the code moving the arrays
in the idarraydata all the time as it cannot append to the arrays.
So first collect the array contents of the collection flexarray and
then add it in one go.
This is based on pull request #533 by Aleš Matěj <amatej@redhat.com >.
2023-07-20 11:50:00 +02:00
Michael Schroeder
2fc0cb31a2
Clean up header files
...
Move type declarations of Repo/Repodata/Solvable into pooltypes.h.
2023-05-22 10:28:01 +02:00
Michael Schroeder
cfefa27f93
Merge pull request #530 from AntoinePrv/fix-header
...
Fix incomplete headers
2023-05-22 10:07:03 +02:00
Michael Schroeder
2c85ed5814
choice rules: also do solver_choicerulecheck for package downgrades
...
Fixes issue #514
2023-05-19 15:17:53 +02:00
AntoinePrv
9169e25bb2
Fix incomplete headers
2023-05-03 14:59:23 +02:00
Michael Schroeder
5dc4f81fda
Only disable infarch rules on erase if the package was in lock-step
...
Fiexes issue #528
2023-04-21 16:15:10 +02:00
Michael Schroeder
634371f143
Allow to break arch lock-step on erase operations
...
We allow it if SOLVER_SETARCH is (auto-)set in the erase job.
2023-04-19 13:09:10 +02:00
Michael Schroeder
fd326d72a1
Add 'feature complex_deps' to ifelse_rec.t testcase
2023-04-19 09:50:58 +02:00
Michael Schroeder
47734e26d6
Add testcase for last commit
2023-04-18 12:36:40 +02:00
Michael Schroeder
1edb35a3bd
Treat condition both as positive and negative literal in pool_add_pos_literals_complex_dep
...
That's because (A IF B ELSE C) gets rewritten to (A OR ~B) AND (C OR B) and
(A UNLESS B ELSE C) gets rewritten to (A AND ~B) OR (C AND B). In both
cases we have A, B, ~B, C.
This resolves issue #527
2023-04-18 11:57:50 +02:00
Michael Schroeder
4d05dca397
Add changes, bump version to 0.7.24
0.7.24
2023-04-13 16:10:14 +02:00
Michael Schroeder
72f729a8bc
Add back findutils requires for libsolv-tools
...
It was deleted by accident in commit 755462c2b0 .
2023-04-13 16:10:13 +02:00
Michael Schroeder
36215192ae
Merge pull request #520 from ffontaine/master
...
Fix build without C++
2023-02-23 10:59:41 +01:00
Michael Schroeder
67aaf74844
Merge pull request #521 from AntoinePrv/headers
...
Fix conda headers
2023-02-15 12:46:49 +01:00
AntoinePrv
031a6a7590
fix: header extern C and guard
2023-02-15 12:08:49 +01:00