From 13119a84880cd731891b17b8572cf9462572df05 Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Sun, 24 Aug 2025 14:57:07 +0200 Subject: [PATCH 1/4] add progress for configuration --- src/Terrabuild/Contracts/BuildProgress.fs | 15 +++++++ src/Terrabuild/Core/Build.fs | 51 ++++++++--------------- src/Terrabuild/Core/Configuration.fs | 16 ++++++- src/Terrabuild/Core/GraphDef.fs | 1 + src/Terrabuild/Core/Notification.fs | 22 +++++----- src/Terrabuild/Helpers/Terminal.fs | 6 +-- src/Terrabuild/Program.fs | 6 +-- src/Terrabuild/Terrabuild.fsproj | 3 +- 8 files changed, 63 insertions(+), 57 deletions(-) create mode 100644 src/Terrabuild/Contracts/BuildProgress.fs diff --git a/src/Terrabuild/Contracts/BuildProgress.fs b/src/Terrabuild/Contracts/BuildProgress.fs new file mode 100644 index 00000000..537f5d93 --- /dev/null +++ b/src/Terrabuild/Contracts/BuildProgress.fs @@ -0,0 +1,15 @@ + +namespace BuildProgress + + + + +type IBuildProgress = + abstract BuildStarted: unit -> unit + abstract BuildCompleted: unit -> unit + + abstract TaskScheduled: taskId:string -> label:string -> unit + abstract TaskDownloading: taskId:string -> unit + abstract TaskBuilding: taskId:string -> unit + abstract TaskUploading: taskId:string -> unit + abstract TaskCompleted: taskId:string -> restore:bool -> success:bool -> unit diff --git a/src/Terrabuild/Core/Build.fs b/src/Terrabuild/Core/Build.fs index 51cb6b79..f84b8ef3 100644 --- a/src/Terrabuild/Core/Build.fs +++ b/src/Terrabuild/Core/Build.fs @@ -42,18 +42,6 @@ type Summary = { -type IBuildNotification = - abstract WaitCompletion: unit -> unit - - abstract BuildStarted: graph:GraphDef.Graph -> unit - abstract BuildCompleted: summary:Summary -> unit - - abstract TaskScheduled: taskId:string -> label:string -> unit - abstract TaskDownloading: taskId:string -> unit - abstract TaskBuilding: taskId:string -> unit - abstract TaskUploading: taskId:string -> unit - abstract TaskCompleted: taskId:string -> restore:bool -> success:bool -> unit - let private containerInfos = Concurrent.ConcurrentDictionary() @@ -152,11 +140,12 @@ let execCommands (node: GraphDef.Node) (cacheEntry: Cache.IEntry) (options: Conf -let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.IApiClient option) (notification: IBuildNotification) (graph: GraphDef.Graph) = +let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.IApiClient option) (graph: GraphDef.Graph) = let startedAt = DateTime.UtcNow $"{Ansi.Emojis.rocket} Processing tasks" |> Terminal.writeLine - notification.BuildStarted graph + let buildProgress = Notification.BuildNotification() :> BuildProgress.IBuildProgress + buildProgress.BuildStarted() api |> Option.iter (fun api -> api.StartBuild()) let allowRemoteCache = options.LocalOnly |> not @@ -180,8 +169,9 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I hub.GetSignal $"{projectId}+exec") |> List.ofSeq - let execRestore() = - notification.TaskDownloading node.Id + buildProgress.TaskScheduled node.Id $"{node.Target} {node.ProjectDir}" + hub.Subscribe $"{node.Id} restore" execDependencies (fun () -> + buildProgress.TaskDownloading node.Id let projectDirectory = match node.ProjectDir with @@ -215,12 +205,10 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I match status with | TaskStatus.Success completionDate -> nodeExecSignal.Set completionDate - notification.TaskCompleted node.Id true true + buildProgress.TaskCompleted node.Id true true | _ -> - notification.TaskCompleted node.Id true false + buildProgress.TaskCompleted node.Id true false) - notification.TaskScheduled node.Id $"{node.Target} {node.ProjectDir}" - hub.Subscribe $"{node.Id} restore" execDependencies execRestore and buildNode (node: GraphDef.Node) = @@ -232,9 +220,10 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I hub.GetSignal $"{projectId}+exec") |> List.ofSeq - let execDependenciesCompleted() = + buildProgress.TaskScheduled node.Id $"{node.Target} {node.ProjectDir}" + hub.Subscribe $"{node.Id} build" execDependencies (fun () -> let startedAt = DateTime.UtcNow - notification.TaskBuilding node.Id + buildProgress.TaskBuilding node.Id let projectDirectory = match node.ProjectDir with @@ -268,7 +257,7 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I Cache.TargetSummary.Duration = endedAt - startedAt Cache.TargetSummary.Cache = node.Cache } - notification.TaskUploading node.Id + buildProgress.TaskUploading node.Id // create an archive with new files Log.Debug("{NodeId}: Building '{Project}/{Target}' with {Hash}", node.Id, node.ProjectDir, node.Target, node.TargetHash) @@ -289,12 +278,9 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I let nodeStatusSignal = hub.GetSignal $"{node.Id}+status" nodeStatusSignal.Set completionDate - notification.TaskCompleted node.Id false true + buildProgress.TaskCompleted node.Id false true | _ -> - notification.TaskCompleted node.Id false false - - notification.TaskScheduled node.Id $"{node.Target} {node.ProjectDir}" - hub.Subscribe $"{node.Id} build" execDependencies execDependenciesCompleted + buildProgress.TaskCompleted node.Id false false) and buildOrRestoreNode (node: GraphDef.Node) = if node.Idempotent then buildNode node @@ -346,7 +332,7 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I scheduleNodeStatus projectId hub.GetSignal $"{projectId}+status") |> List.ofSeq - let onDependencyCompleted() = + hub.Subscribe $"{nodeId} status" dependencyStatus (fun () -> let nodeStatusSignal = hub.GetSignal $"{nodeId}+status" // now decide what to do @@ -366,14 +352,14 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I else buildNode node | (TaskRequest.Restore, Some buildDate) -> nodeStatusSignal.Set buildDate - | _ -> raiseBugError $"Unexpected compute action: {buildRequest}" - - hub.Subscribe $"{nodeId} status" dependencyStatus onDependencyCompleted + | _ -> raiseBugError $"Unexpected compute action: {buildRequest}") graph.RootNodes |> Seq.iter scheduleNodeStatus let status = hub.WaitCompletion() + buildProgress.BuildCompleted() + match status with | Status.Ok -> Log.Debug("Build successful") @@ -424,7 +410,6 @@ let run (options: ConfigOptions.Options) (cache: Cache.ICache) (api: Contracts.I Summary.Targets = options.Targets Summary.Nodes = nodeStatus } - notification.BuildCompleted buildInfo api |> Option.iter (fun api -> api.CompleteBuild buildInfo.IsSuccess) buildInfo diff --git a/src/Terrabuild/Core/Configuration.fs b/src/Terrabuild/Core/Configuration.fs index 4865f23c..6268cbc2 100644 --- a/src/Terrabuild/Core/Configuration.fs +++ b/src/Terrabuild/Core/Configuration.fs @@ -344,6 +344,7 @@ let private loadProjectDef (options: ConfigOptions.Options) (workspaceConfig: AS // this is the final stage: create targets and create the project let private finalizeProject projectDir evaluationContext (projectDef: LoadedProject) (projectDependencies: Map) = + let startFinalize = DateTime.UtcNow let projectId = projectDir |> String.toLower // get dependencies on files @@ -558,6 +559,9 @@ let private finalizeProject projectDir evaluationContext (projectDef: LoadedProj let projectDependencies = projectDependencies.Keys |> Seq.map String.toLower |> Set.ofSeq + let endFinalize = DateTime.UtcNow + Log.Debug("Finalized project '{ProjectId}' for {Duration}", projectDir, endFinalize - startFinalize) + { Project.Id = projectDef.Id Project.Directory = projectDir Project.Hash = projectHash @@ -596,6 +600,9 @@ let read (options: ConfigOptions.Options) = $"{Ansi.Emojis.eyes} Building graph" |> Terminal.writeLine + let buildProgress = Notification.BuildNotification() :> BuildProgress.IBuildProgress + buildProgress.BuildStarted() + let workspaceContent = FS.combinePath options.Workspace "WORKSPACE" |> File.ReadAllText let workspaceConfig = try @@ -632,7 +639,10 @@ let read (options: ConfigOptions.Options) = let rec loadProject projectDir = let projectPathId = projectDir |> String.toLower if projectLoading.TryAdd(projectPathId, true) then + // parallel load of projects + buildProgress.TaskScheduled projectPathId projectPathId + hub.Subscribe projectDir [] (fun () -> let loadedProject = try @@ -666,6 +676,7 @@ let read (options: ConfigOptions.Options) = let awaitedSignals = projectPathSignals @ dependsOnSignals hub.Subscribe projectDir awaitedSignals (fun () -> + buildProgress.TaskBuilding projectPathId try // build task & code & notify let dependsOnProjects = @@ -676,13 +687,12 @@ let read (options: ConfigOptions.Options) = let project = finalizeProject projectDir evaluationContext loadedProject dependsOnProjects if projects.TryAdd(projectPathId, project) |> not then raiseBugError "Unexpected error" - Log.Debug($"Signaling projectPath '{projectPathId}") let loadedProjectPathIdSignal = hub.GetSignal projectPathId loadedProjectPathIdSignal.Set(project) + buildProgress.TaskCompleted projectPathId false true match loadedProject.Id with | Some projectId -> - Log.Debug($"Signaling projectId '{projectId}") let loadedProjectIdSignal = hub.GetSignal $"project.{projectId}" loadedProjectIdSignal.Set(project) | _ -> () @@ -703,6 +713,8 @@ let read (options: ConfigOptions.Options) = findDependencies true options.Workspace let status = hub.WaitCompletion() + buildProgress.BuildCompleted() + match status with | Status.Ok -> projects |> Map.ofDict diff --git a/src/Terrabuild/Core/GraphDef.fs b/src/Terrabuild/Core/GraphDef.fs index afb4dc0c..fe7a2a6c 100644 --- a/src/Terrabuild/Core/GraphDef.fs +++ b/src/Terrabuild/Core/GraphDef.fs @@ -42,3 +42,4 @@ type Graph = { let buildCacheKey (node: Node) = $"{node.ProjectHash}/{node.Target}/{node.TargetHash}" + diff --git a/src/Terrabuild/Core/Notification.fs b/src/Terrabuild/Core/Notification.fs index ac4240f9..5105f136 100644 --- a/src/Terrabuild/Core/Notification.fs +++ b/src/Terrabuild/Core/Notification.fs @@ -24,8 +24,8 @@ type TaskStatus = [] type PrinterProtocol = - | BuildStarted of graph:GraphDef.Graph - | BuildCompleted of summary:Build.Summary + | BuildStarted + | BuildCompleted | TaskScheduled of taskId:string * label:string | TaskStatusChanged of taskId:string * status:TaskStatus | TaskCompleted of taskId:string * restore:bool * success:bool @@ -50,10 +50,10 @@ type BuildNotification() = let rec messageLoop () = async { let! msg = inbox.Receive() match msg with - | PrinterProtocol.BuildStarted graph -> + | PrinterProtocol.BuildStarted -> return! messageLoop () - | PrinterProtocol.BuildCompleted summary -> + | PrinterProtocol.BuildCompleted -> cts.Cancel() renderer.Refresh () buildComplete.Set() |> ignore @@ -86,17 +86,15 @@ type BuildNotification() = let printerAgent = MailboxProcessor.Start(handler) - interface Build.IBuildNotification with - member _.WaitCompletion(): unit = - buildComplete.WaitOne() |> ignore - - member _.BuildStarted graph = - PrinterProtocol.BuildStarted graph + interface BuildProgress.IBuildProgress with + member _.BuildStarted () = + PrinterProtocol.BuildStarted |> printerAgent.Post - member _.BuildCompleted (summary: Build.Summary) = - PrinterProtocol.BuildCompleted summary + member _.BuildCompleted () = + PrinterProtocol.BuildCompleted |> printerAgent.Post + buildComplete.WaitOne() |> ignore member _.TaskScheduled (taskId:string) (label:string) = PrinterProtocol.TaskScheduled (taskId, label) diff --git a/src/Terrabuild/Helpers/Terminal.fs b/src/Terrabuild/Helpers/Terminal.fs index 607c3f71..d50d5ff2 100644 --- a/src/Terrabuild/Helpers/Terminal.fs +++ b/src/Terrabuild/Helpers/Terminal.fs @@ -41,12 +41,10 @@ let writeLine (str: string) = Console.Out.WriteLine(str) let hideCursor() = - if supportAnsi then - Ansi.Styles.cursorHide |> write |> flush + if supportAnsi then Ansi.Styles.cursorHide |> write let showCursor() = - if supportAnsi then - Ansi.Styles.cursorShow |> write |> flush + if supportAnsi then Ansi.Styles.cursorShow |> write let autoflush() = if supportAnsi then diff --git a/src/Terrabuild/Program.fs b/src/Terrabuild/Program.fs index 6b9a8428..02319d7c 100644 --- a/src/Terrabuild/Program.fs +++ b/src/Terrabuild/Program.fs @@ -158,11 +158,7 @@ let processCommandLine (parser: ArgumentParser) (result: ParseRe let errCode = if options.WhatIf then 0 else - let summary = - let buildNotification = Notification.BuildNotification() :> Build.IBuildNotification - let summary = Build.run options cache api buildNotification buildGraph - buildNotification.WaitCompletion() - summary + let summary = Build.run options cache api buildGraph if options.Debug then let jsonBuild = Json.Serialize summary diff --git a/src/Terrabuild/Terrabuild.fsproj b/src/Terrabuild/Terrabuild.fsproj index cccc9517..5de9c3de 100644 --- a/src/Terrabuild/Terrabuild.fsproj +++ b/src/Terrabuild/Terrabuild.fsproj @@ -12,6 +12,7 @@ + @@ -21,6 +22,7 @@ + @@ -28,7 +30,6 @@ - From 9d951ce640552c81d77db8aed6bbac93658ccb4a Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Sun, 24 Aug 2025 15:46:03 +0200 Subject: [PATCH 2/4] use libgit2sharp for better performance and correct file matching --- .../packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Common/IO.fs | 67 +++++++++---------- .../Terrabuild.Common.fsproj | 2 +- src/Terrabuild.Common/packages.lock.json | 64 +++++++++++++++--- .../packages.lock.json | 64 +++++++++++++++--- .../packages.lock.json | 64 +++++++++++++++--- .../packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Expressions/packages.lock.json | 64 +++++++++++++++--- .../packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Extensions/packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Lang.Tests/packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Lang/packages.lock.json | 64 +++++++++++++++--- .../packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.PubSub/packages.lock.json | 64 +++++++++++++++--- .../packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Scripting/packages.lock.json | 64 +++++++++++++++--- src/Terrabuild.Tests/packages.lock.json | 46 +++++++++++-- src/Terrabuild/Core/Configuration.fs | 14 +--- src/Terrabuild/packages.lock.json | 46 +++++++++++-- 19 files changed, 875 insertions(+), 196 deletions(-) diff --git a/src/Terrabuild.Common.Tests/packages.lock.json b/src/Terrabuild.Common.Tests/packages.lock.json index 17f18982..60f13d65 100644 --- a/src/Terrabuild.Common.Tests/packages.lock.json +++ b/src/Terrabuild.Common.Tests/packages.lock.json @@ -59,10 +59,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -174,17 +182,53 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Common/IO.fs b/src/Terrabuild.Common/IO.fs index 98b555ce..3030b479 100644 --- a/src/Terrabuild.Common/IO.fs +++ b/src/Terrabuild.Common/IO.fs @@ -3,7 +3,7 @@ open System.IO open Microsoft.Extensions.FileSystemGlobbing open Collections open System -open Ignore +open LibGit2Sharp let chmod permissions (path: string) = File.SetUnixFileMode(path, permissions) @@ -110,38 +110,33 @@ let createSnapshot outputs projectDirectory = -let loadIgnoreFile dir = - let ignoreAccumulator = Ignore() - let rec combineIgnoreFiles dir = - if FS.combinePath dir "WORKSPACE" |> exists |> not then - match dir |> FS.parentDirectory with - | Some dir -> dir |> combineIgnoreFiles - | _ -> () - - let ignoreFile = FS.combinePath dir ".gitignore" - if FS.fileExists ignoreFile then - let content = File.ReadAllLines ignoreFile - content |> ignoreAccumulator.Add |> ignore - - dir |> combineIgnoreFiles - ignoreAccumulator - -let enumeratedCommittedFiles projectDir = - - let rec enumeratedCommittedFiles (dirIgnore: Ignore) dir = [ - // enumerate whitelisted files - yield! dir |> enumerateFiles |> List.filter (not << dirIgnore.IsIgnored) - - // enumerate whitelisted directories - let dirs = dir |> enumerateDirs |> List.filter (not << dirIgnore.IsIgnored) - for subdir in dirs do - // update ignore if new .gitignore file discovered - let ignoreFile = FS.combinePath dir ".gitignore" - let subDirIgnore = - if FS.fileExists ignoreFile then Ignore().Add(dirIgnore.OriginalRules).Add(File.ReadAllLines ignoreFile) - else dirIgnore - yield! enumeratedCommittedFiles subDirIgnore subdir - ] - - let projectDirIgnore = loadIgnoreFile projectDir - enumeratedCommittedFiles projectDirIgnore projectDir +let enumeratedCommittedFiles workspaceDir projectDir = + let repoDir = Repository.Discover(workspaceDir) + use repo = new Repository(repoDir) + + // Empty repo case + if isNull repo.Head.Tip then [] + else + let headTree = repo.Head.Tip.Tree + + // Walk the tree recursively + let rec collect (tree: Tree) (acc: ResizeArray) = + for entry in tree do + match entry.TargetType with + | TreeEntryTargetType.Blob -> + acc.Add(entry.Path) // Git-relative (POSIX) + | TreeEntryTargetType.Tree -> + collect (entry.Target :?> Tree) acc + | _ -> () + let acc = ResizeArray() + collect headTree acc + + // Build the subdir prefix in Git's POSIX format + let relProject = $"{projectDir}/" + + acc + |> Seq.filter (fun p -> p.StartsWith(relProject)) + |> Seq.map (fun p -> + // Convert back to OS path + Path.Combine(workspaceDir, p) |> Path.GetFullPath) + |> Seq.toList diff --git a/src/Terrabuild.Common/Terrabuild.Common.fsproj b/src/Terrabuild.Common/Terrabuild.Common.fsproj index d9230f17..ccad8019 100644 --- a/src/Terrabuild.Common/Terrabuild.Common.fsproj +++ b/src/Terrabuild.Common/Terrabuild.Common.fsproj @@ -19,7 +19,7 @@ - + diff --git a/src/Terrabuild.Common/packages.lock.json b/src/Terrabuild.Common/packages.lock.json index 70e2666e..04b41c95 100644 --- a/src/Terrabuild.Common/packages.lock.json +++ b/src/Terrabuild.Common/packages.lock.json @@ -18,11 +18,14 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Direct", - "requested": "[0.2.1, )", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "requested": "[0.31.0, )", + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Direct", @@ -35,13 +38,54 @@ "requested": "[9.0.0, )", "resolved": "9.0.0", "contentHash": "js7+qAu/9mQvnhA4EfGMZNEzXtJCDxgkgj8ohuxq/Qxv+R56G+ljefhiJHOxTNiw54q8vmABCWUwkMulNdlZ4A==" + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Configuration.Tests/packages.lock.json b/src/Terrabuild.Configuration.Tests/packages.lock.json index e332e2c6..57b108ba 100644 --- a/src/Terrabuild.Configuration.Tests/packages.lock.json +++ b/src/Terrabuild.Configuration.Tests/packages.lock.json @@ -76,10 +76,18 @@ "FSharp.Core": "4.6.2" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -191,7 +199,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -224,11 +232,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Configuration/packages.lock.json b/src/Terrabuild.Configuration/packages.lock.json index 626b06b2..3523c2f6 100644 --- a/src/Terrabuild.Configuration/packages.lock.json +++ b/src/Terrabuild.Configuration/packages.lock.json @@ -40,10 +40,18 @@ "FSharp.Core": "4.6.2" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", @@ -55,7 +63,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -79,11 +87,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Expressions.Tests/packages.lock.json b/src/Terrabuild.Expressions.Tests/packages.lock.json index 9db3cfc0..2ba1741f 100644 --- a/src/Terrabuild.Expressions.Tests/packages.lock.json +++ b/src/Terrabuild.Expressions.Tests/packages.lock.json @@ -59,10 +59,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -174,7 +182,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -188,11 +196,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Expressions/packages.lock.json b/src/Terrabuild.Expressions/packages.lock.json index bed218d9..32c97e9e 100644 --- a/src/Terrabuild.Expressions/packages.lock.json +++ b/src/Terrabuild.Expressions/packages.lock.json @@ -23,10 +23,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", @@ -38,17 +46,53 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Extensions.Tests/packages.lock.json b/src/Terrabuild.Extensions.Tests/packages.lock.json index 418c607b..dbfcdf39 100644 --- a/src/Terrabuild.Extensions.Tests/packages.lock.json +++ b/src/Terrabuild.Extensions.Tests/packages.lock.json @@ -59,10 +59,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -174,7 +182,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -196,11 +204,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Extensions/packages.lock.json b/src/Terrabuild.Extensions/packages.lock.json index 14e6d52d..5c04a96f 100644 --- a/src/Terrabuild.Extensions/packages.lock.json +++ b/src/Terrabuild.Extensions/packages.lock.json @@ -23,10 +23,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", @@ -38,7 +46,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -51,11 +59,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Lang.Tests/packages.lock.json b/src/Terrabuild.Lang.Tests/packages.lock.json index 61ed7a28..b80e6d0a 100644 --- a/src/Terrabuild.Lang.Tests/packages.lock.json +++ b/src/Terrabuild.Lang.Tests/packages.lock.json @@ -76,10 +76,18 @@ "FSharp.Core": "4.6.2" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -191,7 +199,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -215,11 +223,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Lang/packages.lock.json b/src/Terrabuild.Lang/packages.lock.json index 11fc92fe..8beabe85 100644 --- a/src/Terrabuild.Lang/packages.lock.json +++ b/src/Terrabuild.Lang/packages.lock.json @@ -41,10 +41,18 @@ "FSharp.Core": "4.6.2" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", @@ -56,7 +64,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -70,11 +78,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.PubSub.Tests/packages.lock.json b/src/Terrabuild.PubSub.Tests/packages.lock.json index 9f028e0c..8b34e6a8 100644 --- a/src/Terrabuild.PubSub.Tests/packages.lock.json +++ b/src/Terrabuild.PubSub.Tests/packages.lock.json @@ -59,10 +59,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -174,7 +182,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -188,11 +196,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.PubSub/packages.lock.json b/src/Terrabuild.PubSub/packages.lock.json index bed218d9..32c97e9e 100644 --- a/src/Terrabuild.PubSub/packages.lock.json +++ b/src/Terrabuild.PubSub/packages.lock.json @@ -23,10 +23,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", @@ -38,17 +46,53 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Scripting.Tests/packages.lock.json b/src/Terrabuild.Scripting.Tests/packages.lock.json index ea9e3d4d..79bc9fcf 100644 --- a/src/Terrabuild.Scripting.Tests/packages.lock.json +++ b/src/Terrabuild.Scripting.Tests/packages.lock.json @@ -74,10 +74,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -206,7 +214,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -236,11 +244,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Scripting/packages.lock.json b/src/Terrabuild.Scripting/packages.lock.json index 9a7002ab..ce525816 100644 --- a/src/Terrabuild.Scripting/packages.lock.json +++ b/src/Terrabuild.Scripting/packages.lock.json @@ -39,10 +39,18 @@ "System.Text.Json": "6.0.10" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", @@ -89,7 +97,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -103,11 +111,47 @@ } } }, - "net9.0/linux-arm64": {}, - "net9.0/linux-x64": {}, - "net9.0/osx-arm64": {}, - "net9.0/osx-x64": {}, - "net9.0/win-arm64": {}, - "net9.0/win-x64": {} + "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + }, + "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + } + } } } \ No newline at end of file diff --git a/src/Terrabuild.Tests/packages.lock.json b/src/Terrabuild.Tests/packages.lock.json index cddea73c..b7e5ef40 100644 --- a/src/Terrabuild.Tests/packages.lock.json +++ b/src/Terrabuild.Tests/packages.lock.json @@ -228,10 +228,18 @@ "FSharp.Core": "4.6.2" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.ApplicationInsights": { "type": "Transitive", @@ -1362,7 +1370,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -1429,6 +1437,11 @@ } }, "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -2291,6 +2304,11 @@ } }, "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -3153,6 +3171,11 @@ } }, "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -4015,6 +4038,11 @@ } }, "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -4877,6 +4905,11 @@ } }, "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -5713,6 +5746,11 @@ } }, "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", diff --git a/src/Terrabuild/Core/Configuration.fs b/src/Terrabuild/Core/Configuration.fs index 6268cbc2..e17779cc 100644 --- a/src/Terrabuild/Core/Configuration.fs +++ b/src/Terrabuild/Core/Configuration.fs @@ -343,12 +343,12 @@ let private loadProjectDef (options: ConfigOptions.Options) (workspaceConfig: AS // this is the final stage: create targets and create the project -let private finalizeProject projectDir evaluationContext (projectDef: LoadedProject) (projectDependencies: Map) = +let private finalizeProject workspaceDir projectDir evaluationContext (projectDef: LoadedProject) (projectDependencies: Map) = let startFinalize = DateTime.UtcNow let projectId = projectDir |> String.toLower // get dependencies on files - let committedFiles = IO.enumeratedCommittedFiles projectDir |> Set.ofList + let committedFiles = IO.enumeratedCommittedFiles workspaceDir projectDir |> Set.ofList let additionalFiles = projectDir |> IO.enumerateFilesBut projectDef.Includes (projectDef.Outputs + projectDef.Ignores) @@ -600,9 +600,6 @@ let read (options: ConfigOptions.Options) = $"{Ansi.Emojis.eyes} Building graph" |> Terminal.writeLine - let buildProgress = Notification.BuildNotification() :> BuildProgress.IBuildProgress - buildProgress.BuildStarted() - let workspaceContent = FS.combinePath options.Workspace "WORKSPACE" |> File.ReadAllText let workspaceConfig = try @@ -641,8 +638,6 @@ let read (options: ConfigOptions.Options) = if projectLoading.TryAdd(projectPathId, true) then // parallel load of projects - buildProgress.TaskScheduled projectPathId projectPathId - hub.Subscribe projectDir [] (fun () -> let loadedProject = try @@ -676,7 +671,6 @@ let read (options: ConfigOptions.Options) = let awaitedSignals = projectPathSignals @ dependsOnSignals hub.Subscribe projectDir awaitedSignals (fun () -> - buildProgress.TaskBuilding projectPathId try // build task & code & notify let dependsOnProjects = @@ -684,12 +678,11 @@ let read (options: ConfigOptions.Options) = |> Seq.map (fun projectDependency -> projectDependency.Get().Directory, projectDependency.Get()) |> Map.ofSeq - let project = finalizeProject projectDir evaluationContext loadedProject dependsOnProjects + let project = finalizeProject options.Workspace projectDir evaluationContext loadedProject dependsOnProjects if projects.TryAdd(projectPathId, project) |> not then raiseBugError "Unexpected error" let loadedProjectPathIdSignal = hub.GetSignal projectPathId loadedProjectPathIdSignal.Set(project) - buildProgress.TaskCompleted projectPathId false true match loadedProject.Id with | Some projectId -> @@ -713,7 +706,6 @@ let read (options: ConfigOptions.Options) = findDependencies true options.Workspace let status = hub.WaitCompletion() - buildProgress.BuildCompleted() match status with | Status.Ok -> diff --git a/src/Terrabuild/packages.lock.json b/src/Terrabuild/packages.lock.json index 4c68cbb0..8d058cd3 100644 --- a/src/Terrabuild/packages.lock.json +++ b/src/Terrabuild/packages.lock.json @@ -218,10 +218,18 @@ "FSharp.Core": "4.6.2" } }, - "Ignore": { + "LibGit2Sharp": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", @@ -1231,7 +1239,7 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "Ignore": "[0.2.1, )", + "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -1298,6 +1306,11 @@ } }, "net9.0/linux-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -2160,6 +2173,11 @@ } }, "net9.0/linux-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -3022,6 +3040,11 @@ } }, "net9.0/osx-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -3884,6 +3907,11 @@ } }, "net9.0/osx-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -4746,6 +4774,11 @@ } }, "net9.0/win-arm64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", @@ -5582,6 +5615,11 @@ } }, "net9.0/win-x64": { + "LibGit2Sharp.NativeBinaries": { + "type": "Transitive", + "resolved": "2.0.323", + "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" + }, "Microsoft.Win32.Primitives": { "type": "Transitive", "resolved": "4.3.0", From e6d420643c307c0c29b7a053646229699b8645cf Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Sun, 24 Aug 2025 16:27:52 +0200 Subject: [PATCH 3/4] fix relative path --- .../packages.lock.json | 62 ++----------------- src/Terrabuild.Common/IO.fs | 33 ---------- .../Terrabuild.Common.fsproj | 1 - src/Terrabuild.Common/packages.lock.json | 62 ++----------------- .../packages.lock.json | 62 ++----------------- .../packages.lock.json | 62 ++----------------- .../packages.lock.json | 62 ++----------------- src/Terrabuild.Expressions/packages.lock.json | 62 ++----------------- .../packages.lock.json | 62 ++----------------- src/Terrabuild.Extensions/packages.lock.json | 62 ++----------------- src/Terrabuild.Lang.Tests/packages.lock.json | 62 ++----------------- src/Terrabuild.Lang/packages.lock.json | 62 ++----------------- .../packages.lock.json | 62 ++----------------- src/Terrabuild.PubSub/packages.lock.json | 62 ++----------------- .../packages.lock.json | 62 ++----------------- src/Terrabuild.Scripting/packages.lock.json | 62 ++----------------- src/Terrabuild.Tests/packages.lock.json | 2 +- src/Terrabuild/Core/Configuration.fs | 2 +- src/Terrabuild/Helpers/Git.fs | 30 +++++++++ src/Terrabuild/Terrabuild.fsproj | 1 + src/Terrabuild/packages.lock.json | 18 +++--- .../results/terrabuild-debug.build-graph.json | 10 +-- .../results/terrabuild-debug.config.json | 8 ++- 23 files changed, 136 insertions(+), 837 deletions(-) diff --git a/src/Terrabuild.Common.Tests/packages.lock.json b/src/Terrabuild.Common.Tests/packages.lock.json index 60f13d65..f456a612 100644 --- a/src/Terrabuild.Common.Tests/packages.lock.json +++ b/src/Terrabuild.Common.Tests/packages.lock.json @@ -59,19 +59,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -182,53 +169,16 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Common/IO.fs b/src/Terrabuild.Common/IO.fs index 3030b479..81751432 100644 --- a/src/Terrabuild.Common/IO.fs +++ b/src/Terrabuild.Common/IO.fs @@ -3,7 +3,6 @@ open System.IO open Microsoft.Extensions.FileSystemGlobbing open Collections open System -open LibGit2Sharp let chmod permissions (path: string) = File.SetUnixFileMode(path, permissions) @@ -108,35 +107,3 @@ let createSnapshot outputs projectDirectory = |> Map { TimestampedFiles = files } - - -let enumeratedCommittedFiles workspaceDir projectDir = - let repoDir = Repository.Discover(workspaceDir) - use repo = new Repository(repoDir) - - // Empty repo case - if isNull repo.Head.Tip then [] - else - let headTree = repo.Head.Tip.Tree - - // Walk the tree recursively - let rec collect (tree: Tree) (acc: ResizeArray) = - for entry in tree do - match entry.TargetType with - | TreeEntryTargetType.Blob -> - acc.Add(entry.Path) // Git-relative (POSIX) - | TreeEntryTargetType.Tree -> - collect (entry.Target :?> Tree) acc - | _ -> () - let acc = ResizeArray() - collect headTree acc - - // Build the subdir prefix in Git's POSIX format - let relProject = $"{projectDir}/" - - acc - |> Seq.filter (fun p -> p.StartsWith(relProject)) - |> Seq.map (fun p -> - // Convert back to OS path - Path.Combine(workspaceDir, p) |> Path.GetFullPath) - |> Seq.toList diff --git a/src/Terrabuild.Common/Terrabuild.Common.fsproj b/src/Terrabuild.Common/Terrabuild.Common.fsproj index ccad8019..c5fb3ae8 100644 --- a/src/Terrabuild.Common/Terrabuild.Common.fsproj +++ b/src/Terrabuild.Common/Terrabuild.Common.fsproj @@ -19,7 +19,6 @@ - diff --git a/src/Terrabuild.Common/packages.lock.json b/src/Terrabuild.Common/packages.lock.json index 04b41c95..c574b85c 100644 --- a/src/Terrabuild.Common/packages.lock.json +++ b/src/Terrabuild.Common/packages.lock.json @@ -18,15 +18,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Direct", - "requested": "[0.31.0, )", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Direct", "requested": "[9.0.8, )", @@ -38,54 +29,13 @@ "requested": "[9.0.0, )", "resolved": "9.0.0", "contentHash": "js7+qAu/9mQvnhA4EfGMZNEzXtJCDxgkgj8ohuxq/Qxv+R56G+ljefhiJHOxTNiw54q8vmABCWUwkMulNdlZ4A==" - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" } }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Configuration.Tests/packages.lock.json b/src/Terrabuild.Configuration.Tests/packages.lock.json index 57b108ba..b74a94ec 100644 --- a/src/Terrabuild.Configuration.Tests/packages.lock.json +++ b/src/Terrabuild.Configuration.Tests/packages.lock.json @@ -76,19 +76,6 @@ "FSharp.Core": "4.6.2" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -199,7 +186,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -232,47 +218,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Configuration/packages.lock.json b/src/Terrabuild.Configuration/packages.lock.json index 3523c2f6..87c0fce1 100644 --- a/src/Terrabuild.Configuration/packages.lock.json +++ b/src/Terrabuild.Configuration/packages.lock.json @@ -40,19 +40,6 @@ "FSharp.Core": "4.6.2" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", "resolved": "9.0.8", @@ -63,7 +50,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -87,47 +73,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Expressions.Tests/packages.lock.json b/src/Terrabuild.Expressions.Tests/packages.lock.json index 2ba1741f..b592499c 100644 --- a/src/Terrabuild.Expressions.Tests/packages.lock.json +++ b/src/Terrabuild.Expressions.Tests/packages.lock.json @@ -59,19 +59,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -182,7 +169,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -196,47 +182,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Expressions/packages.lock.json b/src/Terrabuild.Expressions/packages.lock.json index 32c97e9e..936693f3 100644 --- a/src/Terrabuild.Expressions/packages.lock.json +++ b/src/Terrabuild.Expressions/packages.lock.json @@ -23,19 +23,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", "resolved": "9.0.8", @@ -46,53 +33,16 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Extensions.Tests/packages.lock.json b/src/Terrabuild.Extensions.Tests/packages.lock.json index dbfcdf39..5e291628 100644 --- a/src/Terrabuild.Extensions.Tests/packages.lock.json +++ b/src/Terrabuild.Extensions.Tests/packages.lock.json @@ -59,19 +59,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -182,7 +169,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -204,47 +190,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Extensions/packages.lock.json b/src/Terrabuild.Extensions/packages.lock.json index 5c04a96f..9a85070e 100644 --- a/src/Terrabuild.Extensions/packages.lock.json +++ b/src/Terrabuild.Extensions/packages.lock.json @@ -23,19 +23,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", "resolved": "9.0.8", @@ -46,7 +33,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -59,47 +45,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Lang.Tests/packages.lock.json b/src/Terrabuild.Lang.Tests/packages.lock.json index b80e6d0a..8393d5bb 100644 --- a/src/Terrabuild.Lang.Tests/packages.lock.json +++ b/src/Terrabuild.Lang.Tests/packages.lock.json @@ -76,19 +76,6 @@ "FSharp.Core": "4.6.2" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -199,7 +186,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -223,47 +209,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Lang/packages.lock.json b/src/Terrabuild.Lang/packages.lock.json index 8beabe85..eb0cc9f1 100644 --- a/src/Terrabuild.Lang/packages.lock.json +++ b/src/Terrabuild.Lang/packages.lock.json @@ -41,19 +41,6 @@ "FSharp.Core": "4.6.2" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", "resolved": "9.0.8", @@ -64,7 +51,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -78,47 +64,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.PubSub.Tests/packages.lock.json b/src/Terrabuild.PubSub.Tests/packages.lock.json index 8b34e6a8..23bed5c2 100644 --- a/src/Terrabuild.PubSub.Tests/packages.lock.json +++ b/src/Terrabuild.PubSub.Tests/packages.lock.json @@ -59,19 +59,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -182,7 +169,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -196,47 +182,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.PubSub/packages.lock.json b/src/Terrabuild.PubSub/packages.lock.json index 32c97e9e..936693f3 100644 --- a/src/Terrabuild.PubSub/packages.lock.json +++ b/src/Terrabuild.PubSub/packages.lock.json @@ -23,19 +23,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", "resolved": "9.0.8", @@ -46,53 +33,16 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Scripting.Tests/packages.lock.json b/src/Terrabuild.Scripting.Tests/packages.lock.json index 79bc9fcf..5eafce6d 100644 --- a/src/Terrabuild.Scripting.Tests/packages.lock.json +++ b/src/Terrabuild.Scripting.Tests/packages.lock.json @@ -74,19 +74,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.ApplicationInsights": { "type": "Transitive", "resolved": "2.23.0", @@ -214,7 +201,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -244,47 +230,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Scripting/packages.lock.json b/src/Terrabuild.Scripting/packages.lock.json index ce525816..0bed39a3 100644 --- a/src/Terrabuild.Scripting/packages.lock.json +++ b/src/Terrabuild.Scripting/packages.lock.json @@ -39,19 +39,6 @@ "System.Text.Json": "6.0.10" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - }, "Microsoft.Extensions.FileSystemGlobbing": { "type": "Transitive", "resolved": "9.0.8", @@ -97,7 +84,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } @@ -111,47 +97,11 @@ } } }, - "net9.0/linux-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/linux-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/osx-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-arm64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - }, - "net9.0/win-x64": { - "LibGit2Sharp.NativeBinaries": { - "type": "Transitive", - "resolved": "2.0.323", - "contentHash": "Kg+fJGWhGj5qRXG0Ilj4ddhuodGXZg57yhfX6OVUDR0M2DKg/UR42/d74+qv5l1qotc1qJilo/ho7xQnULP6yA==" - } - } + "net9.0/linux-arm64": {}, + "net9.0/linux-x64": {}, + "net9.0/osx-arm64": {}, + "net9.0/osx-x64": {}, + "net9.0/win-arm64": {}, + "net9.0/win-x64": {} } } \ No newline at end of file diff --git a/src/Terrabuild.Tests/packages.lock.json b/src/Terrabuild.Tests/packages.lock.json index b7e5ef40..3980d020 100644 --- a/src/Terrabuild.Tests/packages.lock.json +++ b/src/Terrabuild.Tests/packages.lock.json @@ -1353,6 +1353,7 @@ "FSharp.Core": "[9.0.303, )", "FSharp.Data": "[6.6.0, )", "FSharp.SystemTextJson": "[1.4.36, )", + "LibGit2Sharp": "[0.31.0, )", "SemanticVersioning": "[3.0.0, )", "Sentry": "[5.14.1, )", "Serilog.Sinks.File": "[7.0.0, )", @@ -1370,7 +1371,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } diff --git a/src/Terrabuild/Core/Configuration.fs b/src/Terrabuild/Core/Configuration.fs index e17779cc..db508a37 100644 --- a/src/Terrabuild/Core/Configuration.fs +++ b/src/Terrabuild/Core/Configuration.fs @@ -348,7 +348,7 @@ let private finalizeProject workspaceDir projectDir evaluationContext (projectDe let projectId = projectDir |> String.toLower // get dependencies on files - let committedFiles = IO.enumeratedCommittedFiles workspaceDir projectDir |> Set.ofList + let committedFiles = Git.enumeratedCommittedFiles workspaceDir projectDir |> Set.ofList let additionalFiles = projectDir |> IO.enumerateFilesBut projectDef.Includes (projectDef.Outputs + projectDef.Ignores) diff --git a/src/Terrabuild/Helpers/Git.fs b/src/Terrabuild/Helpers/Git.fs index ca5df5c6..c58d043b 100644 --- a/src/Terrabuild/Helpers/Git.fs +++ b/src/Terrabuild/Helpers/Git.fs @@ -1,6 +1,7 @@ module Git open Errors open System +open LibGit2Sharp let getBranchOrTag (dir: string) = // https://stackoverflow.com/questions/18659425/get-git-current-branch-tag-name @@ -29,3 +30,32 @@ let getCommitLog (dir: string) = |> Seq.map (fun arr -> {| Sha = arr[0]; Subject = arr[1]; Author = arr[2]; Email = arr[3]; Timestamp = DateTime.Parse(arr[4]) |}) |> List.ofSeq | _ -> raiseExternalError "Failed to get commit log" + +let enumeratedCommittedFiles workspaceDir projectDir = + use repo = new Repository(workspaceDir |> Repository.Discover) + let repoDir = repo.Info.WorkingDirectory + let repoRelativeProject = FS.relativePath repoDir projectDir + + // Empty repo case + if isNull repo.Head.Tip then [] + else + let headTree = repo.Head.Tip.Tree + + // Walk the tree recursively + let rec collect (tree: Tree) (acc: ResizeArray) = + for entry in tree do + match entry.TargetType with + | TreeEntryTargetType.Blob -> + acc.Add(entry.Path) // Git-relative (POSIX) + | TreeEntryTargetType.Tree -> + collect (entry.Target :?> Tree) acc + | _ -> () + let acc = ResizeArray() + collect headTree acc + + let relProject = $"{repoRelativeProject}/" + + acc + |> Seq.filter (fun p -> p.StartsWith(relProject)) + |> Seq.map (FS.combinePath repoDir) + |> Seq.toList diff --git a/src/Terrabuild/Terrabuild.fsproj b/src/Terrabuild/Terrabuild.fsproj index 5de9c3de..112d5a05 100644 --- a/src/Terrabuild/Terrabuild.fsproj +++ b/src/Terrabuild/Terrabuild.fsproj @@ -60,6 +60,7 @@ + diff --git a/src/Terrabuild/packages.lock.json b/src/Terrabuild/packages.lock.json index 8d058cd3..0de5114b 100644 --- a/src/Terrabuild/packages.lock.json +++ b/src/Terrabuild/packages.lock.json @@ -67,6 +67,15 @@ "System.Text.Json": "6.0.10" } }, + "LibGit2Sharp": { + "type": "Direct", + "requested": "[0.31.0, )", + "resolved": "0.31.0", + "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", + "dependencies": { + "LibGit2Sharp.NativeBinaries": "[2.0.323]" + } + }, "SemanticVersioning": { "type": "Direct", "requested": "[3.0.0, )", @@ -218,14 +227,6 @@ "FSharp.Core": "4.6.2" } }, - "LibGit2Sharp": { - "type": "Transitive", - "resolved": "0.31.0", - "contentHash": "b3+UfV7LjKMjAHWwl7VawejiOv2gJIC6dTCA/S0puLTHACAA/Oeb5JJmWUQMeyH/T/WR/LaIK8bk2RbdFnrZvg==", - "dependencies": { - "LibGit2Sharp.NativeBinaries": "[2.0.323]" - } - }, "LibGit2Sharp.NativeBinaries": { "type": "Transitive", "resolved": "2.0.323", @@ -1239,7 +1240,6 @@ "dependencies": { "FSharp.Core": "[9.0.303, )", "FSharp.SystemTextJson": "[1.4.36, )", - "LibGit2Sharp": "[0.31.0, )", "Microsoft.Extensions.FileSystemGlobbing": "[9.0.8, )", "System.Text.Json": "[9.0.0, )" } diff --git a/tests/simple/results/terrabuild-debug.build-graph.json b/tests/simple/results/terrabuild-debug.build-graph.json index df4b5fd4..10cf0e92 100644 --- a/tests/simple/results/terrabuild-debug.build-graph.json +++ b/tests/simple/results/terrabuild-debug.build-graph.json @@ -11,8 +11,8 @@ "outputs": [ "*.planfile" ], - "projectHash": "66D01BA3879BB7926D41E7A60D780C74920BF79068DAD91771B86C198B32EF1D", - "targetHash": "76734C3F501CC560F668ACA1AF33F3569DB055FFF0E1BEAD39AA8060512F2CFE", + "projectHash": "96FA4AB4F4DDA2EB4EF579D3ACA6A135408D9A5EC8CAFE688D77D269493077E1", + "targetHash": "D95F00DB3007B4664D4E0371092FF7DA43C1EB8E89CB2385BB3018F32ECAAB89", "operations": [ { "container": "hashicorp/terraform:1.10", @@ -28,7 +28,7 @@ "containerVariables": [], "metaCommand": "@terraform plan", "command": "terraform", - "arguments": "plan -out=terrabuild.planfile -var=\u0022dotnet_app_version=26E3A1BECCD5D71B2FCF43FD9A22B931AAE58622995B126AF60C3EC553D1C04A\u0022 -var=\u0022npm_app_version=37ED3ADC0FCE859AB887474C73CCC1A2CD45535746F562F664DF766EF6C1E9B6\u0022" + "arguments": "plan -out=terrabuild.planfile -var=\u0022dotnet_app_version=AF7DA885096F5E8E14B8A8FAB101958472F0ABE049250D5D7366DBA89C3A5771\u0022 -var=\u0022npm_app_version=37ED3ADC0FCE859AB887474C73CCC1A2CD45535746F562F664DF766EF6C1E9B6\u0022" } ], "cache": "local", @@ -144,8 +144,8 @@ "obj/*.props", "obj/*.targets" ], - "projectHash": "26E3A1BECCD5D71B2FCF43FD9A22B931AAE58622995B126AF60C3EC553D1C04A", - "targetHash": "4ADE680B3DFD1A990C0337225AD933446F38EF52636DACC30CD5303974C0A533", + "projectHash": "AF7DA885096F5E8E14B8A8FAB101958472F0ABE049250D5D7366DBA89C3A5771", + "targetHash": "C7E15B98D6E39C4DADD65464B9EFBA34BF35F26DE6982FFB6B23C0FE871E4AE7", "operations": [ { "container": "mcr.microsoft.com/dotnet/sdk:9.0.202", diff --git a/tests/simple/results/terrabuild-debug.config.json b/tests/simple/results/terrabuild-debug.config.json index 809c1bbd..a0899794 100644 --- a/tests/simple/results/terrabuild-debug.config.json +++ b/tests/simple/results/terrabuild-debug.config.json @@ -34,7 +34,7 @@ "projects": { "deployments/terraform-deploy": { "directory": "deployments/terraform-deploy", - "hash": "66D01BA3879BB7926D41E7A60D780C74920BF79068DAD91771B86C198B32EF1D", + "hash": "96FA4AB4F4DDA2EB4EF579D3ACA6A135408D9A5EC8CAFE688D77D269493077E1", "dependencies": [ "projects/dotnet-app", "projects/npm-app" @@ -44,6 +44,8 @@ ".terraform.lock.hcl", "PROJECT", "backend.tf", + "terrabuild.tfstate/default/.keep", + "terrabuild.tfstate/dev/.keep", "test_res.tf", "variables.tf" ], @@ -91,7 +93,7 @@ { "dotnet_app_version": [ "string", - "26E3A1BECCD5D71B2FCF43FD9A22B931AAE58622995B126AF60C3EC553D1C04A" + "AF7DA885096F5E8E14B8A8FAB101958472F0ABE049250D5D7366DBA89C3A5771" ], "npm_app_version": [ "string", @@ -330,7 +332,7 @@ "projects/dotnet-app": { "id": "dotnet_app", "directory": "projects/dotnet-app", - "hash": "26E3A1BECCD5D71B2FCF43FD9A22B931AAE58622995B126AF60C3EC553D1C04A", + "hash": "AF7DA885096F5E8E14B8A8FAB101958472F0ABE049250D5D7366DBA89C3A5771", "dependencies": [ "libraries/dotnet-lib" ], From 1d91fcac34ffc9c916fb0e3a141a6ac989778cf1 Mon Sep 17 00:00:00 2001 From: Pierre Chalamet Date: Sun, 24 Aug 2025 16:47:26 +0200 Subject: [PATCH 4/4] ensure gitignore is applied instead of commited files --- src/Terrabuild/Helpers/Git.fs | 61 +++++++++++-------- .../results/terrabuild-debug.build-graph.json | 4 +- .../results/terrabuild-debug.config.json | 4 +- 3 files changed, 37 insertions(+), 32 deletions(-) diff --git a/src/Terrabuild/Helpers/Git.fs b/src/Terrabuild/Helpers/Git.fs index c58d043b..b8507a4e 100644 --- a/src/Terrabuild/Helpers/Git.fs +++ b/src/Terrabuild/Helpers/Git.fs @@ -2,6 +2,7 @@ module Git open Errors open System open LibGit2Sharp +open System.IO let getBranchOrTag (dir: string) = // https://stackoverflow.com/questions/18659425/get-git-current-branch-tag-name @@ -31,31 +32,37 @@ let getCommitLog (dir: string) = |> List.ofSeq | _ -> raiseExternalError "Failed to get commit log" -let enumeratedCommittedFiles workspaceDir projectDir = - use repo = new Repository(workspaceDir |> Repository.Discover) +// workspaceDir: absolute path anywhere inside the repo (ok if it's a nested "workspace") +// projectDir: path relative to workspaceDir +// returns: absolute file paths in the working tree that are NOT ignored by git +let enumeratedCommittedFiles (workspaceDir: string) (projectDir: string) : string list = + use repo = new Repository(workspaceDir |> Repository.Discover) let repoDir = repo.Info.WorkingDirectory - let repoRelativeProject = FS.relativePath repoDir projectDir - - // Empty repo case - if isNull repo.Head.Tip then [] - else - let headTree = repo.Head.Tip.Tree - - // Walk the tree recursively - let rec collect (tree: Tree) (acc: ResizeArray) = - for entry in tree do - match entry.TargetType with - | TreeEntryTargetType.Blob -> - acc.Add(entry.Path) // Git-relative (POSIX) - | TreeEntryTargetType.Tree -> - collect (entry.Target :?> Tree) acc - | _ -> () - let acc = ResizeArray() - collect headTree acc - - let relProject = $"{repoRelativeProject}/" - - acc - |> Seq.filter (fun p -> p.StartsWith(relProject)) - |> Seq.map (FS.combinePath repoDir) - |> Seq.toList + + let startDir = FS.combinePath workspaceDir projectDir |> Path.GetFullPath + + let isIgnored (absPath: string) = + let rel = FS.relativePath repoDir absPath + let relForGit = + if Directory.Exists absPath then (if rel.EndsWith "/" then rel else rel + "/") else rel + repo.Ignore.IsPathIgnored(relForGit) + + let results = ResizeArray() + let stack = Collections.Generic.Stack() + stack.Push(startDir) + + while stack.Count > 0 do + let dir = stack.Pop() + + if String.Equals(Path.GetFileName(dir), ".git") then + () // never descend into .git + elif not (isIgnored dir) then + // files + for f in Directory.EnumerateFiles(dir) do + if not (isIgnored f) then + results.Add(Path.GetFullPath f) + // subdirs + for d in Directory.EnumerateDirectories(dir) do + stack.Push d + + results |> Seq.toList diff --git a/tests/simple/results/terrabuild-debug.build-graph.json b/tests/simple/results/terrabuild-debug.build-graph.json index 10cf0e92..05289bb0 100644 --- a/tests/simple/results/terrabuild-debug.build-graph.json +++ b/tests/simple/results/terrabuild-debug.build-graph.json @@ -11,8 +11,8 @@ "outputs": [ "*.planfile" ], - "projectHash": "96FA4AB4F4DDA2EB4EF579D3ACA6A135408D9A5EC8CAFE688D77D269493077E1", - "targetHash": "D95F00DB3007B4664D4E0371092FF7DA43C1EB8E89CB2385BB3018F32ECAAB89", + "projectHash": "BFA50CC4701C93ED862F3608316CBE8BAE0D569DD18A060C7129A1D4DF7BCFB7", + "targetHash": "C47A717B43D162309032AF12B1E2A681BC951B6DD86BBAFD51691571C9D7C8F2", "operations": [ { "container": "hashicorp/terraform:1.10", diff --git a/tests/simple/results/terrabuild-debug.config.json b/tests/simple/results/terrabuild-debug.config.json index a0899794..354f41e8 100644 --- a/tests/simple/results/terrabuild-debug.config.json +++ b/tests/simple/results/terrabuild-debug.config.json @@ -34,7 +34,7 @@ "projects": { "deployments/terraform-deploy": { "directory": "deployments/terraform-deploy", - "hash": "96FA4AB4F4DDA2EB4EF579D3ACA6A135408D9A5EC8CAFE688D77D269493077E1", + "hash": "BFA50CC4701C93ED862F3608316CBE8BAE0D569DD18A060C7129A1D4DF7BCFB7", "dependencies": [ "projects/dotnet-app", "projects/npm-app" @@ -44,8 +44,6 @@ ".terraform.lock.hcl", "PROJECT", "backend.tf", - "terrabuild.tfstate/default/.keep", - "terrabuild.tfstate/dev/.keep", "test_res.tf", "variables.tf" ],