corgea-cli 1.8.2__tar.gz → 1.8.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/.github/workflows/release-binaries.yml +7 -0
  2. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/Cargo.lock +1 -1
  3. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/Cargo.toml +1 -1
  4. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/PKG-INFO +1 -1
  5. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/bin/corgea.js +5 -3
  6. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/scripts/npm/bundle-binaries.js +7 -5
  7. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/.github/workflows/npm-publish.yml +0 -0
  8. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/.github/workflows/release.yml +0 -0
  9. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/.github/workflows/test.yml +0 -0
  10. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/.github/workflows/update_docs..yml +0 -0
  11. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/.gitignore +0 -0
  12. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/LICENSE +0 -0
  13. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/README.md +0 -0
  14. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/build_release.sh +0 -0
  15. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/package.json +0 -0
  16. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/pyproject.toml +0 -0
  17. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/authorize.rs +0 -0
  18. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/cicd.rs +0 -0
  19. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/config.rs +0 -0
  20. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/inspect.rs +0 -0
  21. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/list.rs +0 -0
  22. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/log.rs +0 -0
  23. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/main.rs +0 -0
  24. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scan.rs +0 -0
  25. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/blast.rs +0 -0
  26. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/fortify.rs +0 -0
  27. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/parsers/checkmarx.rs +0 -0
  28. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/parsers/coverity.rs +0 -0
  29. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/parsers/mod.rs +0 -0
  30. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/parsers/sarif.rs +0 -0
  31. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/scanners/parsers/semgrep.rs +0 -0
  32. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/setup_hooks.rs +0 -0
  33. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/targets.rs +0 -0
  34. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/utils/api.rs +0 -0
  35. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/utils/generic.rs +0 -0
  36. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/utils/terminal.rs +0 -0
  37. {corgea_cli-1.8.2 → corgea_cli-1.8.4}/src/wait.rs +0 -0
@@ -21,6 +21,9 @@ jobs:
21
21
  - os: ubuntu-latest
22
22
  target: x86_64-unknown-linux-gnu
23
23
  binary_name: corgea
24
+ - os: ubuntu-latest
25
+ target: x86_64-unknown-linux-musl
26
+ binary_name: corgea
24
27
  - os: ubuntu-24.04-arm
25
28
  target: aarch64-unknown-linux-gnu
26
29
  binary_name: corgea
@@ -41,6 +44,10 @@ jobs:
41
44
  with:
42
45
  ref: ${{ inputs.tag || github.ref }}
43
46
 
47
+ - name: Install musl tools
48
+ if: matrix.target == 'x86_64-unknown-linux-musl'
49
+ run: sudo apt-get install -y musl-tools
50
+
44
51
  - name: Install Rust Target
45
52
  run: rustup target add ${{ matrix.target }}
46
53
 
@@ -311,7 +311,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
311
311
 
312
312
  [[package]]
313
313
  name = "corgea"
314
- version = "1.8.2"
314
+ version = "1.8.4"
315
315
  dependencies = [
316
316
  "chrono",
317
317
  "clap",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "corgea"
3
- version = "1.8.2"
3
+ version = "1.8.4"
4
4
  edition = "2021"
5
5
  readme = "README.md"
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corgea-cli
3
- Version: 1.8.2
3
+ Version: 1.8.4
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -9,7 +9,7 @@ function resolveTargetTriple() {
9
9
  switch (process.platform) {
10
10
  case "linux":
11
11
  case "android":
12
- if (process.arch === "x64") return "x86_64-unknown-linux-gnu";
12
+ if (process.arch === "x64") return "x86_64-unknown-linux-musl";
13
13
  if (process.arch === "arm64") return "aarch64-unknown-linux-gnu";
14
14
  return null;
15
15
  case "darwin":
@@ -26,7 +26,9 @@ function resolveTargetTriple() {
26
26
 
27
27
  const targetTriple = resolveTargetTriple();
28
28
  if (!targetTriple) {
29
- throw new Error(`Unsupported platform: ${process.platform} (${process.arch})`);
29
+ throw new Error(
30
+ `Unsupported platform: ${process.platform} (${process.arch})`,
31
+ );
30
32
  }
31
33
 
32
34
  const binaryName = process.platform === "win32" ? "corgea.exe" : "corgea";
@@ -36,7 +38,7 @@ const binaryPath = path.join(vendorRoot, targetTriple, "corgea", binaryName);
36
38
  if (!existsSync(binaryPath)) {
37
39
  throw new Error(
38
40
  `Corgea binary not found at ${binaryPath}.\n` +
39
- `Try reinstalling: npm install -g corgea-cli@latest`
41
+ `Try reinstalling: npm install -g corgea-cli@latest`,
40
42
  );
41
43
  }
42
44
 
@@ -6,11 +6,11 @@ const path = require("node:path");
6
6
  const { unzipSync } = require("fflate");
7
7
 
8
8
  const TARGETS = [
9
- { triple: "x86_64-unknown-linux-gnu", binary: "corgea" },
9
+ { triple: "x86_64-unknown-linux-musl", binary: "corgea" },
10
10
  { triple: "aarch64-unknown-linux-gnu", binary: "corgea" },
11
- { triple: "x86_64-apple-darwin", binary: "corgea" },
12
- { triple: "aarch64-apple-darwin", binary: "corgea" },
13
- { triple: "x86_64-pc-windows-msvc", binary: "corgea.exe" },
11
+ { triple: "x86_64-apple-darwin", binary: "corgea" },
12
+ { triple: "aarch64-apple-darwin", binary: "corgea" },
13
+ { triple: "x86_64-pc-windows-msvc", binary: "corgea.exe" },
14
14
  ];
15
15
 
16
16
  function fail(message) {
@@ -43,7 +43,9 @@ for (const { triple, binary } of TARGETS) {
43
43
  const zipBuffer = fs.readFileSync(archivePath);
44
44
  const entries = unzipSync(new Uint8Array(zipBuffer));
45
45
 
46
- const entry = Object.entries(entries).find(([name]) => path.basename(name) === binary);
46
+ const entry = Object.entries(entries).find(
47
+ ([name]) => path.basename(name) === binary,
48
+ );
47
49
  if (!entry) {
48
50
  fail(`binary "${binary}" not found inside ${archiveName}`);
49
51
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes