Contributing Advent 7: Snapshots

Today we look at a non-code contribution. The PHP project makes snapshots of the current state of the Git repository available through http://snaps.php.net. There is a two hourly cronjob that goes over all the active branches and then builds a .tar.gz, a .tar.bz2 and an .xv bundle.

After the recent branching of PHP 5.6 the snapshots started failing. I have always been involved with making the snapshots work so I had a look to see what was wrong.

I discovered that "somebody" had use the root account to try to fix/change/update things, but the snapshots are build under a different uses, the snapbuilder user. With some file now having been updated by root, the snapbuilder user was unable to read and/or write to those files anymore, resulting in broken snapshots.

I also discovered that the directory that contains the master branch of the code was missing altogether. I can't explain how that happened, but I restored it by cloning a new version from the Git repository. A similar thing I did for the PHP 5.6 branch so that we now also have snapshots for that branch.

Shortlink

This article has a short URL available: https://drck.me/adv1307-aew

Comments

No comments yet

Add Comment

Name:
Email:

Will not be posted. Please leave empty instead of filling in garbage though!
Comment:

Please follow the reStructured Text format. Do not use the comment form to report issues in software, use the relevant issue tracker. I will not answer them here.


All comments are moderated

Life Line