Changeset 864c66d
- Timestamp:
- 04/01/2023 10:30:14 PM (6 months ago)
- Branches:
- multilib
- Children:
- 46ada72
- Parents:
- c33354c (diff), fc9a319 (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
rc33354c r864c66d 104 104 $lines = http_get_file( $dirpath ); 105 105 106 $regex_match = "# ${prefix}[\d\.]+/#";107 $regex_replace = "#^.*( ${prefix}[\d\.]+)/.*$#";106 $regex_match = "#{$prefix}[\d\.]+/#"; 107 $regex_replace = "#^.*({$prefix}[\d\.]+)/.*$#"; 108 108 $max = find_max( $lines, $regex_match, $regex_replace ); 109 109 … … 127 127 if ( $package == "file" ) $dirpath = "https://github.com/file/file/tags"; 128 128 if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; 129 if ( $package == "flit_core" ) $dirpath = "https://pypi.org/project/flit-core/"; 129 130 if ( $package == "gcc" ) $dirpath = max_parent( $dirpath, "gcc-" ); 130 131 if ( $package == "iana-etc" ) $dirpath = "https://github.com/Mic92/iana-etc/releases"; … … 309 310 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); 310 311 312 if ( $package == "flit_core" ) 313 return find_max( $lines, "/flit-core /", "/^.*flit-core ([\d\.]+)$/" ); 314 311 315 if ( $package == "procps-ng" ) 312 316 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); … … 504 508 $v = get_packages( $pkg, $dir ); 505 509 $flag = ( $vers[ $pkg ] != $v ) ? "*" : ""; 506 echo "<tr><td>$pkg</td> <td> ${vers[ $pkg ]}</td> <td>$v</td> <td>$flag</td></tr>\n";510 echo "<tr><td>$pkg</td> <td>{$vers[ $pkg ]}</td> <td>$v</td> <td>$flag</td></tr>\n"; 507 511 } 508 512
Note:
See TracChangeset
for help on using the changeset viewer.