Skip to content

Add package action adds ".git" to the URL that ends with slash #3972

Description

@atacan
  • Create an issue to add packages
  • Add slash at the end of repository URL of the swift package
  • GitHub action fails
verifying https://github.com/speechall/speechall-swift-sdk/.git
ERROR: networking error: The operation could not be completed. (validate.AppError error 3.)
validateError=networking error: The operation could not be completed. (validate.AppError error 3.)

As we can see .git path component after the slash.

The issue that with failed action:

SwiftPackageIndex/PackageList#12528

Action log

https://github.com/SwiftPackageIndex/PackageList/actions/runs/22522607021/job/65249680401

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions