Skip to content

Move when default revision should be supplied #175

@SeanTAllen

Description

@SeanTAllen

By default, when working with a git or hg repo, corral defaults not to putting a revision in the corral.json when the dependency is added instead it tries at runtime to pick a revision (current released version uses master, next release will use main).

This is problematic.

We should move to requiring a revision for git and hg sources at the time it's added OR we should provide a default (main) at that time.

Trying to read a corral.json that has no revision for git or hg should fail.

This is a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions