Monday, 2016-09-12

*** jtomasek has joined #storyboard06:20
*** davidlenwell has quit IRC06:55
*** davidlenwell has joined #storyboard07:08
*** ttx has quit IRC07:53
*** ttx has joined #storyboard07:56
*** ttx has quit IRC07:59
*** ttx has joined #storyboard07:59
Zaramoooorning08:01
*** bethwhite_ has joined #storyboard08:55
*** openstackgerrit has quit IRC09:04
*** openstackgerrit has joined #storyboard09:04
Zaraoh, we could still do with eyes on https://review.openstack.org/#/c/361423/. I thought it had gone in, sory!09:25
Zara*sorry09:25
ZaraI'm so confused, I thought I sent a patch to system config for the thing I mentioned there, but can't find it09:41
* SotK fails to reproduce the weird worklist positions and lengths in the complex priorities patch09:42
Zarahuh09:42
ZaraI'll see if I can do it with a fresh one, then09:42
ZaraI finally reproduced it, still not sure how exactly it happens09:53
ZaraI finally got it when I made the worklist private and deleted and added the same task to/from it various times09:53
Zaraso still not sure what thing caused it09:53
SotKsome investigation has uncovered that it is caused by tasks which belonged to now-deleted stories10:12
Zara\o/ that shouldn't happen too much10:13
ZaraI haven't been able to reproduce it with normal behaviour10:13
SotKwe mustn't be filtering them out on the api side when getting a list of worklists like we do when getting a single worklist10:13
Zaraokay. I can make a story for it, I think we're okay to merge the patch if that's the only time when the totals will be thrown off10:13
Zaraesp since really the answer is to not let people add those tasks to worklists to begin with...10:14
SotKthe problem arises mainly when someone deletes a story whose tasks are in a worklist already I think10:14
persiaWhere "make private" counts as "deletion" for folk without access?10:15
SotKnot currently, since private things are correctly filtered out (which is what the correct behaviour for deletion would be too)10:17
persiaThen I don't understand how it was triggered when Zara "made the worklist private and deleted and added the same task to/from it various times"10:18
persiaBut if some of the issue is understood, then the rest can be solved later :)10:19
Zarathat one then worked, I think the total just hadn't updated properly10:19
Zarashall we press the big red merge button?10:27
persiapretty please?10:27
pedroalvarez"the pretty big red merge button" ?10:29
persiaSpeaking of merge buttons, there's also at least one patch to the python client that looks ready (which I thought was held over Friday for Friday-related reasons)10:33
SotKthis one? https://review.openstack.org/#/c/366238/10:33
persiaI was thinking of 36570410:34
Zarahah, I don't publicise my own patches as much as others'...10:34
persia366238 still needed a review, last I looked.10:34
SotKyeah, 365704 does look ready10:34
SotKsorry I missed it10:34
* SotK was waiting for Zara to respond to persia before reviewing 36623810:35
Zaraoh, sorry, I figured I'd do that in a followup patch10:35
Zarasince I'm not sure exactly how to phrase it yet10:35
Zaraand rather not delay it while I think about it10:36
SotKthat is fine by me10:36
persiaI'm fine with a follow-up (hence my review score), but maybe good to be clear about intent in cases like this.10:36
Zarayeah, sorry, should have mentioned that in review.10:37
Zara*I should have mentioned htat10:37
Zarain case it looked like I was telling you off xD10:37
Zara*I should have mentioned that10:38
Zaratherrrrre we go10:38
openstackgerritMerged openstack-infra/python-storyboardclient: Note importance of using https url instead of http  https://review.openstack.org/36570410:38
* persia imagines Zara in a special bubble of spacetime, physically displaced at least 60° from it's native timezone10:39
openstackgerritMerged openstack-infra/storyboard-webclient: Complex priorities UI in stories  https://review.openstack.org/31266610:40
Zara:)10:40
pedroalvarezwow, happy monday10:40
ZaraI often write a series of things, while thinking about something else, and then look up later...10:40
openstackgerritMerged openstack-infra/python-storyboardclient: Make dev the default StoryBoard instance  https://review.openstack.org/36623810:42
Zara\o/10:43
Zarapedroalvarez: heh, I was very slow on fri so I did some review at the weekend to make up.10:44
Zaraso normally I'd be testing stuff at this point, or making a new thing10:44
pedroalvarezhah10:44
Zaraalso I totally just wanted to troll persia by doing complex priorities at the end10:45
persiaComplex Priorities has long been one of the most exciting potentials of StoryBoard.  I'm delighted to see it land.  Now comes the exciting part: how will people use it?10:52
ZaraI intend to send out a mail once it's had a little time for us to check for/ fix any last-minute glaring bugs.10:55
Zaraas a general 'this is what this is for, this is why'10:55
persiaMakes sense.  I think the upcoming bugsquash effort will probably expose a few issues and/or uses.11:01
Zarayep. I wondered about sending the mail to explain it beforehand, but based on past experience, it won't be ready to draw mass attention to it.11:02
Zaraso hopefully I can use the bugsquash to refine the explanation11:02
Zaraalso will give a heads-up about layout change...11:03
persiaYep11:16
*** alexismonville has joined #storyboard11:31
Zaradecided to update system config docs before I forgot12:20
Zarahttps://review.openstack.org/#/c/368797/12:20
persiaI would have expected that to be stacked above 36142312:27
ZaraI don't think it depends on it but it's not as useful without it.12:29
persiaI agree it doesn't depend (or it would conflict), but I also think it isn't as useful without it, hence why I would have expected it to be stacked.12:40
*** alexismonville has quit IRC12:58
*** alexismonville has joined #storyboard13:01
Zarahm, I'm not sure there's a way to stack things without it being interpreted as depending. I intend to treat it like it's stacked (ie: prioritize gathering reviews for zaro's first)13:03
pedroalvarezI can't find the UI change for complex priorities13:05
persiaI believe there isn't a way to stack without it being interpreted as depending, indeed.13:06
persiapedroalvarez: http://git.openstack.org/cgit/openstack-infra/storyboard-webclient/commit/?id=c43d2b3d4533218c5ad1b91cf8dab26165bff18613:06
*** alexismonville has quit IRC13:07
persiapedroalvarez: If you mean, you don't see anything, then that's because you aren't subscribed to any worklists for which a task in the story you are examining has been added.13:07
pedroalvarezoh, that could be it13:08
pedroalvarezta da :)13:08
Zara:D13:09
pedroalvareznice13:09
persiaThat's actually one of the things I like best about this implementation: it is hidden by default, to avoid confusing folk, but exposes itself once people start to get interested in worklists.13:09
pedroalvarezHave we ever got to a conclusion about subscribing users to the things they have created automatically?13:10
ZaraI think the status of that is 'we'd like it to be implemented, it's not implemented yet'13:11
pedroalvarezok :)13:12
persiaIn my mind, the ideal implementation is to autosubscribe, so the user can safely unsubscribe later, if anyone is motivated to do that.13:12
pedroalvarezin my mind the implementation included a check box in user settings13:13
Zara(also, re: hidden by default, nice to know all that discussion paid off! :))13:13
* pedroalvarez <- the bikeshedding discussion provider13:13
Zarahm, I'd rather not bother with a checkbox; most of the time if someone makes a story, they'll care about it13:13
Zaraand it adds another config setting that can break13:13
* pedroalvarez nods13:14
Zaraas long as they can unsubscribe, I think it covers all our bases.13:14
persiaAnd if they really want to unsubscribe, there's a UI for that.13:14
persiaIn general, when it comes to preferences, my opinion is that the software should pick the sensible thing every time there is a decision to be made, and provide a UI that lets the user adjust that later, if they like.13:15
pedroalvarezI was just thinking about possible cases where (for example) managers where in charge of creating stories, tasks, worklists13:15
persiaI would accept a later revision that allowed a user to select if they were autosubscribed, but I think a first pass is much simpler.13:15
pedroalvarezyup, I agree13:16
persiapedroalvarez: Those managers would very much want to be subscribed, or they would have no sensible way to monitor the activities of staff.13:16
persiaAt a very high level, I beleive all stories should be created by stakeholders, all worklists by maangers, and all tasks by developers.13:16
persiaBut until I see lots of usage of a multidimensional priority issue tracker in the wild, I remain a bit uncertain.13:17
*** openstackgerrit has quit IRC13:19
*** openstackgerrit has joined #storyboard13:19
persiaThe explanation being that the stakeholders know what they want, so they are the only people qualified to document what should happen.  The developers understand how the software works, so they are the only ones qualified to document how to achieve the goal, and the managers have staff that can be allocated to work on things, so they are the only ones that can sensibly set priorities.13:19
persia(some people may fit into more than one of these categories, of course)13:20
Zarayeah, plus priority of stories sounds more managerial, but priority of tasks can depend on technical considerations.13:24
Zaraso in that case, a manager's signing off on priority rather than coming up with it.13:25
Zaraand stories-as-bugs is where folks other than stakeholders may want to make a note (since it's normal to stumble across bugs while developing that you might want to note for later, to help someone out when they come to try to fix them, but which aren't relevant to the task you're currently working on)13:26
Zaratracker-as-documentation vs tracker-as-todo-list, I guess.13:27
persiaIf you use something enough to find a bug, you're a stakeholder13:28
Zarafair enough13:28
persiaAnd if you care about the order of things being done and how resources are assigned, you're a manager13:28
persia(people can wear many hats)13:28
persiaI apologise if I wasn't clear enough in my original statement that I expected most people to have multiple roles.13:28
Zarawell on the latter point we disagree; I figure you're a manager if you have the power to affect the order of things being done and how resources are assigned.13:29
persiaI like to believe in a world where developers are given enough autonomy to avoid performing tasks in the incorrect order.13:30
persiaBut, as with many of my delusions, it may be that reality disappoints.13:30
Zaraby latter point I mean 'if you care about...'13:30
Zarasince I think there's a distinction between caring about it and having power to change it13:30
persiaAh, I see what you mean.  Yes, I accept your semantics.13:31
Zara\o/13:31
persiaActually, your semantics should be applied to all three roles.13:31
persiaSomeone is a stakeholder because they have the power to assert that a feature exist, or describe a behaviour, not just because they find something they don't like.13:31
persiaFor some projects, anyone on the planet may submit a story, but this doesn't mean they will do so.13:32
persiaand those that don't aren't stakeholders, regardless of how much they care about the colour of that widget in the lower left.13:32
Zarayup13:32
persiaIt's my rose-coloured glasses getting in the way again: I forget about the potential for people to have opinoins and not be able to exercise them.13:33
ZaraI can see arguments over details but I agree with the general principle.13:33
Zaraeven if it's not as strict as 'stakeholder or not', could be: 'stakeholder potentially worth paying attention to or not'13:34
Zaraetc etc13:34
persiaWe'll have to see how people use things and what they do, and then maybe we'll be qualified to have opinions :)13:34
Zara:P13:35
persiaYep, and the set of stakeholders worth attending may vary by manager, etc.13:35
*** alexismonville has joined #storyboard14:10
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Allow permissions to be set for teams on stories  https://review.openstack.org/36891715:20
Zarayay15:21
Zaragetting a 500 with the stories list page15:59
Zarahttp://paste.openstack.org/show/572370/16:01
Zara(with that patch, not just in general)16:01
Zaraonly seems to happen on stories list so far16:30
Zarawell, lists pages, just not detail pages16:31
Zaraso same thing happens with projects and project groups16:31
Zaraalso it just took me about 3 years to type 'groups' with all the letters in the right order16:31
ZaraI wish this error were more informative.16:38
persiaAttributeError usually means trying to select something that doesn't exist.  I suspect the change to models.py: do you get a different error if you revert only that line of change?16:44
Zarait looks like it's trying to get id when there's only stories_id, but not sure yet16:48
persiaLine 320 of models.py suggests stories.id is a thing.16:51
persiaunless I am misunderstanding more than usual16:51
ZaraI don't know much yet.16:55
Zarathis is the code that's running to display the error:     def __getattr__(self, key):16:55
Zara        try:16:55
Zara            return self._data[key]16:55
Zara        except KeyError:16:55
Zaraso I just tried printing out some of the things there16:55
Zara            raise AttributeError(key)16:55
SotKI don't think I changed anything to break project lists o.O16:56
Zaraand it said self._data = {'stories_id': Column('stories_id', Integer(), table=<filtered_stories>, primary_key=True, nullable=False)}16:56
Zaraah, not project lists, but lists of stories in projects16:56
SotKaha16:56
Zaraso the project list will work but not the story list items in a project16:56
Zaraso yeah, for the above, the key is just 'id'16:56
Zaraand I figure there's no key there called 'id'16:56
* SotK will investigate when he is no longer mobile16:56
Zaraheh16:57
SotKthere should always be an id, very weird16:57
Zara(if I print `self, key` I get ['filtered_stories.stories_id'] id )16:58
persiaI wonder if this error exists anytime there are no visible stories in a project.17:00
persia(because the subquery would have no results, etc.)17:00
Zaraugh, been staring at this blankly for a while17:32
ZaraI thiiink it's when it tries to get task statuses (since it calls getattr there, with the story summary) mayyyybe it wants tasks to have a team id17:42
Zarazzz, I'm not making any progress on it, anyway, so heading off. 'night!17:44
SotKits caused by the fact that I return a union of two queries instead of just one from filter_private_stories18:53
SotKI think that causes the subquery to be returned with column titles prefixed by "$tablename_"18:55
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Allow permissions to be set for teams on stories  https://review.openstack.org/36891718:55
Zara\o/ will take a look tomorrow19:14
*** alexismonville has quit IRC21:25
*** zigo has quit IRC22:08
*** zigo has joined #storyboard22:11
*** zigo is now known as Guest4138822:11
*** Guest41388 is now known as zigo_22:17
*** openstackgerrit has quit IRC22:48
*** openstackgerrit has joined #storyboard22:49

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