Nick Rolfe
|
5aaed8941a
|
Go: pass source root from autobuilder to extractor
This ensures the extractor can resolve the relative paths for files
changed in the overlay.
|
2025-11-07 16:52:16 +00:00 |
|
Nick Rolfe
|
604df2125d
|
Go: implement basic overlay extraction
When in overlay mode, extractFile will exit early if the file isn't in
the list of files that changed since the base was extracted.
|
2025-11-07 16:52:08 +00:00 |
|
Michael B. Gale
|
8c8499229d
|
Configure git to use the certificate, if needed
|
2025-09-24 15:52:04 +01:00 |
|
Michael B. Gale
|
bc38b79c9a
|
Convert URLs to expected format
|
2025-09-24 15:52:04 +01:00 |
|
Michael B. Gale
|
4ef8ff9a0f
|
Append * to git_source URL if not present
Since `GOPRIVATE` / `GONOPROXY` expect a glob pattern
|
2025-09-24 15:52:03 +01:00 |
|
Michael B. Gale
|
a8fa1a76c4
|
Use git_source configurations for GOPRIVATE
|
2025-09-24 15:52:02 +01:00 |
|
Michael B. Gale
|
895399ff05
|
Rename proxy_configs to goproxy_servers and only store URLs
|
2025-09-24 15:52:01 +01:00 |
|
Michael B. Gale
|
23a04613c0
|
Set lower-case variants of HTTP_PROXY and HTTPS_PROXY
|
2025-09-24 15:52:00 +01:00 |
|
Michael B. Gale
|
711d49770f
|
Improve logging to include proxy vars
|
2025-09-24 15:51:59 +01:00 |
|
Michael B. Gale
|
8c13faf3d8
|
Go: Set log level based on CODEQL_VERBOSITY
|
2025-09-05 14:18:31 +01:00 |
|
Michael B. Gale
|
c236084043
|
Go: Explicitly check whether proxy env vars are empty
|
2025-05-27 14:58:18 +01:00 |
|
Michael B. Gale
|
7592ce47e3
|
Go: Restore parseRegistryConfigsFail test for the empty string
|
2025-04-25 15:45:12 +01:00 |
|
Michael B. Gale
|
91a794433a
|
Go: Change "Unable" to "Failed" for consistency
|
2025-04-25 15:42:29 +01:00 |
|
Michael B. Gale
|
5172a4d6ec
|
Go: Remove check from getEnvVars
|
2025-04-25 15:41:57 +01:00 |
|
Michael B. Gale
|
9cfa451477
|
Go: Fix/improve comment about environment variable preservation
|
2025-04-25 15:41:35 +01:00 |
|
Michael B. Gale
|
e805d1ee90
|
Merge remote-tracking branch 'origin/main' into mbg/go/private-registries
|
2025-04-25 12:55:36 +01:00 |
|
Michael B. Gale
|
cafe1efefa
|
Go: Refactor ApplyProxyEnvVars
|
2025-04-25 12:30:48 +01:00 |
|
Michael B. Gale
|
e210be7bb2
|
Go: Preserve environment variables in ApplyProxyEnvVars
|
2025-04-08 12:38:38 +01:00 |
|
Michael B. Gale
|
0f78e11376
|
Go: Detect and apply proxy settings (WIP)
|
2025-04-08 12:02:15 +01:00 |
|
Michael B. Gale
|
b872c60e1c
|
Go: Support more dependency managers in IsGolangVendorDirectory
|
2025-03-06 15:40:44 +00:00 |
|
Michael B. Gale
|
11e3a08e44
|
Go: Check for modules.txt or glide.yaml to exclude vendor dirs
|
2025-02-19 13:57:15 +00:00 |
|
Michael B. Gale
|
b372af51b6
|
Go: Allow FindAllFilesWithName to use predicate functions for dirsToSkip
|
2025-02-19 11:24:53 +00:00 |
|
Michael B. Gale
|
2cd9bd8a43
|
Go: Move IsGolangVendorDirectory to util package
|
2025-02-19 11:24:52 +00:00 |
|
Chris Smowton
|
d689db23d8
|
Warn on use of old option
|
2024-10-01 10:43:28 +01:00 |
|
Chris Smowton
|
684aedf6aa
|
Golang vendor dir extraction: add extractor option
|
2024-09-30 18:24:49 +01:00 |
|
Chris Smowton
|
8b9617cd38
|
Update bazel build files
|
2024-08-20 15:56:28 +01:00 |
|
Chris Smowton
|
f1f6f9b580
|
Share vendor-dir extraction logic between extractor and configure-baseline script
|
2024-08-20 15:56:26 +01:00 |
|
Paolo Tranquilli
|
ccec347b0a
|
Go/Bazel: fix gazelle invocation to use bundled bazel go
|
2024-08-05 10:13:14 +02:00 |
|
Paolo Tranquilli
|
e469534b84
|
Go/Bazel: use gazelle go_deps instead of a vendor directory
|
2024-07-16 13:12:37 +02:00 |
|
Michael B. Gale
|
20b7def543
|
Go: Only log one line for stray .go files
|
2024-06-11 18:06:08 +01:00 |
|
Michael B. Gale
|
2662808629
|
Go: Output setup-go compatible pre-release identifiers
|
2024-06-06 17:14:45 +00:00 |
|
Michael B. Gale
|
c0142c1a91
|
Go: Add comment explaining why NewSemVer does not Canonicalise the result
|
2024-06-05 14:08:45 +00:00 |
|
Michael B. Gale
|
81297aad8c
|
Go: Use standard semver format in outputEnvironmentJson
|
2024-05-15 12:21:23 +01:00 |
|
Michael B. Gale
|
fabd7a9c51
|
Go: Better preserve original versions
|
2024-05-15 12:01:03 +01:00 |
|
Michael B. Gale
|
e0543d1d59
|
Go: Support all permutations of version prefixes and suffixes
|
2024-05-15 10:43:02 +01:00 |
|
Michael B. Gale
|
898383ccff
|
Go: Fix comment in NewSemVer for empty string
|
2024-05-15 10:07:44 +01:00 |
|
Michael B. Gale
|
d171750678
|
Go: Add SemVer type to track valid semantic versions
|
2024-05-15 10:02:10 +01:00 |
|
Michael B. Gale
|
724d026238
|
Go: Move go list functions to toolchain package
|
2024-05-08 13:29:28 +01:00 |
|
Paolo Tranquilli
|
7d9a68bf17
|
Go: wrap gazelle to regenerate from scratch and add header
|
2024-04-26 11:19:22 +02:00 |
|
Paolo Tranquilli
|
393f6b7666
|
Go: add gazelle-generated BUILD files
|
2024-04-25 08:53:26 +02:00 |
|
Michael B. Gale
|
2aa093c95c
|
Go: Move getImportPath to shared util package
|
2024-03-05 12:48:19 +00:00 |
|
Michael B. Gale
|
040a288bb3
|
Go: Update comment to replace Go.mod with go.mod
|
2024-03-04 12:14:23 +00:00 |
|
Michael B. Gale
|
37212737fb
|
Go: Delete unused AnyGoFilesOutsideDirs
|
2024-03-04 12:14:22 +00:00 |
|
Michael B. Gale
|
008585eeba
|
Go: Include arguments in RunCmd error messages
|
2024-02-16 15:17:24 +00:00 |
|
Michael B. Gale
|
f0df7cd5c5
|
Go: Add GoFilesOutsideDirs function
|
2024-02-14 19:12:33 +00:00 |
|
Michael B. Gale
|
d4ea45bdaf
|
Go: Add comment to AnyGoFilesOutsideDirs and use slices.Contains
|
2024-02-14 19:12:33 +00:00 |
|
Michael B. Gale
|
0488d1d295
|
Go: Move getDirs into util and document/rename
|
2024-02-14 19:12:24 +00:00 |
|
Owen Mansel-Chan
|
a852173e22
|
Fix behaviour for single non-root go.mod
Also add telemetry so we can prioritise future work on the autobuilder.
|
2023-06-29 16:56:11 +01:00 |
|
Owen Mansel-Chan
|
d613bc8a28
|
Update checks for files or dirs existing
The previous way is considered outdated now.
|
2023-04-19 12:20:47 +01:00 |
|
Owen Mansel-Chan
|
17c550bc88
|
Address review comments
|
2023-03-08 15:51:45 +00:00 |
|