Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verify.py #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add verify.py #11

wants to merge 1 commit into from

Conversation

jackassmc
Copy link

No description provided.

@Zetabite
Copy link

Zetabite commented Aug 9, 2022

Mind explaining what this does?

@jackassmc
Copy link
Author

Yeah, sorry, this checks if URLs are reachable and if they match the stored size and hash.

@jackassmc
Copy link
Author

Current results
[
  {
    "artifact": {
      "url": "http://repo.maven.apache.org/maven2/com/github/zafarkhaja/java-semver/0.9.0/java-semver-0.9.0.jar"
    },
    "problems": {
      "status": 501
    }
  },
  {
    "artifact": {
      "url": "http://repo.maven.apache.org/maven2/org/ow2/asm/asm-analysis/7.0/asm-analysis-7.0.jar"
    },
    "problems": {
      "status": 501
    }
  },
  {
    "artifact": {
      "url": "http://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/7.0/asm-commons-7.0.jar"
    },
    "problems": {
      "status": 501
    }
  },
  {
    "artifact": {
      "url": "http://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/7.0/asm-tree-7.0.jar"
    },
    "problems": {
      "status": 501
    }
  },
  {
    "artifact": {
      "url": "http://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/7.0/asm-util-7.0.jar"
    },
    "problems": {
      "status": 501
    }
  },
  {
    "artifact": {
      "url": "http://repo.maven.apache.org/maven2/org/ow2/asm/asm/7.0/asm-7.0.jar"
    },
    "problems": {
      "status": 501
    }
  },
  {
    "artifact": {
      "path": "de/oceanlabs/mcp/mcp_config/1.16.1-20200625.134731/mcp_config-1.16.1-20200625.134731.zip",
      "sha1": "4e7a95888b2bb792268c3d1b73a8b79165640603",
      "size": 754088,
      "url": "https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_config/1.16.1-20200625.134731/mcp_config-1.16.1-20200625.134731.zip"
    },
    "problems": {
      "status": 404
    }
  },
  {
    "artifact": {
      "sha1": "4a458724fdeef376c73880a8ba58b35d3199d210",
      "size": 6568652,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.1-32.0.0/forge-1.16.1-32.0.0-installer.jar"
    },
    "problems": {
      "status": 404
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/forge/1.16.1-32.0.0/forge-1.16.1-32.0.0-launcher.jar",
      "sha1": "cc2a7e924c047f8f1bee099b6c11b72b03c85c3b",
      "size": 194473,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.1-32.0.0/forge-1.16.1-32.0.0-launcher.jar"
    },
    "problems": {
      "status": 404
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/forge/1.16.1-32.0.0/forge-1.16.1-32.0.0-universal.jar",
      "sha1": "f80e3a31e4ed28da0c0a9e509cd0ac6f35228fae",
      "size": 2175580,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.1-32.0.0/forge-1.16.1-32.0.0-universal.jar"
    },
    "problems": {
      "status": 404
    }
  },
  {
    "artifact": {
      "sha1": "a64b232c780a4a06579af5a5533e56ac7d3ed908",
      "size": 6892039,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18.2-40.0.2/forge-1.18.2-40.0.2-installer.jar"
    },
    "problems": {
      "sha1": "ae4b900d21bebaeb61a95eec4eac6fb47ab8dad0",
      "size": 6892042
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/forge/1.18.2-40.0.2/forge-1.18.2-40.0.2-universal.jar",
      "sha1": "5d820d078d02e2dfe58538f150c658cd8b13d179",
      "size": 2623016,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18.2-40.0.2/forge-1.18.2-40.0.2-universal.jar"
    },
    "problems": {
      "sha1": "225ba22f275b8eddbbce9936f4469a35e970e5e7",
      "size": 2623012
    }
  },
  {
    "artifact": {
      "sha1": "cee4f6343b8b0ac371d5892ebb033c5ed6ca9dc3",
      "size": 6676915,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18.2-40.1.21/forge-1.18.2-40.1.21-installer.jar"
    },
    "problems": {
      "sha1": "b6197462a7a1f741f383ca30072278a9fe1444dc",
      "size": 6676925
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/forge/1.18.2-40.1.21/forge-1.18.2-40.1.21-universal.jar",
      "sha1": "24550b47e7b01f13514a59905d151e6f15739159",
      "size": 2428923,
      "url": "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.18.2-40.1.21/forge-1.18.2-40.1.21-universal.jar"
    },
    "problems": {
      "sha1": "ff1bd271f2038c3bbbec7f3fbb1c1d5e6d7eadfc",
      "size": 2428929
    }
  },
  {
    "artifact": {
      "url": "https://libraries.minecraft.net/org/ow2/asm/asm-all/5.1/asm-all-5.1.jar"
    },
    "problems": {
      "status": 404
    }
  },
  {
    "artifact": {
      "url": "https://maven.fabricmc.net/net/fabricmc/intermediary/1_14_combat-0/intermediary-1_14_combat-0.jar"
    },
    "problems": {
      "status": 404
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/fmlcore/1.18.2-40.0.2/fmlcore-1.18.2-40.0.2.jar",
      "sha1": "273dda3527b2664fac33c6811ebb993d66a2a20d",
      "size": 109703,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/fmlcore/1.18.2-40.0.2/fmlcore-1.18.2-40.0.2.jar"
    },
    "problems": {
      "sha1": "2b8232fb59b7af5bff52d16ce3577417ca20a1c1"
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/fmlcore/1.18.2-40.1.21/fmlcore-1.18.2-40.1.21.jar",
      "sha1": "f5e2d9812bcff85f791b154ad1e82609b2dea96b",
      "size": 109651,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/fmlcore/1.18.2-40.1.21/fmlcore-1.18.2-40.1.21.jar"
    },
    "problems": {
      "sha1": "41856a5fad90e9ba4a01ef956612adb2ae2ca082",
      "size": 109652
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/fmlloader/1.18.2-40.0.2/fmlloader-1.18.2-40.0.2.jar",
      "sha1": "37c256faa338c648cccfafd62511a8d7635064f5",
      "size": 237714,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/fmlloader/1.18.2-40.0.2/fmlloader-1.18.2-40.0.2.jar"
    },
    "problems": {
      "sha1": "72b6ae1e1e53609afa4da8cab3542ab859c1d6df"
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/fmlloader/1.18.2-40.1.21/fmlloader-1.18.2-40.1.21.jar",
      "sha1": "ce37520679c7fba1694df04b4683cd74b7da46cf",
      "size": 238838,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/fmlloader/1.18.2-40.1.21/fmlloader-1.18.2-40.1.21.jar"
    },
    "problems": {
      "sha1": "34577ccd5735098d735014cd999c59c17e1f8397",
      "size": 238839
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/javafmllanguage/1.18.2-40.0.2/javafmllanguage-1.18.2-40.0.2.jar",
      "sha1": "a6a88b3c8d1753de623d9e6ef01be47f7274417b",
      "size": 16294,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/javafmllanguage/1.18.2-40.0.2/javafmllanguage-1.18.2-40.0.2.jar"
    },
    "problems": {
      "sha1": "8e05d121a027d6dec1282bc5b2d4058ba3fac180",
      "size": 16293
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/javafmllanguage/1.18.2-40.1.21/javafmllanguage-1.18.2-40.1.21.jar",
      "sha1": "27f50e3528535e394c22e1f1dfc7479839f2365f",
      "size": 16293,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/javafmllanguage/1.18.2-40.1.21/javafmllanguage-1.18.2-40.1.21.jar"
    },
    "problems": {
      "sha1": "0fddf64f917b2bbe2439160185478b2b559a6cb3"
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/mclanguage/1.18.2-40.0.2/mclanguage-1.18.2-40.0.2.jar",
      "sha1": "81b2bbe25eaace01c61a8d6cc39a95f031c07595",
      "size": 4986,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/mclanguage/1.18.2-40.0.2/mclanguage-1.18.2-40.0.2.jar"
    },
    "problems": {
      "sha1": "1b366aeecf7c1dc67fbe9f745b4565ed8f4ba222"
    }
  },
  {
    "artifact": {
      "path": "net/minecraftforge/mclanguage/1.18.2-40.1.21/mclanguage-1.18.2-40.1.21.jar",
      "sha1": "be255e11189efe774615c1d8d4180ef828a5133d",
      "size": 4987,
      "url": "https://maven.minecraftforge.net/net/minecraftforge/mclanguage/1.18.2-40.1.21/mclanguage-1.18.2-40.1.21.jar"
    },
    "problems": {
      "sha1": "d4185b91c92b9605c24f536c2fc67136971fb9b4",
      "size": 4988
    }
  }
]

The 501s on http://repo.maven.apache.org are available on https://repo.maven.apache.org, could people familiar with the other packages please look into what's wrong with them and why? Hash mismatches especially,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants