Hacktoberfest / hacktoberfest-repo-topic-apply

Cmd line tool to add a topic to your github repo, defaults to hacktoberfest
Apache License 2.0
48 stars 43 forks source link

Org option is limited to 30 repos #6

Closed Darkhax closed 3 years ago

Darkhax commented 3 years ago

When using this tool on one of my organizations it only applied to 30/100ish repos. This has been the case for two different organizations.

Command used: hfest -t redacted_token -o Darkhax-Minecraft

logs

   • adding topic              repo=More-Swords-3 topic=hacktoberfest
   • adding topic              repo=BladeCraft topic=hacktoberfest
   • adding topic              repo=WAWLA topic=hacktoberfest
   • adding topic              repo=Colorful-Mobs topic=hacktoberfest
   • adding topic              repo=AdditionalBanners topic=hacktoberfest
   • adding topic              repo=Bookshelf topic=hacktoberfest
   • adding topic              repo=GYTH topic=hacktoberfest
   • adding topic              repo=BadMobs topic=hacktoberfest
   • adding topic              repo=Waila-Inhibitors topic=hacktoberfest
   • adding topic              repo=Waila-Events topic=hacktoberfest
   • adding topic              repo=Additional-Enchantments topic=hacktoberfest
   • adding topic              repo=Never-Enough-Candy topic=hacktoberfest
   • adding topic              repo=Dark-Utilities topic=hacktoberfest
   • adding topic              repo=WorldProtect topic=hacktoberfest
   • adding topic              repo=Tesla topic=hacktoberfest
   • adding topic              repo=SolarVillage topic=hacktoberfest
   • adding topic              repo=Custom-Tweaks topic=hacktoberfest
   • adding topic              repo=Enchantment-Descriptions topic=hacktoberfest
   • adding topic              repo=LootChests topic=hacktoberfest
   • adding topic              repo=Friendly-Fire topic=hacktoberfest
   • adding topic              repo=Ore-Stages topic=hacktoberfest
   • adding topic              repo=LootTableTweaker topic=hacktoberfest
   • adding topic              repo=Damage-Control topic=hacktoberfest
   • adding topic              repo=Stuff-A-Sock-In-It topic=hacktoberfest
   • adding topic              repo=Thirsty-Bottles topic=hacktoberfest
   • adding topic              repo=Curio topic=hacktoberfest
   • adding topic              repo=Caliper topic=hacktoberfest
   • adding topic              repo=Zalgos-Command topic=hacktoberfest
   • adding topic              repo=Game-Stages topic=hacktoberfest
   • adding topic              repo=WailaStages topic=hacktoberfest
   • done!

Edit: I am not very proficient with GO or the libs that are being used here, however it seems that maybe this endpoint is paginated and only the first page is being read.

MasonEgger commented 3 years ago

Thanks for pointing this out. I'll try to get a PR in asap. If anyone else see's this and wants to jump in before I get to it feel free :)