Closed
Bug 1234832
Opened 9 years ago
Closed 8 years ago
Introduce a new page to be able to edit a release
Categories
(Release Engineering :: Applications: Shipit, enhancement)
Release Engineering
Applications: Shipit
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Sylvestre, Assigned: asilva, Mentored)
References
Details
(Whiteboard: [good first bug][lang=Python and Javascript])
Attachments
(1 file)
83.46 KB,
image/png
|
Details |
As ship-it is becoming the source of truth for release, the need to edit a release is going to be more and more important. For now, from the list of releases, it is possible to edit: * the description * if it was a "sec driven" release or not But it is not possible to change the shipped date. Instead of expending the list of release (already crowded), we should have a dedicated page to edit the info. On this page, we should be able to edit: * the status of the release (Post Release or not) - select between the various values * the description - textarea * sec driven release - checkbox * shipped date - a input with a date selection (we might need to enter the hour too)
Reporter | ||
Comment 1•9 years ago
|
||
Allan, would you be interested by this feature?
Mentor: sledru
Flags: needinfo?(allan.tavares)
Whiteboard: [good first bug][lang=Python and Javascript]
Assignee | ||
Comment 2•9 years ago
|
||
Sure, but I need wait 15 days to start. My bed droped on my notebook. DELL says that are 15 days to fix the monitor.
Flags: needinfo?(allan.tavares)
Comment 3•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #0) > As ship-it is becoming the source of truth for release, the need to edit a > release is going to be more and more important. > > For now, from the list of releases, it is possible to edit: > * the description > * if it was a "sec driven" release or not > > But it is not possible to change the shipped date. > > Instead of expending the list of release (already crowded), we should have a > dedicated page to edit the info. > > On this page, we should be able to edit: > * the status of the release (Post Release or not) - select between the > various values > * the description - textarea > * sec driven release - checkbox > * shipped date - a input with a date selection (we might need to enter the > hour too) Can I work on this?
Assignee | ||
Comment 4•9 years ago
|
||
Hi Wasif, You are currently working on this new page?
Flags: needinfo?(wasif_hyder)
Comment 5•9 years ago
|
||
(In reply to Allan [ex-dev] from comment #4) > Hi Wasif, > You are currently working on this new page? Hi Allan, I never heard back about the bug, so I can't say that I am.
Flags: needinfo?(wasif_hyder)
Assignee | ||
Comment 6•9 years ago
|
||
If you are iterested yet, I think you can create the page and make a PR when finish.
Assignee | ||
Comment 7•9 years ago
|
||
Hi, Sylvestre, I am making some adjustments and soon I will make a pull request. Do you need any change in this page? A new table will be created to fill status list?
Flags: needinfo?(sledru)
Reporter | ||
Comment 8•9 years ago
|
||
> Hi, Sylvestre, I am making some adjustments and soon I will make a pull > request. > Do you need any change in this page? This is great, congrat! Just a comment, are you providing an helper to do date selection? > > A new table will be created to fill status list? I don't think this is needed. I think that the release_events is where the information is coming from. :rail or :bhearsum can explain in case of question.
Flags: needinfo?(sledru)
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → allan.tavares
Assignee | ||
Comment 10•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #8) > > Hi, Sylvestre, I am making some adjustments and soon I will make a pull > > request. > > Do you need any change in this page? > This is great, congrat! > Just a comment, are you providing an helper to do date selection? > You mean an helper like Jquery Datepicker? -Not yet, but I can add. > > > > A new table will be created to fill status list? > I don't think this is needed. I think that the release_events is where the > information is coming from. > :rail or :bhearsum can explain in case of question.
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to Allan [ex-dev] from comment #10) > (In reply to Sylvestre Ledru [:sylvestre] from comment #8) > > > Hi, Sylvestre, I am making some adjustments and soon I will make a pull > > > request. > > > Do you need any change in this page? > > This is great, congrat! > > Just a comment, are you providing an helper to do date selection? You mean an helper like Jquery Datepicker? -Not yet, but I can add. > > > A new table will be created to fill status list? > > I don't think this is needed. I think that the release_events is where the > > information is coming from. > > :rail or :bhearsum can explain in case of question.
Reporter | ||
Comment 12•9 years ago
|
||
(In reply to Allan [ex-dev] from comment #11) > You mean an helper like Jquery Datepicker? -Not yet, but I can add. Yes, if it is not too complex. This simplifies the selection of dates
Reporter | ||
Comment 13•9 years ago
|
||
Allan, could you push your changes? Thanks :)
Flags: needinfo?(allan.tavares)
Assignee | ||
Comment 14•9 years ago
|
||
Soon I will push the changes, I need to recovery files from my backup.
Flags: needinfo?(allan.tavares)
Assignee | ||
Comment 15•9 years ago
|
||
Hi, I need to make some validation in this form? E.g.: release eligible to edit (when form loads), non-blank fields etc
Flags: needinfo?(sledru)
Reporter | ||
Comment 16•9 years ago
|
||
That the date exists (and not in the future), description can be empty. Besides that, if you have specific questions, don't hesitate to ask.
Flags: needinfo?(sledru)
Assignee | ||
Comment 17•8 years ago
|
||
Hi Rail, Sylvestre! I was working yesterday in this new page, but I don't found a way to change release status that makes sense. My current understanding is: The release status is determined by release events through ship-it notifier, due to this, is not possible change the release status. But, the (Firefox|Fennec|Thunderbird)Release tables has a status field, actually I update this field, but it seems not correct. I think that for other fields, all is OK. How I should handle the status list for now?
Flags: needinfo?(sledru)
Reporter | ||
Comment 18•8 years ago
|
||
Don't bother about the status, the rest will be fine for a v1 :) Thanks
Flags: needinfo?(sledru)
Assignee | ||
Comment 19•8 years ago
|
||
Hi, new PR for this bug: https://github.com/mozilla/ship-it/pull/52
Reporter | ||
Comment 20•8 years ago
|
||
This has been merged. Hopefully, this will be deployed soon. Allan, could you report a new bug to manage the status? (so that we don't forget)
Assignee | ||
Comment 21•8 years ago
|
||
Hi, Where is the "ship-it notifier" source code? __ Sylvestre, I didn't report a new bug yet, because I am not sure if is possible to change the release status. I am analyzing this case.
Flags: needinfo?(sledru)
Flags: needinfo?(rail)
Comment 22•8 years ago
|
||
http://hg.mozilla.org/build/tools/file/tip/buildfarm/release/shipit-notifier.py
Flags: needinfo?(rail)
Reporter | ||
Comment 23•8 years ago
|
||
I don't think you need ship-it notifier to fix the blocking issue for the deployment?
Flags: needinfo?(sledru)
Assignee | ||
Comment 24•8 years ago
|
||
Indeed not, I asked by "ship-it notifier" source code to better understand the ship-it workflow and to analyze the possibility to change release status.
Assignee | ||
Comment 25•8 years ago
|
||
A new PR (#55) was made to edit a release. The new changes are considering the "Shipped!/Not Shipped!" button logic to prevent break them. If the release is marked as shipped, the shipped date is required. Non shipped release allow to edit the description and the security driven field. I thought to enable edit the "shipped releases" only, but I wasn't sure. https://github.com/mozilla/ship-it/pull/55
Assignee | ||
Comment 26•8 years ago
|
||
(In reply to Allan [:ex-dev] from comment #25) > A new PR (#55) was made to edit a release. The new changes are considering > the "Shipped!/Not Shipped!" button logic to prevent break them. > > If the release is marked as shipped, the shipped date is required. > Non shipped release allow to edit the description and the security driven > field. > > I thought to enable edit the "shipped releases" only, but I wasn't sure. > > > https://github.com/mozilla/ship-it/pull/55 Consider PR #56 https://github.com/mozilla/ship-it/pull/56
Reporter | ||
Comment 27•8 years ago
|
||
This is now fixed and deployed, thanks allan!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Component: Applications: ShipIt (backend) → Applications: ShipIt
You need to log in
before you can comment on or make changes to this bug.
Description
•