You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yj...@apache.org on 2020/12/05 04:17:43 UTC

[incubator-superset] branch manage-github-workflow updated (d4e3b22 -> 46f2710)

This is an automated email from the ASF dual-hosted git repository.

yjc pushed a change to branch manage-github-workflow
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


 discard d4e3b22  format datetime
     new 46f2710  format datetime

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d4e3b22)
            \
             N -- N -- N   refs/heads/manage-github-workflow (46f2710)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 scripts/cancel_github_workflows.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


[incubator-superset] 01/01: format datetime

Posted by yj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yjc pushed a commit to branch manage-github-workflow
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 46f27101dec9412952ff8d7f3a6f1a50de6da769
Author: Jesse Yang <je...@airbnb.com>
AuthorDate: Fri Dec 4 20:08:31 2020 -0800

    format datetime
---
 scripts/cancel_github_workflows.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/cancel_github_workflows.py b/scripts/cancel_github_workflows.py
index 5028728..8539f37 100755
--- a/scripts/cancel_github_workflows.py
+++ b/scripts/cancel_github_workflows.py
@@ -3,6 +3,7 @@
 Manually GitHub workflow runs
 """
 import os
+from dateutil import parser
 from typing import Iterable, List, Optional, Union
 
 import click
@@ -62,7 +63,7 @@ def print_commit(commit):
         f"""
 HEAD {commit["id"]}
 Author: {commit["author"]["name"]} <{commit["author"]["email"]}>
-Date:   {commit["timestamp"]}
+Date:   {parser.parse(commit["timestamp"]).astimezone(tz=None).strftime("%a, %d %b %Y %H:%M:%S")}
 
     {indented_message}
 """