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

forest-cli db subcommands migration #3355

Merged

Conversation

elmattic
Copy link
Contributor

@elmattic elmattic commented Aug 10, 2023

Summary of changes

Changes introduced in this pull request:

  • Moved commands
    • forest-cli db stats to forest-tool db stats
    • forest-cli db clean to forest-tool db destroy

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@elmattic elmattic changed the title Elmattic/db cmds tool migration forest-cli db subcommands migration Aug 10, 2023
@elmattic elmattic changed the base branch from main to elmattic/forest-tool-migration August 10, 2023 09:52
@elmattic elmattic force-pushed the elmattic/db-cmds-tool-migration branch from 0781d4b to b335cfe Compare August 10, 2023 12:11
@elmattic elmattic marked this pull request as ready for review August 10, 2023 16:27
@elmattic elmattic requested a review from a team as a code owner August 10, 2023 16:27
@elmattic elmattic requested review from LesnyRumcajs and aatifsyed and removed request for a team August 10, 2023 16:27
@@ -24,6 +24,13 @@ macro_rules! bail_moved_cmd {
$src
)
};
($src:literal, $dst:literal) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does it have to be a macro?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a personal preference here. At some point I believe this code will be deleted anyway, once users have migrated to the new binaries.

@elmattic elmattic merged commit 7ebc868 into elmattic/forest-tool-migration Aug 11, 2023
3 checks passed
@elmattic elmattic deleted the elmattic/db-cmds-tool-migration branch August 11, 2023 10:13
@jdjaustin jdjaustin mentioned this pull request Aug 17, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants