Skip to content

Minimal bootstrapped version. #1

@beporter

Description

@beporter

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/Vagrantfile to ROOT/Vagrantfile
    • Move/overwrite(?) ROOT/vendor/loadsys/puphpet-release/release/puphpet/ to ROOT/puphpet/.
    • Replace the stock ROOT/puphpet/config.yaml (that comes with our composer package) with the (customized) version from ROOT/puphpet.yaml (???), if present.
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions