Add configs and data for Godot 3.2

- Also improve building instructions in README
This commit is contained in:
Yuri Sizov
2023-03-25 01:59:26 +01:00
parent 66a8130ef2
commit fa580dd167
9 changed files with 269 additions and 1 deletions

View File

@@ -32,10 +32,12 @@ You can supply your token to the scripts using the `GRAPHQL_TOKEN` environment
variable. Note, that if you don't have member access to the organization, you
may not be able to access all the information used when generating the database.
### Building the website
1. Clone or download the project.
2. From the project root run `npm install` or `yarn` to install dependencies.
3. Run `npm run build` or `yarn run build` to build the pages.
4. Run `npm run compose-db` or `yarn run compose-db` to fetch the data from GitHub.
4. Run `npm run publish-db` or `yarn run publish-db` to prepare and copy configs and data.
5. Serve the `out/` folder with your method of choice (e.g. using Python 3:
`python -m http.server 8080 -d ./out`).
@@ -43,6 +45,22 @@ may not be able to access all the information used when generating the database.
data fetching script is plain JavaScript with `node-fetch` used to polyfill
`fetch()`-like API.
### Adding a new version
1. Add a config file under the `./configs` folder.
- It must follow this format: `<REPO_OWNER>.<REPO_NAME>.<VERSION>.json`,
e.g. `godotengine.godot.1.2.3.json`.
2. Run `npm run compose-db version:<VERSION>` or `yarn run compose-db version:<VERSION>`
to fetch the data from GitHub.
- This project defaults to `godotengine/godot`, but you can also customize it
with `owner:<REPO_OWNER>` and `repo:<REPO_NAME>`.
- By default the repo is checked out to the `./temp` folder, you can skip this step
with `skip-checkout`.
- GitHub API is very flaky and requests can fail from time to time due to the
server-side issues; the compose script has a few tricks to mitigate that, but
ultimately it can still randomly fail on bigger changelogs. Just run it again.
3. Run `npm run publish-db` or `yarn run publish-db` to prepare and copy configs and data.
## License
This project is provided under the [MIT License](LICENSE.md).

View File

@@ -0,0 +1,27 @@
{
"name": "3.2.1",
"ref": "3.2.1-stable",
"from_ref": "3.2-stable",
"article": "https://godotengine.org/article/maintenance-release-godot-3-2-1/",
"releases": [
{
"name": "rc1",
"ref": "1bc1939c63e07c6a03dbb258d765e0f450559706",
"from_ref": "3.2-stable",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-1-rc-1/"
},
{
"name": "rc2",
"ref": "ea2e976cdd7b8516e881d7ed4588e66601add31",
"from_ref": "1bc1939c63e07c6a03dbb258d765e0f450559706",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-1-rc-2/"
},
{
"name": "stable",
"ref": "3.2.1-stable",
"from_ref": "ea2e976cdd7b8516e881d7ed4588e66601add31",
"article": "https://godotengine.org/article/maintenance-release-godot-3-2-1/"
}
]
}

View File

@@ -0,0 +1,63 @@
{
"name": "3.2.2",
"ref": "3.2.2-stable",
"from_ref": "3.2.1-stable",
"article": "https://godotengine.org/article/maintenance-release-godot-3-2-2/",
"releases": [
{
"name": "beta1",
"ref": "cb1366f006dfc9904083e8fc6fa23e271bc39e39",
"from_ref": "3.2.1-stable",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-2-beta-1/"
},
{
"name": "beta2",
"ref": "d09036992ca8a979716823ac852a5bb0c9afa0ec",
"from_ref": "cb1366f006dfc9904083e8fc6fa23e271bc39e39",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-2-beta-2/"
},
{
"name": "beta3",
"ref": "b6c551e8646bedde0f81ac3a4f61f9709e82668d",
"from_ref": "d09036992ca8a979716823ac852a5bb0c9afa0ec",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-2-beta-3/"
},
{
"name": "beta4",
"ref": "aeb5513babbb1840c4c210bd534a2c2bf3b4400f",
"from_ref": "b6c551e8646bedde0f81ac3a4f61f9709e82668d",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-2-beta-4/"
},
{
"name": "rc1",
"ref": "5ee9553591ebb7926a238f2d5b5fb154db602b95",
"from_ref": "aeb5513babbb1840c4c210bd534a2c2bf3b4400f",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-2-rc-1/"
},
{
"name": "rc2",
"ref": "ae59e22cdd7101d85bcb92871ce53f05c668f5c4",
"from_ref": "5ee9553591ebb7926a238f2d5b5fb154db602b95",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-2-rc-2/"
},
{
"name": "rc3",
"ref": "1468c0b4d4592406502c7e4eaa2121f1d0a7e5f6",
"from_ref": "ae59e22cdd7101d85bcb92871ce53f05c668f5c4",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-2-rc-3/"
},
{
"name": "rc4",
"ref": "087a83fd54974fc03acf0ea571c505ea1456dd5c",
"from_ref": "1468c0b4d4592406502c7e4eaa2121f1d0a7e5f6",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-2-rc-4/"
},
{
"name": "stable",
"ref": "3.2.2-stable",
"from_ref": "087a83fd54974fc03acf0ea571c505ea1456dd5c",
"article": "https://godotengine.org/article/maintenance-release-godot-3-2-2/"
}
]
}

View File

@@ -0,0 +1,57 @@
{
"name": "3.2.3",
"ref": "3.2.3-stable",
"from_ref": "3.2.2-stable",
"article": "https://godotengine.org/article/maintenance-release-godot-3-2-3/",
"releases": [
{
"name": "beta1",
"ref": "89f57ae12244f3269c9e3fe4684e16ec1fd2c989",
"from_ref": "3.2.2-stable",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-3-beta-1/"
},
{
"name": "rc1",
"ref": "a24e30abd7b1bc226dc1231ef2b8eb5a9ee50df6",
"from_ref": "89f57ae12244f3269c9e3fe4684e16ec1fd2c989",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-3-rc-1/"
},
{
"name": "rc2",
"ref": "ac2e7d87d1c398db9c796afba6973a2f170ddfa2",
"from_ref": "a24e30abd7b1bc226dc1231ef2b8eb5a9ee50df6",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-3-rc-2/"
},
{
"name": "rc3",
"ref": "23b553ba0603161346526e1821bff5002520173c",
"from_ref": "ac2e7d87d1c398db9c796afba6973a2f170ddfa2",
"article": "https://godotengine.org/article/release-candidate-3-2-3-rc-3/"
},
{
"name": "rc4",
"ref": "dbb0ad3b59e4d9150d41a0f5177069224cb2f837",
"from_ref": "23b553ba0603161346526e1821bff5002520173c",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-3-rc-4/"
},
{
"name": "rc5",
"ref": "d773de6d244116c3ad26f0506a10038cc11019ff",
"from_ref": "dbb0ad3b59e4d9150d41a0f5177069224cb2f837",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-3-rc-5/"
},
{
"name": "rc6",
"ref": "8c5ed688476da64cbea17b34f1eacc76bac1d9c7",
"from_ref": "d773de6d244116c3ad26f0506a10038cc11019ff",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-3-rc-6/"
},
{
"name": "stable",
"ref": "3.2.3-stable",
"from_ref": "8c5ed688476da64cbea17b34f1eacc76bac1d9c7",
"article": "https://godotengine.org/article/maintenance-release-godot-3-2-3/"
}
]
}

View File

@@ -0,0 +1,99 @@
{
"name": "3.2",
"ref": "3.2-stable",
"from_ref": "3.1-stable",
"article": "https://godotengine.org/article/here-comes-godot-3-2/",
"releases": [
{
"name": "alpha0-unofficial",
"ref": "a34b77e271da5f3d550acfac1e5557f2467c6266",
"from_ref": "3.1-stable",
"article": ""
},
{
"name": "alpha1",
"ref": "1d9233c3882afe888b9396f7f2aac917d4dcac4d",
"from_ref": "a34b77e271da5f3d550acfac1e5557f2467c6266",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-alpha-1/"
},
{
"name": "alpha2",
"ref": "3cc94b2c0b90ec1136937e2c02b9d7901d3d28b8",
"from_ref": "1d9233c3882afe888b9396f7f2aac917d4dcac4d",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-alpha-2/"
},
{
"name": "alpha3",
"ref": "35944aebdeb4c3b5869aaeedaaded02397b7ce92",
"from_ref": "3cc94b2c0b90ec1136937e2c02b9d7901d3d28b8",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-alpha-3/"
},
{
"name": "beta1",
"ref": "077b5f6c2c06bb2c0af525ee25f87e0db719f9d2",
"from_ref": "35944aebdeb4c3b5869aaeedaaded02397b7ce92",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-beta-1/"
},
{
"name": "beta2",
"ref": "b7ea22c5d203da1b592a743a4c893de25cd34408",
"from_ref": "077b5f6c2c06bb2c0af525ee25f87e0db719f9d2",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-beta-2/"
},
{
"name": "beta3",
"ref": "73fb08289af1260669a3ce118b9866a11c06a0eb",
"from_ref": "b7ea22c5d203da1b592a743a4c893de25cd34408",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-beta-3/"
},
{
"name": "beta4",
"ref": "d1bce5c679bd77b50ddae2c3841e5157c6a0b917",
"from_ref": "73fb08289af1260669a3ce118b9866a11c06a0eb",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-beta-4/"
},
{
"name": "beta5",
"ref": "399e53e8c328f47bc116b743cd19c66c83e1122b",
"from_ref": "d1bce5c679bd77b50ddae2c3841e5157c6a0b917",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-beta-5/"
},
{
"name": "beta6",
"ref": "0ab1726b43dbe81c96d208a41a582435b76fd058",
"from_ref": "399e53e8c328f47bc116b743cd19c66c83e1122b",
"article": "https://godotengine.org/article/dev-snapshot-godot-3-2-beta-6/"
},
{
"name": "rc1",
"ref": "ba7aca4199019529dec60555a5ff005f6692d281",
"from_ref": "0ab1726b43dbe81c96d208a41a582435b76fd058",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-rc-1/"
},
{
"name": "rc2",
"ref": "adb6734b491091663d9159efe6e5a5fa9ff5202f",
"from_ref": "ba7aca4199019529dec60555a5ff005f6692d281",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-rc-2/"
},
{
"name": "rc3",
"ref": "8a7a216be5dfbd8e2b7f32c39a92bbecec9306ca",
"from_ref": "adb6734b491091663d9159efe6e5a5fa9ff5202f",
"article": "https://godotengine.org/article/release-candidate-godot-3-2-rc-3/"
},
{
"name": "rc4",
"ref": "9daaa12bae0cd3637da8f401333b3bc522aee66e",
"from_ref": "8a7a216be5dfbd8e2b7f32c39a92bbecec9306ca",
"article": "https://godotengine.org/article/release-candidate-3-2-rc-4/"
},
{
"name": "stable",
"ref": "3.2-stable",
"from_ref": "9daaa12bae0cd3637da8f401333b3bc522aee66e",
"article": "https://godotengine.org/article/here-comes-godot-3-2/"
}
]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long