/srv/irclogs.ubuntu.com/2016/11/11/#ubuntu-bugs.txt

jarnosI suggest Bug #1621226 should be SRUed.12:18
ubot5`bug 1621226 in grep (Ubuntu) "grep does not output null when -o is used" [Undecided,Fix released] https://launchpad.net/bugs/162122612:18
rbasakjarnos: that's reasonable, but it's also a change in behaviour that users may be relying on, as grep tends to be used quite a bit in scripts.12:21
rbasakSo I'm not sure.12:21
rbasakI added a task in the bug for you. Can discuss in there.12:22
=== hikiko is now known as hikiko|ln
jarnosrbasak, well, that bug has not got any visible attention from others, so I don't know who I am discussing it with.12:28
jarnosrbasak, no-one should rely on behavior that makes output ambiguous. The bug is fixed in 16.04 anyway.12:31
rbasakjarnos: I don't think it matters where users "should" rely on behaviour or not. For a stable release, what matters is if they *are*, and if an SRU will break them.12:43
jarnosrbasak, their scripts are broken anyway.12:44
rbasakjarnos: it doesn't matter. If their scripts happen to work now, and we change behaviour in an SRU such that they break, then that needs to be considered.12:45
rbasakjarnos: unless you can demonstrate that it isn't possible to write a script that would change behaviour after your proposed update?12:45
rbasakjarnos: you'd be discussing the issue with me in the bug, but also leaving a record of the discussion so that if another member of the SRU team considers the bug, that person can see the previous discussion.12:45
rbasakjarnos: presumably you need the fix for some reason. But there are other ways to find a workaround that don't involve changing behaviour but might be useful to affected users. For example, a flag in the environment. These should be discussed, but I feel you first need to understand my point about not breaking users despite their scripts "being broken".12:47
rbasakYou can't dismiss users like that.12:48
rbasakJust because they're wrong doesn't mean we can break them in a stable release.12:48
jarnosrbasak, how would a flag in environment help?12:55
jarnosrbasak, fixing the bug would make it possible for them to fix their scripts.13:04
rbasakjarnos: you could land an SRU that doesn't change behaviour, except when you want it to do so.13:04
rbasakjarnos: 16.04 makes it possible for them to fix their scripts.13:05
rbasakjarnos: and an environment flag would also do this for 14.04, but without breaking users surprisingly.13:05
jarnosrbasak, not, if you want to make a script that works in both.13:06
rbasakjarnos: if you want a script that works in both, SRU my environment flag proposal, then set the environment in your script. You'll then get consistent behaviour in both. I'm not saying it has to be this way, but it is an option that minimises regression risk to existing users.13:07
jarnosrbasak,  What is your environment flag proposal?13:09
rbasakjarnos: SRU the fix to 14.04, but adjust it so that it maintains previous broken behaviour unless the environment variable FIX_LP_1621226 is set.13:10
=== hikiko|ln is now known as hikiko

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