7 Commits

Author SHA256 Message Date
f5ae5e3dc3 Accepting request 1311246 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1311246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=83
2025-10-14 16:09:16 +00:00
b019403fd3 Bumping package version so that it builds on current Tumbleweed. Also had to add some dependencies and account for some binaries being renamed/introduced (see changes to spec file). I've also updated _service file so it takes into account we're on version 2.12.
- Update to version 2.12.0+git.20251010.334b9acf:
  * clangincludegraph: Take makefile paths from MakefilePass (#392)
  * hints: Fix special hint files not being updated (#391)
  * clangincludegraph: Hide the "subordinate" pass from stats (#390)
  * tests: Enforce the multiprocessing forkserver method (#389)
  * Support for LLVM 22 (#373)
  * makefile,cppmap: Configure file patterns in config; skip other passes (#388)
  * passes: Specify params directly to constructor (#387)
  * hints: Reland "Sort hints in all passes" (#386)
  * hints, test_manager: Sanitize and randomize file names (#383)
  * hints: Implement hint subtraction (#384)
  * tests: Add another possible output into test_cvise (#382)
  * Revert "hints: Sort hints in all passes (#378)" (#385)
  * hints: Sort hints in all passes (#378)
  * cli: Stats sort passes by duration too (#381)
  * hints: Add debug printing for PerTypeHintState (#376)
  * signals: Increase timeout in tests (#379)
  * multifile: Print file&dir count in logs (#380)
  * interleaving: Skip states that are subsets of successes (#377)
  * multifile: MakefilePass removes targets (#375)
  * ClexHints: Optimize the Flex scanner for performance (#374)
  * multifile: Encode file paths in vocab in Python code (#371)
  * interleaving: Don't restart passes that only produce special hints (#370)
  * tree-sitter: Delete package-lock.json distrib files (#372)
  * ClangIncludeGraph: Parallelize pass initialization (#369)
  * hints: Use tuples, make frozen and comparable (#368)
  * ClangIncludeGraph: Support Clang Header Modules (#367)
  * Fix Lines to delete last unfinished block in a file (#366)
  * multifile: Fix Clex rm-toks crash on unended comments (#365)
  * multifile: Fix wrong paths in Lines; more robust path handling (#364)
  * multifile: MakefilePass: Fix parsing of args with quotes (#363)
  * multifile: Enable RmUnusedFilesPass in the config (#361)
  * hints: Fix error in advance() when there're only special hints (#362)
  * multifile: Introduce ClangIncludeGraph heuristic (#355)
  * multifile: Assume all Makefiles to be used (#360)
  * multifile: Introduce RmUnusedFiles pass (#359)
  * test_manager: Giveup is per pass, not for whole category (#357)
  * multifile: Enable MakefilePass (#358)
  * multifile: Lines pass processes all files at once (#352)
  * Bump to 2.12.0 (cherry-pick from v2.12.0-release) (#356)
  * multifile: Support caching (#354)
  * multifile: Forbid interestingness script inside test case (#353)
  * hints: Add Makefile heuristic (#341)
  * multifile: Create @fileref in ClangModuleMap (#350)
  * multifile: Fix rm-toks trying to del spaces across files (#348)
  * Observe signals in event loop via future instead of timeout (#347)
  * multifile: Add support to Blank pass (#349)
  * Bump LLVM version in CI to 21 (#242)
  * multifile: Add support to Balanced pass (#351)
  * Fix occasional log spam from signal handlers (#345)
  * cache: Store in temp files; use hashes; limit per LRU (#344)
  * interleaving: Make fair round-robin pass scheduling (#346)
  * multiprocessing: Only do Pebble workaround when needed (#343)
  * hint: Optimize byte ops in i/o and patch applying (#338)
  * hints: Use msgspec structs as optimization  (#339)
  * hints: Introduce "special" hint types (#336)
  * multifile: Add support to Clex::rm-toks pass (#337)
  * hints: Allow a pass to consume hints from another pass (#335)
  * hints: Passes declare output hint types (#334)
  * multiprocessing: Workaround for hung Pebble jobs (#329)
  * subprocesses: Make PID queue robuster to signals (#333)
  * multifile: Add Clang .modulemap heuristic (#331)
  * Fix flaky test_test_manager: wait for mgr shutdown (#332)
  * subprocesses: Kill via PID queue more often (#311)
  * Add timeouts for pass initialization jobs (#330)
  * multiprocessing: Track worker processes and their children (#325)
  * hotkeys: Fix garbled terminal on unclean exit; refactor (#328)
  * multiprocessing: Use forkserver in all tests (#326)
  * multiprocessing: Stop all jobs before doing pool.__exit__ (#327)
  * subprocesses: Signals don't interrupt child spawn (#324)
  * tests: Run pytest tests in parallel (#309)
  * Reland "test_cvise: Use specific worker count (#317)"
  * Fix signals not being retried (#321)
  * subprocesses: Fix spinning after terminating child (#319)
  * tree-sitter: Import 0.25.8 (#318)
  * Revert "test_cvise: Use specific worker count (#317)" (#320)
  * test_cvise: Use specific worker count (#317)
  * multiprocessing: Fix signal recursion in tests (#316)
  * multiprocessing: Don't create pool many times (#297)
  * Use forkserver multiprocessing mode (#305)
  * subprocesses: Strengthen termination (#310)
  * test_cvise: Use a shorter TMPDIR (#308)
  * multifile: Add support to Tree-sitter pass (#315)
  * multiprocessing: Quickly exit worker on signal outside job (#307)
  * logging: Fix breakage when worker logs an exception (#314)
  * Fix colordiff exception (#313)
  * test_manager: Undo unconditional logging
  * multifile: Introduce support into CLI, test_manager, passes (#301)
  * test_manager: Replace files atomically when committing (#304)
  * tree-sitter: Always link statically (#306)
  * Terminate subprocess on exception; robuster PID queue (#303)
  * Gracefully clean up on SIGTERM (#302)
  * test_cvise: Use temp dir instead of in-tree files (#299)
  * test_manager: Refactor chdir asa context manager (#300)
  * multifile: Don't mkdir parents excessively (#298)
  * logging: Collect logs in main process, prune canceled jobs (#295)
  * Fix flakiness in test_cvise.py - trailing line break (#296)
  * multifile: Add support to Lines pass (#294)
  * multifile: Add support to Comments pass (#293)
  * multifile: Implement support in the hint format (#291)
  * interleaving: Choose candidate by size (and other criteria) (#292)
  * Optimize input copying: offload to workers; skip for hint passes (#290)
  * Refactor code to use pathlib for paths (#289)
  * interleaving: Improve fold success rate by banning failures (#287)
  * Make State objects immutable and hashable (#286)
  * tree-sitter: Add RemoveFunction pass (#281)
  * clang_delta: Skip non-dep typedefs in replace-dependent-typedef (#276)
  * tree-sitter: Add EraseNamespace pass (#280)
  * clang_delta: Add tests for replace-dependent-typedef (#275)
  * test_manager: Make extra dir errors non-fatal (#283)
  * Stats show size improvement for each pass (#279)
  * tree-sitter, tree-sitter-cpp: Don't install into system location (#285)
  * hints: Migrate Balanced pass (#277)
  * hints: Use msgspec for faster [de]serialization (#272)
  * clangbinarysearch: Fix TypeError due to byte-str mixup (#273)
  * tree-sitter: Add ReplaceFunctionDefWithDecl pass (#278)
  * interleaving: Reinit finished passes once in a while (#274)
  * cli: Add missing newline after the file name log (#282)
  * hints: Migrate clex::rm-toks pass (#263)
  * tree-sitter-cpp: Build rule (#270)
  * tree-sitter: Build rule (#268)
  * tree-sitter-cpp: Import 0.23.4 (#269)
  * test_manager: Rewind to earliest unfinished on committing (#271)
  * tree-sitter: Import 0.20.8 (#267)
  * test_manager: Tolerate non-UTF-8 in interestingness test (#265)
  * interleaving: Concurrently execute advance_on_success (#261)
  * hints: More informative logs from ClangHints (#264)
  * interleaving: Track timeouts for each pass separately (#258)
  * test_manager: Decouple process_done_futures and job checks (#257)
  * test_manager: Don't override Pebble sleep unit (#266)
  * Override child processes' temp dir (#262)
  * pytype: Check in CI (#251)
  * cli: Send file name log to intended output (#256)
  * pytype: Fix findings (#250)
  * Fix .sh and folding temp files not cleared on exception (#252)
  * interleaving: Fix round-robin order (#253)
  * test_manager: Fix exception on job timeout (#255)
  * interleaving: Report succeeded pass(es) (#247)
  * hints: Add preamble to the bundle file (#246)
  * interleaving: Enable by default (#249)
  * interleaving: Implement folding of multiple discoveries (#245)
  * Support non UTF-8 inputs (#244)
  * test_manager: Proceed on any success, not necessarily the first (#243)
  * test_manager: Know whether pass category is interleaving (#241)
  * interleaving: Support applying multiple hint bundles (#239)
  * test_manager: Further decouple job scheduling (#240)
  * interleaving: Run all Pass.new() concurrently (#238)
  * test_manager: Refactor task loop (#237)
  * clangbinarysearch: Store C++ standard version in state (#236)
  * test_manager: Introduce job type (#235)
  * lines: Fix lines not being removed with arg=None (#234)
  * hints: Fix 't' incorrect place for Blank pass and in Schema (#232)
  * Rename license file to LICENSE. (#233)
  * clang_delta: Use real timeout for old&new passes (#229)
  * hints: Migrate comments pass (#227)
  * Refactor pass runtime state in test manager (#214)
  * hints: Fix type annotations (#231)
  * Refactor arg passing for Pass.advance_on_success() (#228)
  * hints: Debug logging of the state object (#230)
  * hints: Migrate blank pass (#226)
  * lines: Configure Flex to use fast scanning mode (#222)
  * lines: Don't generate hints for whitespace-only blocks (#223)
  * CI: Don't cancel jobs for the master branch (#216)
  * Add SHARE_DIR_SUFFIX variable (#224)
  * hints: Introduce hint type; run independent binsrch per type (#219)
  * hints: Migrate clang_delta ReplaceFunctionDefWithDecl (#210)
  * Add a variable for local tools directory. (#220)
  * hints: Support text replacement patches (#209)
  * Revert "Allow the search for cvise script in the top-level directory. (#215)" (#217)
  * hints: Add bundle class (#208)
  * Allow the search for cvise script in the top-level directory. (#215)
  * passes: Ensure max_transforms is initialized (#213)
  * cli: Don't close stderr (#211)
  * Stop using check_sanity for passes (#212)
  * interleaving: Add support into pass group JSON config (#207)
  * hints: Add ClangHintsPass with RemoveUnusedFunction (#203)
  * Refactor pass category logic of pass group config (#205)
  * hints: Migrate clang_delta logic for RemoveUnusedFunction (#202)
  * Fix --stopping-threshold checked too rarely (#204)
  * Switch to os.path.abspath() instead of os.path.realpath() when searching for external binaries. This is sometimes needed due to the symlinks created by build systems. (#206)
  * hints: Add CLI for applying hints to input (#201)
  * interleaving: Manager can run different passes simultaneously (#199)
  * hints: Support loading uncompressed hint files (#200)
  * Abort active jobs when there's an exception (#197)
  * Add missing headers (#198)
  * Refactor job management in TestManager (#195)
  * Lines: refactor tests for readability (#194)
  * Improve Lines: only remove exactly at given depth (#192)
  * hints: Migrate lines pass (#191)
  * hints: Switch to the zstandard library for compression (#193)
  * hints: Migrate line_markers pass (#186)
  * Add more generic tests for the Lines pass (#187)
  * hints: Skeleton class for hint-based pass (#182)
  * CI: Allow manual trigger of Github Actions (#190)
  * Rename cvise driver to cvise-cli.py to differentiate between the driver and the package. (#189)
  * Refactor line_marker tests (#188)
  * hints: Implement storage (#181)
  * Add support for LLVM 21 as of 2025.06.24 (#183)
  * Address review comment.
  * Add [project] clause to pyproject.toml to improve automated tooling support.
  * hints: Introduce basic hint (text deletion) format & helpers (#175)
  * Refactor arg passing for Pass.new() (#180)
  * CI: Assume Python 3.8 in Ruff (#176)
  * Fix Python 3.8 incompat in lines.py (#177)
  * CI: Stop testing LLVM 17 (#179)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=194
2025-10-13 21:08:46 +00:00
f8afff47ee Accepting request 1274690 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1274690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=82
2025-05-06 14:41:11 +00:00
Martin Liška
64438954fc Bumping package version so that it builds on current Tumbleweed.
- Update to version 2.11.0+git.20250403.0875824
  * Bump LLVM version in CI (#170)
  * Trim leading/trailing spaces after topformflat (#165)
  * Fix hang when buggy (unaltered) OK comes after STOP (#162)
  * Add tests for LinesPass (#164)
  * Add basic tests for TestManager (#160)
  * Fix unclosed file in is_readable_file (#161)
  * Delete assert of exitcode in TestManager (#158)
  * Port to latest LLVM 20 (drop LLVM 14 and older) (#154)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=192
2025-05-05 19:11:01 +00:00
655d153973 Accepting request 1223158 from devel:tools
- Update to version 2.11.0+git.20241110.d89a535:
  * Bump to 2.11.0
  * CI: make default LLVM version 19
  * Remove unneeded LLVM layout workaround
  * Add -Wno-error=deprecated-declarations (#151)
  * Fix CI for LLVM nightly
  * Add note that the project is seeking for maintainers
  * Use Process::kill instead of terminate function.
  * Port to LLVM 20 (#149)

OBS-URL: https://build.opensuse.org/request/show/1223158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cvise?expand=0&rev=81
2024-11-11 12:44:46 +00:00
Martin Liška
6c275ae4ad Add missing file.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=190
2024-11-10 10:13:07 +00:00
Martin Liška
72efc5c59e - Update to version 2.11.0+git.20241110.d89a535:
* Bump to 2.11.0
  * CI: make default LLVM version 19
  * Remove unneeded LLVM layout workaround
  * Add -Wno-error=deprecated-declarations (#151)
  * Fix CI for LLVM nightly
  * Add note that the project is seeking for maintainers
  * Use Process::kill instead of terminate function.
  * Port to LLVM 20 (#149)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/cvise?expand=0&rev=189
2024-11-10 10:06:08 +00:00
6 changed files with 254 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">cvise</param>
<param name="versionformat">2.10.0+git.%cd.%h</param>
<param name="versionformat">2.12.0+git.%cd.%h</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/marxin/cvise</param>
<param name="changesrevision">7d0ebf0df1d827f6e2646c5bf2c11707952af418</param></service></servicedata>
<param name="changesrevision">334b9acf369e3d877842c2ed2f4d51bc318c372d</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51a85a84d825be8cdfdc705b510f4f25c700eac263201eefa068305ec2eac934
size 201436

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a5138812a392fd1fac32d55638df55a986cdbdd22721d9e9e3f31c858e1785a
size 1273232

View File

@@ -1,3 +1,238 @@
-------------------------------------------------------------------
Fri Oct 10 15:08:26 UTC 2025 - Filip Kastl <filip.kastl@suse.com>
- Update to version 2.12.0+git.20251010.334b9acf:
* clangincludegraph: Take makefile paths from MakefilePass (#392)
* hints: Fix special hint files not being updated (#391)
* clangincludegraph: Hide the "subordinate" pass from stats (#390)
* tests: Enforce the multiprocessing forkserver method (#389)
* Support for LLVM 22 (#373)
* makefile,cppmap: Configure file patterns in config; skip other passes (#388)
* passes: Specify params directly to constructor (#387)
* hints: Reland "Sort hints in all passes" (#386)
* hints, test_manager: Sanitize and randomize file names (#383)
* hints: Implement hint subtraction (#384)
* tests: Add another possible output into test_cvise (#382)
* Revert "hints: Sort hints in all passes (#378)" (#385)
* hints: Sort hints in all passes (#378)
* cli: Stats sort passes by duration too (#381)
* hints: Add debug printing for PerTypeHintState (#376)
* signals: Increase timeout in tests (#379)
* multifile: Print file&dir count in logs (#380)
* interleaving: Skip states that are subsets of successes (#377)
* multifile: MakefilePass removes targets (#375)
* ClexHints: Optimize the Flex scanner for performance (#374)
* multifile: Encode file paths in vocab in Python code (#371)
* interleaving: Don't restart passes that only produce special hints (#370)
* tree-sitter: Delete package-lock.json distrib files (#372)
* ClangIncludeGraph: Parallelize pass initialization (#369)
* hints: Use tuples, make frozen and comparable (#368)
* ClangIncludeGraph: Support Clang Header Modules (#367)
* Fix Lines to delete last unfinished block in a file (#366)
* multifile: Fix Clex rm-toks crash on unended comments (#365)
* multifile: Fix wrong paths in Lines; more robust path handling (#364)
* multifile: MakefilePass: Fix parsing of args with quotes (#363)
* multifile: Enable RmUnusedFilesPass in the config (#361)
* hints: Fix error in advance() when there're only special hints (#362)
* multifile: Introduce ClangIncludeGraph heuristic (#355)
* multifile: Assume all Makefiles to be used (#360)
* multifile: Introduce RmUnusedFiles pass (#359)
* test_manager: Giveup is per pass, not for whole category (#357)
* multifile: Enable MakefilePass (#358)
* multifile: Lines pass processes all files at once (#352)
* Bump to 2.12.0 (cherry-pick from v2.12.0-release) (#356)
* multifile: Support caching (#354)
* multifile: Forbid interestingness script inside test case (#353)
* hints: Add Makefile heuristic (#341)
* multifile: Create @fileref in ClangModuleMap (#350)
* multifile: Fix rm-toks trying to del spaces across files (#348)
* Observe signals in event loop via future instead of timeout (#347)
* multifile: Add support to Blank pass (#349)
* Bump LLVM version in CI to 21 (#242)
* multifile: Add support to Balanced pass (#351)
* Fix occasional log spam from signal handlers (#345)
* cache: Store in temp files; use hashes; limit per LRU (#344)
* interleaving: Make fair round-robin pass scheduling (#346)
* multiprocessing: Only do Pebble workaround when needed (#343)
* hint: Optimize byte ops in i/o and patch applying (#338)
* hints: Use msgspec structs as optimization (#339)
* hints: Introduce "special" hint types (#336)
* multifile: Add support to Clex::rm-toks pass (#337)
* hints: Allow a pass to consume hints from another pass (#335)
* hints: Passes declare output hint types (#334)
* multiprocessing: Workaround for hung Pebble jobs (#329)
* subprocesses: Make PID queue robuster to signals (#333)
* multifile: Add Clang .modulemap heuristic (#331)
* Fix flaky test_test_manager: wait for mgr shutdown (#332)
* subprocesses: Kill via PID queue more often (#311)
* Add timeouts for pass initialization jobs (#330)
* multiprocessing: Track worker processes and their children (#325)
* hotkeys: Fix garbled terminal on unclean exit; refactor (#328)
* multiprocessing: Use forkserver in all tests (#326)
* multiprocessing: Stop all jobs before doing pool.__exit__ (#327)
* subprocesses: Signals don't interrupt child spawn (#324)
* tests: Run pytest tests in parallel (#309)
* Reland "test_cvise: Use specific worker count (#317)"
* Fix signals not being retried (#321)
* subprocesses: Fix spinning after terminating child (#319)
* tree-sitter: Import 0.25.8 (#318)
* Revert "test_cvise: Use specific worker count (#317)" (#320)
* test_cvise: Use specific worker count (#317)
* multiprocessing: Fix signal recursion in tests (#316)
* multiprocessing: Don't create pool many times (#297)
* Use forkserver multiprocessing mode (#305)
* subprocesses: Strengthen termination (#310)
* test_cvise: Use a shorter TMPDIR (#308)
* multifile: Add support to Tree-sitter pass (#315)
* multiprocessing: Quickly exit worker on signal outside job (#307)
* logging: Fix breakage when worker logs an exception (#314)
* Fix colordiff exception (#313)
* test_manager: Undo unconditional logging
* multifile: Introduce support into CLI, test_manager, passes (#301)
* test_manager: Replace files atomically when committing (#304)
* tree-sitter: Always link statically (#306)
* Terminate subprocess on exception; robuster PID queue (#303)
* Gracefully clean up on SIGTERM (#302)
* test_cvise: Use temp dir instead of in-tree files (#299)
* test_manager: Refactor chdir asa context manager (#300)
* multifile: Don't mkdir parents excessively (#298)
* logging: Collect logs in main process, prune canceled jobs (#295)
* Fix flakiness in test_cvise.py - trailing line break (#296)
* multifile: Add support to Lines pass (#294)
* multifile: Add support to Comments pass (#293)
* multifile: Implement support in the hint format (#291)
* interleaving: Choose candidate by size (and other criteria) (#292)
* Optimize input copying: offload to workers; skip for hint passes (#290)
* Refactor code to use pathlib for paths (#289)
* interleaving: Improve fold success rate by banning failures (#287)
* Make State objects immutable and hashable (#286)
* tree-sitter: Add RemoveFunction pass (#281)
* clang_delta: Skip non-dep typedefs in replace-dependent-typedef (#276)
* tree-sitter: Add EraseNamespace pass (#280)
* clang_delta: Add tests for replace-dependent-typedef (#275)
* test_manager: Make extra dir errors non-fatal (#283)
* Stats show size improvement for each pass (#279)
* tree-sitter, tree-sitter-cpp: Don't install into system location (#285)
* hints: Migrate Balanced pass (#277)
* hints: Use msgspec for faster [de]serialization (#272)
* clangbinarysearch: Fix TypeError due to byte-str mixup (#273)
* tree-sitter: Add ReplaceFunctionDefWithDecl pass (#278)
* interleaving: Reinit finished passes once in a while (#274)
* cli: Add missing newline after the file name log (#282)
* hints: Migrate clex::rm-toks pass (#263)
* tree-sitter-cpp: Build rule (#270)
* tree-sitter: Build rule (#268)
* tree-sitter-cpp: Import 0.23.4 (#269)
* test_manager: Rewind to earliest unfinished on committing (#271)
* tree-sitter: Import 0.20.8 (#267)
* test_manager: Tolerate non-UTF-8 in interestingness test (#265)
* interleaving: Concurrently execute advance_on_success (#261)
* hints: More informative logs from ClangHints (#264)
* interleaving: Track timeouts for each pass separately (#258)
* test_manager: Decouple process_done_futures and job checks (#257)
* test_manager: Don't override Pebble sleep unit (#266)
* Override child processes' temp dir (#262)
* pytype: Check in CI (#251)
* cli: Send file name log to intended output (#256)
* pytype: Fix findings (#250)
* Fix .sh and folding temp files not cleared on exception (#252)
* interleaving: Fix round-robin order (#253)
* test_manager: Fix exception on job timeout (#255)
* interleaving: Report succeeded pass(es) (#247)
* hints: Add preamble to the bundle file (#246)
* interleaving: Enable by default (#249)
* interleaving: Implement folding of multiple discoveries (#245)
* Support non UTF-8 inputs (#244)
* test_manager: Proceed on any success, not necessarily the first (#243)
* test_manager: Know whether pass category is interleaving (#241)
* interleaving: Support applying multiple hint bundles (#239)
* test_manager: Further decouple job scheduling (#240)
* interleaving: Run all Pass.new() concurrently (#238)
* test_manager: Refactor task loop (#237)
* clangbinarysearch: Store C++ standard version in state (#236)
* test_manager: Introduce job type (#235)
* lines: Fix lines not being removed with arg=None (#234)
* hints: Fix 't' incorrect place for Blank pass and in Schema (#232)
* Rename license file to LICENSE. (#233)
* clang_delta: Use real timeout for old&new passes (#229)
* hints: Migrate comments pass (#227)
* Refactor pass runtime state in test manager (#214)
* hints: Fix type annotations (#231)
* Refactor arg passing for Pass.advance_on_success() (#228)
* hints: Debug logging of the state object (#230)
* hints: Migrate blank pass (#226)
* lines: Configure Flex to use fast scanning mode (#222)
* lines: Don't generate hints for whitespace-only blocks (#223)
* CI: Don't cancel jobs for the master branch (#216)
* Add SHARE_DIR_SUFFIX variable (#224)
* hints: Introduce hint type; run independent binsrch per type (#219)
* hints: Migrate clang_delta ReplaceFunctionDefWithDecl (#210)
* Add a variable for local tools directory. (#220)
* hints: Support text replacement patches (#209)
* Revert "Allow the search for cvise script in the top-level directory. (#215)" (#217)
* hints: Add bundle class (#208)
* Allow the search for cvise script in the top-level directory. (#215)
* passes: Ensure max_transforms is initialized (#213)
* cli: Don't close stderr (#211)
* Stop using check_sanity for passes (#212)
* interleaving: Add support into pass group JSON config (#207)
* hints: Add ClangHintsPass with RemoveUnusedFunction (#203)
* Refactor pass category logic of pass group config (#205)
* hints: Migrate clang_delta logic for RemoveUnusedFunction (#202)
* Fix --stopping-threshold checked too rarely (#204)
* Switch to os.path.abspath() instead of os.path.realpath() when searching for external binaries. This is sometimes needed due to the symlinks created by build systems. (#206)
* hints: Add CLI for applying hints to input (#201)
* interleaving: Manager can run different passes simultaneously (#199)
* hints: Support loading uncompressed hint files (#200)
* Abort active jobs when there's an exception (#197)
* Add missing headers (#198)
* Refactor job management in TestManager (#195)
* Lines: refactor tests for readability (#194)
* Improve Lines: only remove exactly at given depth (#192)
* hints: Migrate lines pass (#191)
* hints: Switch to the zstandard library for compression (#193)
* hints: Migrate line_markers pass (#186)
* Add more generic tests for the Lines pass (#187)
* hints: Skeleton class for hint-based pass (#182)
* CI: Allow manual trigger of Github Actions (#190)
* Rename cvise driver to cvise-cli.py to differentiate between the driver and the package. (#189)
* Refactor line_marker tests (#188)
* hints: Implement storage (#181)
* Add support for LLVM 21 as of 2025.06.24 (#183)
* Address review comment.
* Add [project] clause to pyproject.toml to improve automated tooling support.
* hints: Introduce basic hint (text deletion) format & helpers (#175)
* Refactor arg passing for Pass.new() (#180)
* CI: Assume Python 3.8 in Ruff (#176)
* Fix Python 3.8 incompat in lines.py (#177)
* CI: Stop testing LLVM 17 (#179)
-------------------------------------------------------------------
Fri May 2 12:27:30 UTC 2025 - Filip Kastl <filip.kastl@suse.com>
- Update to version 2.11.0+git.20250403.0875824
* Bump LLVM version in CI (#170)
* Trim leading/trailing spaces after topformflat (#165)
* Fix hang when buggy (unaltered) OK comes after STOP (#162)
* Add tests for LinesPass (#164)
* Add basic tests for TestManager (#160)
* Fix unclosed file in is_readable_file (#161)
* Delete assert of exitcode in TestManager (#158)
* Port to latest LLVM 20 (drop LLVM 14 and older) (#154)
-------------------------------------------------------------------
Sun Nov 10 10:01:10 UTC 2024 - martin.liska@hey.com
- Update to version 2.11.0+git.20241110.d89a535:
* Bump to 2.11.0
* CI: make default LLVM version 19
* Remove unneeded LLVM layout workaround
* Add -Wno-error=deprecated-declarations (#151)
* Fix CI for LLVM nightly
* Add note that the project is seeking for maintainers
* Use Process::kill instead of terminate function.
* Port to LLVM 20 (#149)
-------------------------------------------------------------------
Wed Aug 14 08:26:17 UTC 2024 - martin.liska@hey.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package cvise
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: cvise
Version: 2.10.0+git.20240814.7d0ebf0
Version: 2.12.0+git.20251010.334b9acf
Release: 0
Summary: Super-parallel Python port of the C-Reduce
License: BSD-3-Clause
@@ -39,8 +39,14 @@ BuildRequires: ncurses-devel
BuildRequires: python3 >= 3.8
BuildRequires: python3-Pebble
BuildRequires: python3-chardet
BuildRequires: python3-jsonschema
BuildRequires: python3-msgspec
BuildRequires: python3-psutil
BuildRequires: python3-pytest
BuildRequires: python3-pytest-mock
BuildRequires: python3-pytest-subprocess
BuildRequires: python3-pytest-xdist
BuildRequires: python3-zstandard
BuildRequires: unifdef
Requires: astyle
Requires: clang
@@ -49,7 +55,9 @@ Requires: indent
Requires: llvm
Requires: python3-Pebble
Requires: python3-chardet
Requires: python3-msgspec
Requires: python3-psutil
Requires: python3-zstandard
Requires: unifdef
%description
@@ -87,15 +95,16 @@ pytest -v .
%cmake_install
%files
%license COPYING
%license LICENSE
%{_bindir}/cvise
%{_bindir}/cvise-delta
%dir %{_libexecdir}/cvise
%{_libexecdir}/cvise/clex
%{_libexecdir}/cvise/clang_delta
%{_libexecdir}/cvise/clex
%{_libexecdir}/cvise/strlex
%{_libexecdir}/cvise/topformflat
%{_libexecdir}/cvise/topformflat_hints
%{_libexecdir}/cvise/clang_include_graph
%{_libexecdir}/cvise/treesitter_delta
%{_datadir}/cvise
%changelog