Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Manifest file -based strategy #13

Closed
pjcdawkins opened this issue Dec 1, 2015 · 1 comment
Closed

Manifest file -based strategy #13

pjcdawkins opened this issue Dec 1, 2015 · 1 comment

Comments

@pjcdawkins
Copy link

Thanks for this library - I am going to use it instead of the abandoned project https://github.com/kherge-abandoned/php-phar-update. One advantage that had was to grab available versions and SHA1 hashes from a single "manifest" file.

I've written a custom strategy to handle this for our project:
https://github.com/pjcdawkins/platformsh-cli/blob/replace-phar-update/src/SelfUpdate/ManifestStrategy.php

and here's what the manifest file looks like:
https://platform.sh/cli/manifest.json

It seems like this could be generalised for anyone, would you be interested if I made a PR?

@pjcdawkins
Copy link
Author

I can envisage more ideas here so I'll make a PR when I've got them ready

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant