Closed
Bug 1101596
Opened 10 years ago
Closed 9 years ago
Ship-it should store also the shipped date
Categories
(Release Engineering :: Applications: Shipit, defect)
Release Engineering
Applications: Shipit
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(2 files)
1.57 KB,
patch
|
Details | Diff | Splinter Review | |
42 bytes,
text/x-github-pull-request
|
Details | Review |
We are storing the "submittedAt" date but we don't store the date the build has been pushed live (status=postrelease)
We are going to need this information if we want to replace product details by ship-it.
Assignee | ||
Comment 1•10 years ago
|
||
John, it would be nice to update this field once a build status is updated to "postrelease"
Attachment #8525362 -
Flags: review?(bhearsum)
Comment 2•10 years ago
|
||
Comment on attachment 8525362 [details] [diff] [review]
0001-Bug-1101596-Ship-it-should-store-also-the-shipped-da.patch
Review of attachment 8525362 [details] [diff] [review]:
-----------------------------------------------------------------
Is this just part 1 of a series of patches? It obviously doesn't do anything to get shippedAt set when we actually ship a release. Maybe you're taking care of that in another bug?
::: migrate_repo/versions/008_Add_shipped_at.py
@@ +10,5 @@
> +def upgrade(migrate_engine):
> + metadata = MetaData(bind=migrate_engine)
> +
> + def add_shippedAt(table):
> + shippedAt = Column('shippedAt', DateTime(pytz.utc), default=datetime.utcnow)
This default seems fine, but what's the plan for adjusting the shippedAt column for all the old releases? If we had a csv or something with the correct dates, we could probably adjust them as part of the upgrade, or do a one-off afterwards.
Comment 3•10 years ago
|
||
Comment on attachment 8525362 [details] [diff] [review]
0001-Bug-1101596-Ship-it-should-store-also-the-shipped-da.patch
Review of attachment 8525362 [details] [diff] [review]:
-----------------------------------------------------------------
Removing review for now, see comment #2
Attachment #8525362 -
Flags: review?(bhearsum)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → sledru
Assignee | ||
Updated•10 years ago
|
Component: Release Automation → Ship It
Comment 4•10 years ago
|
||
Mass component change for ship it bugs.
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Ben Hearsum [:bhearsum] from comment #2)
> This default seems fine, but what's the plan for adjusting the shippedAt
> column for all the old releases? If we had a csv or something with the
> correct dates, we could probably adjust them as part of the upgrade, or do a
> one-off afterwards.
I can take care of that. Would you be OK if I provide a series of (my)SQL queries for this?
Thanks
Flags: needinfo?(bhearsum)
Comment 6•10 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #5)
> (In reply to Ben Hearsum [:bhearsum] from comment #2)
> > This default seems fine, but what's the plan for adjusting the shippedAt
> > column for all the old releases? If we had a csv or something with the
> > correct dates, we could probably adjust them as part of the upgrade, or do a
> > one-off afterwards.
> I can take care of that. Would you be OK if I provide a series of (my)SQL
> queries for this?
> Thanks
Yeah, that should be fine.
Flags: needinfo?(bhearsum)
Assignee | ||
Comment 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
Implemented and deployed.
Status: NEW → RESOLVED
Closed: 9 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
•