> Moreover, we should add some relevance of the features available on the homepage. This is something which could be general because currently the users will not have a clue of how to use/where to look for such features.
by this do you mean just adding like a block to the front page explaining how listens are used & the features associated with them?
akshaaatt[m]
Hi jasondk ! I think for now we can leave out updating the homepage because that would require some thinking as to how we introduce the features. I think updating the docs as of now is the best we can do
yyoung[m]
Sorry I forgot the dev meeting.(have been focusing on course project recently, our new term is about to start)
Last week I fixed 3 issues of beta: MBS-11931, MBS-11929, MBS-11927 and tried to optimize the UI according to suggestions on the forum
reosarevok, yvanzo : I'm considering removing the numbers and placing an anchor link in duplicate notice, so that users can jump to the item by clicking the link, but how can I use React components in translation strings?
i think its checking for the column whether we have reached the last column in the "path" and hence should return the value or should we keep on traversing
reosarevok: do you remember if any other entity was failing?
reosarevok
lucifer: wait, if all we care about is whether the element is the last in path, splitting on the dots - why are we not just checking what's the last element in path.split('.') ?
reosarevok is confused
Mineo: maybe you can help us here? :)
lucifer
because of the relationship checks
reosarevok
Ok, hold my hand through this, please :)
So, isinstance(column, InstrumentedAttribute) is meant to be "it's not the last"?
lucifer
yes right
if the column is not last, then first check if its a value of a relationship to another entity
yes indeed. maybe it wasn't in 1.0 or something changed since then.
reosarevok
So, basically, if it's not the last, it checks for the relationship(s) and collects the values, or if it's not a relationship, it does... the same it would have done if it's not InstrumentedAttribute
lucifer
also, this is when we use the new `inspect` API, using getattr directly may be perilious...
reosarevok
Would it help to check if column.property exists and is a relationship instead?
And skip the InstrumentedAttribute check entirely?
lucifer
possibly.
reosarevok
Ain't reverse engineering fun
lucifer
the issue is we don't have tests so it may break another entity, worse silently.
once we have a way to test the output is correct we can go on simpifying this
reosarevok
So, what I'm hearing is "we should drop this, write proper tests, then come back to it"
(or, if master fails, fix the bare minimum, then do that?)
lucifer
slightly different, make it work put on test. hope that the bugs break SOLR and we can fix them then
reosarevok
Can't we write actual tests based on a real test DB and then compare the results of the indexing with what we know should happen?
(... assuming we know what should happen)
lucifer
that's my question!
reosarevok
I mean, that's what we do for most MB tests, anyway :)
lucifer
yvanzo: do you know how we can get the correct results that should be sent to SOLR? maybe a partial dump of solr's current indices or what sir prod is currently sending to SOLR?
Yeah, I guess we only need one sample, really - then the tests should just be kept updated when intentional changes are made to sir's output but that's about it
lucifer
riksucks: yes, sure. i'll check and let know the fields that should be used for deleting. in the meantime, you can look at other usages in the codebase.
Hello all. Long time no see :) A few suggestions for yvanzo irt fetch-dump.sh 1) It doesn't check to see if the target dump directory exists. It should either error out and tell the user to create them or specify a dump dir or create whatever paths are needed 2) It doesn't seem like DB_DUMP_DIR and SEARCH_DUMP_DIR can be overwritten without changing the script. It would be nice if these
could be configured in .env 3) It would be nice to have options to only fetch files which haven't changed or are missing without having to poke around for wget options to achieve it - since I guess those are the most needed possiblities if a transfer is interrupted, you don't want to start from scartch. 4) if a download fails for some reason after fetching part of the file, try again with
a reget option. 5) consider using rsync (if available). It will likely cut down on bandwidth, though maybe that's been tried and it takes longer with larger files?
MrClon
Continue submitting tags, but API return 500 error code. What can it mean?
reosarevok
"Never Gonna Give You Up has a lot of energy, which makes it the perfect workout song. Though, it might not give you a strong dance vibe. So, this may not be something that you would want to play at a dance-off." so wrong :D
riksucks
lucifer:
>look at other usages in the codebase
You mean other tickets?
ruaok
reosarevok: can you look to see what is causing the 500s that MrClon is seeing?
reosarevok
MrClon: any more info?
lucifer
riksucks: no, i mean how other db functions work. like deleting a pinning recording, unfollow/follow so on
I think & needs to be escaped, but this can be improved on our side too
lucifer
yes, it should be & instead
reosarevok
"Because the ampersand here tells the parser that the following characters are used to represent another character, which in this case would be an ampersand. An ampersand isn't "illegal" in XML-- it just has a special meaning. It means "all of the characters after this until you hit a semicolon should be translated to something else". When you have an ampersand normally, without the descriptive characters and trailing