Skip to content

Use Task to build pinned CLI for IDE #1315

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

Merged
merged 1 commit into from
Aug 11, 2022
Merged

Use Task to build pinned CLI for IDE #1315

merged 1 commit into from
Aug 11, 2022

Conversation

kittaakos
Copy link
Contributor

@kittaakos kittaakos commented Aug 10, 2022

Motivation

To show the exact CLI version (commit hash) in IDE when IDE is using a pinned version, not yet released CLI.

Change description

  • Updated the GH workflow and make Task available,
  • Changed the CLI downloader to use task instead of go when a CLI ought to be produced on the fly.

Other information

It's recommended for devs to install Task on the dev env. See here.

Closes #1313

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

@kittaakos kittaakos added type: enhancement Proposed improvement topic: code Related to content of the project itself status: on hold Do not proceed at this time labels Aug 10, 2022
@kittaakos kittaakos mentioned this pull request Aug 10, 2022
4 tasks
@kittaakos
Copy link
Contributor Author

The behavioral change cannot be approved in this PR. I made #1310 depend on this PR. As a result, if a build is produced from #1310, the About dialog should show this CLI commit hash instead of 0.0.0-git

Screen Shot 2022-08-10 at 14 04 10

The de6ae8c0 is currently pointing to the CLI PR here.

Screen Shot 2022-08-10 at 14 15 01

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks Akos!

@kittaakos kittaakos marked this pull request as ready for review August 10, 2022 14:50
@kittaakos kittaakos removed the status: on hold Do not proceed at this time label Aug 10, 2022
@kittaakos kittaakos merged commit a39ab47 into main Aug 11, 2022
@kittaakos kittaakos deleted the #1313 branch August 11, 2022 07:28
@kittaakos kittaakos added conclusion: resolved Issue was resolved topic: CLI Related to Arduino CLI labels Aug 11, 2022
@per1234 per1234 changed the title Use Task to build pinned CLI for IDE2. Use Task to build pinned CLI for IDE Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: CLI Related to Arduino CLI topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDE2 nighty build should show the exact CLI version instead of CLI Version: 0.0.0-git []
2 participants