4 Jan 2022 |
TheFrenchGhosty | 1- Is it a lot of work?
2- I don't feel that it's a problem | 22:32:08 |
Samantaz Fox | 1) quite, yes. And I'm totally unfamiliar with it. 2) Well, yes. I'd like to at least provide SQLite so that invidious doesn't need a heavy DB (for personal use, e.g) | 22:33:10 |
Samantaz Fox | Also, avram means at least a dozen dependencies more. | 22:33:40 |
farmerman | TheFrenchGhosty: do you recommend any of the instances? | 22:34:08 |
TheFrenchGhosty | Samantaz Fox: Honest question: what's the point of using a migration framework? | 22:34:24 |
TheFrenchGhosty | In reply to @farmerman:matrix.org TheFrenchGhosty: do you recommend any of the instances? Use the one you prefer, the oldest one have been here for the longest time, so they're technically more "here to stay", but also used by a lot more users | 22:35:13 |
Samantaz Fox | being able to change the DB layout without requiring the maintainers to keep track of what changed and manually apply the migrations | 22:35:27 |
kavin | In reply to @thefrenchghosty:pussthecat.org Samantaz Fox: Honest question: what's the point of using a migration framework? When you make changes to the database structure, you want to be able to upgrade them automatically instead of manual interventions | 22:36:09 |
TheFrenchGhosty | In reply to @samantazfox:pussthecat.org being able to change the DB layout without requiring the maintainers to keep track of what changed and manually apply the migrations https://github.com/iv-org/invidious/pull/1678 isn't it supposed to apply the SQL "patch" automatically? | 22:36:11 |
TheFrenchGhosty | In reply to @kavin1337:matrix.org When you make changes to the database structure, you want to be able to upgrade them automatically instead of manual interventions check_table: true doesn't do that? | 22:36:28 |
farmerman | TheFrenchGhosty: Does geographic distance influence it in any way? | 22:36:30 |
TheFrenchGhosty | In reply to @farmerman:matrix.org TheFrenchGhosty: Does geographic distance influence it in any way? not really | 22:36:38 |
kavin | For example, in Java I could use FlyWayDB or Liquidbase | 22:36:43 |
farmerman | TheFrenchGhosty: ok, thanks | 22:36:59 |
Samantaz Fox | TheFrenchGhosty no, it doesn't. it simply allows to use something else than kemal as the DB owner | 22:37:36 |
Samantaz Fox | And check_tables on verifies that a table exists. if it doesn't => run SQL file. if it does => NOP. | 22:38:22 |
TheFrenchGhosty | In reply to @samantazfox:pussthecat.org
https://github.com/iv-org/invidious/issues/2620 I did read it more: honestly, we should just use the one that goes with the web framework we'll use: Lucky or Amber.
I'm against forking mg, we have enough things to take care of
| 22:38:37 |
Samantaz Fox | I'm more in favor of micrate, tbh. | 22:39:13 |
Samantaz Fox | no deps, quite simple, and supports everything | 22:39:24 |
TheFrenchGhosty | In reply to @samantazfox:pussthecat.org
I'm more in favor of micrate, tbh. but do you want Amber? | 22:39:26 |
Samantaz Fox | I don't care, micrate doesn't depend on amber | 22:39:41 |
Samantaz Fox | it's independant | 22:39:55 |
TheFrenchGhosty | But does Lucky only works with Avram? | 22:40:06 |
TheFrenchGhosty | If not: Do we really want Lucky+Avram | 22:40:19 |
Samantaz Fox | yep. | 22:40:20 |
Samantaz Fox | As I said, it's a good dozen deps | 22:40:41 |
TheFrenchGhosty | * If not: Do we really want Lucky+Micrate | 22:40:50 |
TheFrenchGhosty | In reply to @samantazfox:pussthecat.org yep. it only works with Amber? | 22:40:57 |
TheFrenchGhosty |
If not: Do we really want Lucky+Micrate
I edited
| 22:41:02 |
Samantaz Fox | Avram == Lucky framework | 22:41:34 |