Closed mooyg closed 2 years ago
Did this cause I need owner tag to get the repo size from the github api before hand (also you can close the previous PR I'll make a new one)
@mooyg Could you clarify why you can't parse the owner from the Repo URL?
Uh I mean I can write logic for that but why waste time on that when I can just add one more field in json and avoid hassle?
@mooyg You don't need to write any parsing logic, you can just take the sub-string from the end of the link and append it to the API URL.
So u can take IEEE-VIT/templa-rs
from the end of https://github.com/IEEE-VIT/templa-rs/ and append it to https://api.github.com/repos/ to finally make https://api.github.com/repos/IEEE-VIT/templa-rs. It's much more easier for people who add templates & efficient than your current method, I request you to follow this.
@mooyg You don't need to write any parsing logic, you can just take the sub-string from the end of the link and append it to the API URL. So u can take
IEEE-VIT/templa-rs
from the end of https://github.com/IEEE-VIT/templa-rs/ and append it to https://api.github.com/repos/ to finally make https://api.github.com/repos/IEEE-VIT/templa-rs. It's much more easier for people who add templates & efficient than your current method, I request you to follow this.
Ok sure
Closing the PR as another implementation of the feature was requested.
…res bar