#metabrainz

/

      • CatQuest
        yep ,that sounds pretty vool
      • 2017-04-18 10815, 2017

      • CatQuest
        cool even*
      • 2017-04-18 10856, 2017

      • bochecha
        and it adds sandboxing, it allows you to control the versions of your dependencies (so that users don't get crashes on a single distro because that distro updated one of your dependencies which is now incompatible until you release a new version)
      • 2017-04-18 10827, 2017

      • bochecha
        when downloading updates, users don't download the whole new version, only a "static delta", i.e a diff between their current version and the new one
      • 2017-04-18 10814, 2017

      • Leftmost
        As a not-Picard-developer, I'd love to see that upstreamed.
      • 2017-04-18 10827, 2017

      • bochecha
        and with flathub, it gets built for i386, x86_64, ARM and Aarch64
      • 2017-04-18 10837, 2017

      • CatQuest
        yea that all sounds really cool nd useful to a non-linus-buthopwing to get there some time like me
      • 2017-04-18 10843, 2017

      • bochecha
        Leftmost: so would I :)
      • 2017-04-18 10800, 2017

      • CatQuest
        !m bochecha
      • 2017-04-18 10800, 2017

      • BrainzBot
        You're doing good work, bochecha!
      • 2017-04-18 10808, 2017

      • bochecha
        ^_^
      • 2017-04-18 10834, 2017

      • Leftmost
        Where's flathub at? Not finding it via search (but admittedly not searching very hard, because distracted).
      • 2017-04-18 10844, 2017

      • bochecha
      • 2017-04-18 10846, 2017

      • samj1912
        bochecha: youre welcome to submit a PR to PW https://github.com/metabrainz/picard-website
      • 2017-04-18 10807, 2017

      • bochecha
        Leftmost: it's very new, so it's probably not really well referenced yet
      • 2017-04-18 10844, 2017

      • bochecha
        samj1912: would such a pull request be the right place to discuss about it?
      • 2017-04-18 10818, 2017

      • samj1912
        I am open to the idea and I dont think zas would mind it either, if not completely replacing the page but adding flatpak instructions to it
      • 2017-04-18 10836, 2017

      • bochecha
        yeah, maybe adding flatpak instructions at first
      • 2017-04-18 10854, 2017

      • bochecha
        flatpak is still failry new after all :)
      • 2017-04-18 10809, 2017

      • bochecha
        eventually it would be possible to have an "Install" button on the website, and then the GNOME/KDE software centers would just know how to install it with flatpak on any Linux distribution (the GNOME one supports this but it's still a bit flaky, the KDE one doesn't have that at all)
      • 2017-04-18 10842, 2017

      • samj1912
        a few users can test it and see how it works, afaik we only have active builds for arch currently
      • 2017-04-18 10855, 2017

      • samj1912
        the rest have to build it from source
      • 2017-04-18 10845, 2017

      • samj1912
        phw did say he will update the launchpad repo though
      • 2017-04-18 10858, 2017

      • bochecha
        there's a Fedora build, but as we were saying with Leftmost it's missing the acoustid feature (because fpcalc is not In Fedora)
      • 2017-04-18 10813, 2017

      • samj1912
        ah, did not know that
      • 2017-04-18 10821, 2017

      • bochecha
        samj1912: it's in the Picard FAQ :P
      • 2017-04-18 10832, 2017

      • bochecha
      • 2017-04-18 10844, 2017

      • samj1912
        lol :P
      • 2017-04-18 10851, 2017

      • bochecha
        I guess you don't use Fedora :)
      • 2017-04-18 10802, 2017

      • samj1912
        nope :P
      • 2017-04-18 10810, 2017

      • CatQuest
        oh hai, seems BrainzBot doesn't like INST tickets in #musicbrainz
      • 2017-04-18 10830, 2017

      • samj1912
        CatQuest: I dont think that is enabled there
      • 2017-04-18 10855, 2017

      • CatQuest
        but Y T_T
      • 2017-04-18 10857, 2017

      • bochecha
        build finished
      • 2017-04-18 10838, 2017

      • bochecha
        you can try it out with: flatpak install --user --from https://www.daitauha.fr/static/flatpak/picard.fla…
      • 2017-04-18 10838, 2017

      • bochecha
        provided you have flatpak installed of course (if not, install it http://flatpak.org/getting.html then reboot)
      • 2017-04-18 10854, 2017

      • arbenina_ joined the channel
      • 2017-04-18 10830, 2017

      • CatQuest
        probably won't get it to work on mac os :///
      • 2017-04-18 10849, 2017

      • CatQuest
        i *thikn* i have beets installed.. somehow.. i managed.. uhh. but i have no idea really @_@
      • 2017-04-18 10859, 2017

      • Leftmost
        Flatpak is explicitly Linux-only for the time being, as it depends on specific kernel features.
      • 2017-04-18 10844, 2017

      • CatQuest
        I think pretty much all this linux stuff is linux only, the mac ability to install like this is very.. bad? it's bee npointed out before to me too (by freso, the arch-fanboy ;) no less)
      • 2017-04-18 10853, 2017

      • CatQuest
        and I don't dissagree with him. megapita
      • 2017-04-18 10825, 2017

      • CatQuest
        (atleast I am hoping genuine linus is easier to deal with installing packages .. since it's made for it instead of some underlying fuu that mac has ?)
      • 2017-04-18 10811, 2017

      • Leftmost
        There are ways in which package management on Linux is fantastic, and ways in which it's horrifyingly bad. If your distro has a package for something, it's great. If you're a dev trying to package for Linux in general, it's horrifying. If you're a dev working on proprietary software that you would like to make work for the foreseeable future, it's essentially intractable. Flatpak helps with the latter two, though it's not a cure-all.
      • 2017-04-18 10852, 2017

      • Sophist-UK
        zas, samj912: ping
      • 2017-04-18 10823, 2017

      • samj1912
        pong
      • 2017-04-18 10843, 2017

      • samj1912
        PR reviews?
      • 2017-04-18 10820, 2017

      • Sophist-UK
        sam: Nope - working on a test env on Windows for Picard-Website. And wondering why virtualenv is neededon Linux and whether it is needed on Windows.
      • 2017-04-18 10852, 2017

      • samj1912
        virtualenv allows you to isolate your python env, makes it easier to deal with dependencies
      • 2017-04-18 10828, 2017

      • CatQuest
        Leftmost: hella <3 for this "flatpack" then :D
      • 2017-04-18 10803, 2017

      • Sophist-UK
        Yes - but the install instructions say run "source env/bin/activate" which is a bash script. Does that mean you have to install bash on Windows?
      • 2017-04-18 10809, 2017

      • Sophist-UK
        My lack of knowledge of translating from Linux-ese to Windows-ese is showing.
      • 2017-04-18 10853, 2017

      • samj1912
      • 2017-04-18 10802, 2017

      • samj1912
        Sophist-UK: ^
      • 2017-04-18 10815, 2017

      • saifulbkhan joined the channel
      • 2017-04-18 10830, 2017

      • bochecha
        Leftmost: Alex (the flatpak maintainer) was saying he'd like to have flatpak work on Windows at some point in the future
      • 2017-04-18 10833, 2017

      • bochecha
      • 2017-04-18 10855, 2017

      • Sophist-UK
        sam: I'll try that.
      • 2017-04-18 10813, 2017

      • Sophist-UK
        Sam: I just scrolled back - the only file was env\scripts\activate and that is a bash script. No .cmd or .ps1
      • 2017-04-18 10818, 2017

      • bochecha
        I'm not sure I understand how to test the picard website :-/
      • 2017-04-18 10818, 2017

      • Sophist-UK
        Which is why I am tempted to skip virtualenv and assume that we don't need to worry about different package versions.
      • 2017-04-18 10844, 2017

      • samj1912
        bochecha: you can install it locally and run py.test?
      • 2017-04-18 10852, 2017

      • Sophist-UK
        bochecha: I haven;t got as far as running a test yet - still working out how to install a test env on Windows.
      • 2017-04-18 10856, 2017

      • samj1912
        also check if it renders properly on localhost
      • 2017-04-18 10802, 2017

      • bochecha
        samj1912: I mean I'd like to run it and see my changes
      • 2017-04-18 10813, 2017

      • samj1912
        python run.py?
      • 2017-04-18 10833, 2017

      • bochecha
        yeah, but then I'll need to install lots of stuff... I saw a Dockerfile so I figured I'd try that
      • 2017-04-18 10837, 2017

      • bochecha
        built the image
      • 2017-04-18 10840, 2017

      • bochecha
        ran it
      • 2017-04-18 10844, 2017

      • bochecha
        then... nothing :-/
      • 2017-04-18 10807, 2017

      • samj1912
        you can pull the docker image from docker hub
      • 2017-04-18 10834, 2017

      • samj1912
      • 2017-04-18 10837, 2017

      • Sophist-UK
        D'oh! It was me being stupid with my "dir" command.
      • 2017-04-18 10846, 2017

      • Sophist-UK
        I found activate.bat
      • 2017-04-18 10816, 2017

      • bochecha
        samj1912: but that image won't contain my changes :)
      • 2017-04-18 10824, 2017

      • bochecha
        samj1912: hence why I built one from the git clone
      • 2017-04-18 10838, 2017

      • samj1912
        just run a shell there and copy paste the changes :P, not the most elegant solution :P
      • 2017-04-18 10844, 2017

      • samj1912
        it should build properly though?
      • 2017-04-18 10855, 2017

      • samj1912
        no idea why its not working
      • 2017-04-18 10840, 2017

      • bochecha
        it did build fine
      • 2017-04-18 10844, 2017

      • bochecha
        and it seems to be running fine
      • 2017-04-18 10854, 2017

      • samj1912
        then?
      • 2017-04-18 10855, 2017

      • bochecha
        uwsgi socket 0 bound to TCP address 0.0.0.0:3031 fd 3
      • 2017-04-18 10805, 2017

      • bochecha
        firefox can't connect to localhost:3031
      • 2017-04-18 10858, 2017

      • samj1912
        weird, let me try
      • 2017-04-18 10834, 2017

      • samj1912
        I use a virtualenv for changes and testing, can work on it faster
      • 2017-04-18 10821, 2017

      • bochecha
        I usually do as well (I'm a python developer), but I saw node, gulp... and figured I'd avoid installing all that just to edit an html file :)
      • 2017-04-18 10814, 2017

      • bochecha
        ok, with python run.py I get a website, but it seems to be missing the stylesheet
      • 2017-04-18 10846, 2017

      • bochecha gives up and installs node
      • 2017-04-18 10801, 2017

      • samj1912
        lol :P
      • 2017-04-18 10811, 2017

      • Sophist-UK
        samj1912: I am past that now - just ran "fab plugins_generate" and it is trying to write to a directory it doesn't have access to. So probably need some code changes for windows.
      • 2017-04-18 10819, 2017

      • Sophist-UK
        I'll look into it.
      • 2017-04-18 10849, 2017

      • samj1912
        Sophist-UK: I have no idea how python handles mkdtemp
      • 2017-04-18 10852, 2017

      • samj1912
        with windows
      • 2017-04-18 10813, 2017

      • bochecha
        where should I put the .flatpakref file in the website?
      • 2017-04-18 10832, 2017

      • bochecha
        it's a static file that won't change (or very likely) and points flatpak to the repo where it can find the built app
      • 2017-04-18 10842, 2017

      • bochecha
        I meant "or very rarely"
      • 2017-04-18 10814, 2017

      • samj1912
        we host the static content on ftp.musicbrainz.org/pub/musicbrainz/picard
      • 2017-04-18 10830, 2017

      • samj1912
        how big is it?
      • 2017-04-18 10836, 2017

      • bochecha
        it's a tiny text file
      • 2017-04-18 10843, 2017

      • bochecha
      • 2017-04-18 10856, 2017

      • bochecha
        just some INI-like thing
      • 2017-04-18 10801, 2017

      • samj1912
        you can shove it in staticfiles for now?
      • 2017-04-18 10804, 2017

      • bochecha
        sure
      • 2017-04-18 10811, 2017

      • Sophist-UK
        Its a configuration setting - PLUGINS_BUILD_DIR
      • 2017-04-18 10833, 2017

      • samj1912
        ah Sophist-UK you are supposed to make your own config file
      • 2017-04-18 10837, 2017

      • samj1912
        from the sample config
      • 2017-04-18 10839, 2017

      • bochecha
        samj1912: while we're talking about ftp.musicbrainz.org... any chance it could get https eventually? makes it nicer to download source tarballs ;)
      • 2017-04-18 10828, 2017

      • Sophist-UK
        I followed the instructions and created website/config.py but that setting is not in there.
      • 2017-04-18 10836, 2017

      • samj1912
        bochecha: youll have to ask zas about that :P, I have 0 idea about MeB servers
      • 2017-04-18 10802, 2017

      • samj1912
        Sophist-UK: you are supposed to define it?
      • 2017-04-18 10823, 2017

      • samj1912
      • 2017-04-18 10823, 2017

      • arbenina_ has quit
      • 2017-04-18 10828, 2017

      • samj1912
        my config for eg ^
      • 2017-04-18 10816, 2017

      • Sophist-UK
        samj1912: Yes - that's website/default_config.py. If we put the default value into the example config, that will prompt people to change it.
      • 2017-04-18 10855, 2017

      • Sophist-UK
        P.S. Another bug - it gave a message saying they had been created successfully when they hadn't because of the access error.
      • 2017-04-18 10828, 2017

      • samj1912
        Sophist-UK: that is not default_config?
      • 2017-04-18 10858, 2017

      • samj1912
        default_config is for prod./docker
      • 2017-04-18 10808, 2017

      • samj1912
        what I posted was my own config
      • 2017-04-18 10808, 2017

      • lazka joined the channel
      • 2017-04-18 10830, 2017

      • iliekcomputers
        man it is hard work getting back to college after a week away, SO much stuff to catch up on
      • 2017-04-18 10805, 2017

      • Sophist-UK
        Ah - well if we add to website/config.py.example then that will prompt people to change it.
      • 2017-04-18 10820, 2017

      • samj1912
        iliekcomputers: o/
      • 2017-04-18 10829, 2017

      • iliekcomputers
        \o
      • 2017-04-18 10805, 2017

      • samj1912
        Sophist-UK: it says to do so in INSTALL.md , however the config key isnt updated
      • 2017-04-18 10809, 2017

      • samj1912
        hmm, I will have to update the documentation with all the branch/api things
      • 2017-04-18 10829, 2017

      • muesli has quit
      • 2017-04-18 10830, 2017

      • Sophist-UK
        The config.py.example file has an entry for PLUGINS_REPOSITORY that it says you have to update, but this is not refered to nywhere except in this file and the Linux install instructions
      • 2017-04-18 10803, 2017

      • muesli joined the channel
      • 2017-04-18 10811, 2017

      • samj1912
        Sophist-UK: yes, I changed that entry to a different one
      • 2017-04-18 10818, 2017

      • samj1912
        as it didnt make sense anymore
      • 2017-04-18 10827, 2017

      • samj1912
        will update the documentation soon
      • 2017-04-18 10800, 2017

      • samj1912
        as of now it is only documented in https://github.com/metabrainz/picard-website/pull…
      • 2017-04-18 10818, 2017

      • muesli has quit
      • 2017-04-18 10827, 2017

      • samj1912
        later
      • 2017-04-18 10831, 2017

      • samj1912
        night people
      • 2017-04-18 10850, 2017

      • muesli joined the channel
      • 2017-04-18 10852, 2017

      • Leo_Verto
        night, samj!
      • 2017-04-18 10818, 2017

      • github joined the channel
      • 2017-04-18 10818, 2017

      • github
        [picard-website] Sophist-UK opened pull request #75: PW-48: Update test env build instructions (master...extend_config.py.example) https://git.io/vSA4L
      • 2017-04-18 10818, 2017

      • github has left the channel
      • 2017-04-18 10832, 2017

      • Mike_S joined the channel
      • 2017-04-18 10813, 2017

      • Sophist-UK
        Night samj
      • 2017-04-18 10828, 2017

      • github joined the channel
      • 2017-04-18 10828, 2017

      • github
        [picard-website] Sophist-UK opened pull request #76: PW-49: Generate failure message on plugins_generate failure (master...fix-plugins_generate_completion-msg-on-error) https://git.io/vSARs
      • 2017-04-18 10828, 2017

      • github has left the channel
      • 2017-04-18 10846, 2017

      • github joined the channel
      • 2017-04-18 10846, 2017

      • github
        [picard-website] bochecha opened pull request #77: Add install instructions for Linux with Flatpak (master...flatpak) https://git.io/vSAEn
      • 2017-04-18 10846, 2017

      • github has left the channel
      • 2017-04-18 10839, 2017

      • ags369 has quit