問題タブ [dulwich]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - Python Dulwich でタグを追加/リモートにタグをプッシュ
git と対話するための純粋な Python インターフェイスを提供するDulwichプロジェクトが気に入っています。
かなり低レベルに見えますが...簡単なタスクを実行する方法に関するリファレンスが見つかりませんでした。
私のニーズは非常に単純です。以下の git CLI コマンドと同じものを提供してください。
git push --tags --force
git tag --force
git show-ref --tags
(タグとそれが指すコミットとの間のマッピングを提供します)
更新: アイテム #3 はここで回答されているようです:
How to get a list of tags and create new tags with python and dulwich in git? (Dulwich の作成者 Jelmer による)