Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Cargo pre-planning: workflow #14

Open
nrc opened this issue Nov 8, 2018 · 7 comments
Open

Cargo pre-planning: workflow #14

nrc opened this issue Nov 8, 2018 · 7 comments

Comments

@nrc
Copy link
Member

nrc commented Nov 8, 2018

@joshtriplett, @Xanewok, @withoutboats

@nrc nrc mentioned this issue Nov 8, 2018
5 tasks
@nrc
Copy link
Member Author

nrc commented Nov 20, 2018

ping @joshtriplett, @Xanewok, @withoutboats

Some starter questions (please start discussion of your own too):

  • what are the kind of use cases we're hoping to support here?
  • how much overlap is there between these features?
  • how big is the design space for metabuild? Are we likely to need months or years of iteration
  • what is the status of templates/generate?
  • how are these features surfaced to the user?

@nrc
Copy link
Member Author

nrc commented Nov 20, 2018

cc @killercup and @ashleygwilliams (for cargo add and templates, respectively)

@killercup
Copy link
Member

Re cargo-add: This might be a mentoring opportunity if we want it to be. Cf. rust-lang/cargo#5611

@ashleygwilliams
Copy link
Member

templates/generate is moving on slowly but surely, the biggest issue we have is trying to template projects that have other template systems in them- is this going to be part of the cargo team work? if so i'd really love to continue working on it and potentially onboard a second maintainer, it would be very helpful :)

@ashleygwilliams
Copy link
Member

i also have the rfc for post-install scripts- if someone from the cargo team is particularly working on that i would love to work with them to improve the RFC, the process stalled a bit iirc

@nrc
Copy link
Member Author

nrc commented Jan 14, 2019

Notes from discussion in meeting:

  • cargo edit - issues with parsers - we would need to work out how to integrate them
  • metadata scripts might want to use their own toml parser
  • we could share the lexer at least?
  • cargo new/generate might want to integrate with registries
  • if cargo new works with workspaces, then it would need edit-like functionality
  • how much does it need to be connected to Cargo, or even Rust?
    • could avoid every framework having its own CLI
    • Python standardised on Cookie Cutter for this
  • could we have metabuild for post-build scripts?
    • could follow the policy stuff of cargo build such as using target directories
  • motivation for post-build - is wasm - bindgen, opt, etc. post-process exe on Windows, RLS
    • sounds like the workflows proposal (for making project-specific Cargo commands)

@alexreg
Copy link

alexreg commented Jan 14, 2019

@nrc Was dynamically-generated directives for post-install action considered (as opposed to just static TOML metadata)? I can't quite tell from the above notes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants