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

Check if repository was moved #39

Open
Firebird1029 opened this issue Jul 26, 2024 · 0 comments
Open

Check if repository was moved #39

Firebird1029 opened this issue Jul 26, 2024 · 0 comments
Labels
enhancement New feature or request open DSAC Open Repo summer2024 Summer Fellowship and Internship Related Tasks

Comments

@Firebird1029
Copy link
Member

Firebird1029 commented Jul 26, 2024

The open repo currently cannot detect if/when a repo from its static list of repos has been moved or deleted. This can cause the script to break. The script can be made more robust by accounting for any repos that have been moved/renamed/deleted/etc. and returning the updated location of the repository.

         There is an API endpoint to check to see if a repository was moved and it returns the new location so we could set up a method to check for that. The endpoint is in the format `https://api.github.com/repos/<repo_group>/<repo_name>` and will tell you the new location if the repository has been moved. 

Originally posted by @IsaacMilarky in #35 (comment)

@Firebird1029 Firebird1029 added enhancement New feature or request summer2024 Summer Fellowship and Internship Related Tasks open DSAC Open Repo labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request open DSAC Open Repo summer2024 Summer Fellowship and Internship Related Tasks
Projects
None yet
Development

No branches or pull requests

1 participant