Skip to content

Dont treat Mercurial repos as an error  #369

@jayvdb

Description

@jayvdb

In a similar vein as #279 , I see the following for https://crates.io/crates/oorandom

warning: failed to clone `https://hg.sr.ht/~icefox/oorandom`: [
    "fatal: repository 'https://hg.sr.ht/~icefox/oorandom/' not found\n",
]
...
oorandom (https://hg.sr.ht/~icefox/oorandom is uncloneable)

It is maintained, recently fixing the metadata - c.f. https://todo.sr.ht/~icefox/oorandom/8

While I can appreciate that there may not be much benefit in adding support for Mercurial repos, and a processing warning is useful, the crate should be "unmaintained" simply because it is using Mercurial.

A list of hg hosting platforms can be found at https://wiki.mercurial-scm.org/MercurialHosting . Some like https://hg.sr.ht/ and https://hg.mozilla.org/ and http://hg.code.sf.net/ include "hg." prefix which could be used to detect it.

However others dont have an easy way to detect e.g. https://crates.io/crates/bytes-cast

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