Legacy to versions

オープン
#175 コメント 2 件 リアクション 0 件 担当者 2 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@felixhekhorn がすでに取り組んでいます。

2022年12月8日 から。

評価

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

説明

output refactor

At the moment, since we are transitioning, there are a lot of legacy objects:

  • legacy runner
  • legacy runcards
  • legacy output

About the output, there is already an issue discussing the opportunity of versioning it #106
But we need to version all the input and output we use, while the runner is a different story.

So, we need to act in two different ways.
For the IO, we will declare a candidate v1 to the current format, for both inputs (runcards) and output (operator). What is now called legacy will be instead the v0, and all the code dealing with legacy IO will be moved to eko.io.v0.
The only supported actions will be loading and upgrading to v1 format. Everything else will be dropped.
If in future we will come to a v2 version, we will create a eko.io.v1 package, with loaders and upgraders to v2.

The only thing we need to decide is if versioning the input and output together (a single __data_version__, as it is at the moment), or using two separate version numbers.
Only integer versions will be supported, since any compatible change does not require a new version.

About the runner, we will simply reimplement the current one with new elements, and find a better name than legacy (this is already discussed in #138).

主要言語
Python
スター
13
フォーク
9
平均マージ
6日 16時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NNPDF/eko のほかの issue

NNPDF/eko の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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