IRC logs for #buildstream for Monday, 2018-07-30

*** GodSkinS has joined #buildstream01:36
*** leopi has joined #buildstream03:49
*** tristan has quit IRC03:59
*** leopi has quit IRC04:01
*** leopi has joined #buildstream04:31
*** tristan has joined #buildstream04:34
*** connection0 has joined #buildstream05:12
*** noisecell has joined #buildstream06:15
*** SKYWARN has joined #buildstream06:27
*** Xe29 has joined #buildstream06:46
*** ernestask has joined #buildstream06:57
*** noisecell has quit IRC07:07
*** toscalix has joined #buildstream07:19
*** toscalix has quit IRC07:44
*** bochecha has joined #buildstream07:47
*** toscalix has joined #buildstream07:48
*** tiagogomes has joined #buildstream07:48
*** tiagogomes has quit IRC07:54
*** tiagogomes has joined #buildstream07:55
*** coldtom has joined #buildstream07:57
*** noisecell has joined #buildstream07:57
gitlab-br-botbuildstream: merge request (phil/437-junction-tutorial->master: Phil/437 junction tutorial) #550 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/55007:58
*** tiagogomes has quit IRC08:02
*** toscalix has quit IRC08:07
*** toscalix_ has joined #buildstream08:07
*** flatmush has joined #buildstream08:09
*** finn has joined #buildstream08:13
*** mablanch has joined #buildstream08:17
*** toscalix_ has quit IRC08:18
*** toscalix_ has joined #buildstream08:18
*** toscalix_ has quit IRC08:20
*** toscalix has joined #buildstream08:20
*** WSalmon has quit IRC08:21
*** mablanch24 has joined #buildstream08:21
*** tiagogomes has joined #buildstream08:22
*** mablanch24 has quit IRC08:25
*** tiagogomes has quit IRC08:25
*** tpollard has joined #buildstream08:45
gitlab-br-botbuildstream: issue #526 ("Add configuration option to fail on warnings") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/52608:48
gitlab-br-botbuildstream: merge request (jmac/virtual_directories->master: Abstract directory class and filesystem-backed implementation) #445 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/44508:49
*** WSalmon has joined #buildstream08:53
*** LambdaComplex has joined #buildstream09:01
gitlab-br-botbuildstream: merge request (phil/437-junction-tutorial->master: Phil/437 junction tutorial) #550 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/55009:15
*** rdale has joined #buildstream09:18
tlaterAh, thanks qinusty, I'll have a look at the branch in a minute09:30
*** coldtom has quit IRC09:31
tlaterqinusty: I take it that screenshot is no longer up-to-date ;p09:33
gitlab-br-botbuildstream: merge request (tpollard/386->master: widget.py: Limit failure summary to currently failing elements) #561 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56109:34
gitlab-br-botbuildstream: merge request (chandan/sourcetransform->master: WIP: Allow source plugins to access previous sources) #568 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56809:45
jmacI'm unsure of the status of !445 now. Kinnison has reviewed it. juergbi, do you want to look over it again before we merge it?09:46
* Kinnison thinks it looks good and jmac dealt with all the nits I found09:46
juergbiI was planning to take at least another quick look09:47
*** cs_shadow has joined #buildstream09:47
juergbihowever, wasn't the intent to merge it together with the CAS backend, i.e., when there are actual benefits?09:47
gitlab-br-botbuildstream: merge request (tpollard/386->master: widget.py: Limit failure summary to currently failing elements) #561 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56109:48
KinnisonI thought the intent was to merge this now so that any fallout can be seen sooner, while the CAS backend continues to be developed/cleaned up09:49
jmacI don't think the CAS backend provides any benefits either09:49
jmacI'm already spending significant time maintaining MRs since people are adding new work underneath it (e.g. export-to-tar)09:50
* Kinnison nods09:51
* Kinnison thinks we should land 445 so that jmac is no longer on-hook for chasing those APIs at that level, and can focus on the next level up09:52
gitlab-br-botbuildstream: merge request (chandan/sourcetransform->master: WIP: Allow source plugins to access previous sources) #568 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56809:53
*** tiagogomes has joined #buildstream09:53
juergbiok, fine by me. I suppose that's acceptable now with the new policy, as long as we make sure the rest lands in time for 1.409:53
jmacWhen is the cut-off for 1.4?09:53
tristanOk so... for myself I've tried to focus on a lot of master related stuff last week; but this week I really need to concentrate on the 1.2 branch09:53
Kinnisonjuergbi: the plan is surely to land it all as soon as we can :-)09:54
juergbijmac: ~6 months09:54
tristanif juergbi is comfortable with this seemingly big complicated change on master, that is fine by me :)09:54
juergbiKinnison: we normally want to avoid merging API additions/changes that haven't been properly validated yet by actual users/implementations09:55
gitlab-br-botbuildstream: merge request (valentindavid/498_bwrap_environment->master: Set environment in bwrap command line instead of its environment) #565 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56509:55
Kinnisonjuergbi: in this instance, all the users of the API have been updated though, and since the policy change so that master is considered "unstable" so long as the API is clean and ready by 1.4 we're okay, no?09:56
toscalixHi jmac . I came across this issue https://gitlab.com/BuildStream/buildstream/issues/203 I wonder if, once reviewed, you guys plan to lan this fix in master before v1.2 release09:56
Kinnisonjuergbi: If you're strongly concerned, filing an issue to revisit the sandbox virtual directory API during the 1.3 cycle to ensure it's definitely what is wanted for 1.4 would be a sane approach09:56
juergbiKinnison: the whole point of the API is to support the CAS backend, though. only validating the API with a local filesystem backend kind of misses the point09:56
* Kinnison assumes toscalix has created a 1.4-blocker tag09:56
tlatertoscalix: Note that we aim to backport bugfixes anyway09:57
jmactoscalix: I merged that last week. It's Phil's issue.09:57
tlaterI'd argue that one would be backported09:57
Kinnisonjuergbi: given the velocity of changes to master, I think it's unreasonable to expect the two MRs to land together09:57
toscalixjmac: thanks09:57
juergbiKinnison: however, as the CAS backend already exists (in a different branch) and we're at the beginning of a new dev cycle, it should be fine to merge it already09:57
gitlab-br-botbuildstream: merge request (willsalmon/trackWarning->master: git.py: Add warning to git track if track and ref are not present) #580 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58009:58
toscalixKinnison: the blocker label was created some time ago. We only use it for releases. It is not associated to a specific version but to the one is about to be released09:58
gitlab-br-botbuildstream: merge request (valentindavid/498_bwrap_environment->master: Set environment in bwrap command line instead of its environment) #565 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56509:58
juergbiI'll take another quick look at the MR and if we're missing something, we still have time to fix things up post merge, if needed09:58
Kinnisontoscalix: given we have two versions in-train (1.2 and 1.4) it makes sense to have separate blocker tags, no?09:58
tristantoscalix, it's a good point though which Kinnison makes, it could make sense to start making one per release09:58
tristantoscalix, it falls under the category of "technical debt / deficit" which I meant to discuss09:59
tristanor, could be a good way for us to track those debts09:59
toscalixdo you plan to have blockers simultaneously for v1.2 and v1.4 active?09:59
tristanKinnison, basically we didnt come up with (yet) the exact strategy to track this sort of thing09:59
gitlab-br-botbuildstream: merge request (Qinusty/481->master: Add SKIPPED message type for actions being skipped) #562 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56210:00
juergbimaybe target milestone is good enough10:00
* Kinnison nods tristan10:00
tristantoscalix, Yes, we are currently landing things contingent on later work, those need a way to be identified, and blocking 1.4 from early on is one (pretty sane ?) way to do that10:00
toscalixblocker + milestone is not enough?10:00
tristanAh, that could also work10:00
tristanBlocker tag with issue on milestone 1.410:01
tristanI'm pretty ambivalent which way, just so long as it works :D10:01
toscalixyou can also use Urgent and the next milestone so we reserve blocker for release features or issues only10:01
toscalixwith a comment on why is Urgent would be enough to understand why the ticket is there10:02
tristantoscalix, ideally both, I think that blocker sends the right message, though (the way we've currently been using that tag)10:02
toscalixI would recommend then to use the current label blocker, associated to the coming milestone, instead of creating new labels that are milestone specific10:04
tristantoscalix, Agree, I like this approach10:05
* tristan now has also bought himself a good hour or two of triage work hehe10:05
* tristan puts on his TODO, find the existing issues filed so far of this nature, dress them appropriately with stones and miletags10:05
*** yar has joined #buildstream10:26
tlaterjjardon: Looks like we're running out of space on our runners: https://gitlab.com/BuildStream/buildstream-docker-images/-/jobs/8484608110:27
* tlater checks if clearing the cache helps10:27
gitlab-br-botbuildstream: merge request (chandan/sourcetransform->master: WIP: Allow source plugins to access previous sources) #568 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56810:29
gitlab-br-botbuildstream: merge request (willsalmon/trackWarning->master: git.py: Add warning to git track if track and ref are not present) #580 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58010:33
gitlab-br-botbuildstream: merge request (phil/437-workspaces-tutorial->master: Phil/437 workspaces tutorial) #519 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/51910:46
tlatertoscalix: Btw, your issue template has two spaces in the tick boxes. I've seen a handful of people simply keep those tickboxes, but they don't render as actual tickboxes - think that's something we could fix?.10:49
toscalixah, so the problem is the template. Will fix. Thanks10:50
gitlab-br-botbuildstream: merge request (tpollard/483->master: plugins/git.py: Fail if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56410:51
tlatertpollard: Hey, would you mind rebasing your branch? https://gitlab.com/BuildStream/buildstream/merge_requests/561#9bb4742e68d4494087c183d5953c3f0feac0e101_528_52710:55
tlaterI'd do it for you, but I'd rather not muddy the author tags10:55
tlaterFeel free to also set it to merge after the pipeline succeeds :)10:55
tpollardtlater: sure I can push a rebase10:55
gitlab-br-botbuildstream: merge request (chandan/sourcetransform->master: WIP: Allow source plugins to access previous sources) #568 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56810:56
tpollardtlater: I don't have merge powers yet though10:56
tlaterAh, right10:56
* tlater fixes that10:56
tlaterHuh10:57
tlaterYou're just about the only person whose permissions I can't set10:57
tlaterOdd10:57
tlaterPerhaps because an owner gave you permissions in the first place?10:57
tlaterWell, tell me when the rebase is up, I'll click the button for you.10:58
gitlab-br-botbuildstream: merge request (tpollard/386->master: widget.py: Limit failure summary to currently failing elements) #561 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56110:58
tpollardtlater: should be there now10:58
gitlab-br-botbuildstream: merge request (phil/436-add-ubuntu-install-intructions->master: Add Ubuntu install intructions) #525 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/52510:59
tristantlater, tpollard btw; I didn't start yet but I'm going to do another full pass over the permissions; because we made a bit of a mistake and need to fit within how gitlab works11:04
tristanEveryone that I made "Maintainer" so that they could get the commit bit for protected branches, will become "Developer" instead, and will be given explicit commit access to the protected branches11:05
tlatertristan: ooi, what does that buy us?11:05
tlaterDoes that mean gitlab keeps us from doing push-to-master manually?11:06
tristanThis is because Maintainer also unlocks other sensitive settings which should not really be accessible to "Anyone we granted commit access"11:06
tlaterAh, things like changing CI I suppose11:06
tristantlater, I don't believe it does that at all, no11:06
tristanexactly11:06
qinustytristan, when working around the _yaml module, What is the provenance of a node?11:07
tlaterOh, that's a fun one :)11:07
tristanqinusty, it's the filename column and line info11:07
tristanqinusty, it can be formatted into a string for error messages/warnings, basically11:07
tlatertpollard: I feel there's something missing here https://gitlab.com/BuildStream/buildstream/merge_requests/564/diffs11:07
qinustyOkay cheers.11:08
tlatertpollard: You create that fancy assert_ref_in_track method but don't do anything with it11:08
tpollardtlater: yep there is, I just needed to update the branch for a remote machine. should I put WIP into the title whilst working on it?11:08
tlaterOh, yes please11:08
gitlab-br-botbuildstream: merge request (tpollard/483->master: WIP: plugins/git.py: Fail if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56411:09
tlaterThanks :)11:09
tpollardnp!11:09
gitlab-br-botbuildstream: merge request (phil/436-add-ubuntu-install-intructions->master: Add Ubuntu install intructions) #525 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/52511:12
tlaterDoes the bst-external documentation live anywhere yet?11:12
* tlater wonders who'd even know11:13
tlatertristan?11:13
tlaterAh, it has a gitlab.io thing11:14
tlaterBut it's not consistent with the main repo theme11:14
tlaterHmm, I'll add an examples page for now. Do we want to link to this from the main doc?11:15
tlaterLink for reference: https://buildstream.gitlab.io/buildstream/11:15
tristantlater, should be easy enough to port the theme changing commit11:15
tlaterYep, I'll give that a shot11:15
tlaterWould you mind if I added a link to the external sources in the main doc, too?11:15
tristantlater, we link to it already for the plugins section... if it's going to have an examples section we could follow that practice and link to it from the using page ?11:15
tlaterAh, alright11:16
tlaterYup, I'll do that :)11:16
tlaterI'll also try sticking to the main repo's guidelines for examples11:16
tlaterGoing to be a bit harder to link to main docs, unfortunately.11:16
tristanunfortunately, there is a road to travel in order to share some of the things which the main repo does for CI and docs :-S11:17
tristanso for now, you might end up replicating some things from bst tests and docs11:17
tristanuntil a nicer surface can be defined for sharing11:17
tlaterYep, that's my aim for now.11:17
tristancs_shadow, btw... I just wanted to point out, because it might not have been clear; I did reply to the proposal on the list about running tests11:29
tristancs_shadow, i.e., because I left the most of the message body in tact, you might not have seen my inline comments; instead of sending another email, just wanted to ping you and let you know there was content in that reply :D11:30
* paulsherwood wonders if bst is still following a model where odd releases are different from even ones11:44
gitlab-br-botbuildstream: merge request (tpollard/386->master: widget.py: Limit failure summary to currently failing elements) #561 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/56111:47
Nexuspaulsherwood: Odd are unstable iirc11:54
tristanpaulsherwood, Yes, even 1.0 & 1.2 is stable, 1.3 is the current dev cycle where we will make dev snapshot releases; which is work towards 1.411:56
*** Caraway has joined #buildstream11:57
tristanAlright, step one of permissions changes done: Maintainers can push, Only selected developers can merge11:57
tristanNext step, convert overzealously created "Maintainers" back to "Developers", but retaining the merge powers11:57
tristantlater, so indeed; Developers are not allowed to push directly, but can merge (force through CI, not a bad thing I guess)11:58
* tlater finds that better, personally11:58
tlaterBut obviously keeping things like our docker deploy keys from everybody joining is probably the main incentive here.12:00
tristanDone12:01
tristantlater, indeed12:01
tristanthat's the reason for restructure12:01
tristanAn option was to allow "developers" to push and lower the roles to "developer"12:01
tristanBut, I want anyone who requests developer access to always receive it, cause it's a pain to setup your own CI and to do rebases of your fork with upstream12:02
tristanSo we encourage any contributions to be through the main repo, just to reduce hassle12:02
tlatertristan: Do we have a note about this in the hacking file yet?12:02
tlaterSomething like "feel free to ask for dev access on #buildstream, setting up your own CI is a PITA"?12:02
tristantlater, not as far as I can see, please feel free to add one !12:03
tristan:)12:03
tristanI've also created a new "protect branch" thing which uses the "bst-*" wildcard, but we still need to maintain the "master" and "bst-*" protection lists separately12:04
tristannot too bad though all in all12:04
tristanand deleted the old explicit bst-1.0 and bst-1.2 protections12:04
tristanwhich should remain covered by bst-*12:05
*** calcul0n has joined #buildstream12:07
mablanchOh great: "CI is a PITA, may I ask for developer access"? :)12:09
mablanch(hit Gitlab's "Request Access" like 5 minutes ago).12:09
tlatermablanch: Yes you may :)12:09
cs_shadowtristan: thanks! I saw your reply, need to write back12:09
cs_shadowHopefully today12:09
* tlater added mablanch, will now read up on the permission changes to make sure he did it right12:10
mablanchtlater: Cheers!12:11
tristancs_shadow, ah... no hurry ! hehehehe12:12
tristancs_shadow, but good that you noticed, I noticed after sending that my inline replies were mostly out of view :)12:12
tristanmail sent regarding minor perm tweaking done today12:13
tlatermablanch: If you notice anything you don't have permissions to that you should, tell me - I don't seem to have access to the role permission settings, so I can't actually see what you're allowed to do now.12:14
tristantlater, I don't think I do either12:14
tristantlater, I think maybe you need to install the gitlab instance for control over the meaning of roles12:15
tlaterAhh, that would make sense12:15
tlaterI'm used to the admin settings, so I was wondering where my menus went.12:15
tristananyway, the developer role has not changed12:15
tristanit should allow you to push your own branches (please follow HACKING guidelines, and name them "username/branch-name" !)12:16
tristanand submit MRs directly upstream with those branches12:16
gitlab-br-botbuildstream: merge request (tlater/ask-for-dev-permissions->master: HACKING.rst: Add note about asking for dev permissions) #587 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58712:18
gitlab-br-botbuildstream: merge request (tlater/ask-for-dev-permissions->master: HACKING.rst: Add note about asking for dev permissions) #587 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58712:19
tlaterThanks tristan :)12:20
gitlab-br-botbuildstream: issue #527 ("local source plugin can introduce non-determinism") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/52712:30
tristanjjardon, cs_shadow; the above https://gitlab.com/BuildStream/buildstream/issues/527 might be interesting to either of you :)12:31
tristanInterestingly I realized this because of discussion in https://gitlab.com/BuildStream/buildstream/merge_requests/58112:31
tristanjuergbi, do we have an issue to track the CAS regression of permission bits ?12:31
tristanI consider this to be quite high priority for the project12:31
gitlab-br-botbuildstream: merge request (willsalmon/trackWarning->master: git.py: Add warning to git track if track and ref are not present) #580 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58012:41
WSalmon I had tests-fedora-27 fail and then i just retried and it worked, is this a common thing?12:42
PhilWSalmon, yep it's a known issue12:43
PhilOff the top of my head it's #50312:43
WSalmonthanks12:44
tristantpollard, I see you landed the patch for !561, great !12:49
tristantpollard, now can you please post an MR with this patch to bst-1.2 please :D12:49
tristanPhil, I noticed you just landed the junctions things, which I meant to take a glance at; but anyway looks great12:53
tristanPhil, I'd like you to fix only one little thing...12:54
gitlab-br-botbuildstream: merge request (toscalix->master: removed space in task template so checkboxes work as expected) #588 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58812:54
tristanPhil, "literalinclude:: ../../examples/junctions/elements/callHello.bst" you are missing the annotation telling sphinx that this is YAML, and it's trying to render it as if it were python12:54
tristansee second yaml example here: http://buildstream.gitlab.io/buildstream/advanced-features/junction-elements.html#a-simple-example12:54
tpollardtristan: sure12:55
tristantpollard, thanks, I'm still trying to work out how we can track the backporting of relevant bugfixes through gitlab12:55
tristanbut essentially; if you have a bugfix for master, it also belongs on bst-1.2 (unless it fixes functionality that is only added in master)12:56
Philthanks tristan. I'll do that this afternoon.12:58
tristanPhil, thanks !12:58
*** coldtom has joined #buildstream12:58
tristanAs for docs changes; new tutorials, etc; I don't feel like it's important to put a huge effort into backporting; because: (A) The docs list the since versions of every feature properly... (B) The docs are only ever published from master12:59
tristanBut others might have different ideas about this13:00
tristanjuergbi, ^^^ any thoughts on that ?13:00
tristanIts something that we aught to decide now for the cycle; we could "not backport every docs fix" for this cycle, and be more diligent the next cycle if it's more suitable13:01
tristanBut for right now at least, backporting docs is not improving anyone's life; unless they happen to build the docs locally13:01
*** tristan has quit IRC13:06
gitlab-br-botbuildstream: merge request (tlater/ask-for-dev-permissions->master: HACKING.rst: Add note about asking for dev permissions) #587 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/58713:11
*** tristan has joined #buildstream13:17
jmacDoes anyone know why coverage reports 15% coverage for a class which cannot be instantiated?13:25
tristanjmac, because declaring the class itself, at import time is technically running code13:25
tristani.e. the interpretor will cover parts of it simply by importing it13:26
* tlater wonders if jmac means "why does it not give me 100%?)13:26
tlaterThe answer to that would be: We're not using @abc13:26
jmactlater: No, I don't, I expected 0%13:26
tlaterAh, right13:27
jmacSo, for example, __init__ on my class is counted as 'covered'13:27
tristanjmac, do you instantiate a subclass and call super() ?13:27
tlaterjmac: If you inherit from that class __init__ is considered covered, even if it is empty.13:27
jmacBut that couldn't possibly have been actually run; how would the interpreter know the arguments?13:27
tristanthat one seems like it shouldnt be covered by simply importing13:27
jmacNo, there are no subclasses of this13:27
tristanBut then, I don't know what it's doing; constructors could well be special for python13:28
tristanmaybe the arguments are covered, but not the statements within the function body ?13:28
tlaterWorth looking at what the project says.13:28
tlaterpytest-cov, right?13:28
tristantlater, pytest-cov is only the pytest plugin for it13:28
tristantlater, the project is 'coverage.py'13:29
jmacWhatever runs at the end of our normal test suite13:29
tlaterAh, right.13:29
tristantlater, jmac, the maintainer is usually active in #python on freenode too13:29
* jmac takes a look at coverage.py13:29
* tlater should hang out on #python more13:29
tristantlater, it's a gamble, sift through the noise to find some signal; but I find it worthwhile at times13:30
*** leopi has quit IRC13:30
*** dabukalam has joined #buildstream13:31
juergbitristan: as long as we only publish docs from master, I agree13:33
juergbimanpage improvements should still be backported, though13:34
*** toscalix has quit IRC13:43
*** toscalix has joined #buildstream13:44
paulsherwoodregarding the odd vs even.. eventually the kernel maintainers dropped that, in favour of merge window + stabilisation => release13:55
* paulsherwood wonders if that would be a better, less confusing model here13:56
KinnisonYeah, but I think GNOME continues with the approach13:56
Kinnisonso it fits better with that13:56
KinnisonAlso the kernel has a lot more people working on it13:56
* paulsherwood doesn't like the odd/even approach... from a user pov it's unnecessary confusion13:56
* paulsherwood thinks it also leads to more 'backporting' but can't be sure13:57
KinnisonDepends whether the goal is to have something stable people can rely on (1.2, 1.4, 1.6) or something which moves faster but is less easy to depend on13:58
persiaThe numbers have no impact on "backporting".13:58
* Kinnison thinks that it's better to have reliable supportable releases which are few13:58
persiaPersonally, I prefer odd/even to the use of .9 .99 .999, etc. to indicate prereleases.13:58
KinnisonOtherwise you end up dealing with a lot of users who refuse to move because they get confused13:58
persiaKey is to have consistent branch naming and to have the model well described in docs.13:59
tlaterOutside of gnome people just tag things beta- or dev-, that seems more clear to me personally. But it's not really an option to change this, or to go against gnome.14:00
paulsherwoodsorry, but it is definitely an option to 'go against gnome'14:01
paulsherwoodwe need a model that works, not just 'the model that other gnome projects use'14:02
KinnisonDo we have anyone other than paulsherwood who was confused by the stable/unstable series thing?14:02
KinnisonIf we hav a lot of confusion which appropriate docs don't resolve, then diverging from GNOME standard may be worthwhile14:03
paulsherwoodas a *user* i need a release the works, it should be obvious what that is at all times. and i need to be assured that when i move to the next one, the project has me covered so i don't find things broken in the move14:03
paulsherwoods/release that works/14:03
KinnisonAIUI that's the intent with the 1.2(.x?) series and then the jump to 1.4, 1.6, etc.14:03
jmacThe "even == stable, odd == unstable" thing wasn't immediately obvious to me14:03
tlaterKinnison: I personally always assume that the latest version number is stable.14:03
Kinnisonjmac: that's useful input, thanks14:04
tlaterOr considered stable enough to be usable - I wouldn't think to look into the documentation to check this14:04
Kinnisontlater: I see.14:04
KinnisonI guess it's up to tristan and juergbi ultimately, but as persia says, so long as things are appropriately communicated I don't see an issue with the approach currently implemented14:04
paulsherwoodflatmush: was it obvious to you which version to use when you started?14:05
paulsherwoodnoisecell: same question14:05
paulsherwoodrdale: same question14:05
*** toscalix has quit IRC14:05
PhilI think the whole odd=unstable even=stable thing is only really intuitive if you're used to the Gnome ecosystem14:05
* paulsherwood believes each of these people approcached bst separately14:05
*** toscalix has joined #buildstream14:06
* noisecell didn't know odd== unstable even==stable / I personally prefer that all releases are usable until the extend to now suffer regressions.14:06
KinnisonPhil: It's possible that I've been around the F/LOSS community for long enough that it just seemed easy enough (then again I've dealt with almost every kind of stable/unstable mechanism used)14:06
paulsherwoodPhil: sounds plausible... i wasn't aware of the convention at all14:06
* Kinnison notes that *releases* will be stable14:06
* Kinnison wouldn't refer to 1.3.x as releases14:07
paulsherwoodthat's just more confusion, then14:07
PhilKinnison, why not?14:07
paulsherwoodif you tag it, it's a release imo14:07
jmacEverything with a numbered version is a ... yep, that14:07
KinnisonIf you tag it, it's a tag14:07
KinnisonAs evidenced by a tag we had recently which blew up the test suite14:07
noisecellKinnison, but we don't have a different naming convention for releases, though14:08
PhilHow are you defining "a release"?14:08
noisecellas X.Y.Z are numbers, which can be releases and not releases?14:08
tlaterGoogle & go name everything that has a version number a "release" - this breaks what us younglings are trained to consider versions14:08
noisecellif so, where is the document that tells me which is a release?14:08
* Kinnison is, ultimately, not married to the current model. However I am of the opinion that not giving the current model a reasonable run before declaring it "confusing" might be a tad knee-jerk14:08
flatmushpaulsherwood: I've always been confused by projects that do the "odd == unstable" thing14:08
rdalepaulsherwood: i just checked out the master branch of buildstream and used that when i started14:09
flatmushdid not know buildstream also  did that14:09
* paulsherwood notes that Github expressly calls tags releases, so Kinnison is in the minority :)14:09
flatmushreleases should be stable14:09
* Kinnison refuses to acknowledge "that place" as anything other than a mess14:09
Kinnisonnoisecell: I'm completely on-board with the idea that documentation may be needed to be augmented14:10
paulsherwoodKinnison: let's not get off topic. the odd/even thing clearly confuses people, not just me14:10
flatmushthe even odd thing is silly, even if someone reads the documentation it's easy to miss14:11
paulsherwoodi'd really like the model to chang,e not just more doc for a bad model14:11
Kinnisonpaulsherwood: then you have a reasonable backing from which to argue for a change, I'd suggest you put something on the ML because the person who needs to make the decision is likely asleep by now.14:11
jmacIt's the largest software development community; if you reject all their conventions then you're in the minority by default14:11
flatmushjust do release candidates, or beta's or something that would be obvious without reading a document14:11
paulsherwoodKinnison: this is not a one person decision :)14:11
Kinnisonjmac: I'm in a minority already for rejecting github/gitlab and writing my own Git server14:11
paulsherwoodbut yes, i'll raise on the ml14:11
Kinnisonpaulsherwood: True, you also need juergbi on board14:11
juergbiI can certainly see that people get confused if they are not used to it and/or it's not documented in the right places14:12
juergbiI think the model is common enough (especially in the GNOME community where it's ubiquitous) that it's not an issue with proper documentation14:14
juergbiI wouldn't be opposed to other version numbering but switching now could be confusing as well14:15
juergbione thing worth mentioning is that the homepage/documentation currently recommends installing master (because 1.0 lacks features that projects need). I think the plan was/is to switch the documentation to recommend the latest stable branch14:16
juergbiwhich we actually could do now that 1.2 is branched off14:16
juergbibut that's definitely a question for tristan14:17
noisecelljuergbi, are there any tag convention? as where buildstream has decided when to create a tag and what is the reason?14:19
juergbinoisecell: no hard rules for development snapshots/tags. for stable releases we have the target release date for x.0, aligned with GNOME, but for bug fix releases we release when we think it makes sense (after critical bug fix or users asking for it)14:25
noisecelljuergbi, ok, thank you for the info14:28
*** mohan43u has quit IRC14:28
*** mohan43u has joined #buildstream14:30
persiaAs a historical note, the linux project decided to stop using even/odd a few years back because lots of folk found it too confusing.  It used to be nearly everyone who did that, and now it is very rare.  In the traffic that I notice, https://semver.org/ is exciting.14:30
persiaThat said, personally I like rcs and betas to be asciibetically sorted before releases, which requires a bit of gaming with semver.14:30
* Kinnison notes that we can solve all of the confusion by simply not "releasing" until we're ready for what we'd call 1.4 under the current scheme14:33
Kinnisoni.e. the current release is 1.1.4 and the next will be 1.2 and then after that, we'll branch from master for a release when we're ready and call it 1.314:34
KinnisonThe only thing we have to change is not tagging any point on master until the next release time14:34
*** xjuan has joined #buildstream14:34
*** rdale has quit IRC14:38
juergbior appending -beta or something to all development snapshots14:40
*** Phil has quit IRC14:41
*** Phil has joined #buildstream14:41
* noisecell nods14:42
*** rdale has joined #buildstream14:42
gitlab-br-botbuildstream: issue #528 ("Which version of buildstream for new user?") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/52814:42
*** phildawson has joined #buildstream14:46
* paulsherwood sends email to the list14:52
gitlab-br-botbuildstream: merge request (tpollard/483->master: WIP: plugins/git.py: Fail if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56415:01
* paulsherwood would prefer folks don't branch releases, at all15:03
paulsherwoods/prefer/strongly prefer/15:03
juergbino stable branches? that's not really compatible with the recent change in commit policy, imo15:07
paulsherwoodhow come?15:09
paulsherwoodlast release = known good. at a pinch, a point release to fix crash/otherstopper on last release?15:10
gitlab-br-botbuildstream: merge request (tpollard/386-cherrypick->bst-1.2: widget.py: Limit failure summary to currently failing elements (#386)) #589 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/58915:13
tpollard^ tristan I hope that's what you requested15:13
paulsherwood/win 5615:15
paulsherwoodbah15:15
juergbipaulsherwood: if there is an important bug fix at a time when there is lots of flux in master, it's impossible to spin a bug fix release that is really safe to update without stable branches15:18
gitlab-br-botbuildstream: issue #529 ("Create a bazel build element") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/52915:20
juergbiand this would also mean that you can't continuously accept feature merges as you most definitely want a stabilization period before a stable release, at least I'd want that15:20
gitlab-br-botbuildstream: merge request (mablanch/447-stack-trace-checkout->master: Handle checkout failure for unbuilt elements) #590 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/59015:23
*** edb has joined #buildstream15:24
*** dabukalam has quit IRC15:33
valentindI have test tests/artifactcache/expiry.py::test_invalid_cache_quota[50%-True] that fails for me. Is that normal?15:35
gitlab-br-botbuildstream: issue #438 ("Migrate X86 image example from examples repo to main repo") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/43815:35
juergbivalentind: tests shouldn't fail, no. it fails locally or in gitlab (buildstream mainline repo or other repo)?15:37
juergbitlater: ^^15:37
valentindIt fails locally on master.15:37
tlatervalentind: Do you have logs for that you could paste?15:38
tlaterThat one should certainly not fail15:38
valentindtlater, https://paste.gnome.org/p5jcm43tx15:39
Nexustristan / juergbi: Is being able to run `bst build` without a target element, an intended feature? If not is there an existing issue for it?15:39
valentindtlater, I just have less than 50% available on my disk.15:40
tlatervalentind: Yes, that looks pretty wrong15:41
tlaterSo...15:41
tlaterTwo things look wrong here15:41
tlatera) The test case should not consider actual system space15:42
tlaterb) Damnit why does that fail15:42
tlaterOh, the failure is actually correct15:42
tlatervalentind: You can safely ignore that exception for now, I'll create an issue about it15:42
tlaterMind if I link your log?15:42
valentindtlater, I only put it for 6 hours. So copy it.15:43
gitlab-br-botbuildstream: issue #438 ("Migrate X86 image example from examples repo to main repo") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/43815:43
tlaterCool15:43
gitlab-br-botbuildstream: issue #438 ("Migrate X86 image example from examples repo to main repo") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/43815:43
*** noisecell has quit IRC15:44
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47115:45
*** noisecell has joined #buildstream15:50
gitlab-br-botbuildstream: issue #530 ("Cache quota size definition tests depend on the host system") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/53015:56
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47115:56
*** noisecell has quit IRC15:56
gitlab-br-botbuildstream: merge request (tpollard/483->master: WIP: plugins/git.py: Fail if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56415:56
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: WIP: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47115:59
*** bochecha has quit IRC16:01
*** bochecha has joined #buildstream16:01
toscalixpaulsherwood: I haven't seen a rolling model with a stabilization phase done16:02
toscalixyou need a stabilization phase when you do not control the deployment16:02
toscalixsince deployments take time to stabilize as well16:03
gitlab-br-botbuildstream: merge request (jmac/cas_virtual_directory->jmac/googlecas_and_virtual_directories_2: WIP: CAS-backed virtual directory implementation) #481 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/48116:03
gitlab-br-botbuildstream: merge request (jmac/cas_virtual_directory->jmac/virtual_directories: WIP: CAS-backed virtual directory implementation) #481 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/48116:09
qinustyCan I disable linting with ./setup.py test ..... ?16:10
jmacTry: ./setup.py test --addopts "-k tests"16:10
jmacThat should just run the actual tests and not pep8/pylint16:11
qinustyI though that, but it seems to still lint (I THINK). It takes quite a while to run a single test I just wrote which does barely anything16:11
qinustyand says "Using config file ..........buildstream/.pylintrc"16:12
qinustyPreceded by "Linting files"16:12
gitlab-br-botbuildstream: merge request (phil/fixup-junctions-tutorial->master: junction-elements.rst: Add missing language specifier to literalinclude) #591 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/59116:12
jmacIt's quite possible it does still run them but ignores the result. I know selective testing still has a long startup time for me.16:13
*** finn has quit IRC16:13
*** edb has quit IRC16:14
*** finn has joined #buildstream16:14
qinusty:/16:14
tlaterqinusty: Have you tried tests/**/*?16:16
tlaterAlternatively `-m not pylint` is supposed to work16:17
Kinnisontry "--no-pylint" in the addopts16:17
gitlab-br-botbuildstream: merge request (chandan/sourcetransform->master: WIP: Allow source plugins to access previous sources) #568 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56816:17
Kinnisonsince that worked for me when I had this pain16:17
Kinnisoni.e ./setup.py test --addopts "--no-pylint"16:18
tiagogomesThat looks something worth to add to the hacking guide16:18
tlatertiagogomes: +116:18
qinustyTIL: Individual tests can be ran by `./setup.py test --addopts "<path_to_module>::<test_function>`16:18
qinustyIt runs INSTANTLY16:18
tlaterqinusty: Yep :)16:19
jmacThat's useful qinusty, thanks16:19
qinustyThat'll save me so much time16:19
qinustyworth16:19
* tlater thinks he explicitly documented this in the hacking, but perhaps not16:19
tlaterWorth reading closely :)16:19
* phildawson didn't see it in hacking16:19
phildawsonbut discovered it by accident16:20
tlaterYep, we'll have to add that then16:20
* qinusty notices tlater did and sticks his head in the sand16:20
tlaterAh, ok. phildawson fails the reading comprehension test ;)16:20
* phildawson clearly isn't very good at reading :P16:20
phildawsonsnap16:20
* qinusty realises he was on pytest.org and decides to double check the hacking.rst16:21
tlaterqinusty: If these hints are not in there, mind adding them?16:21
qinustyNot on the hacking.rst, Head out of the sand. We should definitely add it then16:21
qinustyI'll put it on my TODO tlater :)16:21
tlaterThanks :) I put a lot of effort into trying to document testing quite closely, but iirc we started worrying about bloat.16:22
qinustyI agree, it is quite detailed on testing for CI etc. But while developing tests it is useful to quickly run a single test16:22
qinustyand since pytest doesn't work as a command due to the config file we have16:22
qinustyIt's worth noting16:22
gitlab-br-botbuildstream: merge request (valentindavid/331_include->master: WIP: Add support for include in project.conf) #471 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/47116:25
* tlater would like to tweak the config so we can use pytest at some point16:28
*** noisecell has joined #buildstream16:35
*** leopi has joined #buildstream16:36
*** leopi has quit IRC16:39
*** noisecell has quit IRC16:39
gitlab-br-botbuildstream: merge request (phil/fixup-junctions-tutorial->master: junction-elements.rst: Add missing language specifier to literalinclude) #591 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/59116:53
*** finn has quit IRC17:02
*** finn has joined #buildstream17:02
*** finn has quit IRC17:02
*** jonathanmaw has joined #buildstream17:05
*** finn has joined #buildstream17:16
*** jonathanmaw_ has joined #buildstream17:19
*** jonathanmaw has quit IRC17:21
gitlab-br-botbuildstream: merge request (tpollard/483->master: WIP: plugins/git.py: Fail if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56417:26
*** jonathanmaw_ has quit IRC17:31
gitlab-br-botbuildstream: merge request (tpollard/483->master: WIP: plugins/git.py: Fail if ref is not in given track) #564 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/56417:37
*** edb has joined #buildstream17:56
*** toscalix has quit IRC18:44
*** ernestask has quit IRC18:50
*** xjuan has quit IRC19:07
*** toscalix has joined #buildstream19:14
*** toscalix has quit IRC19:15
*** xjuan has joined #buildstream19:20
*** tristan has quit IRC21:04
*** xjuan has quit IRC21:47
*** xjuan has joined #buildstream22:15
*** edb has quit IRC22:22

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