Development Guide

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

メンテナーはふだん 3 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go

調査の方向性

リポジトリの Makefile から始め、make build を再現して、文書化されているローカル開発の前提条件を理解します。schema.ErrGracefulAbort と dqlite binding のエラーをビルド設定の指針として使用します。書面による開発ガイドで必要な環境が説明され、コントリビューターが MicroCloud をローカルでビルドできるようになれば完了です。

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

説明

Documentation

Hi Canonical community,

I try to understand the codebase and try to build the microcloud for local development purpose. Unfortunately, I didn't found any development guide, so I try to explore around. I found there is a makefile, so i guess I will start from there, when I try to make build, it show it unable to find schema.ErrGracefulAbort. I believe ErrGracefulAbort is no longer found in repo https://github.com/canonical/lxd

../../go/pkg/mod/github.com/canonical/microcluster/[email protected]/internal/db/update/schema.go:154:35: undefined: schema.ErrGracefulAbort
../../go/pkg/mod/github.com/canonical/microcluster/[email protected]/internal/db/update/schema.go:158:21: undefined: schema.ErrGracefulAbort
../../go/pkg/mod/github.com/canonical/microcluster/[email protected]/internal/db/update/schema.go:180:26: undefined: schema.ErrGracefulAbort

And I realize it need some dependency in the environment as well to build which i not configure correctly which result in

../../go/pkg/mod/github.com/canonical/go-dqlite/[email protected]/internal/bindings/server.go:265:11: could not determine what C.dqlite_node_describe_last_entry refers to
../../go/pkg/mod/github.com/canonical/go-dqlite/[email protected]/internal/bindings/server.go:190:11: could not determine what C.dqlite_node_enable_disk_mode refers to

If there is any written guidance I can refer to or the community has any recommendation for me to start contribute.

主要言語
Go
スター
552
フォーク
96
平均マージ
4日 10時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

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

canonical/microcloud のほかの issue

canonical/microcloud の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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