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.

Renaming a package with only lower-/upper-case changes does not work #26

@countvajhula

Description

@countvajhula

Re: this email thread, I wanted to change a package name from Titlecase to lowercase. This didn't work, but renaming it to a different name and then back to the lowercase version did work. E.g.:

This works:

Mypackage -> Mypackage-temp -> mypackage

But not

Mypackage -> mypackage

As Tony pointed out in the email thread, it likely prevents the direct rename because the new name conflicts with "an existing" package (i.e. itself).

Also, last time I checked (which could have been months ago), raco pkg install <pkgname> did not find the package unless the Titlecase name was used, and likewise in info.rkt, the Titlecase name was needed to indicate the dependency or it would not be found. Since names differing only in case are considered equivalent for the purposes of uniqueness, should this not perhaps also hold for raco and info.rkt? i.e. raco pkg install should tolerate case variation to install the unique package that such varying names could refer to (whatever the "preserved" case of that package name may be).

For reference, this is the package that was renamed: https://pkgd.racket-lang.org/pkgn/package/relation

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