pulsepm / pulse

Unofficial package manager written in python.
MIT License
4 stars 0 forks source link

[BUG]: Token isn't being supplied while downloading packages #112

Open mysy00 opened 4 weeks ago

mysy00 commented 4 weeks ago

Describe the bug It appears the code responsible for downloading packages doesn't send out the token anywhere, or at least I'm unable to find it. It results in us being rate limited by GitHub when we try to download a lot of packages in short time.

To Reproduce

  1. Set up a token (or not)
  2. Try to send a lot of requests quickly, by e.g. ensuring a lot of packages

Expected behavior Token should be send out and we shouldn't be rate limited.

Desktop (please complete the following information): Relevant to all platforms

Additional context Example list of packages that will result in us being rate limited:

  "openmultiplayer/omp-stdlib",
  "pawn-lang/samp-stdlib@open.mp",
  "pawn-lang/pawn-stdlib@open.mp",
  "Y-Less/samp-plugin-crashdetect:v4.22",
  "pawn-lang/YSI-Includes@5.x",
  "Y-Less/sscanf",
  "Y-Less/samp-distance",
  "IS4Code/PawnPlus",
  "samp-incognito/samp-streamer-plugin",
  "pBlueG/SA-MP-MySQL:R41-4",
  "Sreyas-Sreelal/samp-bcrypt",
  "Southclaws/pawn-uuid:1.0.1",
  "Southclaws/pawn-chrono:1.1.1",
  "Southclaws/progress2",
  "Southclaws/pawn-fsutil",
  "Southclaws/samp-logger",
  "ScavengeSurvive/item",
  "ScavengeSurvive/inventory",
  "ScavengeSurvive/door",
  "Pottus/ColAndreas",
  "NexiusTailer/Nex-AC",
  "katursis/Pawn.RakNet@omp",
  "oscar-broman/samp-weapon-config",
  "kristoisberg/samp-map-zones",
  "TommyB123/eSelection",
  "TommyB123/samp-map-parser",
  "mysy00/samp-achievements",
  "mysy00/samp-itemtasks",
  "mysy00/ItemPlus",
  "mysy00/LangPlus",
  "ZantetsukenGT/samp-geoip",
  "ZantetsukenGT/samp-dyn-dialog-pages",
  "AGraber/pawn-plus-mysql",
  "Mergevos/open-vehicle-plus"