Skip to content

Improve upstream-to-package-name translation #127

Closed
@ThreeFx

Description

@ThreeFx

The Debian package naming guidelines specify that the only valid characters in package names are: [a-zA-Z0-9.+-].

The VCS hosting service sourcehut (git.sr.ht) has a tilde in front of user's names, thus confusing git-buildpackage when importing the original source.

I have no idea how the "canonical" fix for this would look. I suggest that we simply call normalizeDebianProgramName on every part of gopkg in debianNameFromGopkg (as in #128).

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