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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(2 files)

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.
John, it would be nice to update this field once a build status is updated to "postrelease"
Attachment #8525362 - Flags: review?(bhearsum)
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 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: nobody → sledru
Component: Release Automation → Ship It
Mass component change for ship it bugs.
(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)
(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)
Depends on: 1149978
No longer depends on: 1149978
Implemented and deployed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: Applications: ShipIt (backend) → Applications: ShipIt
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: