forked from WinPlay02/GitCraft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
16 changed files
with
91 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ public class GitCraftConfig { | |
public String gitMail = "[email protected]"; | ||
public String gitMainlineLinearBranch = "master"; | ||
public boolean createVersionBranches = false; | ||
public boolean createStableVersionBranches = false; | ||
|
||
/// Refresh settings | ||
public boolean refreshDecompilation = false; | ||
|
@@ -67,7 +68,7 @@ public class GitCraftConfig { | |
public String[] excludedVersion = null; | ||
|
||
/// Mapping quirks | ||
public static final String MIN_SUPPORTED_FABRIC_LOADER = "0.15.6"; | ||
public static final String MIN_SUPPORTED_FABRIC_LOADER = "0.15.11"; | ||
public static final int ORNITHE_INTERMEDIARY_GEN = 2; | ||
public static final SemanticVersion CALAMUS_MAPPINGS_START_VERSION, CALAMUS_MAPPINGS_END_VERSION, FEATHER_MAPPINGS_START_VERSION, FEATHER_MAPPINGS_END_VERSION; | ||
public static final SemanticVersion INTERMEDIARY_MAPPINGS_START_VERSION, YARN_MAPPINGS_START_VERSION, YARN_CORRECTLY_ORIENTATED_MAPPINGS_VERSION, PARCHMENT_START_VERSION; | ||
|
@@ -102,7 +103,7 @@ public class GitCraftConfig { | |
|
||
public static List<String> yarnMissingVersions = List.of("1.16_combat-1", "1.16_combat-2", "1.16_combat-4", "1.16_combat-5", "1.16_combat-6"); | ||
|
||
public static List<String> yarnMissingReuploadedVersions = List.of("23w13a_or_b_original"); | ||
public static List<String> yarnMissingReuploadedVersions = List.of("23w13a_or_b_original", "24w14potato_original"); | ||
|
||
// Maps (version, [broken] build) -> [working] build or -1 | ||
public static Map<Tuple2<String, Integer>, Integer> yarnBrokenBuildOverride = Map.of( | ||
|
@@ -128,14 +129,16 @@ public class GitCraftConfig { | |
); | ||
|
||
// There are no releases for these parchment versions (yet) | ||
public static List<String> parchmentMissingVersions = List.of("1.18", "1.19", "1.19.1", "1.20", "1.20.3"); | ||
public static List<String> parchmentMissingVersions = List.of("1.18", "1.19", "1.19.1", "1.20", "1.20.5"); | ||
|
||
// Version Override | ||
public static Map<String, String> minecraftVersionSemVerOverride = Map.of( | ||
// wrongly ordered 1.16 snapshots (pre gets mapped to rc for version 1.16, so there would be to rc1 versions) | ||
"1.16-rc1", "1.16-rc.9", | ||
// support extra original for 23w13a_or_b | ||
"23w13a_or_b_original", "1.20-alpha.23.13.ab.original" | ||
"23w13a_or_b_original", "1.20-alpha.23.13.ab.original", | ||
// support extra original for 24w14potato... | ||
"24w14potato_original", "1.20.5-alpha.24.12.potato.original" | ||
// FIX until fabric-loader is updated | ||
// END FIX | ||
); | ||
|
@@ -186,6 +189,9 @@ public void printConfigInformation() { | |
} | ||
if (createVersionBranches) { | ||
MiscHelper.println("A seperate branch will be created for each version."); | ||
} | ||
else if (createStableVersionBranches) { | ||
MiscHelper.println("A seperate branch will be created for each stable version."); | ||
} | ||
if (sortJsonObjects) { | ||
MiscHelper.println("JSON files (JSON objects) will be sorted in natural order."); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters