IRC log for #gooseproject on 20130510

02:39.22*** join/#gooseproject bochecha_ (~bochecha@175.45.17.220)
02:39.23*** join/#gooseproject bochecha_ (~bochecha@fedora/bochecha)
04:27.52herlobochecha_: hola
04:28.09bochecha_hi herlo
04:28.26herlosorry I wasn't around last night. So tired...
04:28.42herlobochecha_: ooh, that png looks good...
04:28.58herloI like where you are going with this. I'm seriously going to have to actually try it out soon now :)
04:29.09bochecha_:D
04:29.32bochecha_make sure your clone is up to date
04:29.44bochecha_I pushed some stuff yesterday, that you'll need
04:30.20bochecha_(when you forked the repo, the app would only work with some data inside the DB, and the form to add data was broken :P)
04:31.02herlosure
04:31.14herloI plan to pull in your changes (upstream) and push them to mine (origin) :)
04:31.26herloI do this with several other git repos
04:31.32bochecha_yeah, me too
04:31.41herloseems common enough
04:31.53bochecha_I just wanted to give you a heads up that what you had at the time you forked was known to not work :P
04:32.20herlooh, I figured it would not be perfect, at least :)
04:32.26herlobochecha_: I appreciate the heads up :)
04:32.37bochecha_it's far from perfect
04:32.48bochecha_for example, the admin forms have no error handling whatsoever
04:33.09bochecha_if something bad happens, you get a traceback in the terminal running the app, and the whole web UI stops reacting correctly
04:33.17bochecha_that obviously needs to be fixed :)
04:33.52bochecha_but right now, I'd like to finish the prototype so I can start dog-fooding it, and see how well it helps me keeping my distro up to date, what features would be missing, etc...
04:36.43herlosure, I'm liking where this is going.
04:37.08herlobochecha_: how does the git dir stuff matter? Do I need to have my repos more like what you are doing?
04:37.16bochecha_ah
04:37.24bochecha_it doesn't right now
04:37.33herloit doesn't work?
04:37.39bochecha_it's not used
04:37.45herlooh, ok
04:37.53herloso how do I track updates?
04:38.20bochecha_the git stuff is something I will need here, but I'm not sure yet how to implement that correctly, so I haven't committed it yet
04:38.33herlook
04:38.36bochecha_wait, where did you see that git stuff actually?
04:38.51herloI didn't
04:38.55bochecha_ah
04:38.57bochecha_good :)
04:38.57herloI was just asking how it got updates
04:39.06bochecha_so
04:39.09bochecha_is it running?
04:39.23herlobecause I thought it was against your git repo. Now I'm thinking it's against koji or your mashed repositories
04:39.33herlobochecha_: no, I'm not tinkering with it at all yet
04:39.37bochecha_ah
04:39.49herlosorry if I gave that impression
04:39.51bochecha_so the way it works is that when you log in, you can access the admin interface
04:39.58herloright
04:40.01bochecha_in there, you configure your "distros"
04:40.15herlok
04:40.24bochecha_if you look at that overview screenshot, I have configured the "NBRS 5.0" and "Experimental" distros
04:41.17herlooh, ok
04:41.21bochecha_each distro needs: a name (duh!)
04:41.28bochecha_a koji tag (the stable tag)
04:41.31bochecha_a git branch (crap, I committed that, it's unused for now)
04:41.43bochecha_a list of dist tags used in the packages (more on that later)
04:41.52bochecha_a downstream prefix (more on that later)
04:42.08herloI love the 'more on that later' branches
04:42.18bochecha_an optional upstream id (that's if all the packages in your distro come from the same upstream)
04:42.27bochecha_then you can configure your "upstreams"
04:42.47bochecha_on the overview screenshots, the upstreams I configured are e.g "RHEL 6", "EPEL 6", or "Fedora 16"
04:43.03bochecha_each upstream needs: a name (seems a common pattern ;) )
04:43.08herloI could see configuring the first two
04:43.15bochecha_a git branch (wow, why did I commit this!?!?!)
04:43.23herlolol
04:43.29bochecha_a list of dist tags (again, we're getting to this)
04:43.34herlobochecha_: because you want someone to write that :)
04:43.55bochecha_and a list of base urls (the urls to the SRPMS upstream repositories)
04:44.08bochecha_no, it's written, just not committed yet until I figure out how I want it to look ;)
04:44.15bochecha_so
04:44.21bochecha_once you've configured all this
04:44.35bochecha_there is a script, which should probably be run as a cron job or something
04:44.47bochecha_what it does is as follows
04:45.13bochecha_for each configured distro:
04:45.33bochecha_<PROTECTED>
04:45.47bochecha_<PROTECTED>
04:46.00bochecha_<PROTECTED>
04:46.24bochecha_<PROTECTED>
04:46.55herlowhy not evra?
04:46.56bochecha_<PROTECTED>
04:47.06bochecha_because the arch is irrelevant for source packages ;)
04:47.20bochecha_and that's it for the synchro script
04:47.31herlooh, you aren't comparing binary pkgs here, I see
04:48.00bochecha_no, we're building a distro, so we build source packages, hence all we need to compare are source packages :)
04:48.09herlobochecha_: I'm suspecting I'll have time this weekend to tinker with it. If you have a moment to write this up in a READMe (if you haven't already), I'll definitely read it.
04:48.11bochecha_and koji builds correspond to source packages
04:48.23herloright, I understand
04:48.35bochecha_yeah, I absolutely need to document it
04:48.43herlow00t!
04:48.44bochecha_I'll try to do that today
04:48.59herloeven if it's just a terse tutorial, I'm sure I can figure out parts
04:49.11bochecha_so then, when you display the overview, the app will get all the packages in the DB, grouped by distro then by upstream (because in my case, each package can come from a different upstream)
04:49.14herloor ask you on Sunday night (your monday)
04:49.27bochecha_and then the package evr is compared to the upstream evr
04:49.38bochecha_that's where we get to the "more on that later" parts ;)
04:50.01herlolol
04:50.03bochecha_you can't compare "1.0-1.el6_0.1" with "1.0-1.nb5.0.1"
04:50.04herloyep
04:50.11bochecha_(nb5.0 is my dist tag)
04:50.13herloI'm aware how that's problematic
04:50.27bochecha_because then, my packages always appear as newer, simply because my dist tag is evaluated as "bigger"
04:50.39bochecha_so the code will stripp the evrs of the dist tags
04:50.49bochecha_which is why they need to be specified in the admin for the distros and releases
04:50.50herloyeah, same here
04:51.00bochecha_finally, there are downstream changes
04:51.00herlogl6 is greater than el6 :)
04:51.10bochecha_stuff you have to change to get the packageto build for example
04:51.27herlois entranced...paying attention...
04:51.34bochecha_you mark them by ".gooseX" with X the revision of the change, right?
04:51.53bochecha_just appended to the Release: tag if I understood correctly
04:52.37bochecha_well, then when you configure your distro in the admin interface, you'd specify that ".goose" is the "downstream prefix"
04:52.44bochecha_the code will strip that out of the evr too
04:52.52bochecha_and compare things correctly
04:53.01herloyes
04:53.04bochecha_and that's why my latest screenshot finally has some up to date packages :)
04:53.09herlo.goose.1 I think
04:53.09githubieherlo: Error: "goose.1" is not a valid command.
04:53.09goosebot`herlo: Error: "goose.1" is not a valid command.
04:53.12herlolol
04:53.15bochecha_(inmy case, the downstream prefix is a simple '.')
04:53.20bochecha_ah
04:53.28bochecha_so your downstream prefix would be '.goose.'
04:53.29herlohas to look now
04:53.33bochecha_simple enough :)
04:54.02bochecha_technically, I just do: release = release.rsplit(downstream_prefix, 1)[0]
04:54.17bochecha_there you go, you know everything there is to know about the app :)
04:54.21herlolol
04:54.23herlosure I do
04:54.29bochecha_including the "ignore the git stuff for now" caveat :P
04:54.39herlowill need a refresher just to get started, I think.
04:56.50bochecha_herlo: here's what the admin UI looks like: http://bochecha.fedorapeople.org/tmp/admin_distros.png
04:56.59herlolooks
04:57.07bochecha_eventually, I'd like that to display some explanations of each field
04:57.24herlobochecha_: what browser do you use?
04:57.35bochecha_(yes, it does look a lot like the "Online accounts" panel in GNOME Control Center :P)
04:57.36bochecha_Firefox
04:57.43bochecha_tweaked to make it look like GNOME Web :)
04:57.44herlonice looking distro there
04:57.57herlobochecha_: ahh, I was wondering. I see that you search with duckduckgo. :)
04:58.09bochecha_yes
04:58.39herlooh, and what is uptrack?
04:58.52bochecha_I don't bore you with screenshots of the rest of the admin UI, they all look the same (I reuse the same code for all the parts of the admin :P)
04:58.57bochecha_the name of that app :)
04:59.04bochecha_didn't you see that you cloned it? ^_^
04:59.21herlooh, lol
04:59.30herlohttp://www.uptrack.com/ <-- I saw this
04:59.37bochecha_I am a very creative person, so my artsy senses made me find this unbelievably original name
04:59.50bochecha_up(stream)track(er) :P
05:00.01bochecha_oh, crap
05:00.14bochecha_seems like a bad idea to have chosen this name :-/
05:00.19herlolol
05:00.27herlogood thing it's still new
05:00.43bochecha_yeah
05:00.44herlomaybe streamtrack or upstream
05:00.52bochecha_but given how Pyramid works, renaming would be a bit of a pain
05:00.53herlodo you know of any app called upstream?
05:00.59bochecha_(have to rename the module, all the imports, etc...)
05:00.59herlooh, bummer
05:01.05bochecha_but it's doable anyway
05:01.05herloyeah, I get it
05:01.13bochecha_if you find a good name, just send me a pull request :D
05:01.16herlohasn't used pyramid yet, though I've heard good things
05:01.20herlowill do
05:01.21bochecha_it's awesome
05:01.50bochecha_it's really cool, both for rapid prototyping and more robust highly-scalable stuff
05:01.50herloyes, it is awesome
05:02.12herloif you can do this sort of thing so quickly, I am definitely interested
05:02.19bochecha_it nicely guides you towards doing the right thing, without being opinionated (so you can choose your orm, etc...)
05:02.39herlohmm, I like opinionated software though. :)
05:02.54bochecha_what's really cool about pyramid is that the architecture is all very lightweight
05:02.55herloespecially since I'm an opinionated sysadmin.
05:02.58bochecha_so a view is just a method
05:03.19bochecha_you have a pyramid shell, and you can just import your views, and call them with dummy requests
05:03.29bochecha_which is awesome for both debugging and unit testing :)
05:03.41bochecha_yeah, me too
05:04.04bochecha_but I have my opinions on the choice of an orm for example, so I don't mind that Pyramid doesn't make the decision for me
05:04.46bochecha_I think they struck the right balance into making some decision (the web stack, the overall architecture,...) and leaving developers some freedom (the template system, the orm, etc...)
05:05.23bochecha_I haven't done any kind of web stuff for a few years now, so it's pretty refreshing :)
05:05.46bochecha_(haha, my overvie wpage now shows this "GoOSe Linux 6" distro, with no packages inside :P)
05:05.51herloyeah, that's fair
05:06.01herlonice
05:06.22bochecha_drops it, nobody cares about that distro anyway :P
05:06.32herlowait? whoa!
05:06.41herloprepares the /kick :)
05:06.52bochecha_anyway, today I want to finish the status pages (up to date packages, and "problematic" packages)
05:07.02bochecha_and then try to start documenting the whole thing a bit, so others can start playing with it
05:07.23bochecha_by the way, not all dependencies are in Fedora/EL yet
05:07.28herlocool. I'm definitely intrigued
05:07.30bochecha_so you'll need a virtualenv
05:07.41herlonot a problem
05:08.01bochecha_and some deps are not available in Pypi (rpm, koji, yum) so it has to be a --system-site-packages virtualenv
05:08.16bochecha_which is a bit nasty as it mixes the stacks :(
05:08.25bochecha_but not really other choice for now
05:08.39bochecha_wonders if he wrote that in the README
05:09.00herlobochecha_: that's actually how I always do my virtualenv. I don't like python taking over my system
05:09.04herloeven in a virtualenv
05:09.12bochecha_oh, what the hell, that could be someone's first pull request *wink wink*
05:09.40herlobochecha_: it's not mixing stacks if they are already packaged. It's just avoiding duplication in my mind.
05:09.48bochecha_not really
05:09.49herlolol, I could possibly do that soonish...
05:10.07bochecha_you quickly end up with stuff both installed system-wide and in the virtualenv
05:10.11bochecha_which can cause all sorts of fun
05:10.28bochecha_e.g right now deform is not in Fedora, so it's not in the system site-packages
05:10.39bochecha_but if I ever install it for something else, it's going to be in both
05:10.58herloright, I get that it works that way. I just find that I *only* have to install things that are not in rpms
05:11.06bochecha_I usually try to not use virtualenvs at all, but when I have to, I really prefer isolating them completely
05:11.35herlohmm, I guess I feel differently, though I hate virtualenv most of the time anyway.
05:12.50bochecha_by the way, I've been talking a lot about "admin UI"
05:13.06bochecha_if you haven't realized it, it's the "Distros", "Upstreams" and "Users" links in the top bar
05:13.12bochecha_they only appear once you're logged in
05:13.28bochecha_and the permission system is incredibly simple (which I'd like to keep that way)
05:13.30herloright
05:13.40herlolike one admin user?
05:13.45bochecha_everyone can see the status pages (even ulogged in users)
05:13.57bochecha_all logged in users are admin and can do everything
05:14.01herloI don't see what harm there is in keeping most of this public
05:14.08bochecha_you can create more users, though
05:14.13herlohmm, interesting.
05:14.13bochecha_me neither
05:14.16herloI don't hate that
05:14.38bochecha_there's also absolutely no reason to show the admin stuff, even in a read-only way (it's completely uninteresting to non-admins)
05:15.01herloright
05:15.02bochecha_and it makes the whole permission handling **much** simpler :)
05:15.46bochecha_(especially all those ajaxy thingies, which I'm not the most comfortable with :P)
05:15.59herloyeah, me either
05:22.28herlobochecha_: thanks for the detail, I'm excited!
05:22.35bochecha_:)
05:23.02herloone more day of work, then I can play with it.
05:23.02bochecha_for the first time in the last two years, yesterday I had a global overview of all the package sin our distro, where they came from, and how outdated they are
05:23.09bochecha_it feels awesome
05:23.35herloI bet
05:23.40bochecha_I mean it's all info I could have anyway (from our koji, our git, from upstream repos,...)
05:23.50bochecha_but seeing it all in one place is a different thing
05:24.13herlosure. You know, I think this may be interesting to Fedora / RHEL / CentOS folks in some way.
05:24.29bochecha_Fedora I don't think so
05:24.40bochecha_Fedora doesn't have an upstream (in the sense of a distro they rebuild)
05:24.42herloI know a bit of it will likely be useless to Fedora, but there seems to be some possibility of getting data from upstream git repos maybe
05:24.53bochecha_not really
05:24.58herloor 'scm'
05:24.59bochecha_at least not right now
05:25.04herloright, not 'yet'
05:25.04bochecha_upstreams are yum repositories
05:25.08herlojust see the potential
05:25.16bochecha_because that's what I need, and what you guys need
05:25.22bochecha_maybe later, we'll see
05:26.06herloright
05:26.14herlono need to expand beyond for now
05:26.25herloI'm definitely going to dig in on this and have a look
05:27.07bochecha_I won't be available over the week-end though
05:27.26bochecha_my parents are coming to visit me in Hong Kong for the next two weeks, starting Sunday
05:27.41bochecha_so obviously, spare time won't be used for geeky stuff ;)
05:28.09herlothat's okay
05:28.19herloI'm sure I can email you with questions and you respond at your leisure.
05:28.29herloIt's not like this is mission critical or anything for goose. :)
05:28.34bochecha_:)
09:00.10*** join/#gooseproject bochecha_ (~bochecha@175.45.17.220)
09:00.10*** join/#gooseproject bochecha_ (~bochecha@fedora/bochecha)
16:06.02*** join/#gooseproject herlo (~clints@fedora/herlo)
16:13.25herlogoozbach: mind fixing goosebot`'s nick?
16:54.28shalkieGoOSe Morning!
22:26.45nblol
22:28.04herlohi shalkie
22:28.10herlonb: what's up?! :)
22:29.05nbhow are you herlo
22:29.18nbgreets gooseboot :)
22:30.43nbherlo, hows 6.0-updates going?
22:31.30herlonb: it's still in the same place as when we last chatted
22:31.41herlonb: I have been swamped with work.
22:31.43herlobut
22:31.50herloI think I might have some time this weekend. :)
22:32.21herlonb: goozbach mentioned that he'd mash the repos, but I've not heard whether it happened or not...
22:32.28herlothat was last week...
22:32.45nboh
22:33.08herlonb: I'd like to move forward on this
22:33.28herlowe need a more open way of doing it. But the most important thing is documenting the process...
23:18.59nbyeah, id help with mashing but 1) idk how, and 2) I don't have access
23:19.10nbwonders if he can go ahead and build 6.1
23:19.45herlonb: so the trick here is this
23:20.11herloif we update the goose-release to 6.1 in the proper tag, we can move forward.
23:20.19herlobut you have to add-pkg all the packages, right?
23:21.29nbherlo, i think i already did that
23:21.40herloyeah, I thought you did too
23:21.43nbadd-pkg i mean
23:21.47nbgot stuck on goose-release i think
23:21.52nbwas waiting for you to do it :)
23:21.53herlonb: go ahead and try to build goose-release for 6.1 target
23:22.06herloit'll be a good learning experience.
23:22.59herlonb: does that sound good?
23:23.03nbwonders what he clonse
23:23.10nbhttps://github.com/gooselinux/goose-release.git?
23:23.19nbdoesn't need to change anything in gooseproject/goose-release.git
23:25.10herlono
23:25.18herloor wait
23:25.22herloI don't remember now
23:25.34herlolooks
23:26.08herlonb: yeah, gooselinux
23:26.23herlojust have to change the spec file from what I can tell. But I know what the problem was now...
23:26.27nbherlo, i think i was a admin?
23:26.30nbi thought i mean
23:26.36herloI think you are too
23:26.39nbERROR: Permission to gooselinux/goose-release.git denied to nbebout.
23:26.45herlolooks
23:27.07herlok, try again
23:27.15herloI think I did it on gooseproject, but not on gooselinux
23:27.37nb[nb@desktop goose-release]$ git push
23:27.37nbERROR: Permission to gooselinux/goose-release.git denied to nbebout.
23:27.37nbfatal: The remote end hung up unexpectedly
23:27.45herlonb: I know the problem of building 6.1 before 6.0-updates is finished...
23:27.57herlohmm, I just granted you admin
23:28.22herlogah!
23:28.32herlofixes more
23:28.40nbherlo, it is git@github.com:gooselinux/goose-release.git right?
23:28.50nbcloned it as https for some reason, so i fixed it by editing .git/config
23:29.04herloI don't see that...
23:29.10herlohmm, hang on. This is strange
23:29.50herlonb: k, try now
23:30.07nbherlo, worked
23:30.09nbwhat was wrong?
23:30.16nbherlo, oh, should i have done that on a gl6.1 branch?
23:30.19herlocool, I had to add the admin group to the gooselinux/goose-release.git repo
23:30.35herlonb: what branch did you do it on?
23:30.46herlohopes master
23:30.49nbherlo, you could use Owners and it does it automatically :) although that gives people access to delete stuff and all that which i guess is not good
23:30.51nbherlo, master
23:31.20herlonb: right, I wanted a separate admins group
23:31.28herlobut I need to make sure it's added to all the repos
23:31.31nbherlo, yeah, sounds like a good idea
23:31.46nbherlo, how is it i build in koji without skein? or will skein work ok now that i manually committed?
23:32.00herlonb: it should
23:32.09nbbut i thought skein built from the release branch?
23:32.12herlonb: but
23:32.17herloyou need to do some stuff with skein
23:32.20nboh
23:32.21herloright
23:32.37herloskein push -h
23:32.54herlonb: so I'm planning on redoing skein this summer
23:33.20herlobeacause you should be able to use git in a better way. I've realized some of the flaws of it
23:33.26herloit == skein
23:33.28herloanyway, for now
23:33.31herlojust do this
23:33.42herlogit branch gl6.1
23:33.46herlogit co gl6.1
23:33.52herlogit push -u origin gl6.1
23:34.01herlothat should fix the problem for skein to build from the branch
23:34.15nbugh
23:34.22herlonb: tha'ts what skein push does
23:34.25nbit doesn't like it because i don't have the git repo in skein's directory
23:34.35herlowhat?
23:34.44nbi cloned the gooselinux/goose-release.git myself
23:34.51nbinstead of doing it skein's way
23:34.56herlonb: oh, it just expects it to be in a specific directory
23:35.11herloyeah, another thing I'm planning to fix. My idea there was bad
23:35.18nboh, i'll just put it there
23:35.22herlosorry man...
23:35.40herlonb: of course, you can configure the dir to be wherever at least :)
23:35.54nbherlo, oh, i just fixed it the easy way
23:35.59herlo:D
23:36.06nbi just moved my git clone of it into the place skein wanted it :)
23:36.30herloright
23:36.40herlostarts making tickets to fix skein
23:38.14githubieIssue OPENED - gooseproject/skein: #16 (Skein shouldn't care about where the repo lives ) <https://github.com/gooseproject/skein/issues/16>
23:38.20herlonb: can you give input on this issue?
23:39.06nbsure
23:39.07herlono rush... just sometime soonish
23:40.06herlothanks
23:46.35herloyay! done working for the weekend !! :D
23:46.53herlonb: gotta go grill some foods, but I should be back on later to hack on things...

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.