Update of stepup-build2.sh for support of newer Symfony versions
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- shell, symfony
- Domain
- build-system
Research direction
Read stepup-build2.sh around lines 228-231 and inspect how SYMFONY_VERSION controls the APP_ENV export. Confirm the condition covers the newer Symfony versions described in the issue, then verify the build environment receives APP_ENV=prod for Symfony 7.
Written by the indexing model from the issue text.
Description
Looking at: https://github.com/OpenConext/Stepup-Build/blob/main/stepup-build2.sh#L228-L231
We observe a APP_ENV=prod declaration in the build environment. But only when SYMFONY_VERSION = 4.
Now that the recent upgrades start installing Symfony 7, we might need to update the script to also write that ENV var to the build environment for higher Symfony versions.
Suggestion:
if [ ${SYMFONY_VERSION} -ge 4 ]; then
# Set APP_ENV=prod for symfony Flex
do_command "export APP_ENV=${SYMFONY_ENV}"
fi
- Dominant language
- Shell
- Stars
- 0
- Forks
- 1
- 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.
Similar issues
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
zenhub-dev
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OpenLiberty/ci.docker#747 ·