Closed Bug 1359468 Opened 6 years ago Closed 6 years ago

In task-creator, adjust *all* timestamps relative to created

Categories

(Taskcluster :: UI, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: hassan)

Details

The "update timestamps" button should:

* subtract task.created from the current time
* add that value to everything that looks like a JSON timestamp in the task definition
Commit pushed to master at https://github.com/taskcluster/taskcluster-tools

https://github.com/taskcluster/taskcluster-tools/commit/b74c62a62e50546c9be8ae4ce55915d647a06c2c
Bug 1359468: update task timestamps relative to created time (#213)

This should catch all timestamps in a task definition, and will keep
them constant relative to the created time.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
This seems to have been reverted, perhaps in the Great Tools Rewrite..
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
STR: open task creator, adjust deadline to a year after the created date, click "update timestamps", see that it goes back to one hour after created.
Commit pushed to master at https://github.com/taskcluster/taskcluster-tools

https://github.com/taskcluster/taskcluster-tools/commit/e858f454e1ec841a5c003a73ced58a828a169273
Merge pull request #254 from helfi92/adjust-timestamps

Bug 1359468 - Adjust all timestamps relative to created
:dmose, can you verify this fixed things for you?  Such a little bug, so frustrating.
Flags: needinfo?(dmose)
Assignee: dustin → helfi92
So when I do "Actions"->"Edit Task" now I don't get any created or deadline field copied in, could that have been this bug breaking?

Once I enter a created/deadline field manually then the "update timestamps" seems to work fine.
Flags: needinfo?(helfi92)
Flags: needinfo?(dustin)
https://github.com/taskcluster/taskcluster-tools/pull/256 should fix that
Flags: needinfo?(helfi92)
Flags: needinfo?(dustin)
Flags: needinfo?(bugspam.Callek)
confirmed (these keys are in a different place than I remember them, but the key order doesn't matter and arguably makes more sense where they are, so \o/ )
Flags: needinfo?(bugspam.Callek)
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Flags: needinfo?(dmose)
Component: Tools → UI and Tools
You need to log in before you can comment on or make changes to this bug.