jsdelivr / globalping-cli

A simple CLI tool to run networking commands remotely from hundreds of globally distributed servers
Mozilla Public License 2.0
118 stars 14 forks source link

Automate addition of new OS releases #77

Closed jimaek closed 4 months ago

jimaek commented 10 months ago

The list of supported OS is currently static and requires manual updates https://github.com/jsdelivr/upload-packagecloud/blob/main/push.sh

We should automate this

didil commented 8 months ago

@jimaek what do you mean by "automating" in this case ? Like a process running somewhere that will check OS releases periodically and create a Github PR to modify the push.sh file in the jsdelivr/upload-packagecloud repository ?

jimaek commented 8 months ago

No something simpler, for example pulling a list from an outside source right in that script. It sounds like a common issue so I think these lists must exist

radulucut commented 4 months ago

@jimaek it seems that we can use deb/any and rpm/rpm_any instead of providing a specific list. Should I go for it or stick with the predefined list? Btw, we can get the list from here: https://packagecloud.io/docs/api#resource_distributions_method_index

jimaek commented 4 months ago

@jimaek it seems that we can use deb/any and rpm/rpm_any instead of providing a specific list.

If this works then lets use that, as long as it doesnt break anything