Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Repository Removal Synchronization between Backstage and GitHub #153

Open
maxmurphySF opened this issue May 24, 2024 · 1 comment
Assignees
Milestone

Comments

@maxmurphySF
Copy link

Current Issue:

  • Currently, when users create a repository in Backstage, it automatically creates a corresponding repository in GitHub.
  • However, when users remove a repository within Backstage, the associated GitHub repository is not removed, leading to confusion and potential inconsistencies.
  • This mismatch between Backstage and GitHub repository states can cause issues, such as orphaned repositories, redundant data, and difficulties in managing the overall repository lifecycle.

Remediation:

  • Implement a synchronization mechanism between Backstage and GitHub to ensure that repository removal actions are propagated consistently across both platforms.
  • When a user removes a repository from Backstage, the system should automatically detect the associated GitHub repository and initiate the removal process on GitHub as well.
  • Appropriate checks and validations should be in place to ensure that only authorized users can perform repository removal actions, both in Backstage and on GitHub.
  • Provide clear notifications and confirmations to users before removing repositories, ensuring that accidental deletions are minimized.
  • Implement error handling and logging mechanisms to track any issues or failures that occur during the repository removal synchronization process.
@sadarunnisa-sf
Copy link
Contributor

Removal of repository as per UN-registering entity won't be possible. As entities could be components, apps repo, data pipeline or services. So its just not repos which we consider entity in backstage but more than that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants