Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support for bootstrap/hook scripts

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

まず、bootstrap コマンドと checkout コマンドの CLI エントリポイントを特定し、既存のステップをどのように実行しているかを確認します。カスタムスクリプトとその .gitignore での扱いを含め、hook のデフォルトの配置場所と命名動作を定義します。関連するコマンドでサポート対象の hook が実行され、プロジェクト固有のコマンドがハードコードされていなければ完了です。

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

説明

feature triaged

When developers use graylog-project bootstrap to clone all repositories the next step is to run yarn install and an initial mvn compile. These steps are required to run the web server and graylog server development processes from the IDE.

To avoid hardcoding these commands in the CLI, the CLI should check for hook scripts in a default location. (e.g. hooks/) A good default might be to check for a script that is named after the CLI command that is executed.

Examples:

  • graylog-project bootstrap: Check and execute hooks/bootstrap.sh if it exists
  • graylog-project checkout: Check and execute hooks/checkout.sh if it exists

In addition to that, the CLI could also check for <command-name>_custom.sh files where developers can add some custom commands. (these files should be in .gitignore)

主要言語
Go
スター
24
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

Graylog2/graylog-project-cli のほかの issue

Graylog2/graylog-project-cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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