Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Topcoder X Git URL Collisions #64

Open
4 tasks
rootelement opened this issue Jan 29, 2021 · 0 comments
Open
4 tasks

Topcoder X Git URL Collisions #64

rootelement opened this issue Jan 29, 2021 · 0 comments

Comments

@rootelement
Copy link
Contributor

rootelement commented Jan 29, 2021

https://github.com/topcoder-platform/topcoder-x-processor/blob/develop/services/IssueService.js#L111

That function gets the project based on the url. It gets the first one…. There’s no filter on the archived flag and if there are two active, it’ll be even worse.

  • The processor needs to be updated to filter on archived: false flag when it gets the project from Dynamo
  • The API needs to be updated so you can’t create a x.topcoder.com project for a repo that exists and is not archived
  • Show an error on project creation in the UI when attempting to create a project for a repo that exists and is not archived. The error should include the copilot and owner name of the existing project, like This repo already has a Topcoder-X project associated with it. Copilot: <copilot>, Owner:<owner>
  • We'll need a script that goes through the existing DB and just writes out which repos have duplicate active projects so we can get in touch with copilots and admins to fix the issues.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant