However, admittedly I don't understand these very well since I've never worked with the MusicBrainz codebase before
2023-03-01 06003, 2023
Pratha-Fish
I realize you've been pretty busy lately, but is there a time where you'd be comfortable discussing and breaking down some action items for me to get started?
2023-03-01 06042, 2023
mayhem
lucifer: in order to update the troi daily jams container, I need to restarted spark_reader, yes?
2023-03-01 06031, 2023
jasje
vishwajeet590[m]: helloo
2023-03-01 06054, 2023
vishwajeet590[m]
jasje: hi
2023-03-01 06008, 2023
jasje
Lets divide some work
2023-03-01 06017, 2023
jasje
I need you to convert the listens activity to a composable and transfer all the data and spotify app remote related components to viewmodel
2023-03-01 06036, 2023
jasje
Either this
2023-03-01 06020, 2023
jasje
Or construct the profile page activity using compose and port all data related components to its viewmodel
2023-03-01 06035, 2023
jasje
thus also converting it from an activity to composable
2023-03-01 06048, 2023
jasje
your call vishwajeet590[m]
2023-03-01 06049, 2023
pbryan
Quick poll: Anyone using [matrix] IRC bridge over a long period of time? Any issues vs. using dedicated IRC client?
2023-03-01 06052, 2023
jasje
I am converting the app to uni-activity fragment design so
2023-03-01 06042, 2023
vishwajeet590[m]
jasje: I can take up the profile part.
2023-03-01 06055, 2023
jasje
Alright goodie
2023-03-01 06058, 2023
jasje
now
2023-03-01 06022, 2023
jasje
I just need to construct the composable and make a pr
2023-03-01 06044, 2023
jasje
no need to connect it anywhere
2023-03-01 06034, 2023
jasje
I have done that setup and just need the composable i hope you understand what i mean vishwajeet590[m]
2023-03-01 06053, 2023
jasje
I just need you***
2023-03-01 06010, 2023
mayhem
i. hate. banks.
2023-03-01 06031, 2023
lucifer
mayhem: you need to restart cron container too but probably dumps going on at the time.
2023-03-01 06013, 2023
mayhem
does spark_reader need restarting at all then?
2023-03-01 06024, 2023
lucifer
nope
2023-03-01 06027, 2023
mayhem
k,
2023-03-01 06043, 2023
mayhem
I'll update the -web container for the fix to playlists and keep an eye on -cron
2023-03-01 06042, 2023
bitmap
Pratha-Fish: reosarevok is off for the day but I might be able to answer any questions you have
2023-03-01 06020, 2023
Pratha-Fish
bitmap: oops didn't realize he was off 🗿
2023-03-01 06030, 2023
Pratha-Fish
Thanks for reverting back though :)
2023-03-01 06048, 2023
Pratha-Fish
bitmap: Basically, I am trying to wrap my head around the Automate areas management in MusicBrainz project
2023-03-01 06033, 2023
Pratha-Fish
reo recommended me some resources like the musicbrainz bot repo, etc. But since there's no docs, I haven't been able to get started even with the dev env setup 🥲
2023-03-01 06052, 2023
bitmap
ok, I see a requirements.txt in there at least, did you create a python virtual env and install the dependencies with pip already?
2023-03-01 06040, 2023
Pratha-Fish
bitmap yep. The python part is setup
2023-03-01 06009, 2023
Pratha-Fish
I am not sure if there's a requirement for a copy of a MusicBrainz db tho. And any testing stuff, etc
2023-03-01 06057, 2023
vishwajeet590[m]
<jasje> "I have done that setup and..." <- Ok i got it I just need to create the ui part, but where can I find the design?
2023-03-01 06034, 2023
jasje
Just redo that same design (Without bottom nav bar and top bar)
2023-03-01 06037, 2023
bitmap
hmm. well I see a 'dbconn' setting in config.py.example, but afaik this bot adds stuff through the website only. I don't see any uses of it.
2023-03-01 06001, 2023
bitmap
but I assume this repo is only used as a base for building bots
2023-03-01 06030, 2023
Pratha-Fish
I see 👁️
2023-03-01 06056, 2023
Pratha-Fish
As per my last discussion with reo, he recommended I start out with the following action items:
2023-03-01 06003, 2023
bitmap
you will need a db connection to query existing areas for sure though
bitmap: If you had to do the above tasks, what steps would you follow?
2023-03-01 06044, 2023
bitmap
I think the idea is that you can ignore the querying for areas part for now, and just build a function that adds an area through the website for now.
2023-03-01 06041, 2023
Pratha-Fish
That clears it up a little bit. Is there any MeB API available for adding areas and such?
2023-03-01 06054, 2023
bitmap
nope, what this bot does is use the mechanize library to add them through the website
2023-03-01 06008, 2023
bitmap
so it literally loads the 'add area' page, fills out the form, and submits it
2023-03-01 06051, 2023
bitmap
the MusicBrainzClient in editing.py is what you want
2023-03-01 06001, 2023
bitmap
try adding an 'add_area' based on the 'add_artist' one, then write a script to create a MusicBrainzClient for test.mb.org and see if it can use your method
2023-03-01 06002, 2023
Pratha-Fish
Niceee. Now I see what the mechanize library is actually there for
2023-03-01 06038, 2023
Pratha-Fish
and ig there's already docs on how to add areas and such on MusicBrainz too
2023-03-01 06057, 2023
Pratha-Fish
bitmap: thanks a ton for the help, that will get me started ^_^
2023-03-01 06030, 2023
rdswift has quit
2023-03-01 06037, 2023
Pratha-Fish
Oh and one last thing... what's the deal with test.mb.org?
2023-03-01 06047, 2023
atj
Pratha-Fish: it's a sandbox
2023-03-01 06018, 2023
Pratha-Fish
atj: and what kind of activities can be performed in it? (I just see a plain landing page as I follow the link)
Pratha-Fish: the database on it gets reset every so often IIRC, so you can test your script and it won't matter if you screw something up
2023-03-01 06023, 2023
atj
it has all the same functionality
2023-03-01 06033, 2023
atj
so if it works on test. it should work on the main site
2023-03-01 06056, 2023
Pratha-Fish
Ahhh abbreviations... I should've known 💀
2023-03-01 06011, 2023
Pratha-Fish
atj: Epic
2023-03-01 06047, 2023
Pratha-Fish
ig I'll first try studying the existing script and generating a new script to add areas first and hit you guys up if something comes up
2023-03-01 06056, 2023
bitmap
Pratha-Fish: when you start testing your function, your user account on test.mb will need privileges to add areas, but since it's a test server you should be able to assign those privileges to yourself via 'Edit User' on your profile page.
2023-03-01 06050, 2023
atj
Pratha-Fish: you probably know this, but my approach would be to load the add area form in my browser and use the developer tools to get the form field classes you'll need to fill in
bitmap: thanks, I see the edit user options on my test account
2023-03-01 06019, 2023
rdswift joined the channel
2023-03-01 06035, 2023
Pratha-Fish
atj: thanks for the hint, I'm on it
2023-03-01 06057, 2023
atj
have fun!
2023-03-01 06032, 2023
Pratha-Fish
most definitely my good sire 🎩
2023-03-01 06036, 2023
abdo joined the channel
2023-03-01 06015, 2023
abdo
hello, I'm interested in contributing in BookBrainz project (Administration system) Can anyone help me by saying where to start or give me a coding challenge to do it?
2023-03-01 06050, 2023
_abdo joined the channel
2023-03-01 06056, 2023
_abdo
.
2023-03-01 06059, 2023
atj
_abdo: most of the developers are in Europe so they've finished for the day