-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Write a shell script that:
- Fetches the latest default ZIP file from puphet.com.
- Unpacks the zip into the local folder. (A subfolder maybe? We could keep the tooling in the root then.)
- Commits all changes unceremoniously.
- Adds a semver tag for the new commit that is one point release (
1.0.x) greater than the largest in the repo. - Pushes the commit and the tag to the remote.
Additional work:
- Write a README explaining what this is and how it works.
- Write a minimal composer.json file to make this repo a Packagist package.
- Write a minimal post-install composer script that will: (This may be the trickiest part.)
- Move/overwrite(?) the
ROOT/vendor/loadsys/puphpet-release/release/VagrantfiletoROOT/Vagrantfile - Move/overwrite(?)
ROOT/vendor/loadsys/puphpet-release/release/puphpet/toROOT/puphpet/. - Replace the stock
ROOT/puphpet/config.yaml(that comes with our composer package) with the (customized) version fromROOT/puphpet.yaml(???), if present.
- Move/overwrite(?) the
- Change this project's composer.json to use that custom composer installer.
Final steps:
- Make the repo public.
- Enable the packagist web hook.
- Set this repo up somewhere and schedule the script described above as a cron job.
- Test it in a few target projects, and open issues for things that don't work correctly or need improvement (
exec-*scripts, for example.)
What am I forgetting?