Skip to content

[Tests] Ensure datasets supports renamed repositories #4911

Open
@lhoestq

Description

@lhoestq

On https://hf.co/datasets you can rename a dataset (or sometimes move it to another user/org). The website handles redirections correctly and AFAIK datasets does as well.

However it would be nice to have an integration test to make sure we don't break support for renamed datasets.

To implement this we can use the /api/repos/move endpoint on hub-ci to rename/move a repo (it is documented at https://huggingface.co/docs/hub/api)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good second issueIssues a bit more difficult than "Good First" issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions