Order of processing of PEP

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
database

調査の方向性

まず、PEPs がどのように読み込まれ、処理され、データベースに保存されるかを追跡します。保存前に処理する場合とリクエスト時に処理する場合を比較し、modifiers と path expansion の提案されたハイブリッドも含めます。環境変数によるレンダリングの変更を考慮した処理設計について合意できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

brainstorming

When a PEP is put in the database, when is it processed? I can see two possibilities:

  1. A PEP is loaded, processed, and the processed PEP is put into the database.
  2. A PEP is loaded but not processed, the unprocessed PEP is put into the database.

The advantage of 1 is that the processing only happens once, so it reduces compute time. With 2, you'd have to reprocess it every time the PEP is requested.

However, if we want to allow the user to tweak the rendering of the PEP, for example, by changing env vars (https://github.com/pepkit/pephub/issues/3), this will only be possible with option 2.

Hybrid?

Is it possible to split the idea of "processing" into two stages: 1. the sample_modifiers and project_modifiers are done before entry into the database, and then 2. path expansion is done on-the-fly ?

主要言語
Python
スター
2
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

pepkit/pepdbagent のほかの issue

pepkit/pepdbagent の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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