Changeset 73d91ac for lfs-latest-git.php
- Timestamp:
- 12/05/2023 05:12:55 AM (10 months ago)
- Branches:
- xry111/arm64
- Children:
- 00de269
- Parents:
- 6b6a1b9 (diff), dc8572f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lfs-latest-git.php
r6b6a1b9 r73d91ac 86 86 exec( "curl --location --silent --max-time 30 $url", $dir ); 87 87 88 $s = implode( "\n", $dir ); 89 $dir = strip_tags( $s ); 88 $dir = implode( "\n", $dir ); 89 if ( !preg_match( "/api.github.com/", $url) ) 90 $dir = strip_tags( $dir ); 90 91 return explode( "\n", $dir ); 91 92 } … … 128 129 if ( $package == "flex" ) $dirpath = github("westes/flex"); 129 130 if ( $package == "flit_core" ) $dirpath = "https://pypi.org/project/flit-core/"; 131 if ( $package == "setuptools" ) $dirpath = "https://pypi.org/project/setuptools/"; 130 132 if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); 131 133 if ( $package == "iana-etc" ) $dirpath = github("Mic92/iana-etc"); … … 294 296 return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" ); 295 297 298 if ( $package == "setuptools" ) 299 return find_max( $lines, "/setuptools /", "/^.*setuptools ([\d\.]+)$/" ); 300 296 301 if ( $package == "procps-ng" ) 297 302 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" );
Note:
See TracChangeset
for help on using the changeset viewer.