codrsquad / codrsquad/portable-python

provide post-build hook capability prior to creating .tar.gz

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

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

enhancement good first issue
主要言語
Python
スター
86
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

説明

There are several cases I can imagine for this. In my case, I have a very common one.

We have the well-known issue where the bundled urllib leverages the bundled openssl which comes with no certificate file, and thus cannot verify any certificates out of the box.

With a post-build hook, we could export a cacert.pem file from the system or from another location and bundle it with the .tar.gz. That would also require us patching some source somewhere to instruct the bundled openssl to use it. There are a few options for that part.

Obviously, we can un-tar, modify, and re-tar, but I don't want to do that.

Another common case I can imagine would be to do pip install of some extra packages prior to bundling (I'm not sure if that can actually work or not, but I believe so.).

Alternatively, if you'd prefer to provide some first-class mechanism for solving the "lack of a bundled cacert" problem, that would help us with the immediate issue so that would be great as well.

Anyway, feedback welcome.

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

この issue では、ファイル、テスト、ビルドのエントリーポイントが指定されていません。まず、.tar.gz を作成するビルド手順を特定し、バンドルされたファイルとパッケージがどのように組み立てられているかを確認してください。完了の条件は、アーカイブ化の前にバンドルを変更できる、文書化された post-build 段階があり、cacert.pem のようなファイルを追加するためのテスト済みの経路があることです。

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

評価

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

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

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