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

Report a CargoWorkspace event #1030

Merged
merged 8 commits into from
Oct 19, 2024
Merged

Commits on Oct 18, 2024

  1. Report the CargoWorkspace event

    The event contains the names (NB: not the package id's) of packages which were detected in the current cargo workspace.
    
    Possibly must be sent optionally in the future, because we should also support non cargo workspaces.
    foresterre committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    7c100e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Only use the selection of workspace packages if cargo metadata succeeded

    This works around some issues like:
    - cargo metadata only works for cargo projects, which is fine for most  of  our defaults, but we only hard require rustup right now for compatibility check commands like find and verify
    - an unwrap panic from within cargo metadata if it was given an invalid path
    
    Yet, the current choice is a pragmatic one and may not account for all cases or handle all errors.
    foresterre committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    9cd8bc6 View commit details
    Browse the repository at this point in the history
  2. Add "rustc" only fixture

    foresterre committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    86fd24f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9340b0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca6a38a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83009bf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    13ee5fd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ac2ce77 View commit details
    Browse the repository at this point in the history