Closed jimaek closed 4 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 ?
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
@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 it seems that we can use
deb/any
andrpm/rpm_any
instead of providing a specific list.
If this works then lets use that, as long as it doesnt break anything
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