Skip to content

Conversation

@headius
Copy link
Member

@headius headius commented Feb 6, 2025

This extra output got included in the filename and breaks installation of jars on platforms where the output gets included. This includes at least Linux, but I have been unable to reproduce on MacOS so far. This is a stopgap until I can figure out why this output is happening and fully disable it.

The regexp matching in this method could also be improved to avoid breaking on future format changes.

Fixes #92.

See also jruby/jruby#8606.

@headius headius added this to the 0.5.4 milestone Feb 6, 2025
Deprecated some time ago in favor of jars/installer.
This extra output got included in the filename and breaks
installation of jars on platforms where the output gets included.
This includes at least Linux, but I have been unable to reproduce
on MacOS so far. This is a stopgap until I can figure out why this
output is happening and fully disable it.

The regexp matching in this method could also be improved to avoid
breaking on future format changes.

Fixes jruby#92.

See also jruby/jruby#8606.
@headius headius force-pushed the strip_ansi_garbage branch from b3a0fba to f95d32c Compare February 6, 2025 21:30
@headius headius merged commit 1329f8c into jruby:master Feb 6, 2025
2 checks passed
@headius headius deleted the strip_ansi_garbage branch February 6, 2025 21:34
headius added a commit to headius/jruby that referenced this pull request Feb 6, 2025
headius added a commit to headius/jar-dependencies that referenced this pull request Feb 7, 2025
This is a more robust way to tidy up the lines emitted by
dependency:list as reported in jruby#92 and quickly fixed in jruby#93.

I also added tests for the module section with and without ANSI.
headius added a commit to jruby/jruby that referenced this pull request Feb 10, 2025
@headius headius mentioned this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

installing gems with jar dependencies like psych fails on recent ruby-maven/ruby-maven-libs

1 participant