[packaging] Implement SCM-based versioning via `setuptools-scm`
オープン
まだ誰も着手していません。
packaging
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 408
- 平均マージ
- 2日 57分
- マージ済み PR(30日)
- 7
説明
Hi, have you considered using setuptools-scm plugin?
It'd automagically replace git ls-files logic in setup.py and it can also add a single source of truth for storing dist version.
With it, you'd use Git tags and wouldn't have to manually hardcode the version in two places https://github.com/libgit2/pygit2/blob/master/pygit2/_build.py#L40 / https://github.com/libgit2/pygit2/blob/master/.travis.sh#L5.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず setup.py、pygit2/_build.py、.travis.sh を読み、現在の git ls-files とバージョンの扱いを setuptools-scm のドキュメントに記載された統合方法と比較します。Packaging workflow が重複したハードコードのバージョンを使わずに Git ベースのバージョン管理を使用し、期待される distribution の内容を引き続き生成できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, python
- 領域
- build-system, release
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100