Skip to content

[Undesirable Behaviour] Why does pkgdev care about the syncer URI? #182

Description

@Kangie

#43 and pkgcore/pkgcore#434 exist in order to band-aid a 'pkgdev does not like the sync uri' in a given git repo.

A better question here is 'WHY are we checking this at all'? As I understand it, pkgdev relies on git (or another VCS) to do the pushing, and a VCS is perfectly capable of informing users that it thinks they're smoking crack if they provide an invalid src_uri.

A related question is 'why is this check invoked for simple tasks like pkgdev manifest'? Generating a package manifest should work regardless of if I have the src uri set to git@gentoo.org/... or 'a carrier pigeon released at summer solstice at an altitude of 15000M over the Simpson desert.'

Please rework pkgdev to avoid superfluous input validation. It's not up to pkgdev to say 'I don't like your sync uri, you cannot generate a manifest'

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