However, admittedly I don't understand these very well since I've never worked with the MusicBrainz codebase before
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?
mayhem
lucifer: in order to update the troi daily jams container, I need to restarted spark_reader, yes?
jasje
vishwajeet590[m]: helloo
vishwajeet590[m]
jasje: hi
jasje
Lets divide some work
I need you to convert the listens activity to a composable and transfer all the data and spotify app remote related components to viewmodel
Either this
Or construct the profile page activity using compose and port all data related components to its viewmodel
thus also converting it from an activity to composable
your call vishwajeet590[m]
pbryan
Quick poll: Anyone using [matrix] IRC bridge over a long period of time? Any issues vs. using dedicated IRC client?
jasje
I am converting the app to uni-activity fragment design so
vishwajeet590[m]
jasje: I can take up the profile part.
jasje
Alright goodie
now
I just need to construct the composable and make a pr
no need to connect it anywhere
I have done that setup and just need the composable i hope you understand what i mean vishwajeet590[m]
I just need you***
mayhem
i. hate. banks.
lucifer
mayhem: you need to restart cron container too but probably dumps going on at the time.
mayhem
does spark_reader need restarting at all then?
lucifer
nope
mayhem
k,
I'll update the -web container for the fix to playlists and keep an eye on -cron
bitmap
Pratha-Fish: reosarevok is off for the day but I might be able to answer any questions you have
Pratha-Fish
bitmap: oops didn't realize he was off 🗿
Thanks for reverting back though :)
bitmap: Basically, I am trying to wrap my head around the Automate areas management in MusicBrainz project
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 🥲
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?
Pratha-Fish
bitmap yep. The python part is setup
I am not sure if there's a requirement for a copy of a MusicBrainz db tho. And any testing stuff, etc
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?
jasje
Just redo that same design (Without bottom nav bar and top bar)
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.
but I assume this repo is only used as a base for building bots
Pratha-Fish
I see 👁️
As per my last discussion with reo, he recommended I start out with the following action items:
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?
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.
Pratha-Fish
That clears it up a little bit. Is there any MeB API available for adding areas and such?
bitmap
nope, what this bot does is use the mechanize library to add them through the website
so it literally loads the 'add area' page, fills out the form, and submits it
the MusicBrainzClient in editing.py is what you want
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
Pratha-Fish
Niceee. Now I see what the mechanize library is actually there for
and ig there's already docs on how to add areas and such on MusicBrainz too
bitmap: thanks a ton for the help, that will get me started ^_^
rdswift has quit
Oh and one last thing... what's the deal with test.mb.org?
atj
Pratha-Fish: it's a sandbox
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
it has all the same functionality
so if it works on test. it should work on the main site
Pratha-Fish
Ahhh abbreviations... I should've known 💀
atj: Epic
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
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.
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
rdswift joined the channel
atj: thanks for the hint, I'm on it
atj
have fun!
Pratha-Fish
most definitely my good sire 🎩
abdo joined the channel
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?
_abdo joined the channel
_abdo
.
atj
_abdo: most of the developers are in Europe so they've finished for the day