*** rdale has quit IRC | 02:22 | |
*** gtristan has joined #baserock | 03:40 | |
*** gtristan has quit IRC | 07:13 | |
*** gtristan has joined #baserock | 07:26 | |
*** mwilliams_ct has quit IRC | 07:32 | |
*** paulw has joined #baserock | 08:29 | |
*** toscalix has joined #baserock | 08:30 | |
*** ctbruce has joined #baserock | 08:50 | |
*** rdale has joined #baserock | 08:57 | |
*** gtristan has quit IRC | 09:27 | |
*** anahuelamo_ has quit IRC | 09:48 | |
*** anahuelamo has joined #baserock | 09:49 | |
*** gtristan has joined #baserock | 10:03 | |
*** toscalix_ has joined #baserock | 10:05 | |
*** toscalix has quit IRC | 10:06 | |
*** CTtpollard has joined #baserock | 10:22 | |
*** jjardon_matrix has quit IRC | 10:23 | |
*** toscalix has joined #baserock | 10:23 | |
*** Guest24606 is now known as faybrocklebank | 10:24 | |
*** toscalix_ has quit IRC | 10:27 | |
*** locallycompact has joined #baserock | 10:31 | |
*** jjardon_matrix has joined #baserock | 10:50 | |
jjardon | anahuelamo: are you still working on the definitions' usr-merge branch? | 10:58 |
---|---|---|
anahuelamo | jjardon, I haven't worked on that in the last few days, but I don't know if the work is finished. Besides, gnmoe system is still not working after the usr-merge | 11:02 |
jjardon | locallycompact: hey! seems the patch to move to python3 doesn't handle the changes in ybd/install_dependencies.sh correctly: https://gitlab.com/baserock/definitions/builds/5738218 | 11:07 |
* paulsher1ood is not happy dropping python2 support | 11:07 | |
gtristan | Ah, I almost forgot... ok pedroalvarez ... would you prefer like, 5 branches or just one ? | 11:07 |
jjardon | anahuelamo: do you have any log of what was the problem with the gnome system? | 11:08 |
*** jjardon_matrix has quit IRC | 11:08 | |
locallycompact | jjardon, hmm | 11:08 |
locallycompact | wait what | 11:08 |
locallycompact | this is definitions | 11:08 |
anahuelamo | jjardon, this is the last log: https://gitlab.com/baserock/definitions/builds/5605995 | 11:09 |
locallycompact | this is the py3 branch for ybd https://gitlab.com/baserock/ybd/merge_requests/247 | 11:12 |
jjardon | locallycompact: yeah, but Im using your ybd branch | 11:12 |
locallycompact | definitions needs to update its docker | 11:12 |
jjardon | ah, ok. My fault | 11:13 |
jjardon | let me try again | 11:13 |
pedroalvarez | gtristan: you mean patches? if only five of them I think I prefer them | 11:13 |
gtristan | pedroalvarez, no, I have probably around 20 patches | 11:13 |
pedroalvarez | I can take 1 if you prefer, | 11:13 |
*** paulsher1ood has quit IRC | 11:13 | |
pedroalvarez | although I fear it will be difficult to read | 11:14 |
gtristan | pedroalvarez, I mean branches, right now I have one branch for each system that we keep and maintain | 11:14 |
gtristan | and one branch for the "unmaintained" | 11:14 |
pedroalvarez | branches as in git branches of definitions? | 11:14 |
gtristan | each one has first a patch to move the system/clusters in a new directory, followed by a patch for each stratum that moves with it | 11:14 |
*** paulsherwood has joined #baserock | 11:14 | |
gtristan | pedroalvarez, exactly, each branch in succession depends on the previous one being merged | 11:14 |
*** jjardon_matrix has joined #baserock | 11:19 | |
gtristan | pedroalvarez, want me to squash each topic branch into a single commit instead, since gerrit sucks ? | 11:20 |
gtristan | hehe | 11:20 |
* paulsherwood hates irssi briefly | 11:21 | |
*** jmacs_ is now known as jmacs | 11:25 | |
pedroalvarez | gtristan: might be a good idea, yes | 11:26 |
*** anahuelamo has quit IRC | 11:28 | |
gtristan | ok | 11:30 |
locallycompact | why does python say this isn't a directory when it is a directory http://paste.baserock.org/icasuriwel | 11:36 |
jmacs | That says it is a directory | 11:36 |
leeming | isn't ".egg-info' a directory? so missing a slash | 11:37 |
locallycompact | this part of ybd returns False | 11:37 |
locallycompact | file_stat = os.lstat(srcpath) | 11:37 |
locallycompact | mode = file_stat.st_mode | 11:37 |
locallycompact | if stat.S_ISDIR(mode): | 11:37 |
rjek | os.remove can't remove directories, IIRC | 11:37 |
locallycompact | S_ISDIR returns false | 11:37 |
locallycompact | and then it follows | 11:37 |
locallycompact | elif stat.S_ISREG(mode): | 11:38 |
locallycompact | is true | 11:38 |
locallycompact | and then calls regular remove | 11:38 |
leeming | lstat... hmm is it a symlink? | 11:38 |
locallycompact | does not look like symlink | 11:38 |
jmacs | Erm, are srcpath and destpath the same thing? | 11:38 |
locallycompact | huh | 11:39 |
locallycompact | what is this doing | 11:39 |
jmacs | Your paste refers to destpath | 11:39 |
locallycompact | I don't know what this function is supposed to do https://gitlab.com/baserock/ybd/blob/aac400c41f706d10598fc4ab4602503eb1906e82/ybd/utils.py#L136 | 11:41 |
paulsherwood | for a a pre-existing directory tree (srcpath) it copies or links (action_func) the files into a new tree (destpath). root is destpath when it's called normally, but there are some cases where recursion is required on subtrees, irrc | 11:45 |
locallycompact | it's somehow decided that the srcpath of Cython-0.2.2-py3.5.egg-info is a regular file? | 11:46 |
paulsherwood | it's only called directly by the two functions above it (hardlink_all_files, and copy_all_files) and by itself during recursion | 11:46 |
locallycompact | it's a regular file in the artifact | 11:47 |
locallycompact | but a folder in the debris | 11:47 |
locallycompact | weird | 11:47 |
jjardon | locallycompact: is this where the problem with your branch is at the moment? https://gitlab.com/baserock/definitions/builds/5741288 | 11:47 |
locallycompact | no | 11:47 |
locallycompact | If you just want to merge python3 use the lc/py3 ybd branch | 11:48 |
paulsherwood | locallycompact: i'm not going to merge python3, sorry | 11:48 |
locallycompact | otherwise you need the staging/010 branch of definitions also | 11:48 |
jjardon | locallycompact: oh, ok; let me retry | 11:49 |
locallycompact | paulsherwood, I need the language features to get rid of the twisted recursion in ybd | 11:49 |
jjardon | locallycompact: Is there (or will be) a migration script or something for the changes in definitions? | 11:49 |
locallycompact | jjardon, there is | 11:50 |
locallycompact | in the spec | 11:50 |
jjardon | cool, thanks | 11:50 |
paulsherwood | locallycompact: it should be possible to import them 'from the future' so that you can retain py2 compatibility iiuc | 11:51 |
locallycompact | paulsherwood, python is on the whole already very limiting, python 2 is just plain crippled, and there is nobody who does not have access to python3 | 11:51 |
locallycompact | paulsherwood, it isn't, there are three language features I'm using that are just not possible in python 2 | 11:51 |
locallycompact | I will show you | 11:51 |
locallycompact | #1, yielding from generator expressions so that you have nested data structures as a single iterator: https://gitlab.com/baserock/defslib/blob/3ddfed3cc9a0af6b5a1ab2e2c1a467ebee00611e/defslib/__init__.py#L184 | 11:54 |
locallycompact | i.e, chunk, chunk, chunk, chunk, build-essential, chunk, chunk, chunk, chunk, core, yielding the "thing" in question, plus the staging supports (contents/deps) | 11:54 |
locallycompact | that's not linear | 11:55 |
locallycompact | *now | 11:55 |
locallycompact | #2, sorting by index to sort by build-dependency https://gitlab.com/baserock/defslib/blob/3ddfed3cc9a0af6b5a1ab2e2c1a467ebee00611e/defslib/__init__.py#L200 | 11:55 |
locallycompact | #3. exception chaining to figure out where validation failed in deep validation https://gitlab.com/baserock/defslib/blob/3ddfed3cc9a0af6b5a1ab2e2c1a467ebee00611e/defslib/__init__.py#L81 | 11:56 |
*** faybrocklebank has quit IRC | 12:00 | |
*** faybrocklebank has joined #baserock | 12:00 | |
*** leeming has quit IRC | 12:00 | |
*** leeming has joined #baserock | 12:00 | |
*** mdunford has quit IRC | 12:00 | |
*** locallycompact has quit IRC | 12:00 | |
*** CTtpollard has quit IRC | 12:01 | |
*** locallycompact has joined #baserock | 12:01 | |
*** mdunford has joined #baserock | 12:01 | |
*** CTtpollard has joined #baserock | 12:01 | |
*** franred has quit IRC | 12:01 | |
* locallycompact wonders how much of that got through | 12:02 | |
jmacs | Is there a way to get the results of a gitlab CI run in machine-readable form? | 12:06 |
paulsherwood | jmacs: can you expand on what you're looking for? | 12:09 |
jmacs | I want the informationon this page: https://gitlab.com/baserock/ybd/pipelines/4817316, i.e. the tests the ran, which passed, and the commit id, in YAML or JSON or XML | 12:11 |
jmacs | https://gitlab.com/gitlab-org/gitlab-ce/issues/17081 suggests it's not possible yet | 12:11 |
jjardon | jmacs: something like this? https://docs.gitlab.com/ee/api/builds.html#list-project-builds | 12:13 |
*** gtristan has quit IRC | 12:14 | |
*** franred has joined #baserock | 12:14 | |
jmacs | Maybe, if 'builds' means tests as well | 12:18 |
jmacs | I'm not sure why it requires me to authenticate | 12:18 |
jmacs | jjardon: That only seems to tell me whether a pipeline instance passed or not; it doesn't say anything about the result of PEP8, for example | 13:10 |
*** paulw has joined #baserock | 13:24 | |
*** mdunford has quit IRC | 13:57 | |
*** gtristan has joined #baserock | 13:59 | |
*** mdunford has joined #baserock | 14:12 | |
gtristan | pedroalvarez, https://gerrit.baserock.org/#/q/topic:module-splitting+%28status:open+OR+status:merged%29 | 14:13 |
gtristan | pedroalvarez, that last one is really silly ( https://gerrit.baserock.org/#/c/2340/ ) | 14:14 |
gtristan | suggest just merge that straight away and check out the others | 14:14 |
*** gtristan has quit IRC | 14:28 | |
pedroalvarez | i feel like is not complete | 14:31 |
pedroalvarez | for example, in https://gerrit.baserock.org/#/c/2335/1/trove/strata/trove.morph | 14:31 |
pedroalvarez | shouldn't that point to trove/strata/... | 14:32 |
pedroalvarez | ? | 14:32 |
*** ctbruce has quit IRC | 14:34 | |
*** ctbruce has joined #baserock | 14:35 | |
*** gtristan has joined #baserock | 14:36 | |
jjardon | gtristan: that branch seems to not compile: https://gitlab.com/baserock/definitions/pipelines/4828242 | 14:40 |
pedroalvarez | <pedroalvarez> i feel like is not complete | 14:56 |
pedroalvarez | <pedroalvarez> for example, in https://gerrit.baserock.org/#/c/2335/1/trove/strata/trove.morph | 14:56 |
pedroalvarez | <pedroalvarez> shouldn't that point to trove/strata/... ? | 14:56 |
pedroalvarez | also that^ | 14:56 |
jjardon | locallycompact: is this where you are at the moment? https://gitlab.com/baserock/definitions/builds/5749337 | 15:02 |
locallycompact | loading | 15:03 |
locallycompact | (still loading) | 15:04 |
paulsherwood | exit | 15:04 |
paulsherwood | bah :) | 15:04 |
*** paulsherwood has quit IRC | 15:05 | |
*** paulsherwood has joined #baserock | 15:07 | |
*** mdunford has quit IRC | 15:13 | |
*** paulsherwood has joined #baserock | 15:13 | |
*** mdunford has joined #baserock | 15:14 | |
locallycompact | jjardon, systems/weston-qt-system-x86_64.morph | 15:21 |
gtristan | jjardon, pedroalvarez weird, maybe I screwed up the squash :-/ | 15:21 |
gtristan | I'll verify, fwiw I have built *all* of the still maintained systems on my laptop | 15:22 |
gtristan | for x86_64 | 15:22 |
gtristan | before submitting, but also before the squashing | 15:22 |
gtristan | hmmm | 15:23 |
gtristan | Ok I think I know what happened, I built trove after moving the system but before moving the strata over | 15:23 |
gtristan | which caused the artifacts to exist | 15:23 |
gtristan | I'll fix the errors and resubmit tomorrow | 15:24 |
jjardon | locallycompact: thanks to your branch I'm discovering bugs in the definitions' .gitlab-ci.yml :) | 15:29 |
locallycompact | \o/ | 15:30 |
*** paulsherwood has quit IRC | 15:39 | |
*** paulsherwood has joined #baserock | 15:39 | |
*** mdunford has quit IRC | 15:40 | |
*** paulsherwood has quit IRC | 15:41 | |
*** paulsherwood has joined #baserock | 15:41 | |
jjardon | locallycompact: so this is the current problem, rigth? https://gitlab.com/baserock/definitions/builds/5750509 | 15:50 |
locallycompact | if it hasn't built everything then no | 15:51 |
locallycompact | :P | 15:51 |
locallycompact | (loading) | 15:51 |
locallycompact | oh wait | 15:51 |
locallycompact | yes | 15:51 |
locallycompact | I think I got past that depending on the order of cython installs because I have completed a minimal for sure | 15:51 |
locallycompact | but treat that as the main problem for now | 15:52 |
jjardon | ack | 15:52 |
*** mdunford has joined #baserock | 15:52 | |
*** jjardon_matrix has quit IRC | 16:09 | |
*** jjardon_matrix has joined #baserock | 16:09 | |
tiagogomes | This may be of interest, although the information of how it works is sparse - http://www.hadess.net/2016/10/flatpak-cross-compilation-support.html | 16:12 |
*** toscalix has quit IRC | 16:29 | |
*** anahuelamo has joined #baserock | 18:30 | |
*** rdale has quit IRC | 18:39 | |
*** locallycompact has quit IRC | 18:57 | |
*** gtristan has quit IRC | 19:03 | |
*** ctbruce has quit IRC | 20:20 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!