/srv/irclogs.ubuntu.com/2018/12/07/#lubuntu-devel.txt

-lugito:#lubuntu-devel- [rMANUAL71027231499b: Add seperateing folders] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL71027231499b18:20
-lugito:#lubuntu-devel- [rMANUAL5e23a86ff375: Add case sensitive sorting to pcmanfm-qt] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL5e23a86ff37518:45
hmollerclHi, anyone here knows threading in qt?19:27
hmollerclbtw wxl tsimonq2 please remember to voice me in lubuntu-admins19:29
wxli still don't have the flags to do it. you'll have to get @tsimonq2 to do so (as i mentioned previously) @hmollercl .. maybe make a task for him :/19:29
-lugito:#lubuntu-devel- [rMANUAL9eee275afe1b: Add included non default panel applets] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL9eee275afe1b20:05
lubot<SamuelBanya> Hey team I'm gonna work on that automirror bug20:21
lubot<SamuelBanya> Done with 4 phone interviews during my day off today *phew20:21
lubot<SamuelBanya> Hope one of them wants me for next week in person same time20:22
lubot<SamuelBanya> @wxl I git cloned the entire Ubuntu Calamares directory and copied the main.py file, and placed it into a staging folder alongside the entire directory so i can modify main.py separately21:13
lubot<SamuelBanya> The issue I'm having is that it's saying I don't have libcalamares installed21:13
lubot<SamuelBanya> Wasn't this supposed to be installed by default on cosmic?21:14
wxlon the installation media, yep21:14
lubot<SamuelBanya> I tried pip3 install calamares but that didn't help as well and I couldn't find a related issue on Google21:14
wxlyou actually want to install the ubuntu package21:14
lubot<SamuelBanya> So that entire directory?21:15
wxlhuh?21:15
lubot<SamuelBanya> Or do it through my package manager ?21:15
wxlyes21:15
lubot<SamuelBanya> Is it "calamares-settings-ubuntu-common"21:16
lubot<SamuelBanya> ?21:16
wxlthat21:16
lubot<SamuelBanya> Found that on muon21:16
wxl's settings21:16
lubot<SamuelBanya> Ok will install21:16
wxlhowever note of that has to do with libcalamares.. which i would expect to come from the calamares package21:17
lubot<SamuelBanya> Hmm I installed it and it's still giving me that error21:18
wxlwhat are you trying to do, run it?21:18
lubot<SamuelBanya> I'll try to find Calamares on muon21:18
lubot<SamuelBanya> So my approach to this21:18
lubot<SamuelBanya> Is21:18
lubot<SamuelBanya> Modify main.py, call the individual functions, test print the results in terminal, and if the  printed results make sense, place main.py back in the actual directory21:19
wxlyeah well, i've never really bothered to try to do that21:19
lubot<SamuelBanya> Once the testing is done id remove the print statements21:19
wxli think it's probably more trouble than it's worth21:19
lubot<SamuelBanya> It's just that I don't want to install it in a vm to test it21:20
lubot<SamuelBanya> I rather make sure the individual function works21:20
wxlwell we know the fix for this21:20
wxlas i said21:20
wxlit's kind of a no brainer21:20
wxldoesn't need to be tested21:20
lubot<teward001> is this the `import socket` thing again wxl?21:20
wxlif you REALLY want to do it your way, you'll have to talk with calamares to figure out how to import libcalamares.. it's hidden deeper in the code than just in the automirror code21:21
wxlyep @teward00121:21
lubot<SamuelBanya> Weird the Calamares module IS installed21:21
lubot<SamuelBanya> Why the heck is it giving me an import module21:21
lubot<teward001> @SamuelBanya the issue wxl is talking about is just because you need ot change `from socket import timeout` to `import socket` :P21:21
lubot<teward001> if i remember right anyways21:21
wxl^ that21:21
lubot<teward001> literally a one-liner python fix21:22
lubot<SamuelBanya> Yeah it's an easy fix21:22
lubot<SamuelBanya> I saw it21:22
lubot<SamuelBanya> I'll just make the change21:22
lubot<SamuelBanya> Newb question for a reminder21:22
lubot<SamuelBanya> When I do the commit21:22
lubot<SamuelBanya> git add -A21:22
wxl`git add -A`  adds ANYTHING that changed21:23
lubot<SamuelBanya> git -m "changing one line to import socket"21:23
lubot<SamuelBanya> git push21:23
wxlgiven your proclivity to copy things around and make staging directories and such, i would NOT suggest doing that21:23
lubot<teward001> what wxl said21:23
lubot<SamuelBanya> No worries21:23
lubot<SamuelBanya> I'll modify the existing one21:23
wxlinstead do `git add /path/to/file`, then `git commit -m "meessage"`, then `git push`21:23
lubot<teward001> then you don't need git add21:23
lubot<SamuelBanya> I just prefer not screwing up21:23
lubot<teward001> `git commit -am "blyat"`21:23
wxlthat too21:24
lubot<teward001> um... i think someone futzed my autocorrect21:24
wxl`git commit -a` = `git add -A && git commit`21:24
lubot<teward001> @tsimonq2 stop messing with my autocorrects!21:24
wxlyou also don't NEED to use -m.. it will open up an editor for you to enter a commit message without it21:24
lubot<teward001> what wxl said, but i usually oneliner it anyways because I'm lazy :P21:24
lubot<teward001> and don't want to mess with my editor popping up :P21:25
lubot<teward001> EXCEPT in cases where a short 80char message isn't sufficient21:25
lubot<teward001> then I add multilines to the commit to explain things with the editor :P21:25
lubot<teward001> ... or I just use PyCharm for python stuff :P21:25
lubot<SamuelBanya> So I'm in the calamares-settings-ubuntu folder:21:26
lubot<SamuelBanya> git add -A21:26
lubot<SamuelBanya> git commit -m "Adding one line fix for import socket"21:27
lubot<SamuelBanya> git push21:27
wxlto check you added the right stuff, you can `git status`21:27
lubot<teward001> wxl: and `git diff` to view the diff of what's changed.21:27
lubot<teward001> before committing21:27
lubot<SamuelBanya> fatal: unable to access 'https://phab.lubuntu.me/source/calamares-settings-ubuntu.git/'21:28
lubot<SamuelBanya> The returned url returned error 40321:28
wxlit's because you need to use the ssh remote21:33
wxlif you had followed the packaging guide21:34
* wxl hits @teward001 with a baseball bat21:34
* teward returns the baseball bat whacking with full-scale kinetic impact weapons strikes from orbit upon wxl's location21:35
tewardWell that escalated quickly, didn't it?  :P21:35
lubot<SamuelBanya> (Photo, 720x1280) https://i.imgur.com/nuPU79i.jpg21:36
lubot<SamuelBanya> I did the github guide but used the git clone link for the remote section21:36
lubot<teward001> that's for GitHub21:36
lubot<teward001> *not* for Phab based repos21:36
lubot<teward001> for Phab you have to use the SSH remote endpoint for git pushing to work21:37
lubot<teward001> if it were to GitHUb that'd be a different story21:37
lubot<SamuelBanya> Ah gotcha21:37
lubot<SamuelBanya> I'll use the ssh link then21:37
lubot<SamuelBanya> Thanks for the confirmation I'll try that21:37
lubot<ctisme> @SamuelBanya [git add -A], why not  ... $ git add -u ... ?21:38
lubot<SamuelBanya> I added that ssh line but it's saying it already exists :/21:38
lubot<SamuelBanya> (Photo, 1280x720) https://i.imgur.com/ACOr4aB.jpg21:39
lubot<SamuelBanya> Id rather just push the entire directory21:39
wxlyes because origin exists21:39
wxlyou need to remove the current origin21:39
lubot<SamuelBanya> I did:21:41
lubot<SamuelBanya> git remote remove origin21:41
lubot<SamuelBanya> git remote add origin (ssh link)21:41
lubot<SamuelBanya> git push origin master21:41
lubot<teward001> show us `git remote -v` output.21:41
lubot<teward001> because your git remotes might be fubar21:41
lubot<SamuelBanya> It said I don't have repository rights21:42
lubot<SamuelBanya> 😞21:42
wxlNO MATTER WHAT, you will ALWAYS get the "no rights" response from `git push`ing to the http remote21:42
lubot<SamuelBanya> (Photo, 1280x720) https://i.imgur.com/RDwlHV8.jpg21:42
teward^ that21:42
tewardit's why you need the SSH endpoint21:42
wxlthe solution: never ever use the http remote21:42
lubot<SamuelBanya> I used the ssh variant21:43
wxloh now that's different21:43
wxlis that id_rsa on phab?21:44
lubot<SamuelBanya> Yes21:45
lubot<SamuelBanya> My public key21:45
wxlare you sure they're the same?21:45
lubot<SamuelBanya> id_rsa.pub21:45
lubot<SamuelBanya> I can double check now21:45
lubot<teward001> @SamuelBanya `ssh -p 2222 git@phab.lubuntu.me -i /home/sam/.ssh/id_rsa`21:45
lubot<teward001> see what it says in return21:45
lubot<SamuelBanya> I just uploaded it21:46
wxlyou uploaded the pub or the private?21:46
wxllet me rephrase21:46
wxlDON"T EVER UPLOAD THE PRIVATE ANYWHERE21:46
lubot<SamuelBanya> Public21:46
lubot<SamuelBanya> Trust me21:47
lubot<SamuelBanya> I went back and forth with dudes about this on it21:47
lubot<SamuelBanya> Irc21:47
lubot<SamuelBanya> Cause my shared web host got hacked21:47
wxli thought you said you "just" uploaded it?21:47
lubot<SamuelBanya> Had to change everything21:47
lubot<SamuelBanya> Pasted it rather21:47
lubot<teward001> so what does the SSH command I just provided you say in return when you try and connect then21:47
lubot<teward001> (moving back to topic)21:47
lubot<SamuelBanya> (Photo, 1280x720) https://i.imgur.com/SiCXURo.jpg21:47
lubot<teward001> so it's not an SSH key issue then21:48
wxlnope21:48
wxlwth21:48
wxloh21:48
wxlwait21:48
wxlduh21:48
wxlhm21:49
wxlhold on21:49
lubot<teward001> wxl: @tsimonq2 broke it didn't he.21:49
lubot<teward001> :P21:49
wxlyeah21:49
wxlno that's right21:49
wxlwe don't have the repos set for everyone to push to21:49
wxl`arc diff` it21:49
lubot<SamuelBanya> Ok I'll follow the arc guide then21:49
wxldon't forget your changelog entry21:50
lubot<SamuelBanya> Of course21:51
lubot<SamuelBanya> *Trying to find it in the manual21:51
lubot<SamuelBanya> Found it21:51
lubot<SamuelBanya> Where did you install arcanist btw?21:57
lubot<SamuelBanya> In your bin?21:57
lubot<SamuelBanya> Just gonna do it through muon21:58
lubot<SamuelBanya> I tried git clone ssh://git@phab.lubuntu.me:2222/source/PACKAGE.git22:14
lubot<SamuelBanya> (Photo, 1280x720) https://i.imgur.com/VqlksJx.jpg22:14
wxlheh22:26
wxlyou're kidding, right?22:26
lubot<SamuelBanya> Anyway I followed the first easy guide since the arc guide is so long tbh22:29
lubot<SamuelBanya> I have arc installed through muon22:29
lubot<SamuelBanya> That being said22:29
lubot<SamuelBanya> I recloned the whole directory22:29
lubot<SamuelBanya> Made my change to main.py22:29
lubot<SamuelBanya> Cd'd into the top most folder22:29
lubot<SamuelBanya> And tried to get the package bit and it's saying it doesn't exist22:30
wxllet's see the image22:30
lubot<SamuelBanya> git clone ssh://git@phab.lubuntu.me:2222/source/PACKAGE.git22:31
wxlthe message is there22:31
wxlwe don't have a package called "PACKAGE"22:31
wxlthat's why i was wondering if you were kidding22:31
lubot<SamuelBanya> (Photo, 1280x720) https://i.imgur.com/PgEM4MC.jpg22:31
lubot<SamuelBanya> I followed it verbatim22:31
wxlthat's the problem22:32
lubot<SamuelBanya> But you're right use the actual repo I need22:32
wxlanything in caps is a variable22:32
-lugito:#lubuntu-devel- [Packaging Tutorial] wxl (Walter Lapchynski) : 22:35
lubot<SamuelBanya> I tried doing quilt push -a but it's saying no series file found22:36
wxlagain, this is where reading the whole tutorial helps22:36
lubot<SamuelBanya> It's just confusing tbh22:36
lubot<SamuelBanya> The starting easy point is one thing22:37
lubot<SamuelBanya> But the individual arcanist install is intense too tbh22:37
wxlthat's there as a quick reference after you understand the rest of it22:37
wxlit makes a point to say "beware the exceptions below"22:37
wxlgo down to the exceptions section and read about native packages22:38
lubot<SamuelBanya> Yeah22:41
lubot<SamuelBanya> This is just a wall of text right now. Pretty intimidating cause the small steps just aren't working for me22:41
lubot<SamuelBanya> I'll try again tomorrow. Was stressed too much over those interview today. This isn't helping tbh.22:42
-lugito:#lubuntu-devel- [Real world packaging example] wxl (Walter Lapchynski) : 22:47
-lugito:#lubuntu-devel- [real world packaging example] wxl (Walter Lapchynski) : 22:48
-lugito:#lubuntu-devel- [packaging requirements] wxl (Walter Lapchynski) : 22:49
-lugito:#lubuntu-devel- [packaging exceptions] wxl (Walter Lapchynski) : 22:53
-lugito:#lubuntu-devel- [version numbering] wxl (Walter Lapchynski) : 22:56
-lugito:#lubuntu-devel- [Packages] wxl (Walter Lapchynski) : 22:59
-lugito:#lubuntu-devel- [version numbering] wxl (Walter Lapchynski) : 23:00
-lugito:#lubuntu-devel- [Packaging Tutorial] wxl (Walter Lapchynski) : 23:00
-lugito:#lubuntu-devel- [Packaging Tutorial] wxl (Walter Lapchynski) : 23:06
-lugito:#lubuntu-devel- [Packaging Tutorial] wxl (Walter Lapchynski) : 23:06
-lugito:#lubuntu-devel- [Packaging Tutorial] wxl (Walter Lapchynski) : 23:07
-lugito:#lubuntu-devel- [Upload to a PPA] wxl (Walter Lapchynski) : 23:09
-lugito:#lubuntu-devel- [Packaging Tutorial] wxl (Walter Lapchynski) : 23:14
lubot<ctisme> still try to understand what the heck happened above23:20
lubot<ctisme> :chewing:23:21
wxlwiki editing23:21
wxlessentially the tutorial got split up into several pages23:21
lubot<ctisme> noted, wxl23:46
lubot<ctisme> i would see if i could help23:47
lubot<ctisme> i noticed that wxl still used to use irc client... do you on CLI, wxl?23:49
wxlyep. irssi.23:50
lubot<ctisme> @ctisme [i would see if i could help], not so sure abt this23:50
lubot<ctisme> @wxl [<wxl> yep. irssi.], cool23:50
lubot<ctisme> i wish i could use it too23:51
wxlwhat are you not sure about?23:53
wxland why do you "wish" you can use it? you just..... use it :)23:53
lubot<ctisme> @wxl [<wxl> what are you not sure about?], don't know from what/where point starting to help?23:56
wxlwell, whta do you want to help with?23:56
lubot<ctisme> @wxl [<wxl> and why do you "wish" you can use it? you just..... use it :)], i used to use vim... i hope i could use less mouse using irssi23:57
wxlthen use it!23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!