Skip to content

Undocumented behaviour for non-github setup of publish.vcs directive #3408

Open
@Gedochao

Description

@Gedochao

Version(s)
1.5.4

Describe the bug
Docs don't seem to specify how the //> using publish.vcs directive should be set up for non-GitHub repositories.
https://scala-cli.virtuslab.org/docs/commands/publishing/publish#other-settings
What's there (the url|connection|developer-connection format) seems quite vague.
We need examples, better errors, or some different behaviour.

To Reproduce

//> using publish.vcs https://git.qwertyuiop.de/crater2150/copret.git

yields

[error] Malformed vcs "https://git.qwertyuiop.de/crater2150/copret.git", expected url|connection|developer-connection
[error] //> using publish.vcs https://git.qwertyuiop.de/crater2150/copret.git

Expected behaviour
I'd expect the reproduction to either pass, or for documentation to provide examples how to handle non-github repositories.

Extra context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationexperimentalTickets tied to experimental features.publish command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions