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

Topcoder X Git URL Collisions #64

@rootelement

Description

@rootelement

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions