aboutcode-org / aboutcode-org/scancode.io

Migrate release_date to DateTimeField for consistency with PurlDB model and incoming data

オープン
#1,335 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
215
フォーク
203
平均マージ
4日 8時間
マージ済み PR(30日)
6

説明

In ScanCode.io and DejaCode the `Package.release_date`fields are defined as `DateField`.
This is not the case for PurlDB, where it is defined as a `DateTimeField`.

The data returned by the PurlDB API under the `"release_date": "2017-11-01T00:00:00Z"` format cannot be set on the ScanCode.io model as-is, it needs to be converted, and it's a source of issues.

We should migrate to a `DateTimeField` for model consistency across the apps.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。