kettle-family 1.3.48 → 1.3.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +20 -1
- data/README.md +1 -1
- data/lib/kettle/family/report.rb +55 -3
- data/lib/kettle/family/version.rb +1 -1
- data/lib/kettle/family/workflow.rb +10 -1
- data.tar.gz.sig +0 -0
- metadata +7 -7
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a1e4f4b6baca951c01b749c7c9bfb63c2a77341cb658007dfbccf92eef3c864
|
|
4
|
+
data.tar.gz: 2d6ff3898c0ab9d21a9eca28f2c8f7544edb05f4ce9c610290b8ac0d18d52474
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d57ba98a7fbd78e1425b67a0ae4864cf87b642ba4f3e70c86f8fd1eade261b4135e1680cb595f06d9450c9d41535aaf848a8941305f13cb62e66abab74cd68d4
|
|
7
|
+
data.tar.gz: cd2f3eef3b470e54b914d83d893bdcbe95567d498dcff74b68d55c2d1a8f02808e05951f47b40dd96d7ad303070d4104add285829dc96a3642a95ef3634c24fd
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,23 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [1.3.49] - 2026-11-25
|
|
34
|
+
|
|
35
|
+
- TAG: [v1.3.49][1.3.49t]
|
|
36
|
+
- COVERAGE: 94.22% -- 8704/9238 lines in 49 files
|
|
37
|
+
- BRANCH COVERAGE: 79.28% -- 3643/4595 branches in 49 files
|
|
38
|
+
- 41.76% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- release report: a failed streamed step is summarized by its root-cause Ruby error header (class and message) instead of the last output line that mentions "error", which was often a backtrace frame such as bundler/friendly_errors.rb; backtrace frames are never chosen, and known failure signatures (Bundler/RubyGems mismatch, frozen path-gem lockfile, unauthorized gem push, 1Password authorization) now attach a recommended fix
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- release: the aggregate GitHub release no longer fails with "all selected members must have the same version" when only independently versioned members (for example kettle-jem) are released; the shared-version release is taken from the family's shared cohort and the member's artifacts attach to it
|
|
47
|
+
|
|
48
|
+
- release: an independently versioned member (release.version_series.independent_members) no longer has its own changelog skipped when it rides the shared cohort; --skip-changelog now applies only to the cohort members the family changelog covers
|
|
49
|
+
|
|
33
50
|
## [1.3.48] - 2026-11-23
|
|
34
51
|
|
|
35
52
|
- TAG: [v1.3.48][1.3.48t]
|
|
@@ -3539,7 +3556,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
3539
3556
|
- Fixed CI load failures on engines without compatible `pty` support by falling back to Open3 for interactive release commands.
|
|
3540
3557
|
- Fixed Ruby 3.2 version-bump support by loading Prism lazily and wiring the Prism gem only for MRI versions that need it.
|
|
3541
3558
|
|
|
3542
|
-
[Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.3.
|
|
3559
|
+
[Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v1.3.49...HEAD
|
|
3560
|
+
[1.3.49]: https://github.com/kettle-dev/kettle-family/compare/v1.3.48...v1.3.49
|
|
3561
|
+
[1.3.49t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.3.49
|
|
3543
3562
|
[1.3.48]: https://github.com/kettle-dev/kettle-family/compare/v1.3.47...v1.3.48
|
|
3544
3563
|
[1.3.48t]: https://github.com/kettle-dev/kettle-family/releases/tag/v1.3.48
|
|
3545
3564
|
[1.3.47]: https://github.com/kettle-dev/kettle-family/compare/v1.3.46...v1.3.47
|
data/README.md
CHANGED
|
@@ -1143,7 +1143,7 @@ If none of the available licenses suit your use case, please [contact us](mailto
|
|
|
1143
1143
|
[📌gitmoji]: https://gitmoji.dev
|
|
1144
1144
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
1145
1145
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
1146
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-9.
|
|
1146
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-9.238-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
1147
1147
|
[🔐security]: https://github.com/kettle-dev/kettle-family/blob/main/SECURITY.md
|
|
1148
1148
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
1149
1149
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
data/lib/kettle/family/report.rb
CHANGED
|
@@ -334,17 +334,69 @@ module Kettle
|
|
|
334
334
|
lines << " output: omitted because it was already streamed"
|
|
335
335
|
end
|
|
336
336
|
|
|
337
|
+
# A Ruby backtrace frame ("path:12:in 'meth'" or "from path:12:in ..."). These
|
|
338
|
+
# must never be chosen as a summary: a frame such as bundler/friendly_errors.rb
|
|
339
|
+
# matches /error/ by file name alone and previously became the whole summary.
|
|
340
|
+
BACKTRACE_FRAME = /\A(?:from\s+)?\S+:\d+:in\s+['`]/
|
|
341
|
+
# The first line of a Ruby error report: "path:12:in 'meth': message (Class)".
|
|
342
|
+
ERROR_HEADER = /:\d+:in\s+['`][^'`]*['`]:\s+(?<message>.+?)\s+\((?<klass>[A-Z][\w:]*)\)\z/
|
|
343
|
+
|
|
344
|
+
# Known failure signatures with the command that fixes them. A tool's own
|
|
345
|
+
# "Recommended fix:" line always wins over these.
|
|
346
|
+
FAILURE_HINTS = [
|
|
347
|
+
[
|
|
348
|
+
/does not match the version of the specification installed for it|Bundler::CorruptBundlerInstallError/,
|
|
349
|
+
"kettle-family update-bundler --execute (RubyGems/Bundler were upgraded but lockfiles still pin the old " \
|
|
350
|
+
"BUNDLED WITH version, so Bundler re-execs into the old gem; reinstalling Ruby is not needed)"
|
|
351
|
+
],
|
|
352
|
+
[
|
|
353
|
+
/The gemspecs for path gems changed, but the lockfile can't be updated because\s*frozen mode is set/,
|
|
354
|
+
"re-lock the named lockfile (bundle lock --update) and commit it; the path gem's version changed"
|
|
355
|
+
],
|
|
356
|
+
[
|
|
357
|
+
/You are not allowed to push this gem/,
|
|
358
|
+
"register a trusted publisher for the gem on rubygems.org (or push the built gem once by hand), then re-run"
|
|
359
|
+
],
|
|
360
|
+
[
|
|
361
|
+
/1Password .*(?:authorization|desktop app|not signed in)/i,
|
|
362
|
+
"unlock 1Password and approve the access prompt, then re-run the resume command"
|
|
363
|
+
]
|
|
364
|
+
].freeze
|
|
365
|
+
|
|
337
366
|
def streamed_output_summary(result)
|
|
338
367
|
lines = streamed_output_lines(result)
|
|
339
|
-
lines
|
|
368
|
+
root_cause_summary(lines) || last_failure_line(lines)
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# The first error header in the output is the root cause; later ones are
|
|
372
|
+
# wrappers re-raising it ("Failed to get coverage data: ...").
|
|
373
|
+
def root_cause_summary(lines)
|
|
374
|
+
lines.each do |line|
|
|
375
|
+
match = ERROR_HEADER.match(line)
|
|
376
|
+
next unless match
|
|
377
|
+
|
|
378
|
+
return "#{match[:klass]}: #{match[:message]}"[0, 400]
|
|
379
|
+
end
|
|
380
|
+
nil
|
|
381
|
+
end
|
|
382
|
+
|
|
383
|
+
def last_failure_line(lines)
|
|
384
|
+
candidates = lines.reject { |line| line.match?(BACKTRACE_FRAME) }
|
|
385
|
+
candidates.reverse.find do |line|
|
|
340
386
|
line.match?(/(?:failed|failure|error|exited|aborted)/i) && !line.match?(/\A(?:Files|CI|Actions)/)
|
|
341
|
-
end ||
|
|
387
|
+
end || candidates.reverse.find { |line| !line.match?(/\A(?:Files|CI|Actions)/) }
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
def known_failure_hint(result)
|
|
391
|
+
text = [result.stdout, result.stderr].join("\n")
|
|
392
|
+
FAILURE_HINTS.each { |pattern, fix| return fix if text.match?(pattern) }
|
|
393
|
+
nil
|
|
342
394
|
end
|
|
343
395
|
|
|
344
396
|
def streamed_recommended_fix(result)
|
|
345
397
|
lines = streamed_output_lines(result)
|
|
346
398
|
line = lines.reverse.find { |candidate| candidate.match?(/\ARecommended fix:\s+/) }
|
|
347
|
-
return
|
|
399
|
+
return known_failure_hint(result) unless line
|
|
348
400
|
|
|
349
401
|
# Some hints are incomplete without their follow-up step (e.g. the
|
|
350
402
|
# kettle-gha-pins pin refresh must be committed + pushed BEFORE
|
|
@@ -5,7 +5,7 @@ module Kettle
|
|
|
5
5
|
# Version namespace for this gem.
|
|
6
6
|
module Version
|
|
7
7
|
# Current gem version.
|
|
8
|
-
VERSION = "1.3.
|
|
8
|
+
VERSION = "1.3.49"
|
|
9
9
|
end
|
|
10
10
|
# Current gem version exposed at the traditional constant location.
|
|
11
11
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
@@ -4337,7 +4337,10 @@ module Kettle
|
|
|
4337
4337
|
effective_skip_steps = (configured_skip_steps + release_skip_steps_for(member).split(",")).uniq.join(",")
|
|
4338
4338
|
args << "start_step=#{effective_start_step}" if effective_start_step
|
|
4339
4339
|
args << "skip_steps=#{effective_skip_steps}" unless effective_skip_steps.empty?
|
|
4340
|
-
|
|
4340
|
+
# The family changelog covers the shared-version cohort only. An
|
|
4341
|
+
# independently versioned member keeps its own CHANGELOG and series, so
|
|
4342
|
+
# its own release must still cut its changelog section.
|
|
4343
|
+
args << "--skip-changelog" if skip_changelog || (aggregate_validation_member?(member) && !independent_version_series_member?(member))
|
|
4341
4344
|
args << "--skip-appraisals" if skip_appraisals
|
|
4342
4345
|
args << "--ci-workflows=#{ci_workflows}" if ci_workflows && !ci_workflows.to_s.empty?
|
|
4343
4346
|
args << "--local-ci" if local_ci
|
|
@@ -4668,6 +4671,12 @@ module Kettle
|
|
|
4668
4671
|
# exempt from the uniformity check while their artifacts still
|
|
4669
4672
|
# attach — at their own series version, not the cohort's.
|
|
4670
4673
|
shared_members = members.reject { |member| independent_version_series_member?(member) }
|
|
4674
|
+
# Releasing only independently versioned members (for example just
|
|
4675
|
+
# kettle-jem) leaves no shared cohort among the contributed members. The
|
|
4676
|
+
# repository-level release still belongs to the family's shared version,
|
|
4677
|
+
# so take that version from the family's shared cohort and attach the
|
|
4678
|
+
# independent member's artifacts to it.
|
|
4679
|
+
shared_members = Array(family_members).reject { |member| independent_version_series_member?(member) } if shared_members.empty?
|
|
4671
4680
|
version = shared_members.map { |member| member.version.to_s }.uniq
|
|
4672
4681
|
return aggregate_release_result("all selected members must have the same version") unless version.length == 1
|
|
4673
4682
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kettle-family
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.49
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -152,7 +152,7 @@ dependencies:
|
|
|
152
152
|
-
|
|
153
153
|
- ">="
|
|
154
154
|
- !ruby/object:Gem::Version
|
|
155
|
-
version: 1.0.
|
|
155
|
+
version: 1.0.21
|
|
156
156
|
type: :runtime
|
|
157
157
|
prerelease: false
|
|
158
158
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -164,7 +164,7 @@ dependencies:
|
|
|
164
164
|
-
|
|
165
165
|
- ">="
|
|
166
166
|
- !ruby/object:Gem::Version
|
|
167
|
-
version: 1.0.
|
|
167
|
+
version: 1.0.21
|
|
168
168
|
- !ruby/object:Gem::Dependency
|
|
169
169
|
name: kettle-deps-floor
|
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -729,10 +729,10 @@ licenses:
|
|
|
729
729
|
- AGPL-3.0-only
|
|
730
730
|
metadata:
|
|
731
731
|
homepage_uri: "https://structuredmerge.org"
|
|
732
|
-
source_code_uri: "https://github.com/kettle-dev/kettle-family/tree/v1.3.
|
|
733
|
-
changelog_uri: "https://github.com/kettle-dev/kettle-family/blob/v1.3.
|
|
732
|
+
source_code_uri: "https://github.com/kettle-dev/kettle-family/tree/v1.3.49"
|
|
733
|
+
changelog_uri: "https://github.com/kettle-dev/kettle-family/blob/v1.3.49/CHANGELOG.md"
|
|
734
734
|
bug_tracker_uri: "https://github.com/kettle-dev/kettle-family/issues"
|
|
735
|
-
documentation_uri: "https://www.rubydoc.info/gems/kettle-family/1.3.
|
|
735
|
+
documentation_uri: "https://www.rubydoc.info/gems/kettle-family/1.3.49"
|
|
736
736
|
funding_uri: "https://github.com/sponsors/pboling"
|
|
737
737
|
wiki_uri: "https://github.com/kettle-dev/kettle-family/wiki"
|
|
738
738
|
news_uri: "https://www.railsbling.com/tags/kettle-family"
|
|
@@ -764,7 +764,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
764
764
|
- !ruby/object:Gem::Version
|
|
765
765
|
version: "0"
|
|
766
766
|
requirements: []
|
|
767
|
-
rubygems_version: 4.1.
|
|
767
|
+
rubygems_version: 4.1.1
|
|
768
768
|
specification_version: 4
|
|
769
769
|
summary: 👩👩👧👧 CLI helpers for managing related Ruby gems as a family.
|
|
770
770
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|