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

Toolkit: Remove deprecated plugin:build #67485

Merged
merged 5 commits into from Apr 28, 2023

Conversation

academo
Copy link
Member

@academo academo commented Apr 28, 2023

What is this feature?

Removes the deprecated plugin:build command from toolkit.

Why do we need this feature?

We are moving all plugin-related commands from toolkit to create-plugin.

Who is this feature for?

All plugin developers

Which issue(s) does this PR fix?:

Closes: #57750
Related to: #55997

Fixes #

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

Release notice breaking change

The deprecated plugin:build command in the Grafana Toolkit have been removed in this release. The replacement create-plugin tool is recommended for plugin development.

@academo academo self-assigned this Apr 28, 2023
@academo academo added this to the 10.0.0 milestone Apr 28, 2023
@academo academo added add to changelog breaking change Relevant for changelog generation no-backport Skip backport of PR labels Apr 28, 2023
@academo academo marked this pull request as ready for review April 28, 2023 10:43
@academo academo requested review from grafanabot and a team as code owners April 28, 2023 10:43
@academo academo requested review from ashharrison90 and mckn and removed request for a team April 28, 2023 10:43
@academo academo added backport A backport PR and removed no-backport Skip backport of PR labels Apr 28, 2023
@academo academo modified the milestone: 10.0.0 Apr 28, 2023
@academo academo changed the title Toolkit: Remove deprecated build:plugin Toolkit: Remove deprecated plugin:build Apr 28, 2023
Copy link
Contributor

@ashharrison90 ashharrison90 left a comment

Choose a reason for hiding this comment

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

added a question, but otherwise looks 😍😍😍

"prepack": "mv ./src ./src_bak && cp -r ./dist/src ./src",
"postpack": "rimraf ./src && mv ./src_bak ./src",
"postpack": "rm -rf ./src && mv ./src_bak ./src",
Copy link
Contributor

Choose a reason for hiding this comment

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

does this have any implications for windows machines? believe that's the whole reason for including rimraf. or do we not care since it's now removed? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

The scripts are already using mv (see prepack) which doesn't work on windows and we support windows under WSL https://grafana.com/blog/2021/03/03/how-to-set-up-a-grafana-development-environment-on-a-windows-pc-using-wsl/

@academo academo merged commit 50fb149 into main Apr 28, 2023
15 checks passed
@academo academo deleted the academo/remove-plugin-build-from-toolkit branch April 28, 2023 12:33
ryantxu pushed a commit that referenced this pull request May 3, 2023
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
@zerok zerok modified the milestones: 10.0.0, 10.0.0-preview May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Toolkit: Remove plugin:build command
6 participants