Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/Fallout.Build.Shared/Constants.cs
Comment thread
ITaluone marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ internal static class Constants

// Canonical project URLs. Until P7 (domain registration) lands, these all point at the GitHub fork.
// To migrate to fallout.<tld>, edit FalloutWebsite / FalloutRepository here — call sites already use the constants.
internal const string FalloutOwner = "ChrisonSimtian";
internal const string FalloutOwner = "Fallout-build";
internal const string FalloutRepoName = "Fallout";
internal const string FalloutWebsite = "https://github.com/" + FalloutOwner + "/" + FalloutRepoName;
internal const string FalloutWebsite = $"https://github.com/{FalloutOwner}/{FalloutRepoName}";
internal const string FalloutRepository = FalloutWebsite;
internal const string FalloutRepositoryGit = FalloutWebsite + ".git";
internal const string FalloutRawRepository = "https://raw.githubusercontent.com/" + FalloutOwner + "/" + FalloutRepoName + "/main";
internal const string FalloutDocsUrl = FalloutWebsite; // Replaced by docs.fallout.<tld> after #41.
internal const string FalloutTelemetryDocsUrl = FalloutWebsite + "#telemetry";
internal const string FalloutNotificationsUrl = FalloutRawRepository + "/notifications.json";
internal const string FalloutRepositoryGit = $"{FalloutWebsite}.git";
internal const string FalloutRawRepository = $"https://raw.githubusercontent.com/{FalloutOwner}/{FalloutRepoName}/main";
internal const string FalloutDocsUrl = "https://docs.fallout.build/";
internal const string FalloutTelemetryDocsUrl = $"{FalloutWebsite}#telemetry";
internal const string FalloutNotificationsUrl = $"{FalloutRawRepository}/notifications.json";

// Upstream NUKE references — only for attribution / fallback recognition of legacy project URLs.
internal const string UpstreamNukeRepository = "https://github.com/nuke-build/nuke";
internal const string UpstreamNukeRepositoryGit = UpstreamNukeRepository + ".git";
internal const string UpstreamNukeRepositoryGit = $"{UpstreamNukeRepository}.git";

internal static AbsolutePath GlobalTemporaryDirectory => Path.GetTempPath();
internal static AbsolutePath GlobalFalloutDirectory => EnvironmentInfo.SpecialFolder(SpecialFolders.UserProfile) / ".fallout";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Diagnostics;
using System.Linq;
using System.Text;
using Fallout.Common;
using Fallout.Common.Execution;
using Fallout.Common.IO;
using Fallout.Common.Utilities;
Expand Down Expand Up @@ -32,7 +33,8 @@ public void ShowPlan()
var resourceText = ResourceUtility.GetResourceAllText<HandlePlanRequestsAttribute>(HtmlFileName);
var contents = resourceText
.Replace("__GRAPH__", GetGraphDefinition())
.Replace("__EVENTS__", GetEvents());
.Replace("__EVENTS__", GetEvents())
.Replace("__DOCS_URL__", Constants.FalloutDocsUrl);

HtmlFile.WriteAllText(contents);

Expand Down
18 changes: 9 additions & 9 deletions src/Fallout.Build/Execution/Extensions/execution-plan.html

Large diffs are not rendered by default.

Loading