Skip to content

Commit cfe80aa

Browse files
committed
Simplify calling out "good" packages
1 parent 575c38f commit cfe80aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/site/03-compatibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ img.pylogo {
106106
});
107107
var patch_metadata = new Promise(function (resolve, reject) {
108108
const xhr = new XMLHttpRequest();
109-
const url = `https://raw.githubusercontent.com/oracle/graalpython/refs/heads/github/patches/${graalvmVersion}/graalpython/lib-graalpython/patches/metadata.toml`;
109+
const url = `https://raw.githubusercontent.com/oracle/graalpython/refs/heads/release/graal-vm/${graalvmVersion}/graalpython/lib-graalpython/patches/metadata.toml`;
110110
xhr.open('GET', url);
111111
xhr.overrideMimeType('text/plain');
112112
xhr.onload = function () {
113113
if (this.status === 200) {
114114
const patches = [];
115-
const lines = txt.split('\n');
115+
const lines = this.responseText.split('\n');
116116
var currentPatch = null;
117117
for (let i = 0; i < lines.length; i++) {
118118
const line = lines[i].trim();

docs/site/assets/js/check_compatibility_helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DBEntry {
5353
} else if (this.has_good_test_results()) {
5454
return 1;
5555
} else if (!this.is_test_percentage() && this.test_status == 0) {
56-
return 0.1;
56+
return 1;
5757
} else {
5858
return 0;
5959
}
@@ -92,7 +92,7 @@ class DB {
9292
function merge_entries(entry, previous_entry) {
9393
if (previous_entry) {
9494
if (!notes_overlap(previous_entry.notes, entry.notes)) {
95-
previous_entry.highlight = entry.highlight + previous_entry.highlight;
95+
previous_entry.highlight = Math.max(entry.highlight, previous_entry.highlight);
9696
if (previous_entry.is_test_percentage() && previous_entry.has_no_test_results()) {
9797
previous_entry.notes = entry.notes;
9898
} else {

0 commit comments

Comments
 (0)