.ci/update_version regular expression is broken

Open Beginner friendly
#7,598 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
ci-cd

Research direction

Start with .ci/update_version at the linked line and compare its regular expression with the version declaration in redash/init.py. Verify that the updater recognizes the double-quoted form and confirm the script still identifies the version correctly; no test file is mentioned in the issue.

Written by the indexing model from the issue text.

Description

https://github.com/getredash/redash/blob/7d325f167dfa22160e43aededb863ac573778c91/.ci/update_version#L5

redash/init.py uses double-quotes, whereas this regular expression matches on single quotes.

Dominant language
Python
Stars
28.8k
Forks
4.6k
Avg merge
1d 6h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

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.

More from getredash/redash

All issues in getredash/redash

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.