2023-10-25 19:48:02 +11:00
import {
ChangelogMessage ,
Commit ,
ExpandedMessage ,
FixUpInfo ,
Ignored ,
IgnoreInfo ,
Parser ,
} from "../../types/changelogTypes" ;
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
import dedent from "dedent-js" ;
import matter , { GrayMatterFile } from "gray-matter" ;
import toml from "@ltd/j-toml" ;
import {
combineKey ,
combineList ,
detailsKey ,
detailsList ,
expandKey ,
expandList ,
fixUpKey ,
fixUpList ,
2023-10-25 19:48:02 +11:00
ignoreKey ,
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
indentationLevel ,
} from "./definitions" ;
import { findCategories , findSubCategory } from "./parser" ;
import ChangelogData from "./changelogData" ;
let data : ChangelogData ;
export function specialParserSetup ( inputData : ChangelogData ) : void {
data = inputData ;
}
2023-10-25 19:48:02 +11:00
/ * *
* Checks a commit ' s ignore .
* @commit The Commit Body . Does check whether the ignore key is there .
* @return Returns undefined to continue , and an Ignored object if to skip .
* /
export async function parseIgnore ( commitBody : string , commitObject : Commit ) : Promise < Ignored | undefined > {
if ( ! commitBody . includes ( ignoreKey ) ) return undefined ;
const info = await parseTOML < IgnoreInfo > ( commitBody , commitObject , ignoreKey ) ;
if ( ! info ) return undefined ;
if ( ! info . before && ! info . after ) {
console . error ( dedent `
Ignore Info in body :
\ ` \` \`
$ { commitBody } \ ` \` \`
of commit object $ { commitObject . hash } ( $ { commitObject . message } ) is missing both keys 'before' and 'after' !
At least one of these values must be set ! ` );
if ( data . isTest ) throw new Error ( "Failed Parsing Ignore Info. See Above." ) ;
return undefined ;
}
let isBefore = undefined ,
isAfter = undefined ;
if ( info . before ) isBefore = ! data . tags . has ( info . before ) ;
if ( info . after ) isAfter = data . tags . has ( info . after ) ;
// Return Ignores
if ( isBefore === undefined || isAfter === undefined ) {
if ( isBefore || isAfter ) return new Ignored ( info . addCommitList ) ;
} else if ( isBefore && isAfter ) return new Ignored ( info . addCommitList ) ;
return undefined ;
}
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
/ * *
* Parses a commit with 'Fixup' .
* /
export async function parseFixUp ( commit : Commit ) : Promise < boolean > {
if ( ! commit . body || ! commit . body . includes ( fixUpKey ) ) return false ;
2023-10-25 19:48:02 +11:00
await parseTOMLToList (
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
commit . body ,
commit ,
fixUpKey ,
fixUpList ,
( item : FixUpInfo ) = > item . sha && item . newTitle ,
( item ) = > {
// Only override if no other overrides, from newer commits, set
if ( ! data . commitFixes . has ( item . sha ) ) data . commitFixes . set ( item . sha , item ) ;
} ,
( matter ) = > {
// Must override, even if newer commits specified changes, as need to remove fixup data
data . commitFixes . set ( commit . hash , {
sha : commit.hash ,
newTitle : commit.message ,
2023-10-21 13:31:46 +11:00
// Replace "\r\n" (Caused by editing on GitHub) with "\n", as the output matter has this done.
newBody : commit.body.replace ( /\r\n/g , "\n" ) . replace ( matter . matter . trim ( ) , "" ) ,
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
} ) ;
} ,
) ;
return true ;
}
/ * *
* Parses a commit with 'expand' .
* /
export async function parseExpand ( commitBody : string , commitObject : Commit , parser : Parser ) : Promise < void > {
2023-10-25 19:48:02 +11:00
await parseTOMLToList (
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
commitBody ,
commitObject ,
expandKey ,
expandList ,
( item : ExpandedMessage ) = > item . messageTitle ,
async ( item ) = > {
const title = dedent ( item . messageTitle ) ;
if ( item . messageBody ) {
const body = dedent ( item . messageBody ) . trim ( ) ;
if ( ! ( await parser . itemCallback ( parser , commitObject , title , body ) ) ) {
if ( parser . leftOverCallback ) {
parser . leftOverCallback ( commitObject , title , body ) ;
}
}
} else {
if ( parser . leftOverCallback ) {
parser . leftOverCallback ( commitObject , title ) ;
}
}
} ,
) ;
}
/ * *
* Parses a commit with 'details' .
* /
export async function parseDetails (
commitMessage : string ,
commitBody : string ,
commitObject : Commit ,
parser : Parser ,
) : Promise < void > {
const sortedCategories = findCategories ( commitBody ) ;
const subMessages = await expandDetailsLevel ( commitBody , commitObject ) ;
if ( sortedCategories . length === 0 ) {
if ( parser . leftOverCallback ) {
parser . leftOverCallback ( commitObject , commitMessage , commitBody , subMessages ) ;
}
} else {
sortedCategories . forEach ( ( category ) = > {
const subCategory = findSubCategory ( commitBody , category ) ;
category . changelogSection . get ( subCategory ) . push ( {
commitMessage : commitMessage ,
commitObject : commitObject ,
subChangelogMessages : subMessages ,
} ) ;
} ) ;
}
}
/ * *
* Parses a 'level' of Details .
* /
async function expandDetailsLevel (
commitBody : string ,
commitObject : Commit ,
indentation = indentationLevel ,
) : Promise < ChangelogMessage [ ] > {
const result : ChangelogMessage [ ] = [ ] ;
2023-10-25 19:48:02 +11:00
await parseTOMLToList (
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
commitBody ,
commitObject ,
detailsKey ,
detailsList ,
( item : string ) = > item ,
async ( item ) = > {
item = dedent ( item ) . trim ( ) ;
if ( item . includes ( detailsKey ) ) {
result . push ( . . . ( await expandDetailsLevel ( item , commitObject , ` ${ indentation } ${ indentationLevel } ` ) ) ) ;
} else {
result . push ( { commitMessage : item , commitObject : commitObject , indentation : indentation } ) ;
}
} ,
) ;
return result ;
}
/ * *
* Parses a commit with 'combine' .
* /
export async function parseCombine ( commitBody : string , commitObject : Commit ) : Promise < void > {
2023-10-25 19:48:02 +11:00
await parseTOMLToList (
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
commitBody ,
commitObject ,
combineKey ,
combineList ,
( item : string ) = > item ,
( item : string ) = > {
if ( ! data . combineList . has ( item ) ) data . combineList . set ( item , [ ] ) ;
data . combineList . get ( item ) . push ( commitObject ) ;
} ,
) ;
}
/ * *
2023-10-25 19:48:02 +11:00
* Parse TOML in a commit body .
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
* @param commitBody The body to parse
* @param commitObject The commit object to grab messages from , and to determine error messages .
* @param delimiter The delimiters , surrounding the TOML .
2023-10-25 19:48:02 +11:00
* @param itemKey The key of the item to parse . If not set , will just parse the main object .
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
* @param matterCallback An optional callback to perform on the matter .
2023-10-25 19:48:02 +11:00
* @returns item The Item / Object . Undefined if error .
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
* /
2023-10-25 19:48:02 +11:00
async function parseTOML < T > (
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
commitBody : string ,
commitObject : Commit ,
delimiter : string ,
2023-10-25 19:48:02 +11:00
itemKey? : string ,
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
matterCallback ? : ( matter : GrayMatterFile < string > ) = > void ,
2023-10-25 19:48:02 +11:00
) : Promise < T | undefined > {
let item : T ;
const endMessage = getEndMessage ( delimiter ) ;
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
try {
// Remove everything before first delimiter in body
const list = commitBody . split ( delimiter ) ;
list . shift ( ) ;
2023-10-21 13:31:46 +11:00
// Replace "\r\n" (Caused by editing on GitHub) with "\n", as \r\n crashes the TOML parser.
const body = ` ${ delimiter } ${ list . join ( delimiter ) } ` . replace ( /\r\n/g , "\n" ) ;
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
// Parse
const parseResult = matter ( body , {
delimiters : delimiter ,
engines : {
toml : ( input ) : Record < string , unknown > = > {
return toml . parse ( input , "\n" ) ;
} ,
} ,
language : "toml" ,
} ) ;
if ( matterCallback ) matterCallback ( parseResult ) ;
2023-10-25 19:48:02 +11:00
if ( ! itemKey ) item = parseResult . data as T ;
else item = parseResult . data [ itemKey ] ;
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
} catch ( e ) {
console . error ( dedent `
Failed parsing TOML in body :
\ ` \` \`
$ { commitBody } \ ` \` \`
of commit object $ { commitObject . hash } ( $ { commitObject . message } ) .
2023-10-25 19:48:02 +11:00
This could be because of invalid syntax . ` );
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
if ( commitObject . body && commitBody !== commitObject . body ) {
console . error ( dedent `
Original Body :
\ ` \` \`
$ { commitObject . body } \ ` \` \` ` ) ;
}
console . error ( ` \ n ${ endMessage } \ n ` ) ;
if ( data . isTest ) throw e ;
2023-10-25 19:48:02 +11:00
return undefined ;
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
}
2023-10-25 19:48:02 +11:00
return item ;
}
/ * *
* Parse TOML in a commit body to produce a list .
* @param commitBody The body to parse
* @param commitObject The commit object to grab messages from , and to determine error messages .
* @param delimiter The delimiters , surrounding the TOML .
* @param listKey The key of the list to parse .
* @param emptyCheck The check to see if an item in the list is invalid .
* @param perItemCallback The callback to perform on each item in the list .
* @param matterCallback An optional callback to perform on the matter .
* /
async function parseTOMLToList < T > (
commitBody : string ,
commitObject : Commit ,
delimiter : string ,
listKey : string ,
emptyCheck : ( item : T ) = > string ,
perItemCallback : ( item : T ) = > void ,
matterCallback ? : ( matter : GrayMatterFile < string > ) = > void ,
) : Promise < void > {
const messages = await parseTOML < T [ ] > ( commitBody , commitObject , delimiter , listKey , matterCallback ) ;
const endMessage = getEndMessage ( delimiter ) ;
New Buildscript (#434)
/* Category: */
[INTERNAL]
/* Fixup for previous commits' bad syntax: */
[FIXUP]
[[fixes]]
sha = "4f966073890315ae0eb103b6011cdac7e6e960c0"
newTitle = "Update GregTech CEu to v2.7.4"
newBody = """
[COMBINE]
commits = ["bd58b9072f45d647734ae66168cbd27bf9b2f220"]
[COMBINE]
"""
[[fixes]]
sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220"
newTitle = "Update GT and Related Mods for 1.7"
newBody = """
[EXPAND]
[[messages]]
messageTitle = \"Update GT to 2.7.4\"
messageBody = \"\"\"
[BREAKING]
[DETAILS]
details = [
\\"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\\",
\\"Adds Assembly Line Research\\",
\\"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\\",
\\"Adds EU Multiblock Power Storage\\",
\\"Adds Multiblock Transformer and Laser Power Transfer\\",
\\"Adds Long Distance Pipes\\",
\\"Reworked & Improved Multiblock UIs\\",
\\"Creating Waypoints in the Prospector\\",
\\"Fixing many bugs\\",
\\"And many more!\\"
]
[DETAILS]
\"\"\"
[EXPAND]
"""
[[fixes]]
sha = "1a40bd87f9c648429059c77a90470e55e0e39c5e"
newTitle = "Update QB Jsons and Lang"
newBody = "[SKIP]"
[[fixes]]
sha = "bcae6f4eebf5616766edcc3e735df7cbf6276440"
newTitle = "Russian Content Tweaker Translation (#429)"
newBody = "[FEATURE]"
[[fixes]]
sha = "ca64e658083d5ff41f15ce37fe817842018031d3"
newTitle = "Update NAE2 to v1.3.1 (#424)"
newBody = "[BUG]"
[[fixes]]
sha = "1a35ae82d9830c5444c5634d93268e3b857f07bd"
newTitle = "Fix Description of The First Tier Two Circuits Quest"
newBody = "[QB]"
[[fixes]]
sha = "c66f5428818e02051b77d84fa01792bf2a6d9dcf"
newTitle = "Make Neeve Quest Ignore NBT"
newBody = "[QB]"
[[fixes]]
sha = "5b5d13710abe0f96c41ba4a3505969c0a98e23bc"
newTitle = "Update and Rewrite Mixer Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "342d988e322a45e0d141227c9aa34ec8e53663e7"
newTitle = "Remove Mention of HV Batteries in Iron Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "d037ee5f466cec066fac1d14a762a377426a032d"
newTitle = "Remove Reward for Bending Machine Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "03d61c8d5fbaa0439fc823b5aef3a4859b17a444"
newTitle = "Move Multiblock Machine Previews Quest"
newBody = """
[QB]
[DETAILS]
details = [\"Moved From `The Beginning` to `Genesis`\"]
[DETAILS]
"""
[[fixes]]
sha = "a52b91d97ac6849fe74623e3cc08362eb3ad99fa"
newTitle = "Change Mold Quest Task from Ball Mold -> Rotor Mold"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "fcb48d4bc9f27058c6a2dcca7bf813f3d7f6a6d9"
newTitle = "Mention how to Mute Machines in Steam Machines Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "f59eecad41745f65348da88a3f4c057300459782"
newTitle = "Adjust Steam Dynamo Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "02eaf67bd168eb11a7a71f4d346eb591841d0af3"
newTitle = "Specify that Alloy Smelter is used to make Rubber Sheets"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a988d2df30e4d01b973870cc85350962a9125f5c"
newTitle = "Fix Grammar Errors in 'From Ingots to Wires' Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "8df9f6e3180323946cc6553cd0fb5e1e96f0ac03"
newTitle = "Add Molds Quest to Genesis, Make Glass Quest"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "5d51fda1c6740edc5021657f90f6ecd1de954d29"
newTitle = "Make Drawer Quest Accept Either Task"
newBody = "[QB]\n[HM]"
[[fixes]]
sha = "a02ef21fbae24df59e5fa9a5ef4640752baf835f"
newTitle = "New Data Textures (#419)"
newBody = "[FEATURE]"
[[fixes]]
sha = "758f7e704ca8b13031f7ca859e6bc9c0f0a9e786"
newTitle = "Fix DML Multiblock Recipes"
newBody = "[BUG]"
[[fixes]]
sha = "5671bca7fe7b685ac3495ef2497c3711a0baa2a0"
newTitle = "Improve Mac/Linux Pack Mode Switcher"
newBody = "[INTERNAL]"
[[fixes]]
sha = "5538fe4524dcb0b64a333b756bfeeec34e12661c"
newTitle = "Enable shufflemode on main menu (#414)"
newBody = "[FEATURE]"
[[fixes]]
sha = "644491a9f53c0ee300dbaf345f23e5b3f08b3c8a"
newTitle = "Release 1.6.1a"
newBody = "[NO CATEGORY]"
[FIXUP]
/* Description: */
TODO:
- [x] Changelog Generation
- [x] Decomp Expand
- [x] Decomp Details
- [x] Add Commit Details to Mod Changes
- [x] Allow changing of dir
- [x] Catch parsing errors
- [x] Move to TOML instead of YAML
- [x] GHA Workflows
- [x] Split workflows into called and callers (See https://docs.github.com/en/actions/using-workflows/reusing-workflows)
- [x] Create workflow to generate Release Commit + Changelog, changelog in another branch
- [x] Create workflow to grab Changelog from another branch, then deploy
- [x] Create workflow to combine previous two
- [x] Create workflow to test new commits' body syntax
- [x] Split workflows into jobs
- [x] Cleanup Code
- [x] Split code into multiple files
- [x] Document Code (JS Docs)
- [x] CONTRIBUTING.md Documentation on workflows, and on templates
- [x] Remove changelog files
New TODO:
- [x] Make workflow to update modlist
- [x] Add modlist updating to release commit workflow, split into jobs
- [x] https://discord.com/channels/927050775073534012/1131899853052575785/1162897825173086299
- [ ] Update Documentation
/* Commits: */
* Create releasecommit.yml
* Update releasecommit.yml
* Update setup-node & various tasks to v3, improve .gitignore
* Working method to add version to Issue Templates
Produces weird artifacts...
* Revert "Working method to add version to Issue Templates"
This reverts commit f63480e2eba4b8ef5269ebc0a26cebd146fbe45e.
* WIP method to update release content, using templates
* Finish Release Commit Npx Gulp Task
* Update Files
* Allow for non-release commits
* Actually update version.txt
* Remove unneded env in updateqb.yml
* Fix releasecommit.yml
* Remove random patches config file transforming in `version.ts`
* Remove note about regex
* Add tag to release commits
* Allow changelog task to compare with any commit, seperate changelog task
* Add generation for CF changelog, begin detailed changelog
* Add new formatted commitList
* test change to CHANGELOG.md
* Fix HTML file formatting; test new MD file formatting
* Another HTML File formatting fix
* New formatting logic
* cleanup quest transform npx task
* Cleanup
* Progress
* Small Fixes
* Fix formatting
* Fix commits appearing twice
* Changelog Categories
* Remove Tags from Commit Messages
* New Storage System for ChangelogSections
* Fix Formatting
* Progress of version info for changed mods
* Allow external deps
* Cleanup Version, Fix Crash, temp change compare to 1.5.2...1.6
* Cleanup code
* Cleanup Code, use templates instead of ifs
* Expand Decomp, fix some commits not being added
* Testing time
* What the changelog looks like
* Test
* Sort logs, with newest on top. Sort Commit Log
* Transform markdown entries into HTML at end
* Remove section matter npm package
* Test
* Update changelog
* Test nested Details
* update changelog files
* Begin Commit SHAs of Mod Changes Section
Just need to add support, in formatting funct, for multi commits
* Test new formatting
* Formatting Test
* Allow for multi commits in changelog messages
* Fix not showing multi commits
* Fix formatting
* formatting
* Add Performance Category
* Remove debug messages + date in changelog messages
* sort multi authors
* Allow for commits to go in multi categories
* Start Cleanup Code
* Allow changing of output dir
* More Cleanup + Create Post 1.7 Version
* Catch parsing errors of manifest.json
View the magical changelog, from the first file commit, to this commit!
* Catch errors in Expand Task, more cleanup
* Catch parsing errors in Details task
* Make UpdateQB Task not return an error if no changes
* Remove Comma Expressions
* Catch edge case parsing errors, improve error descriptions
* Cleanup parsing errors code, display original body
* TOML Test
* TOML
* Delete test.txt
* Update Post 1.7 Version
* Test no error qb task
* Test
* cleanup updateqb.yml
* Formatting
* Update Changelogs (after rebase to TOML syntax)
* Fix Deploy GH Task
* Remove uneeded code
* Allow for fetching/making changelog in build task
* Fix Changelog Fetching
* Change Changelog Output Dir to build root dir
* Add new features to Github Release Task
* Combine Version & GitHub_TAG
* Create GHA files, improve TS code (#446)
* Setup Action
* test
* test again
* Update releasecommit.yml
* Move setup.yml
* Update releasecommit.yml
* Update releasecommit.yml
* Update setup.yml
* Update releasecommit.yml
* Update deploygh.yml
* Delete .github/workflows/setup.yml
* Create build-pack.yml
* Update build-pack.yml
* test
* Update build-pack.yml
* more test
* Stupid me using download job for upload
* more testing...
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Update build-pack.yml
* Create build-pack-manual.yml
* Move file
* Revert "Move file"
This reverts commit 506a523aed2d5d8af21094b943aa2b7e2b7ee688.
* Update build-pack-manual.yml
* Update build-pack-manual.yml
* Create deploy.yml
* Delete .github/workflows/deploygh.yml
* Rename deploy.yml to deploygh.yml
* Update deploygh.yml
* Create deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploy.yml
* Update deploygh.yml
* Remove debug logging
* Update build-pack.yml
* Delete .github/workflows/build-pack-manual.yml
* Update deploygh.yml
* Update build-pack.yml
* Update deploy.yml
* Update deploygh.yml
* Update deploygh.yml
* Update build-pack.yml
* Update build-pack.yml
* Update deploy.yml
* Update build-pack.yml
* Update deploygh.yml
* Update deploy.yml
* Update releasecommit.yml
* Release 5.0
* Update releasecommit.yml
* Release 6.0
* Update Issue, Server and RP Config Files from Templates
* Update releasecommit.yml
* Release 7.0
* Add release title in changelog, remove more code
* Add link to full changelog, format release name
* Release 7.1
* Update deploy.yml
* Alpha Release 7.2
* Fix tags excaping, improve full changelog
* Release 7.3
* Add to CF Release, Cleanup Code
* Delete .github/workflows/deploycfrc.yml
* Update deploycf.yml
* Update deploy.yml
* Update gulpfile
* Alpha Release 8.0-alpha-1
* Update deploycf.yml
* Update deploycf.yml
* Fix Curseforge Changelog
* Beta Release 8.0-beta-2
* Update releasecommit.yml
* Rename build-pack.yml to buildpack.yml
* Update deploy.yml
* Add CF redirect
* Fix existing version detection
* Create releasedeploy.yml
* Update releasedeploy.yml
* Update releasedeploy.yml
* Release 8.0
* Update releasedeploy.yml
* Create test.yml
* Delete .github/workflows/test.yml
* Create makechangelog.yml
* Update makechangelog.yml
* Update and rename makechangelog.yml to createchangelog.yml
* Rename: MakeChangelog -> CreateChangelog
* Update createchangelog.yml
* Create releasechangelog.yml
* Update releasechangelog.yml
* Update createchangelog.yml
* Beta Release 9.0-beta-1
* Release 9.0
* Release 9.1
* Update releasechangelog.yml
* Alpha Release 9.1-alpha-1
* Remove extra versions
* Fix more changed version numbers
* Update Issue, Server and RP Config Files from Templates
* Update versions.txt
* Update Issue, Server and RP Config Files from Templates
* Update Post 1.7 Version
* Start writing more in CONTRIBUTING
* Add basic Table Of Contents structure, qb contributing
* test
* Fix wrong html tag
* Final Formatting
* Script contributing information + cleanup
* More Contribution Information
* Begin Maintainer Information
* Improve documentation, make submessages not include author/sha
* Finish Changelog Workflow Documentation
* Create structure
* Write section for create release commit workflow
* Provide a overview table of all keys
* Documentation on Deploy Task
* Artifacts information + start build pack documentation
* test new way to center elements
* Allow for Cutting Edge Build in build task
* Actually use release_type input in build task
* Finish Contributing information
* Remove changelog files
* JS documentation
* MMC zips + allow for build pack task to upload seperately
* test
* test selective artifact method, allow for selectively deploying
* Finish Buildscript (#457)
* mention contributing stuff in wiki
* Transform PR Tags in Message into links
2023-10-20 11:00:55 +11:00
if ( ! messages || ! Array . isArray ( messages ) || messages . length === 0 ) {
console . error ( dedent `
List ( key : '${listKey}' ) in body :
\ ` \` \`
$ { commitBody } \ ` \` \`
of commit object $ { commitObject . hash } ( $ { commitObject . message } ) is empty , not a list , or does not exist . ` );
if ( commitObject . body && commitBody !== commitObject . body ) {
console . error ( dedent `
Original Body :
\ ` \` \`
$ { commitObject . body } \ ` \` \` ` ) ;
}
console . error ( ` ${ endMessage } \ n ` ) ;
if ( data . isTest ) throw new Error ( "Failed Parsing Message List. See Above." ) ;
return ;
}
for ( let i = 0 ; i < messages . length ; i ++ ) {
const item = messages [ i ] ;
if ( ! emptyCheck ( item ) ) {
console . error ( dedent `
Missing Requirements for entry $ { i + 1 } in body :
\ ` \` \`
$ { commitBody } \ ` \` \`
of commit object $ { commitObject . hash } ( $ { commitObject . message } ) . ` );
if ( commitObject . body && commitBody !== commitObject . body ) {
console . error ( dedent `
Original Body :
\ ` \` \`
$ { commitObject . body } \ ` \` \` ` ) ;
}
console . error ( ` ${ endMessage } \ n ` ) ;
if ( data . isTest ) throw new Error ( "Bad Entry. See Above." ) ;
continue ;
}
perItemCallback ( item ) ;
}
}
2023-10-25 19:48:02 +11:00
function getEndMessage ( delimiter : string ) {
if ( data . isTest ) {
return dedent `
Try checking the TOML syntax in https : //www.toml-lint.com/, checking the object tree in https://www.convertsimple.com/convert-toml-to-json/, checking syntax in https://toml.io/en/v1.0.0, and looking through https://github.com/Nomi-CEu/Nomi-CEu/blob/main/CONTRIBUTING.md!
Also check that you have surrounded the TOML in '${delimiter}' ! ` ;
}
return "Skipping..." ;
}