Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update.sh generates an empty features file when processing fails #117

Open
moritz opened this issue Jul 3, 2018 · 0 comments
Open

update.sh generates an empty features file when processing fails #117

moritz opened this issue Jul 3, 2018 · 0 comments
Labels
devops site infra/build/devops

Comments

@moritz
Copy link
Contributor

moritz commented Jul 3, 2018

The script update.sh contains the following logic:

# The ~/features dir contains a checkout of
# the https://github.com/perl6/features repo
cd ~/features
git fetch -q
BEFORE=$(git rev-parse HEAD)
git checkout -q -f origin/master
if [ "$BEFORE" != "$(git rev-parse HEAD)" ]
then perl process.pl > ~/perl6.org/online/compilers/features.html
fi

When the perl process.pl fails (most recent cause: missing Perl modules), this overwrites features.html with an empty file.

It would be more appropriate to not update the page when that happens.

@coke coke added the devops site infra/build/devops label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops site infra/build/devops
Projects
None yet
Development

No branches or pull requests

2 participants