Though, by and large, I'd recommend against force-pushing.
stanislas
Leftmost: what would be the alternative ?
Gentlecat
should be fine on feature branches if you are the only one working on it
Techtronix has quit
but definitely not on master, beta, etc. unless something really bad happened
Leftmost
stanislas, in this case it's probably fine, but force-pushing destroys history and can cause problems for other people using the branch, so if you're on a shared repo, it should be avoided.
Leo_Verto has quit
stanislas
Leftmost, Gentlecat: Don't worry. After deleting my whole system once, i am seriously rethinking doing every command with sudo or --force :) I've made a local copy before.
UmkaDK_ joined the channel
UmkaDK has quit
Gentlecat
there's usually a way to recover, but don't get to that point
The_Catman
stanislas, don't tell me you fell for "sudo rm -rf /"?
stanislas
it was apt-get, and i placed * in the wrong place
Leftmost
Eek.
The_Catman
wow
Ramswaroop_ has quit
svineet joined the channel
stanislas
Gentlecat: it closed itself
Gentlecat: because tabulations showed different on my computer and in github i had to force push about 6 times
Gentlecat: I hope it is ok now.
Gentlecat: i've seen your comments and solved new issues
ruaok
zas: search is borked. I'm on it.
CallerNo6
did the text in the wiki get smaller? stupid old age, <grumble grumble>
CB: Add link to Cover Art Archive on artist and release group pages || 3 days || Code, User Interface || MetaBrainz Foundation || Currently claimed
Gentlecat
because right now I can't approve it
stanislas
GentleCat: of course
GentleCat: i just don't like situations that looks like this : 1.submit, 2.more work, 3. submit, 4. more work, 5 ...
*look
Gentlecat
I'm not the one who designed GCI website :)
Leftmost
That's how a lot of code reviews look anyhow.
stanislas
Gentlecat: But i should aspire to 1.submit 2.accepted :)
Gentlecat
see Leftmost's comment
Leftmost
You should always aspire to that, but I've been coding since I was a wee lad and I still don't get there. :)
opatel99
My tasks are pretty much that... Submit... more work. Rinse. Repeat
stanislas
Gentlecat: Where ?
Gentlecat
all over the place, really
stanislas
Gentlecat: really sorry, but i have no idea what particular comment you are talking about
Gentlecat: :)
reosarevok
"That's how a lot of code reviews look anyhow."
stanislas
got it
opatel99 has quit
i thought that Leftmost left some additional comment on github or on gci page :)
which might be crucial to my task
svineet has quit
regagain_ joined the channel
yeeeargh has quit
regagain_ has quit
bsammon joined the channel
opatel99 joined the channel
bsammon has quit
Freso
"stanislas | GentleCat: i just don't like situations that looks like this : 1.submit, 2.more work, 3. submit, 4. more work, 5 ..." -- so wait with your first (or second, following a "more work") submission until you've got the "go ahead" in the PR.
stanislas
Freso: that's actually a good idea :)
Freso
And if it looks like you're about to run out of time, we're at least 7 admins who can extend your deadline, and maybe the "mortal" mentors can too.
So just give us a heads up. (I try to keep my eye on task instances that are about to expire, but it's better to double check. :))
stanislas
Freso: thanks for help
Leftmost, LordSputnik: I've done my second calibre plugin (the one about BBID search). What do you think ?
but it work for 32f78c16-39d0-4595-afe0-974f89dd71ad
:)
LordSputnik
stanislas: OK, got it working for hobbit as you say - it would be good if we could close the window when the data is applied
stanislas
why ?
you can still change text to search and mark another book
LordSputnik
OK, in that case, display something so thatSo that the user knows that something has happened
err, ... "so that the user knows something has happened"
At the moment, I pressed "Apply" but didn't see much going on until I looked at the book itself
stanislas
I was even thinking about adding a progress bar, users like that
LordSputnik
Perhaps a popup dialog saying "Metadata applied" would be best in this case?
stanislas
This one would be easier than adding a progress bar
which one do you prefer ?
opatel99 has quit
Leo_Verto joined the channel
LordSputnik
stanislas: I don't think we have enough information to do a good progress bar
opatel99 joined the channel
opatel99
Perhaps a spinner ^
stanislas
I am looking in sequence for title, author, language, ... publisher (something like that)
I can change the progress bar after each of these
LordSputnik
Ahhh OK, then yes, a progress bar would make sense for fetching data, and a dialog for applying
stanislas
LordSputnik: you mean to show to user some other dialog with the changes i want to make ?
opatel99: do you know any spinner in pyQt5 ?
LordSputnik
stanislas: actually, that's a good idea - show the current metadata vs the new metaata and get the user to confirm
stanislas
I think that's doable
And should i do that in the same Dialog ?
Freso
stanislas: I may need some help. :) I could never get your first Calibre plugin to work at all, I think.
Freso tries to update as well as fetch the new one
stanislas
LordSputnik: I've some other idea, i can show to user his metadata and my actual metadata as i am downloading it and then make a button 'apply'
it wouldn't require a progress bar
Freso : The first one ?
Freso : how have you tried to install it?
like this : calibre -a CalibreBookBrainzPlugin_v1.0.0.zip ?
Freso
stanislas: No, via the GUI.
stanislas
it can be done using GUI :) ?
Freso
Settings → Plugins → Install plugin from file
stanislas
and you provided .zip ?
Freso
(Wording might be slightly different: I'm using a translation. :))
Yes.
stanislas
from release or from "download zip" button on githyb
Freso
I can see it in the list as being installed.
From cloning the repository and .zip'ing it up myself. ;)
stanislas
Freso: and you don't see the shortcut ?
Freso
stanislas: No. But I'm also not sure where I should be looking.
stanislas
Freso: because you shouldn't
Freso: it is not possible to automatically add it
Freso
Yeah. So how do I confirm that the plugin is working?
(Same for BBID one now. :))
stanislas
Freso: you should add it via preferences->toolbar
->main bar
i also use some other translation than english, so it might be slightly different
Freso
Yeah, I've been there, but I don't see anything that says anything "BookBrainz".
Or has the BB icon.
stanislas
in fact, i didn't even got to this
when i try to add it using gui it says that The plugin in u'/home/stas/Pobrane/CalibreBookBrainzPlugin-master.zip' is invalid. It does not contain a top-level __init__.py file
which i am sure it does
i can ask about it on calibre dev forums tomorow
Freso
That's because you're using the GitHub download.
Which has all the files stored in a folder inside the .zip.
stanislas
ah, that may be true
Freso
(So the __init__.py is at CalibreBookBrainzPlugin-master.zip/CalibreBookBrainzPlugin/__init__.py)
But as I said, I .zip'd it up myself to avoid this (it wouldn't even install using the GH d/l).
stanislas
i am pretty sure what's happeniing
my old plugin doesn't work on the newest version of calibre, which i've learned today from the creator of calibre