spring-projects / spring-projects/spring-hateoas

Migration script fails with "unterminated substitute pattern"

Open
#1,095 8 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
476
PR merge metrics
No merged PRs in 30d

Description

The migration script to version 1.0 (https://github.com/spring-projects/spring-hateoas/blob/master/etc/migrate-to-1.0.sh) fails when I run it on my macOS machine (Mojave 10.14.6) with the error message sed: 1: "s/Link\.REL_SELF/IanaLi ...": unterminated substitute pattern repeated for each file matching the pattern.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with etc/migrate-to-1.0.sh and reproduce the migration on macOS Mojave 10.14.6, focusing on the sed command that reports the unterminated substitute pattern. Done means the script completes without that error for every matching file.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.