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

Build the dbkit/sqlite options tests on 32-bit systems

オープン 初心者向け
#98 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
testing

調査の方向性

dbkit/sqlite/options_test.goを見つけ、「a cache size past 32 bits.」というラベルの拒否行を調べてください。テストがstrconv.IntSizeをどのように扱っているか確認し、32ビットのターゲットとネイティブターゲットでdbkit/sqliteのテストを実行してください。32ビットシステムでテストファイルがコンパイルされ、vetが実行される一方、その行が64ビットシステムでは引き続き実行されれば完了です。

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

説明

bug help wanted

go vet with GOOS=linux and GOARCH=386 or GOARCH=arm stops in the dbkit/sqlite options tests.

Current state: the refusal row 'a cache size past 32 bits' in options_test.go sets CacheSize, an int, to math.MaxInt32 + 1. On a 32-bit system that number does not fit in an int, so the test file does not compile there and vet reports nothing else for the package.

Proposal: add that row only where an int is 64 bits wide (strconv.IntSize == 64), so the file compiles on 32-bit systems and the row still runs on 64-bit ones.

Trigger: someone runs the tests or vet of dbkit/sqlite for a 32-bit target.

主要言語
Go
スター
69
フォーク
3
平均マージ
9時間 11分
マージ済み PR(30日)
38

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

gopherium/framework のほかの issue

gopherium/framework の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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