AcademySoftwareFoundation / AcademySoftwareFoundation/rez

release message needs to be escaped

Open
#1,018 0 comments 0 reactions 0 assignees View on GitHub
bug logging rez-release
Dominant language
Python
Stars
1.1k
Forks
374
Avg merge
9d 12h
Merged PRs (30d)
5

Description

Just tried to release a package with a release message ending in '$', and got this:

```
12:53:24 ERROR ReleaseVCSError: command failed: /sw/resources/suites/global/core/linux_x86_64_CentOS-7/ver/160/bin/git tag -a mlambda-3.1.4 -m '- don'"'"'t set mlambda loglevel to INFO if it'"'"'s already set lower (eg DEBUG) - better logging for debugging - tag manifest lo$'
/tmp/rez_context_hTpGfD/rez-shell.sh: line 8: syntax error near unexpected token `('
/tmp/rez_context_hTpGfD/rez-shell.sh: line 8: `git tag -a mlambda-3.1.4 -m - don't set mlambda loglevel to INFO if it's already set lower (eg DEBUG) - better logging for debugging - tag manifest lo$'
```

Contributor guide

Open the contributing guide

Research direction

Start with the release flow that constructs the `git tag -a ... -m` command and inspect the generated `/tmp/rez_context_hTpGfD/rez-shell.sh` shown in the report. Reproduce a release message ending in `$`; done means the tag command runs without the shell syntax error and preserves the complete message.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, git, python
Domain
cli, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.