!yAXokUArOJxHEACeib:pussthecat.org

Invidious

653 Members
https://invidious.io/ | Instances: https://instances.invidious.io/ | Documentation: https://docs.invidious.io | SourceCode: https://git.invidious.io | Instances API: https://api.invidious.io/ | ToDo: https://todo.invidious.io/ | Bridged to #invidious on Libera.Chat134 Servers

Load older messages


SenderMessageTime
4 Jan 2022
@thefrenchghosty:pussthecat.orgTheFrenchGhosty1- Is it a lot of work? 2- I don't feel that it's a problem22:32:08
@samantazfox:pussthecat.orgSamantaz 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
@samantazfox:pussthecat.orgSamantaz FoxAlso, avram means at least a dozen dependencies more.22:33:40
@farmerman:matrix.orgfarmerman TheFrenchGhosty: do you recommend any of the instances? 22:34:08
@thefrenchghosty:pussthecat.orgTheFrenchGhosty Samantaz Fox: Honest question: what's the point of using a migration framework? 22:34:24
@thefrenchghosty:pussthecat.orgTheFrenchGhosty
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
@samantazfox:pussthecat.orgSamantaz Foxbeing able to change the DB layout without requiring the maintainers to keep track of what changed and manually apply the migrations22:35:27
@kavin1337:matrix.orgkavin
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:pussthecat.orgTheFrenchGhosty
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:pussthecat.orgTheFrenchGhosty
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:matrix.orgfarmerman TheFrenchGhosty: Does geographic distance influence it in any way? 22:36:30
@thefrenchghosty:pussthecat.orgTheFrenchGhosty
In reply to @farmerman:matrix.org
TheFrenchGhosty: Does geographic distance influence it in any way?
not really
22:36:38
@kavin1337:matrix.orgkavinFor example, in Java I could use FlyWayDB or Liquidbase22:36:43
@farmerman:matrix.orgfarmerman TheFrenchGhosty: ok, thanks 22:36:59
@samantazfox:pussthecat.orgSamantaz Fox

TheFrenchGhosty no, it doesn't. it simply allows to use something else than kemal as the DB owner

22:37:36
@samantazfox:pussthecat.orgSamantaz 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:pussthecat.orgTheFrenchGhosty
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
@samantazfox:pussthecat.orgSamantaz Fox

I'm more in favor of micrate, tbh.

22:39:13
@samantazfox:pussthecat.orgSamantaz Foxno deps, quite simple, and supports everything22:39:24
@thefrenchghosty:pussthecat.orgTheFrenchGhosty
In reply to @samantazfox:pussthecat.org

I'm more in favor of micrate, tbh.

but do you want Amber?
22:39:26
@samantazfox:pussthecat.orgSamantaz Fox

I don't care, micrate doesn't depend on amber

22:39:41
@samantazfox:pussthecat.orgSamantaz Fox

it's independant

22:39:55
@thefrenchghosty:pussthecat.orgTheFrenchGhostyBut does Lucky only works with Avram?22:40:06
@thefrenchghosty:pussthecat.orgTheFrenchGhostyIf not: Do we really want Lucky+Avram22:40:19
@samantazfox:pussthecat.orgSamantaz Foxyep.22:40:20
@samantazfox:pussthecat.orgSamantaz Fox

As I said, it's a good dozen deps

22:40:41
@thefrenchghosty:pussthecat.orgTheFrenchGhosty * If not: Do we really want Lucky+Micrate22:40:50
@thefrenchghosty:pussthecat.orgTheFrenchGhosty
In reply to @samantazfox:pussthecat.org
yep.
it only works with Amber?
22:40:57
@thefrenchghosty:pussthecat.orgTheFrenchGhosty

If not: Do we really want Lucky+Micrate

I edited

22:41:02
@samantazfox:pussthecat.orgSamantaz FoxAvram == Lucky framework22:41:34

Show newer messages


Back to Room ListRoom Version: 7