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

Write a migration guide for going from v0.X to v1.0 #316

Closed
Badgerati opened this issue Jul 28, 2019 · 3 comments
Closed

Write a migration guide for going from v0.X to v1.0 #316

Badgerati opened this issue Jul 28, 2019 · 3 comments

Comments

@Badgerati
Copy link
Owner

Since v1.0 is going to contain vast changes to syntax, it'll be worth writing a Migration Guide for people going from Pode v0.X to v1.0.

This guide should contain:

  • A function map, from old syntax to the new PowerShell syntax.
  • Information on migrating from a pode.json to the new server.psd1 settings file.
@Badgerati Badgerati added this to the 1.0.0 milestone Jul 28, 2019
@Badgerati Badgerati added this to To do in Function Syntax Refactor via automation Jul 28, 2019
@jeremymcgee73
Copy link

Just a thought, would a script that renames the functions to the new syntax be useful?

@Badgerati
Copy link
Owner Author

@jeremymcgee73 I like the idea, a script could work for some of the simpler functions (header, cookie, flash, etc). For functions like logger and auth these could be a lot more complicated 🤔

A script would give a good starting point though.

@Badgerati Badgerati moved this from To do to In progress in Function Syntax Refactor Aug 14, 2019
@Badgerati Badgerati self-assigned this Aug 16, 2019
Badgerati added a commit that referenced this issue Aug 17, 2019
Badgerati added a commit that referenced this issue Aug 17, 2019
@Badgerati
Copy link
Owner Author

Going through the examples and thinking about this migration script, I think what I'm gonna do it move it to a separate issue.

I'm also considering putting the script onto gist (linked to in docs), so it's easier to bug fix and improve much later on. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants