pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
194 stars 81 forks source link

Failed to ensure package on Fedora 35 #267

Open alextwothousand opened 2 years ago

alextwothousand commented 2 years ago
INFO: pBlueG/SA-MP-MySQL:R39-6 downloading plugin resource for linux
WARN: failed to ensure package github.com/pBlueG/SA-MP-MySQL:R39-6: failed to ensure asset: failed to get plugin pBlueG/SA-MP-MySQL:R39-6 from net: resource matcher '^mysql-.+-([Dd]ebian[0-9]?|[Ll]inux)-static\.tar\.gz$' does not match any release assets from '[ mysql-R39-6-centos6.tar.gz mysql-R39-6-Linux.tar.gz mysql-R39-6-win32.zip]'
➜  ~ neofetch
             .',;::::;,'.                alex@zenbook-ux393ea 
         .';:cccccccccccc:;,.            -------------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 35 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: ZenBook UX393EA_UX393EA 1.0 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 5.15.10-200.fc35.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 7 hours, 41 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 2100 (rpm), 39 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: zsh 5.8 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 3840x2160 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 41.2 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Adwaita 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Adwaita-dark [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Adwaita [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz 
:cccccccccccccccccccccccccccc:'.         GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
.:cccccccccccccccccccccc:;,..            Memory: 10607MiB / 15671MiB 
  '::cccccccccccccc::;,.

➜  ~ 

It should match the static/generic Linux version?

alextwothousand commented 2 years ago

Right, so, it appears as if the regex would function fine for mysql r41-4, as there is a static version shipped explicitly (that'll match the regular expression). I don't really see a fix without adjusting the regular expression, which would then have the knock-on effect of potentially prioritising non-static releases. A fix for this might have to be implemented straight into sampctl, where it prioritises the use of a static build if one is available. @ADRFranklin