Conversation
|
Here's my point of view:
This is a bit vague. Most of the comments outlive the actual code and most of the times are redundant. I think only the public facing API should have proper documentation. The rest can be easily done with meaningful methods and descriptive tests. I would also consider something about code readability and overall quality (which should be a subject of code review as well as automated code analysis). At the end of the day it's done when it's shipped. All of the bullet points in this document are simply prerequisites :) Ah, and thanks for reminding me of this thought provoking blog :) http://blogs.agilefaqs.com/2015/01/26/done-with-definition-of-done-or-definition-of-done-considered-harmful/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion - Change this:
"The code is properly documented with source code comments"
To this:
"The code (including test code) is properly documented with source code comments"
Small point - "criteria" is already plural.
Suggestion - for the ambient requirements, add these:
- Any additions or changes to code do not introduce functional, perofrmance/throughput, or security regressions."
|
[copying comment from old PR] To kickoff the discussion, one of the suggestions is that UX implementation is not part of the DoD. That makes sense where UX is not available yet but we are ready to implement the functional reqs. In such a case, a later story would add the UX design. Sounds like a practical thing to do. The problem with the approach is, that at the time of the story estimation and acceptance at the start of the sprint, it might not be clear if the UX is available or not. This is a problem for the estimation and popped up yesterday already. In some cases we don't know if we can implement the UX in the current sprint or not. My suggestion for this situation would be:
The real change here would be, that we now state explicitly on every story if UX implementation is required. That would prevent confusion and would make estimation more reliable |
|
[copying comment from old PR, comment by @Mgranfie] @michaelkleinhenz Not sure if I am following. UX marks our stories in GIT, "Ready for Dev" and notify Joshua and or the active dev. This would signal that the story is ready to go and that the UX Design is done. The links to all the designs and UX stories in JIRA are provided in the GIT story. Anyone can join our JIRA with a RedHat account. It sounds like we have two cases to consider for Dev:
If the issue of when is the UX marked done for the product, after development, there had been some discussion around this being a verification criteria, that dev and UX meets to review the build and works through any outstanding issues to agreement. |
@ldimaggi isn't the test a documentation good enough so that it doesn't need any other comments? |
|
@Mgranfie Reading @michaelkleinhenz proposal it simply matches as we agreed on a week ago based on the mail from UX sent two weeks: "We're(UX) still looking to support your team for the needs you have, but there might be some items that we collectively decide should move forward without having designs for some features". Thats all there is to it really.
We already now see repeated sprints where UX is not fully ready thus we need to handle this situation more pragmatically. Us saying UX is not absolute required part of DoD does not mean we will skip UX - it is just so we do not by default gets blocked when UX details are not 100% ready.
Did we not just agree that the place to share info is on almighty-ux because the jira was too disconnected from the actual development ? Or are you saying that jira will now be driven by the teams userstories instead of UX ones ? |
index.adoc
Outdated
| @@ -18,6 +18,12 @@ We are currently on hipchat (almighty room), with plans on moving to a publicly | |||
|
|
|||
| Mailing list - we have a public mailing list `mailto:almighty-public@redhat.com[almighty-public@redhat.com]`. You may subscribe `https://www.redhat.com/mailman/listinfo/almighty-public[here]`. | |||
|
|
|||
| == Development | |||
|
|
|||
| * link:development/plannings.html[Planning Process]. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit, but its planning not plannings ;)
development/dod.adoc
Outdated
|
|
||
| * Acceptance criterias from the user story are fully implemented and met. | ||
| * Automated tests for the implemented features are in existence, are following the acceptance criterias in full and are running successfully. | ||
| * Code coverage is not decreased by the implementation and the implementation of the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is somewhat automated in core, do we have similar in UI ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have, but this is more of a "please also use it" directive :-)
development/dod.adoc
Outdated
| * Acceptance criterias from the user story are fully implemented and met. | ||
| * Automated tests for the implemented features are in existence, are following the acceptance criterias in full and are running successfully. | ||
| * Code coverage is not decreased by the implementation and the implementation of the tests. | ||
| * The code is properly documented with source code comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is very subjective. Not sure if it can mean anything but a stated intent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the code comments thing is more about that we should be all aware that it makes sense to comment complex code at least to give hints what it is actually doing. Personal experience: I do not generally comment code, but on locations that require complex flows, I casually add code comments to explain what it is supposed to do. That makes debugging/changing a lot easier (even for myself).
That is not something that can be measured or enforced, the goal is simply to make aware that it is helpful to do it. Maybe this needs more explaination.. @bartoszmajsak @ldimaggi
|
@ldimaggi worked in your changes. |
|
Can one of the admins verify this patch? |
|
[test] |
|
@michaelkleinhenz @maxandersen Yes, understandable that when UX is not ready, you may need to move ahead. When we have UX, we need to come up with a DOD for the implementation of UX. |
|
@Mgranfie can you propose something ? |
|
@michaelkleinhenz I noticed this is put in development folder and thus don't show up on the generated site. What was your intention ? |
|
Will change that. |
|
@maxandersen mmh, maybe I don't get something in the build process of devdocs...when I build it using the docker process, the dod as well as the other documents in development/ are compiled and are available linked on the start page. Do they need to be in _blueprints/? |
bef434d
to
17bdada
Compare
|
Ah, you added the links manually on the index.adoc page - I was looking in the blueprints section ;) its rather unfortunate we now have three differents ways of adding content, blueprints, ux folder and now this development one. Anyway, we can clean that up later. btw. you got these two errors: remember to start with |
|
Closing as outdated. |
Added suggestion for a DoD and ambient requirements.