Fedora environment variable VERSION=0 causes Rails db migration reverting
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- dockerfile, fedora, rails, ruby
- Domain
- devops, infrastructure
Research direction
Start by locating the Fedora image Dockerfile and inspect where VERSION=0 is declared. Reproduce the behavior with bin/rails db:migrate VERSION=20080906120000, then verify how the image environment affects the migration target. Done means migrations no longer unexpectedly revert to version 0 when run in the Fedora image.
Written by the indexing model from the issue text.
Description
Container platform
OCP 4
Version
Fedora
OS version of the container image
Fedora
Bugzilla, Jira
No response
Description
In Rails, it support this ENV when running migrations: bin/rails db:migrate VERSION=20080906120000
In Fedora images, it has VERSION=0 in the dockerfile which makes the target version 0 and reverting all the db migrations
Reproducer
No response
- Dominant language
- Shell
- Stars
- 54
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sclorg/s2i-ruby-container
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
sclorg/s2i-ruby-container#655 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
sclorg/s2i-ruby-container#654 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/s2i-ruby-container#519 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/s2i-ruby-container#160 · 10 comments ·
All issues in sclorg/s2i-ruby-container
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·