[00:41] @tsimonq2 [@HMollerCl https://phab.lubuntu.me/T97], you mean 79 chars line? Or other? [00:41] -lugito:#lubuntu-devel- Error: T97], is an invalid task reference. [00:42] @HMollerCl [you mean 79 chars line? Or other?], Want me to go through it? [00:42] i have a pep8 compliance checker [00:42] can dump you the list of chaos [00:42] that would be nice [00:42] `black .` [00:42] Problem solved [00:42] thanks! [00:42] @teward001 [i have a pep8 compliance checker], There's a Python module for this already [00:42] *shot* [00:43] yes there is :P [00:43] use flake8 [00:43] flake8 is the module? [00:43] @HMollerCl [you mean 79 chars line? Or other?], unrelated, the 79chars line isn't a forced PEP8 compliance [00:43] with the dev team in agreement it can be extended to 120 [00:43] Just run black on it, really. :P [00:43] 88 chars, but well who cares [00:44] https://github.com/psf/black [00:48] sorry, 100 is the number I meant [00:48] To quote PEP8: [00:48] > Some teams strongly prefer a longer line length. For code maintained exclusively or primarily by a team that can reach agreement on this issue, it is okay to increase the nominal line length from 80 to 100 characters (effectively increasing the maximum length to 99 characters), provided that comments and docstrings are still wrapp [00:48] ed at 72 characters. [00:49] @tsimonq2 just to be sure, you ran lintian agains the code in the PPA or the one in the repo https://phab.lubuntu.me/source/lubuntu-update-notifier/ [00:50] wow i can't see that repo heh [00:50] makes sense. [00:51] @HMollerCl [@tsimonq2 just to be sure, you ran lintian agains the code in the PPA or the one …], The one in the repo [00:51] @teward001 [wow i can't see that repo heh], You can't?? [00:51] hmm [00:51] > Users with the "Can View" capability: … Members of the project "Development Team" can take this action. [00:51] means you didn't give me Phab rights [00:51] @tsimonq2 [You can't??], is private [00:51] Fixed [00:51] now i can see it :) [00:51] thanks Simon [00:51] is no longer private [00:52] @tsimonq2 I don't see a .git dir in the repo. [00:52] W: lubuntu-update-notifier source: diff-contains-git-control-dir .git [00:52] You take diffs, @tsimonq2? [00:52] i believe that's handled during cleaning to clean it Hans [00:52] during the build process (don't quote me tho) [00:53] ewwwwww [00:53] EWWWWWWWWW [00:53] you want to see the pep8 violations Hans? [00:53] @HMollerCl [@tsimonq2 I don't see a .git dir in the repo.], That's because it's part of the repo once you clone it :P [00:53] @UniversalSuperBox [You take diffs, @tsimonq2?], Hmm? [00:53] @teward001 [i believe that's handled during cleaning to clean it Hans], Yes [00:53] @teward001 [you want to see the pep8 violations Hans?], hahahahahaha [00:54] Apply this and try again @teward001 :P [00:54] so you fixed the 100+ PEP8 violations regarding indentation using tabs and not spaces? [00:54] messes with diff [00:55] Maybe? [00:55] Yes, it appears to have [00:55] ah, yes, you did [00:55] there's other PEP8 violations though [00:56] Depending on your flake8 config [00:56] not using flake8 on this one [00:56] using PyCharm inbuild [00:56] oooo, I thought that linesbreak where much clearer with tan than spaces...... [00:57] Well, that was my problem, I thought... should have search for it. [00:57] notifier.py, line 51: `if self.upg_path == None:` should be `if self.upg_path is None:` [00:57] which is a pep8 rule [00:58] line wrap at 100 is the max allowed by PEP8 as well [00:58] function names should be lowercase and variables should be lowercase whne function local [00:58] but those're the lower ones [00:59] Four spaces as indentation please ;) [01:00] yep [01:00] unrelated also [01:00] here's the flake8 dump with defaults in it: https://paste.ubuntu.com/p/3snGYS3VJF/ [01:00] @teward001 [notifier.py, line 51: if self.upg_path == None: should be if self.upg_path is No …], "== None" should be always is "None ??" [01:00] lots of E501s [01:01] @HMollerCl ["== None" should be always is "None ??"], Yes, since equality to None is not necessarily defined [01:01] @HMollerCl ["== None" should be always is "None ??"], None should not be equality-operatored. `if var is None` is the proper way to check NoneType being the type [01:01] because None isn't always defined in equality checks [01:01] Python recognizes it and can handle it but it's a coding violation [01:01] thanks, good to know. [01:02] there's some unused imports too [01:02] a bunch [01:02] unused local vars too [01:02] but most of your problem are strings that need linewrapped down [01:02] if the Lubuntu team agrees [01:02] then you can amend it to 100 as the length for wrap [01:02] but you should not go beyond 100 (PEP8) [01:02] tahnks, with what did you the checks? [01:03] flake8 [01:03] it has his pakcahes [01:03] packages [01:03] `cd /temp/lubuntu-update-notifier && sudo pip3 install flake8 && python3 -m flake8 .` [01:03] hmoller@xpsM1210:~/lubuntu-phab/lubuntu-update-notifier$ apt list *flake8* … Listing... Done … flake8/eoan,eoan 3.6.0-1 all … python-flake8/eoan,eoan 3.6.0-1 all … python3-flake8-docstrings/eoan,eoan 1.1.0-1 all … python3-flake8-polyfill/eoan,eoan 1.0.2-1 all … python3-flake8/eoan,eoan 3.6.0-1 all [01:04] my system here is Bionic [01:04] and my Python is 3.7.4 (local pyenv deployment) so having the newest flake from PyPI solved that headache [01:05] but the PEP8 violations still are a thing so :) [01:08] there's also a bug in flake8-docstrings it seems [01:15] @HMollerCl as for Lintian checks... [01:15] it cleared source build checks, running Eoan sbuild now with Lintian [01:16] @teward001 [it cleared source build checks, running Eoan sbuild now with Lintian], I already gave him a full `-EvIL +pedantic` Lintian check. [01:16] Fully annotated, in the task [01:16] *shot* [01:16] i'm being thorough lol [01:17] oh what's this, a lintian failure! [01:17] How much more thorough? :P [01:17] W: lubuntu-update-notifier source: diff-contains-git-control-dir .git … P: lubuntu-update-notifier source: file-contains-trailing-whitespace debian/control (line 20) … P: lubuntu-update-notifier source: source-contains-empty-directory .git/branches/ … P: lubuntu-update-notifier source: source-contains-empty-directory .git/objects/in [01:17] fo/ … P: lubuntu-update-notifier source: source-contains-empty-directory .git/refs/tags/ … P: lubuntu-update-notifier source: package-uses-old-debhelper-compat-version 10 … W: lubuntu-update-notifier source: missing-debian-source-format … P: lubuntu-update-notifier source: no-dep5-copyright … W: lubuntu-update-notifier: wrong-bug-number-in-closes l [01:17] 3:#XXXXXX … E: lubuntu-update-notifier: copyright-file-contains-full-gpl-license … E: lubuntu-update-notifier: copyright-should-refer-to-common-license-file-for-gpl … W: lubuntu-update-notifier: spelling-error-in-description allows to allows one to … W: lubuntu-update-notifier: script-with-language-extension usr/bin/upgrader.py … W: lubuntu-update- [01:17] notifier: binary-without-manpage usr/bin/upgrader.py … E: Lintian run failed (policy violation) [01:17] well [01:17] the E items should be fixed :P [01:18] I don't get this "W: lubuntu-update-notifier: script-with-language-extension usr/bin/upgrader.py" [01:19] @teward001 [the E items should be fixed :P], All of them should [01:19] :P [01:19] @HMollerCl [I don't get this "W: lubuntu-update-notifier: script-with-language-extension usr …], > When scripts are installed into a directory in the system PATH, the script name should not include an extension such as .sh or .pl that denotes the scripting language currently used to implement it. The implementation language may [01:19] change; if it does, leaving the name the same would be confusing and changing it would be disruptive. … From https://lintian.debian.org/tags/script-with-language-extension.html [01:19] @tsimonq2 [All of them should], yes, you're not wrong. [01:20] but the copyright file issues are the larger ones 😜 [01:21] @HMollerCl if you don't get what the tag means, https://lintian.debian.org/tags-all.html - usually self explanatory for most of the detections [01:21] ^^ [01:21] thanks @teward001 [01:21] and apparently debhelper's clean in the rules doesn't purge `.git` currently 😐 [01:27] @teward001 [> When scripts are installed into a directory in the system PATH, the script nam …], what to they mean exactly with "system PATH" [01:27] ? [01:29] yes. what the default $PATH variable is [01:29] of which /usr/bin is default in in Debian and Ubuntu systems [01:30] see `/etc/environment/ and its `PATH` definition. This is mine on Bionic: `PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games` [04:06] @kc2bez I don't suppose you've made any more progress tonight? [04:15] @tsimonq2 Been reading the docs and what you sent. Was on BDLL too. Here is where I am at: `arc land --onto ubuntu/eoan` then `debuild -S` then `dput ubuntu ../lubuntu-default-settings_19.10.2_source.changes` [04:15] Little bugaboo the version in the archive doesn't match phab. [04:19] AHA. [04:20] wxl's fault XD [04:20] kc2bez: I'll merge in wxl's changes, merge your diff, and then you can push from there. [04:21] * tsimonq2 slaps wxl[m] with a wet fish [04:23] Wait a minute [04:23] O_o [04:23] @tsimonq2 copyright thing is awfull [04:23] It's the most awful thing in packaging, I swear. [04:23] Copyright is just stupid. [04:24] Okay, I'm confused. What did wxl mess up... :P [04:27] ¯\_(ツ)_/¯ [04:27] -lugito:#lubuntu-devel- [rDEFAULTSETTINGSd7e494fb108c: Adding back translations.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rDEFAULTSETTINGSd7e494fb108c [04:28] Okay, so what he had was a messed up local copy. [04:28] According to the VCS, it's just adding a changelog entry. [04:28] Well job, wxl. [04:28] Anyway, enough making fun of wxl. XD [04:30] Let's see if this hacky hack will work. [04:32] -lugito:#lubuntu-devel- [rDEFAULTSETTINGS744503987915: Add more mimetypes.] tsimonq2 (Simon Quigley) committed: https://phab.lubuntu.me/rDEFAULTSETTINGS744503987915 [04:32] Bleeeh, it has to put me as the author. [04:32] Whatevs. [04:33] @kc2bez: Alright, go for it. Tip of ubuntu/eoan should be all set. [04:33] debuild -S -d [04:33] Then dput ubuntu ../lubuntu-default-settings_19.10.3_source.changes [04:34] Alright, I will clone that in a fresh working directory. [04:34] Sounds goos. [04:34] *good [04:42] kc2bez: How's that coming along for you? [04:42] good [04:43] about to dput [04:43] I'm waiting in anticipation :D [04:45] I couldn't tell XD [04:45] I got an email [04:47] So did I! [04:48] Look at that: https://launchpad.net/ubuntu/+source/lubuntu-default-settings/19.10.3 [04:48] Nice work! [04:48] Congrats on your first upload :) [04:48] \o/ [04:48] Couldn't do it without you. [04:48] :D [04:49] Next time should be slightly easier ;) [04:49] next I need to git tag or no? [04:49] Yes [04:49] So git tag ubuntu/19.04.3 or something similar [04:49] And then git push --tags [04:52] Ok, should be done too. [04:53] Can confirm :) [04:53] Sweet! [04:54] :D [04:55] kc2bez: Do you want to try merging Calamares from Debian when you get a chance? [04:56] What is in Debian? We should be on the latest version. [04:57] It's the latest release, but it's more of a packaging exercise. [04:58] Sure. Maybe not tonight though :) [04:58] If you get merges from Debian down to a science, I can point you at plenty of LXQt packages. ;) [04:58] Sure, that's no problem :) [04:58] Yeah I would like to. [04:59] It'll certainly get you more comfortable uploading to the archive. :D [04:59] More experience will help for sure. [05:00] And if anyone wants it, it's certainly not exclusive to Dan (none of this is, in fact, it'd be cool to get you to sponsor something eventually), libfm-qt is a really fun symbols puzzle. [05:01] - _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_@Base 0.14.1 [05:01] + _ZNSt6vectorIN2Fm8FilePathESaIS1_EED1Ev@Base 0.14.1+git201907270128~disco-0ubuntu1~ppa1 [05:01] + _ZNSt6vectorIN2Fm8FilePathESaIS1_EED2Ev@Base 0.14.1+git201907270128~disco-0ubuntu1~ppa1 [05:01] + _ZNSt6vectorISt4pairISt10shared_ptrIKN2Fm8FileInfoEES5_ESaIS6_EE17_M_realloc_insertIJS6_EEEvN9__gnu_cxx17__normal_iteratorIPS6_S8_EEDpOT_@Base 0.14.1+git201907270128~disco-0ubuntu1~ppa1 [05:01] + _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base 0.14.1+git201907270128~disco-0ubuntu1~ppa1 [05:01] +#MISSING: 0.14.1+git201907270128~disco-0ubuntu1~ppa1# _ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_@Base 0.14.1 [05:01] The error is only present on Disco. [05:01] ewww [05:02] >:D [05:02] Hey RikMills, want a break from PIM? :P [05:02] * tsimonq2 runs [05:03] Thanks for your help tsimonq2 [05:03] No problem at all! [05:03] Have a great night [05:04] Thanks, morning now though ;) [05:04] True ;) [08:56] -lugito:#lubuntu-devel- [T90: Bionic locker should be light-locker] apt-ghetto (apt-ghetto) commented on the task: https://phab.lubuntu.me/T90#1570 [09:37] "The error is only present on Disco." … That smells like a compiler version issue [09:43] @tsimonq2 [ Hey RikMills, want a break from PIM? :P], To be honest, I have given up caring about PIM symbols. Just ignoring them and rebuilding the 5 or 6 extenal packages that use the PIM ABI each time seems less work [14:02] wxl: did you receive my email ? [19:02] -lugito:#lubuntu-devel- [T21: Our xscreensaver theme is too old] wxl (Walter Lapchynski) commented on the task: https://phab.lubuntu.me/T21#1571 [20:06] -lugito:#lubuntu-devel- [T91: Update mimeapps.list] kc2bez (Dan Simmons) commented on the task: https://phab.lubuntu.me/T91#1573 [20:51] Is phab just spinning away for anyone else? [20:52] I'm in. [20:52] Which part in particular? [20:53] Nevermind I guess. Wherever I'm at is in some weird internet black hole [20:53] I hate that [20:53] Or maybe Firefox issue [20:55] I use firefox but mobile networks can be a challenge. [21:02] -lugito:#lubuntu-devel- [rUPDATENOTIFIER930acffb78ae: fixed PEP8] hmollercl (Hans P. Möller) committed: https://phab.lubuntu.me/rUPDATENOTIFIER930acffb78ae [22:33] -lugito:#lubuntu-devel- [rMANUALc1e8dba98759: Fix styling] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALc1e8dba98759 [22:36] -lugito:#lubuntu-devel- [rMANUALbdc3aa2417cf: Add destination need to accept] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALbdc3aa2417cf [22:41] -lugito:#lubuntu-devel- [T21: Our xscreensaver theme is too old] wxl (Walter Lapchynski) commented on the task: https://phab.lubuntu.me/T21#1574 [23:10] -lugito:#lubuntu-devel- [T21: Our xscreensaver theme is too old] wxl (Walter Lapchynski) commented on the task: https://phab.lubuntu.me/T21#1575 [23:47] kc2bez, ack on t91 (mimetypes) [23:47] Thanks guiverc [23:53] i got to finish some things but it's on my TODO, too [23:53] i think i've exhausted myself on screensavers/locks for one day [23:54] Thanks wxl I appreciate it.