Repository navigation
Conversation
|
Hey @acouvreur, let me know if you'd like to see this go our the door with the last v6.x, v7, or v7.x or if you're still working on it. ❤️ |
No pref, I didn't put too much effort into this recently unfortunately. It's still causing us some pain in the state. But I can also take into consideration the few comments made on the original issue: #2874 (comment) So no rush, I want this fix to be properly handled |
|
@acouvreur This could now be mergeable if you have capacity to finalize the PR :) |
Glad to hear it! I will rebase my work in the coming weeks. (Currently in vacation!) |
|
I would rather add a This should be preferred if the user wants to be rename proof. What do you think @deiga ? |
No,it's not a feasible approach. Just this week GitHub marked all Team ID and RepoID endpoints as legacy with imminent EOL. |
So the fix is to always check for the underlying resource ID, just as I did with this pull request right ? |
|
Closing. #3233 fixed this. |
Resolves #2874
Before the change?
Before the change, changing the repository name would force a renew everytime.
After the change?
Now the renew is forced only if the repository ID actually changed.
Pull request checklist
I'm not sure how to properly implement the tests right now, will work in this later.
Does this introduce a breaking change?
This introduce a breaking change as the internal resource ID is changed.
Please see our docs on breaking changes to help!
Now I'm wondering if we should instead add repository ID next to the repository name to avoid making API calls.