Enchan1207 / blueprintpy

汎用パッケージコンフィグCLIジェネレータ

Home Page:https://enchan1207.github.io/blueprintpy/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

バージョニングを抑制したい

Enchan1207 opened this issue · comments

単純にワークフローを修正しただけ、とか
READMEを変えただけ、とかでバージョン上がるのは納得いかん

人間の欲望は尽きない…

git diff HEAD^..v2.0.6 --name-only | sed -rn "s/^.*\.(py|rst|cfg)$/\0/p" | tee >(cat) | wc -l | sed -r 's/^ *([0-9]+)/\1 files changed./'
doc_sources/blueprintpy.cli.args_handler.resolver.rst
doc_sources/blueprintpy.cli.args_handler.rst
doc_sources/blueprintpy.cli.rst
doc_sources/blueprintpy.core.rst
doc_sources/conf.py
doc_sources/easy_usage.rst
doc_sources/index.rst
doc_sources/package_reference.rst
doc_sources/template_construction.rst
doc_sources/template_invocation.rst
doc_sources/use_custom_template.rst
src/blueprintpy/cli/__init__.py
src/blueprintpy/cli/cli.py
src/blueprintpy/core/__init__.py
14 files changed.

ははははwwwwシェルスクリプトくんなんでもありだなwwww

内部テンプレートの編集も十分バージョンアップの要因たり得るので、

  • src/で始まるパス (ソース、テンプレート)
  • *.cfg (パッケージ情報、CLI構成)

をフィルタの対象にするか.

ドキュメントも考えたけど、わざわざあそこを触る必要が出る変更はそもそもソースの修正を伴うはずなので却下です.

エラー処理のガバも直しておきました

compare_resultneeds_updateに修正.
これで完全に新しいバージョンでない限り処理は無視されるようになったはず.

Actionsのpathsでこの辺指定できるっぽいんで、それに乗り換えた方がいいのではと
(ymlで管理できるならその方がよい)

これだけで済むならこっちのが楽ね.

おお マジで素通りした すげえ