*** zoli_ has quit IRC | 01:27 | |
*** zoli_ has joined #baserock | 01:39 | |
*** cosm has quit IRC | 02:41 | |
*** cosm has joined #baserock | 02:45 | |
*** locallycompact has joined #baserock | 05:57 | |
*** locallycompact has quit IRC | 07:21 | |
*** locallycompact has joined #baserock | 07:22 | |
*** bruce_ has joined #baserock | 07:28 | |
*** edcragg has joined #baserock | 07:30 | |
*** locallycompact has quit IRC | 07:41 | |
*** gtristan has joined #baserock | 07:43 | |
*** bashrc_ has joined #baserock | 08:01 | |
*** rdale has joined #baserock | 08:23 | |
*** anahuelamo has joined #baserock | 08:23 | |
*** franred has quit IRC | 08:33 | |
*** tiagogomes has joined #baserock | 08:34 | |
*** bashrc_ has quit IRC | 08:38 | |
*** jonathanmaw has joined #baserock | 08:39 | |
*** bashrc_ has joined #baserock | 08:39 | |
*** franred has joined #baserock | 08:47 | |
*** gtristan has quit IRC | 08:53 | |
*** edcragg has quit IRC | 09:15 | |
*** ssam2 has joined #baserock | 09:15 | |
*** ChanServ sets mode: +v ssam2 | 09:15 | |
*** locallycompact has joined #baserock | 09:22 | |
*** franred has quit IRC | 09:24 | |
*** edcragg has joined #baserock | 09:29 | |
*** franred has joined #baserock | 09:34 | |
*** gtristan has joined #baserock | 09:43 | |
franred | pedroalvarez, https://gerrit.baserock.org/#/q/status:open+project:baserock/baserock/definitions+branch:master+topic:gitmodules-cleanup reviewed - I think some of them need some changes because they apply valid patches instead of changing the submodule URLs and I think there are a sha1 which misses the first character - feel free to merge all the series if you agree with the observations and you modify them | 10:24 |
---|---|---|
pedroalvarez | franred: I was looking at the reviews, thanks for taking the time! | 10:25 |
franred | no probs :) | 10:25 |
pedroalvarez | franred: I hope you understand now why I didn't want to address all of these changes when doing the migration | 10:40 |
franred | yeah, it was a long series | 10:41 |
franred | pedroalvarez, I've merged the last 2 - Thank you for the explanation about James patches | 10:42 |
pedroalvarez | franred: ta | 10:42 |
franred | now waiting for mason :) | 10:42 |
pedroalvarez | note, the series isn't finished | 10:42 |
pedroalvarez | I'll try to continue soon | 10:42 |
*** gtristan has quit IRC | 10:43 | |
franred | pedroalvarez, ok, I will review anything is in gerrit whenever I have some spare time | 10:44 |
* pedroalvarez restarts mason so that it tests useful stuff | 10:44 | |
pedroalvarez | franred: tvm | 10:46 |
*** gtristan has joined #baserock | 10:46 | |
*** gary_perkins has quit IRC | 11:24 | |
*** CTtpollard has quit IRC | 11:39 | |
*** CTtpollard has joined #baserock | 11:40 | |
*** paulwaters_ has joined #baserock | 11:50 | |
* pedroalvarez broke findutils: https://gerrit.baserock.org/#/c/2061/ | 11:52 | |
pedroalvarez | sorry | 11:52 |
*** CTtpollard has quit IRC | 11:57 | |
*** CTtpollard has joined #baserock | 11:57 | |
*** bruce_ has quit IRC | 12:00 | |
*** bruce_ has joined #baserock | 12:00 | |
*** faybrocklebank has quit IRC | 12:01 | |
*** bruce_ has quit IRC | 12:02 | |
*** fay_ has joined #baserock | 12:02 | |
*** CTtpollard has quit IRC | 12:05 | |
*** CTtpollard has joined #baserock | 12:05 | |
*** gtristan has quit IRC | 12:05 | |
*** paulwaters_ has joined #baserock | 12:10 | |
*** CTtpollard has quit IRC | 12:10 | |
*** CTtpollard has joined #baserock | 12:11 | |
*** gary_perkins_ has joined #baserock | 12:11 | |
*** paulwaters_ has joined #baserock | 12:15 | |
*** bruce_ has joined #baserock | 12:16 | |
*** paulwaters_ has joined #baserock | 12:26 | |
*** anahuelamo has quit IRC | 12:43 | |
*** toscalix has joined #baserock | 13:03 | |
*** anahuelamo has joined #baserock | 13:20 | |
*** fay_ has quit IRC | 13:22 | |
*** vgrade_ has quit IRC | 13:22 | |
*** wdutch has quit IRC | 13:22 | |
*** thrace has quit IRC | 13:22 | |
*** fay_ has joined #baserock | 13:24 | |
*** vgrade_ has joined #baserock | 13:24 | |
*** wdutch has joined #baserock | 13:24 | |
*** thrace has joined #baserock | 13:24 | |
edcragg | hi, i'm looking at making the licensecheck.py script in definitions work with ybd and morph, i was wondering if it would be ok to change the licence check script to use the original git caches for ybd and morph, rather than copying them to a new repo folder? it would be quicker... | 13:30 |
pedroalvarez | hm.. | 13:30 |
pedroalvarez | but the cached repos are bare, right? you can't run licensecheck.pl against them | 13:31 |
pedroalvarez | maybe they are not for ybd? | 13:31 |
edcragg | ah, good point, i hadn't got as far as testing that yet | 13:32 |
pedroalvarez | imo, using morph tooling to access morph cache is better than accessing the cache directly. Internal implementation of morph might change in the future | 13:33 |
pedroalvarez | same for ybd | 13:33 |
ssam2 | rather than copying the whole repo, you could just check out one commit | 13:33 |
ssam2 | into a directory outside the "bare" clone | 13:33 |
ssam2 | i think both Morph and YBD have code to do this. In Morph it's called "extract_commit" | 13:33 |
Zara | hm, krotscheck mentioned yesterday he was writing a tool to check licenses for dependencies, is it worth me pointing him to any of this or likely to be totally non-generalisable? | 13:34 |
pedroalvarez | Zara: our script only clones repositories that we are using in the definitions, and then run licensecheck.pl, which I believe is borrowed from... | 13:36 |
pedroalvarez | google? | 13:36 |
pedroalvarez | I don't know :/ | 13:36 |
Zara | hehehe | 13:36 |
edcragg | yes this just parses definitions, clones a git repo, and runs licensecheck.pl | 13:37 |
Zara | okay. wondered as I think in general what he's doing has some overlap; he mentioned it offhand but he's recently also been setting up mirrors for npm stuff, so i think that's like the openstack-infra equivalent of a trove | 13:37 |
Zara | it's nice seeing similar stuff in the wild used to solve problems. | 13:38 |
pedroalvarez | quicker solution: fall back to git-clone | 13:39 |
pedroalvarez | better solution: ybd implementing something like get-repo | 13:39 |
pedroalvarez | pro and complex soultion: Use morphlib and ybd modules to achieve the same as previous solution | 13:39 |
pedroalvarez | any other opinions? | 13:39 |
edcragg | is it not a bit silly to have to reimplement everything to use multiple apis? | 13:40 |
edcragg | seems unsustainable to me, definitions should surely not depend on features of ybd or morph? | 13:41 |
edcragg | i don't know... | 13:42 |
edcragg | i think the most sustainable is the first option, pedroalvarez, but it's also going to be the slowest | 13:44 |
ssam2 | does the script need to be in definitions.git? surely it's genivi-specific, and was put in definitions just because that was where things go | 13:45 |
ssam2 | baserock-license-check could be its own project and could depend on either morphlib or ybd | 13:45 |
*** gtristan has joined #baserock | 13:46 | |
pedroalvarez | it is and it isn't genivi specific. Only used for genivi releases, but might be useful for other things | 13:47 |
ssam2 | really i figure we should make a sort of 'basreock-tools' repo that would contain stuff like this | 13:49 |
ssam2 | neither morphlib or ybd provide any API compatibility guarantees, so it should just embed one or other of those as a submodule | 13:50 |
ssam2 | and then reuse the functions from within | 13:50 |
Zara | hm, I feel like some combination of the npm import tool + licencecheck.py would do what krotscheck was after, except 1) it wouldn't account for transitive dependencies (because I didn't really get the significance of semver when I worked on it), 2) import tool probably broken these days 3) he's probably not going to want to set up the environment in which it'd run. | 13:51 |
ssam2 | import tool could run in any OS probably, now that morphlib embeds a copy of cliapp | 13:54 |
ssam2 | it probably has bitrotted though | 13:54 |
Zara | yeah, I suspect your and ripsum's work holds up better than mine, but afaik nobody has been resourced to maintain it, and I certainly haven't looked at it for ages. | 13:55 |
Zara | it may just be a hobby project of his, anyway | 13:56 |
Zara | I'll mention it, jic, thanks. | 13:57 |
pedroalvarez | yay, new contributor! thanks for the patch anahuelamo! | 14:08 |
edcragg | \o/ | 14:09 |
pedroalvarez | edcragg: btw, I still think that falling back to git-clone is the easiest, quicker, and less bikeshedding solution atm | 14:10 |
edcragg | :) yes i agree | 14:11 |
edcragg | but... | 14:11 |
edcragg | ssam2: i have just thought of one problem with a separate baserock-tools thing... surely in this case it means the caches have to be available, and obtained by morph. so if you're starting from the point of having built a system with another tool, the cache won't necessarily be available anwyay. | 14:12 |
pedroalvarez | as I understand it, the main goal is to make the script work in an environment where you don't have `morph` available | 14:12 |
edcragg | yep | 14:12 |
*** gtristan has quit IRC | 14:13 | |
edcragg | it is simpler, will always work, but has no cacheing | 14:14 |
edcragg | or, it will generate its own cache essentially | 14:15 |
pedroalvarez | ultimate solution, make ybd and morph use the same library for repocaching :) | 14:15 |
edcragg | interesting idea :) | 14:15 |
edcragg | they do appear to use the same format as it is | 14:16 |
edcragg | for gits | 14:16 |
pedroalvarez | I think it would be good to separate the functionality from the build tools | 14:16 |
pedroalvarez | and sharing code will help both build tools at the same time | 14:17 |
locallycompact | I had thought about doing this as a WrapFS once | 14:18 |
locallycompact | http://docs.pyfilesystem.org/en/latest/wrapfs/base.html | 14:19 |
ssam2 | edcragg: both morphlib and ybd's library are available to clone repos into the local repo cache | 14:19 |
ssam2 | edcragg: but I guess it'd be annoying if their cache formats differed, and you used one tool but needed to use the other | 14:19 |
ssam2 | i mean, you used YBD, and the baserock-tools stuff expected a Morph case | 14:19 |
ssam2 | *cache | 14:19 |
ssam2 | argh | 14:20 |
ssam2 | ideal solution for me would be to have a standard library that both could use to manage repo caches in a compatible way | 14:20 |
*** gtristan has joined #baserock | 14:20 | |
ssam2 | which is actually super easy because they are compatible, in practice | 14:20 |
ssam2 | i think "shared local cache of Git repos" is a useful tool outside Baserock. the wrapdb idea is interesting | 14:21 |
locallycompact | parameterised wrapfs | 14:21 |
ssam2 | but this is massive scope-creep. Maybe we could just embed YBD in Morph for now and use YBD's repo caching code in morphlib ;-) | 14:22 |
*** richard_maw has left #baserock | 14:23 | |
*** toscalix has quit IRC | 14:30 | |
*** richard_maw has joined #baserock | 14:30 | |
bashrc_ | ssam2: yes, I've tried implement something like a baserock trove in other projects | 14:33 |
ssam2 | did you get to the point of publishing any such thing? | 14:39 |
ssam2 | i know richard maw began such a library | 14:40 |
*** gtristan has quit IRC | 14:43 | |
bashrc_ | this doesn't do any of the fancy conversions to git https://github.com/bashrc/freedombone/blob/master/src/freedombone-mirrors | 15:02 |
ssam2 | cool, thanks | 15:09 |
*** anahuelamo has quit IRC | 15:10 | |
*** anahuelamo has joined #baserock | 15:11 | |
*** toscalix has joined #baserock | 15:12 | |
*** toscalix has quit IRC | 15:13 | |
*** toscalix has joined #baserock | 15:13 | |
* paulsherwood is only skimming this conversation... | 15:15 | |
*** richard_maw has left #baserock | 15:15 | |
bashrc_ | what that script does is scan for repos and then mirror htem under a special "mirrors" user. Other users can then clone from that one via ssh. In this way one box can support another, even if the original upstream repos aren't available | 15:17 |
*** toscalix has quit IRC | 15:20 | |
*** toscalix has joined #baserock | 15:22 | |
*** bruce_ has quit IRC | 15:23 | |
*** richard_maw has joined #baserock | 15:27 | |
*** toscalix has quit IRC | 15:32 | |
*** toscalix has joined #baserock | 15:34 | |
*** toscalix has quit IRC | 15:39 | |
*** toscalix has joined #baserock | 15:48 | |
*** toscalix has quit IRC | 15:48 | |
*** toscalix has joined #baserock | 15:52 | |
*** fay_ has quit IRC | 15:56 | |
*** cosm has quit IRC | 16:04 | |
*** toscalix has quit IRC | 16:04 | |
*** gtristan has joined #baserock | 16:06 | |
*** ssam2 has quit IRC | 16:22 | |
*** toscalix has joined #baserock | 16:29 | |
*** jonathanmaw has quit IRC | 17:01 | |
*** bashrc_ has quit IRC | 17:02 | |
*** toscalix has quit IRC | 17:03 | |
*** rdale has quit IRC | 17:32 | |
*** locallycompact has quit IRC | 17:34 | |
*** anahuelamo has quit IRC | 17:41 | |
*** edcragg has quit IRC | 17:46 | |
*** locallycompact has joined #baserock | 18:15 | |
*** cosm has joined #baserock | 18:17 | |
*** gtristan has quit IRC | 18:26 | |
*** toscalix has joined #baserock | 18:53 | |
*** toscalix_ has joined #baserock | 18:54 | |
*** toscalix has quit IRC | 18:58 | |
*** toscalix_ has quit IRC | 19:01 | |
*** toscalix_ has joined #baserock | 19:07 | |
*** toscalix has joined #baserock | 19:08 | |
*** toscalix_ has quit IRC | 19:11 | |
*** toscalix has quit IRC | 19:18 | |
*** toscalix has joined #baserock | 19:19 | |
*** toscalix has quit IRC | 19:26 | |
*** toscalix has joined #baserock | 19:27 | |
*** toscalix has quit IRC | 19:39 | |
*** toscalix has joined #baserock | 19:54 | |
*** toscalix has quit IRC | 20:00 | |
*** toscalix has joined #baserock | 20:03 | |
*** toscalix has quit IRC | 20:03 | |
*** toscalix has joined #baserock | 20:04 | |
*** toscalix has quit IRC | 20:05 | |
*** toscalix has joined #baserock | 20:09 | |
*** edcragg has joined #baserock | 20:09 | |
*** toscalix has quit IRC | 20:10 | |
*** toscalix has joined #baserock | 21:01 | |
*** toscalix has quit IRC | 21:10 | |
*** locallycompact has quit IRC | 21:39 | |
*** locallycompact has joined #baserock | 21:48 | |
*** locallycompact has quit IRC | 21:54 | |
*** radiofree has quit IRC | 22:34 | |
*** radiofree has joined #baserock | 22:34 | |
*** edcragg has quit IRC | 23:43 | |
*** gtristan has joined #baserock | 23:43 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!