Skip to content

Source preparation doesn't tell you it needs a non-shallow repo #99

@PawelWMS

Description

@PawelWMS

If you make azldev prep sources with synthetic git history and the git repository you're running from is a shallow clone, the tool attempt to prepare sources and errors with:

Failed to prepare component sources component=rust-serde_stacker error="preparing sources for `rust-serde_stacker`:
failed to generate synthetic history for component `rust-serde_stacker`:
failed to build synthetic commits:
failed to find Affects commits for component `rust-serde_stacker`:
failed to walk commit log:
object not found"

for every touched component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions