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

use external dependency for cargo tools on windows #1105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Javagedes
Copy link
Contributor

@Javagedes Javagedes commented Jan 30, 2025

Description

Cargo tools (tarpaulin / make) are provided for free when using the provided devcontainer. However, on Windows, these tools must be installed or downloaded manually at a specific version. This has caused frequent issues for developers as local installation via compilation tend to fail as this project uses an outdated version of rust.

This change adds these tools as external dependencies, so that developers who only care about compiling the project can do so without having to worry about installing these additional tools.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Removed my installation of cargo-make and cargo-tarpaulin and was still able to run stuart_build and stuart_ci_build

Integration Instructions

N/A

Cargo tools (tarpaulin / make) are provided for free when using the
provided devcontainer. However, on Windows, these tools must be
installed or downloaded manually at a specific issue. This has caused
frequent issues for developers as local installation via compilation
tend to fail as this project uses an outdated version of rust.

This change adds these tools as external dependencies, so that
developers who only care about compiling the project can do so without
having to worry about installing these additional tools.
@Javagedes Javagedes requested review from makubacki and apop5 January 30, 2025 21:07
@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Jan 30, 2025
@apop5
Copy link
Contributor

apop5 commented Jan 30, 2025

I like this.

I am worried about another subhook situation, where the ext_dep source disappears.

@Javagedes
Copy link
Contributor Author

I like this.

I am worried about another subhook situation, where the ext_dep source disappears.

This is definitely a fair point. we could publish them somewhere ourselves, Maybe as an ado artifact for project mu:

https://dev.azure.com/projectmu/mu/_artifacts/feed/Mu-Public

@makubacki
Copy link
Member

I like this.
I am worried about another subhook situation, where the ext_dep source disappears.

This is definitely a fair point. we could publish them somewhere ourselves, Maybe as an ado artifact for project mu:

https://dev.azure.com/projectmu/mu/_artifacts/feed/Mu-Public

That sounds fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants