36 Commits

Author SHA256 Message Date
Petr Tesařík
042596b4f9 Accepting request 1238017 from home:petesarik:branches:Kernel:tools
- Update to version 0.6.8+git3.d2200ec:
  * Update to latest dependencies, except the pathfinding crate
    (https://github.com/openSUSE/rapidquilt/issues/35).

OBS-URL: https://build.opensuse.org/request/show/1238017
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=38
2025-01-15 09:52:33 +00:00
Petr Tesařík
14d42b6475 Accepting request 1237913 from home:petesarik:branches:Kernel:tools
- Update to version 0.6.8+git1.e0eb32e:
  * diagnostics: Fix analysis output with empty lines

OBS-URL: https://build.opensuse.org/request/show/1237913
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=37
2025-01-14 19:01:24 +00:00
Petr Tesařík
dcd0496ce5 Accepting request 1237827 from home:petesarik:branches:Kernel:tools
- Update to version 0.6.8:
  * Print a warning when suspicious patch content is found.
  * Speed up patch failure analysis.
  * Improve analysis output for colour-blind people.
  * A lot of cleanup.

OBS-URL: https://build.opensuse.org/request/show/1237827
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=36
2025-01-14 13:51:56 +00:00
8842c9a93d Accepting request 1236224 from home:petesarik:branches:Kernel:tools
- Update to version 0.6.7
  * Move from `failure` to `thiserror` and `anyhow`.
  * Move from `atty` to `std::io::IsTerminal`
  * Fixed issues: #24, #31, #32

OBS-URL: https://build.opensuse.org/request/show/1236224
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=35
2025-01-09 16:41:45 +00:00
64ae6d62eb fix build with rust 1.80
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=34
2024-08-15 06:56:17 +00:00
Petr Tesařík
d3e2c73917 - Update to version 0.6.6+git0.166185f:
* Increase version to 0.6.6
  * Add a test case for patching read-only files

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=33
2022-12-02 15:03:46 +00:00
de1970bb9e - Update to version 0.6.5+git24.181d5b0:
* Preserve file permission for rollback and backup files
  * Store original file permissions for all files
  * Check file permissions in quilt_metadata test case
  * Open source file only once in quilt_metadata test
  * apply/parallel: use question mark operator where possible
  * Avoid the need of try_blocks
  * Fix clippy performance warnings
  * Fix unnecessary parentheses warning
  * diagnostics: Ignore spaces when searching for matching lines
  * diagnostics: return type can be inferred for dijkstra successors
  * diagnostics: Allocate a sufficiently large vector for step costs
  * diagnostics: Prefer matches that are close to the target line
  * diagnostics: Do not attempt to access file lines after EOF
  * diagnostics: Do not underflow starting file line number
  * diagnostics: Use a simpler algorithm to find matching lines
  * Store failure analysis in a String
  * diagnostics: Use failure::Error instead of io::Error
  * Improve handling of worker thread errors
  * Mention compatibility with Rust 1.54 in changelog
  * Do not use IntErrorKind
  * parser: Remove destructuring assignments again
- Remove upstreamed patches
  - rapidquilt-no-destructuring-assignments.patch
  - rapidquilt-no-IntErrorKind.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=32
2022-12-02 13:40:43 +00:00
Petr Tesařík
d21b15c96b Fix build on SLE12 SP5.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=31
2022-05-13 13:42:27 +00:00
Petr Tesařík
047684f1a0 - Fix build for Rust 1.54:
* rapidquilt-no-destructuring-assignments.patch
  * rapidquilt-no-IntErrorKind.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=30
2022-05-13 13:38:58 +00:00
Petr Tesařík
b2e9eb0d85 - Release 0.6.5
* Rewrite the parser and improve its performance by approx. 15 %.

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=29
2022-05-13 13:00:11 +00:00
Petr Tesařík
3f751f87ba - Release 0.6.4
* New command-line option: `--threads`
  * Implement tests for `rapidquilt push`
  * Do not panic if a file is truncated and the new name is bogus
  * If running single-threaded, exit with an error if the last
    patch does not apply.

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=28
2022-04-25 11:28:53 +00:00
Petr Tesařík
93e268a832 - Remove build compatibility with SLE12-SP2.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=27
2022-03-10 12:15:01 +00:00
Petr Tesařík
61e8dcbae4 - Fix BuildRequires: rapidquilt-0.6.3 requires rust >= 1.42.0.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=26
2021-02-25 08:41:41 +00:00
Petr Tesařík
1ca61df1c8 Accepting request 874929 from home:ptesarik:branches:Kernel:tools
- Release 0.6.3
  * Fix hangs on more than two rejections
  * Update crates

OBS-URL: https://build.opensuse.org/request/show/874929
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=25
2021-02-24 20:49:05 +00:00
Petr Tesařík
f1a8d4bd97 Remove debugging output.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=24
2020-06-22 22:25:12 +00:00
Petr Tesařík
cfd4c72bfe Add terminating newline to macro definitions.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=23
2020-06-22 22:17:12 +00:00
Petr Tesařík
d6c9353042 Fix unquoted '%' in macro definition.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=22
2020-06-22 21:58:10 +00:00
Petr Tesařík
0aa5768d52 Save and restore all automake files that might be overwritten by rpm.
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=21
2020-06-18 12:21:32 +00:00
Petr Tesařík
985069f92b Check cargo version instead of help string to choose whether
option --no-track should be used. This is required, because
the option was marked unstable in 1.36.0 and did not work.

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=20
2020-06-18 10:27:21 +00:00
Petr Tesařík
6d76cace09 Use cargo install --no-track if available
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=19
2020-06-18 10:03:24 +00:00
Petr Tesařík
42b0905599 - Release 0.6.2
* Fix parsing of lines that look like start of a hunk, but are in
    fact part of the initial comment

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=18
2020-01-30 08:34:07 +00:00
Petr Tesařík
56ee109e68 Add missing rapidquilt-0.6.1.tar.gz
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=17
2019-08-30 07:14:25 +00:00
Petr Tesařík
a75af514d1 - Release 0.6.1
* Fix hangs on failure
  * Fix --dry-run

OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=16
2019-08-30 07:14:00 +00:00
Michal Srb
f9ea0d71ca Accepting request 682518 from home:michalsrb:branches:Kernel:tools
- Release 0.6.0
  * Major speedup and simplification of the implementation
- Updated URL and Source to openSUSE's GitHub because the
  repository moved there.

OBS-URL: https://build.opensuse.org/request/show/682518
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=14
2019-03-07 15:30:32 +00:00
Michal Srb
cda2ee78c2 Accepting request 681671 from home:michalsrb:branches:Kernel:tools
- Release 0.5.6
  * Fix incorrect warning about Windows-style end of lines

OBS-URL: https://build.opensuse.org/request/show/681671
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=13
2019-03-05 10:22:59 +00:00
Michal Srb
611c2fa80a Accepting request 680162 from home:michalsrb:branches:Kernel:tools
- Release 0.5.5
  * Fix race condition when deleting empty directories
  * Use jemalloc allocator (it was default until Rust 1.32.0,
    performs lot better in multi-threaded use)
- Removed 0001-Default-to-the-new-filename-when-none-exists.patch

OBS-URL: https://build.opensuse.org/request/show/680162
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=12
2019-02-28 15:48:08 +00:00
b89ff8abb2 Accepting request 677326 from home:michalsrb:branches:Kernel:tools
- Release 0.5.4
  * Support for `-p` and `-R` patch options in series file.
  * Fuzz > 0 now behaves lot more like patch.
  * Multiple bugfixes
- Removed obsolete 0001-Fix-build-with-rustc-1.31.0.patch
- 0001-Default-to-the-new-filename-when-none-exists.patch
  * Small but important fix, not yet in released version

OBS-URL: https://build.opensuse.org/request/show/677326
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=11
2019-02-20 15:59:44 +00:00
Michal Srb
3f41253fe9 Accepting request 673405 from home:michalsrb:branches:Kernel:tools
- Release 0.5.3
  * Support for running analyses while patching.
  * Added MultiApply analysis that warns when hunk could apply to
    more than one location.
  * Fixed two kinds of panic when rolling-back failed patches.
  * More information is shown when patch fails to apply.
- 0001-Fix-build-with-rustc-1.31.0.patch
  * Fix build with rustc 1.31.0

OBS-URL: https://build.opensuse.org/request/show/673405
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=10
2019-02-11 15:52:00 +00:00
4299ec4f89 Accepting request 668336 from home:michalsrb:branches:Kernel:tools
- Release 0.5.1
  * Fix detection of misordered hunks
  * More changes for better compatibility with patch
  * Added --verbose, --quiet and --version parameters
- Remove _service file and use the latest released version instead
  * The development tempo has slowed down and more people are now
    using rapidquilt in production. Lets build the latest release
    instead of git master.

OBS-URL: https://build.opensuse.org/request/show/668336
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=9
2019-01-24 16:57:08 +00:00
Michal Srb
98aa0dfa9a Accepting request 667797 from home:ptesarik:branches:Kernel:tools
Fix build on aarch64 and ppc64le

OBS-URL: https://build.opensuse.org/request/show/667797
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=7
2019-01-22 14:16:24 +00:00
Petr Tesařík
37c20b9240 Fix build for SLE12 SP2 and earlier
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=6
2019-01-21 09:04:29 +00:00
Michal Srb
abdd649863 Accepting request 666763 from home:michalsrb:rapidquilt
- Release 0.5.0
  * Support for patches that change file permissions
  * Use the same logic as patch does when choosing which file to patch
  * Behave same as patch in various cornercases
- Run tests in %check phase

OBS-URL: https://build.opensuse.org/request/show/666763
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=5
2019-01-17 15:26:06 +00:00
Michal Srb
44e08587f9 Accepting request 665313 from home:michalsrb:rapidquilt
- Release 0.4.3
  * Faster patch parsing
  * Support quoted filenames

OBS-URL: https://build.opensuse.org/request/show/665313
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=4
2019-01-13 16:14:38 +00:00
fe2e694087 Accepting request 663317 from home:michalsrb:rapidquilt
- Release 0.4.2
  * Improved error and application failure reporting
  * Empty directories are deleted after deleting files

OBS-URL: https://build.opensuse.org/request/show/663317
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=3
2019-01-07 10:48:37 +00:00
90b6f528d0 Accepting request 662094 from home:michalsrb:rapidquilt
- Release 0.4.0
  * Support for file-renaming patches

OBS-URL: https://build.opensuse.org/request/show/662094
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=2
2018-12-31 14:31:22 +00:00
cee4f85876 Accepting request 660332 from home:michalsrb:rapidquilt
Add rapidquilt package.

OBS-URL: https://build.opensuse.org/request/show/660332
OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/rapidquilt?expand=0&rev=1
2018-12-20 16:01:39 +00:00