payloadcms / payloadcms/website

`repositoryName` field is incorrectly formatted during import flow

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
634
Forks
195
Avg merge
11h 43m
Merged PRs (30d)
17

Description

The repositoryName field is incorrectly appending the team name to the chosen repo name, i.e. my-team-my-repo instead of my-repo. This field will longer be saved to the db, so we need to not only fix this improper formatting, but also adjust the code accordingly, like extract the value from the repositoryFullName where needed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the import flow to find where repositoryName is formatted and where repositoryFullName is used. Check every affected reference to confirm the team prefix is no longer added and that the repository name is extracted from repositoryFullName after the field is removed from database storage.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.