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

Add a better interface (help text) for no-longer-supported migrations #192

Open
fredemmott opened this issue Jul 11, 2019 · 0 comments
Open

Comments

@fredemmott
Copy link
Contributor

I'm occasionally deleting migrations if:

  • updating them to work with new HHAST is going to be painful
  • they've already been in several releases
  • they've been required for several releases of HHVM

This generally ends up with CLI flags with documentation of 'no longer supported' and an implementation of throw new ExitException(1, "Use HHAST v4.x.* for this migration");

Some changes to the CLI would be nice for this:

  • group together all the obsolete ones in --help - or hide them by default
  • instead of requiring the full implementation for each one, perhaps generate the CLIOption flags from a vec<(string $flag, string $first_version, string $last_version)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant