13:42.51 | *** join/#gooseproject makfinsky (~imak@74.213.159.129) |
14:45.04 | shalkie | Morning all. |
14:51.30 | goozbach | moring |
15:41.25 | herlo | hi |
16:27.04 | makfinsky | Morning all. |
16:29.59 | herlo | hi |
16:30.15 | herlo | makfinsky: so another thing we need is a lookaside cache |
16:31.40 | herlo | https://github.com/gooseproject/pydf/blob/master/Makefile can help. Koji runs 'make sources' which essentially allows a make script to download the archive for the rpm and verify it before running the build. |
16:33.11 | herlo | the makefile have just downloads my pydf archive but we need it to do at least verification (md5sum sha256sum) somehow |
16:33.41 | herlo | the way I've seen it done is that the git repo will store a file called archive or something and inside will be the name of the file and the sha256sum |
16:34.27 | herlo | the make sources will parse the file, pull the file down (with curl) and verify the signature. |
16:34.31 | makfinsky | Yeah, that sounds about right. |
16:34.35 | herlo | makfinsky: sound like something interesting to take on? |
16:35.29 | herlo | supposedly shalkie is building up a machine where we can store these packages in our lookaside cache, but I haven't heard whether it's done yet |
16:35.47 | makfinsky | Not sure I know what you mean by lookaside cache. |
16:36.53 | herlo | a lookaside cache is just a place where the archives are stored that isn't in the git repository |
16:36.59 | makfinsky | I'll see what I can get done with the makefile. |
16:37.05 | makfinsky | Ah, gotcha. |
16:37.21 | herlo | it's the location where the download happens in the process I described above |
16:37.28 | herlo | kk |
16:37.57 | herlo | makfinsky: we need to get you on the github stuff, too |
16:38.06 | makfinsky | Indeed. |
16:38.20 | herlo | I'll see what I can do on that front later today |
16:38.25 | makfinsky | Dammit... I got sidetracked last night and didn't test the vpn... |
16:38.55 | herlo | lol |
16:39.00 | herlo | test now! :) |
16:40.35 | makfinsky | Can't, onsite right now. Need to keep connectivity to systems I am working on. |
16:41.20 | herlo | hehe, okay. I'll try to remind you later on |
17:00.37 | makfinsky | Ok, the md5sum test looks pretty simple. git, on the other hand, I am having trouble with. |
17:00.48 | makfinsky | herlo: What's the format-patch command need to look like? |
17:01.54 | herlo | sorry |
17:02.06 | herlo | for this, you don't really have to do much with git |
17:02.16 | makfinsky | To get you a patch. |
17:02.28 | makfinsky | Otherwise, I'll just email you the file. |
17:02.38 | herlo | makfinsky: no, send me a pull request :) |
17:02.44 | makfinsky | Heh, ok. |
17:02.58 | herlo | let's figure that bitch out |
17:09.49 | makfinsky | Yay!!! I was able to fix my github account. |
17:09.55 | herlo | w00t! |
17:10.06 | makfinsky | Had to remove the ssh id from the older account. Fortunately, still had the login. |
17:11.21 | herlo | coolness |
17:11.46 | makfinsky | Ok, it's been a fairly long while since I've done any real development work so I am rusty. |
17:13.06 | herlo | makfinsky: well here's the thing |
17:13.24 | herlo | make sources needs to verify the md5sum, |
17:13.36 | herlo | thus the make test part won't work |
17:14.07 | herlo | it all has to be in one. If you remember how make works, you *can* have dependencies so something like |
17:14.12 | makfinsky | Oh, then we need to move the downloads into a new target, run that, then test inside of sources. |
17:14.14 | herlo | test: sources |
17:14.16 | herlo | <PROTECTED> |
17:14.26 | herlo | the test command would call sources first |
17:14.27 | makfinsky | Yeah. |
17:14.29 | herlo | then do it's action |
17:14.32 | makfinsky | Gotcha. |
17:14.37 | herlo | well |
17:14.42 | herlo | I'd probably do something like |
17:14.49 | herlo | sources: download md5sum |
17:14.58 | herlo | <PROTECTED> |
17:15.12 | herlo | I'm going to reject this pull request |
17:15.28 | makfinsky | Yeah, that's what the second line in the sources does. Currently commented since the file isn't up there. |
17:16.30 | herlo | k, I'm running off for food |
17:16.31 | herlo | bbiab |
17:19.08 | makfinsky | Ok, fixed. |
21:16.38 | *** join/#gooseproject josephnexus (~josephnex@24-116-177-210.cpe.cableone.net) |
23:10.57 | herlo | makfinsky: did you get any further with the makefile? |
23:11.16 | makfinsky | herlo: No, busy trying to get this satellite done here. |
23:11.20 | herlo | cool, nw |
23:11.29 | makfinsky | I think I have a better handle on what you want. |
23:12.12 | herlo | cool. I'm heading out to go to UtahPython meeting shortly, so wanted to check if you had any further questions before I left |
23:15.58 | shalkie | What is the topic for the meeting? |
23:17.11 | herlo | shalkie: Best practices for Django and CLI setup and configuration, or something like that |