Commit Graph
161 Commits
Author SHA1 Message Date
zkldi b5085dafe6 fix: use correct formatting in popn tables 2022-10-21 03:51:25 +01:00
zkldi ff4398f28b fix: make sure default is part of folder script 2022-10-21 03:40:57 +01:00
zkldi 54d819933f feat: popn table/folder scripts 2022-10-21 03:31:10 +01:00
zkldi 4b95f8520a Merge pull request #725 from Bottersnike/fix/721 2022-10-21 01:13:06 +01:00
zkldi 11956c6c86 test: add regression tests for duplicate folderIDs in table 2022-10-21 01:09:48 +01:00
zkldi 6e5d6a4181 feat: add make-table-inactive script 2022-10-20 21:22:23 +01:00
zkldi 0e36b17827 fix(critical): Pin prudence to an exact version
This is a long one.

So, `instanceof` in Typescript is incredibly flimsy. There's a
documented bug with what happens when you extend built-in classes, such
as Error or Array. You can read more about it here: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work

However, this normally works fine. A previous commit moved some schemas
from server/ to common/, our gameSpecific UGPT settings schemas. This
caused them to break in an interesting way. For any schema recursive
with a depth greater than 1, all errors would be ignored. Why on earth
was this happening?

Well Prudence passes errors up the stack with a "return Err" -> "if
ret instanceof Err: return Err" kind of approach. This normally works
fine.

The real kicker here is that because server/ and common/ were on 0.9.7
and 0.9.8 respectively, the "Err" instance in question would actually be
erased when ran at runtime. The "if ret instance of Err" would fail,
because the Err would be from 0.9.7, not 0.9.8. This subtle difference
in file results in catastrophic damage.

In short. InstanceOf is a footgun. I hate it. Lets never do it again.
Thanks.
2022-10-14 01:09:31 +01:00
zkldi bd00f99d7f fix: update import paths and fix linter errs 2022-10-14 00:04:34 +01:00
zkldi 7fef820fa4 refactor: move all the rerunner scripts into better folders 2022-10-14 00:04:34 +01:00
zkldi ef176a9cdc feat: update popn-merge script to work pretty much without intervention 2022-10-14 00:04:34 +01:00
zkldi 544694374d fix: they're no longer called skye
but they also keep trying on different names every week
since I cba updating this file, i'm calling them duck.

quack.
2022-10-14 00:04:34 +01:00
zkldi 823f2f951b feat: deprimary script 2022-10-07 01:58:34 +01:00
zkldi d3cd2768d4 fix: IMPORTANT IIDX OMNI PATCHES
This patch
- Updates broken notecounts on a series of charts

these broken notecounts are *extremely* sinister, only off by one
or two in some cases. Furthermore, this has happened on relatively underplayed charts.
As such, this has gone unnoticed for a while!

- theme of denjin J is now rated 7 instead of 0
no idea why it was 0, but it was

- jelly kiss's another charts now appear
no idea why they didn't

- back into the light (recut) and the hope of tomorrow (recut) now appear in 28-omni
they didn't before, no idea why.

- サナ・モレッテ・ネ・エンテ(B.L.T.STYLE) now appears in 28-omni
same as above, no idea why.
2022-10-07 01:09:12 +01:00
zkldi 4f17546c4d feat: allow invoking parser.ts to debug. 2022-10-07 01:09:12 +01:00
zkldi 232707f6f2 feat: Make id.test.ts work with array uniq ids
this works by cartesian producting our IDs, so that they're all added
to the set of unique IDs. If a chart has a unique ID On

["A", "B"], C, D

then A C D and B C D will be correctly be added to the set of uniq ids
now.

This is a regression test for the behaviour that let slightly broken
khamen break charts get into prod.
2022-10-07 00:55:02 +01:00
zkldi 33c800fa4d feat: iidx-mdb-parser + merger 2022-10-06 02:53:43 +01:00
zkldi d03e17bffd fix(seeds): invalid uniqkey for bms courses 2022-09-28 22:49:07 +01:00
zkldi 7ef6b2d890 fix(test): uniq id for bms course is value not index. 2022-09-24 11:02:51 +01:00
zkldi bd478926c5 fix: bms course unique ids aren't their md5sums
they're their set-playtype-index combo. My bad.
2022-09-22 22:00:35 +01:00
zkldi 5cdb2f4055 fix: typo 2022-09-18 11:52:59 +01:00
zkldi 1a6644cee9 feat: add hacky sl12 patch 2022-08-22 06:46:04 +01:00
zkldi 308245a2ee Merge pull request #642 from TNG-dev/zkldi/issue-637 2022-08-22 03:25:50 +01:00
zkldi cf0e19bede feat: update apply-sieglinde script 2022-08-22 02:43:40 +01:00
zkldi 55472956f6 feat: add amusing mutatecollection warning
yes, i just got bit by this. lol
2022-08-22 02:26:11 +01:00
zkldi 26ceaac910 feat: rebase against baseLevel, general sieglinde genius 2022-08-22 01:14:47 +01:00
zkldi 80fe0a96e1 feat: apply sieglinde to insane table 2022-08-21 13:45:32 +01:00
zkldi ee5e4f731e refactor: small convert script tidyup 2022-08-21 00:43:54 +01:00
zkldi bee602819f chore: run the linter 2022-08-21 00:39:57 +01:00
Adam Thibert cebca76eec feat: add a script to help update usc converts 2022-08-21 01:14:57 +02:00
zkldi 69366bbf8d feat: add seeds guide 2022-08-16 23:12:02 +01:00
zkldi c7e3d3c017 feat: .gitkeep the single-time folder 2022-08-16 23:12:02 +01:00
Christopher Cooper b4450536e8 remove wacca script 2022-07-23 08:47:16 -07:00
zkldi 5eef34f20f fix(seeds): don't crash if $1 or $2 is unset, instead display usage 2022-07-23 15:01:15 +01:00
zkldi cb31fc7e25 fix(seeds): note that you can use mongoexp.sh for the same thing 2022-07-23 14:24:03 +01:00
zkldi d1d64e904b fix: stop people from running export.js 2022-07-23 14:14:30 +01:00
Christopher Cooper 59d2ee1f13 feat: update wacca scripts and add new wacca charts 2022-07-20 20:50:01 +01:00
zkldi af27d41fbd test: some *idiot* never checked whether seeds CI could fail 2022-07-17 18:21:34 +01:00
zkldi 487dfadc68 feat: add qubell tables and folders, mark as inactive
fix: patch an annoying mess in folders & tables.json

feat: get jubeat tables and folders right

fix: noooise
2022-07-17 17:42:26 +01:00
zkldi 65f9efd800 fix: stop abusing TS, these scripts should be less hacky 2022-07-17 17:42:26 +01:00
zkldi 85dec88a91 feat: add a jubeat folder adder script because they're quirky and use decimals 2022-07-17 17:42:26 +01:00
zkldi 73abd669dc fix: strict false is actually *causing* errors
would ya believe it? typescript interprets an empty array as
Array<undefined> in non-strict mode, and Array<void> in strict.
This bizarre behaviour causes even more bizarre errors
when using ts-node to run our scripts.
2022-07-17 17:42:26 +01:00
zkldi b29e5175ea chore: trigger gh actions in database-seeds 2022-07-16 15:38:01 +01:00
zkldi 9024dc294d Merge pull request #595 from Mobiuslau/jb-db-update 2022-07-15 23:24:28 +01:00
zkldi 6531bd4c58 chore: remove useless stuff to force trigger database-seeds CI 2022-07-15 23:22:48 +01:00
zkldi 62559be245 feat: get database-seeds/scripts running
even if it whines a *lot* about types for some reason. who knows
2022-07-15 23:13:05 +01:00
zkldi 11af92cf33 fix: database-seeds is noEmit 2022-07-04 12:05:40 +01:00
zkldi d1dcffb6de refactor: apply cadence to bot and make it compile 2022-07-04 02:16:10 +01:00
zkldi 1e8e334ca0 refactor: force parent common dependencies 2022-07-04 02:15:43 +01:00
zkldi e55a0eb129 fix: get tachi-server to atleast boot and sync with common 2022-07-04 02:15:43 +01:00
zkldi 68403c84eb refactor: monorepo genesis commit 2022-07-04 02:15:42 +01:00