-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Don't Depend on GNU Date #4357
Copy link
Copy link
Open
Labels
bugSomething isn't working correctlySomething isn't working correctlygood first issuehacktoberfestIssues to be completed during Hacktoberfest. Curated list of good first issue tags.Issues to be completed during Hacktoberfest. Curated list of good first issue tags.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working correctlySomething isn't working correctlygood first issuehacktoberfestIssues to be completed during Hacktoberfest. Curated list of good first issue tags.Issues to be completed during Hacktoberfest. Curated list of good first issue tags.
Type
Fields
Give feedbackNo fields configured for issues without a type.
#4347 added support for
cloud-init analyze dumpon FreeBSD, which might not have GNU Date installed. This raises the point that shelling out once per line isn't efficient, and this is something that we should be able to do in Python code. This will improve portability as well.The codepath that uses
dateisn't actually taken on Ubuntu. If possible it might be best to transitionally log a warning anytime parse_timestamp_from_date() is called to gather the date format so that we can implement this in Python.