Can you pls make troubleshooting easier?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
まず langkit/utils/colors.py、README のビルド手順、manage.py のエントリポイント、lkt/check_bootstrap.py を読みます。チェックリストを、それぞれ独立したスコープを持つ改善項目に分け、その後、ビルド出力、verbose モードの制御、色の扱い、エラー報告、命名、文書化されたビルド手順について完了条件を定義します。
索引モデルが issue の本文から書いたものです。
説明
I find the build process complicated and hard to debug, a couple of suggestions:
- can you consider improving the names, liblktlang, liblktlang_support, langkit_support, ... way too many "l"s "k"s and "lang"s.
- the python build process obscures things - it says for example it generates files and does not say where
- there is no obvious way to simply enable
gprbuildandgprinstallverbose modes - changing python is needed - https://no-color.org/ has nice suggestion - you could check for the
NO_COLORenvironment variable (or maybe alsoCI) in the langkit.utils.colors - a mishmash of Python mixed into Ada code is not nice (and probably a horror for packaging). Until we have a first class support for Python in gprbuild maybe it could be separated somehow...
- this looks scary - can this be surpressed? `
Subcommand failed: error while running /usr/local/bin/python3.11 /usr/home/saper/src/ada/langkit/lkt/check_bootstrap.py -q:
Command '['/usr/local/bin/python3.11', '/usr/home/saper/src/ada/langkit/lkt/check_bootstrap.py', '-q']' returned non-zero exit status 1.
- The steps of the process are confusing the README says
Build the Liblktlang support library:
$ python manage.py make --no-mypy --library-types=static,static-pic,relocatable
But this seems to build more than just that library.
Do I get it right that logical steps of the build process are:
python3 manage.py build-langkit-support(all library types if needed)python3 manage.py install-langkit-support(all library types if needed)python3 manage.py bootstrap- this builds relocatable library only inlkt/bootstrap/lib/relocatable/dev/liblktlang.so- some code generation
- ...
- 主要言語
- Ada
- スター
- 94
- フォーク
- 34
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AdaCore/langkit のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
AdaCore/langkit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bazel-contrib/rules_go#4726 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
HL7/fhir-ig-publisher#1375 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#122386 · コメント 1 件 ·