Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Version Exceptions: specifying "Git Repository" results in wrong package source URL #18

@AlexKnauth

Description

@AlexKnauth

The package source generated when you select "Git Repository" for a version exception is not a valid package source according to older Racket versions like 6.0 through 6.1.1.

For example, if I say that for 6.0, I want the txexpr-stxparse package to point to AlexKnauth/txexpr-stxparse on the branch for-v-6.0 produces the package source URL:

https://github.com/AlexKnauth/txexpr-stxparse.git#for-v-6.0

Inputting this makes sense since it should be a "Git Repository"
1

But it results in this URL which is not what I wanted for the 6.0 version exception
2

And while I think this is a perfectly fine package source for version 6.2, this was intended for 6.0 and 6.0 will not recognize this properly.

For version exceptions on 6.1.1 and older, the Package Server should generate the URLs that those Racket versions can understand, such as:

git://github.com/AlexKnauth/txexpr-stxparse#for-v-6.0

Without the added .git extension, and with git:// instead of https://.

For now I've dealt with this by what feels like "lying" to the Package Server and telling it that my package is not a git repository. That allows me to explicitly specify the old version of the URL with git:// and no .git extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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