From b83ac6df26b0865fa20b964d960ecbf003c927d5 Mon Sep 17 00:00:00 2001 From: Jason Gustafson <12502538+hachikuji@users.noreply.github.com> Date: Thu, 5 Feb 2026 10:19:47 -0800 Subject: [PATCH 1/3] Add CI and LICENSE/GOVERNANCE from opendata --- .github/ISSUE_TEMPLATE/bug_report.md | 36 +++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 27 ++++++++ .github/PULL_REQUEST_TEMPLATE.md | 19 ++++++ .github/workflows/ci.yml | 78 +++++++++++++++++++++++ GOVERNANCE.md | 43 +++++++++++++ LICENSE | 21 ++++++ 6 files changed, 224 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/ci.yml create mode 100644 GOVERNANCE.md create mode 100644 LICENSE diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..8e2e725 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,36 @@ +--- +name: Bug Report +about: Report a bug to help us improve +title: '' +labels: bug +assignees: '' +--- + +## Description + +A clear description of the bug. + +## Steps to Reproduce + +1. +2. +3. + +## Expected Behavior + +What you expected to happen. + +## Actual Behavior + +What actually happened. + +## Environment + +- OS: +- Java version: +- Rust version: +- OpenData version/commit: + +## Additional Context + +Any other relevant information (logs, screenshots, etc.). diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bdd8ba9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,27 @@ +--- +name: Feature Request +about: Suggest a new feature or improvement +title: '' +labels: enhancement +assignees: '' +--- + +## Summary + +A brief description of the feature. + +## Motivation + +What problem does this solve? Why is it needed? + +## Proposed Solution + +How do you think this should work? + +## Alternatives Considered + +Any other approaches you've thought about. + +## Additional Context + +Any other relevant information. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..0c17f80 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +## Summary + +What does this PR do? + +## Related Issues + +Fixes # + + +## Test Plan + +How was this tested? + +## Checklist + +- [ ] Tests added/updated +- [ ] `cargo fmt` and `cargo clippy` pass (for Rust/JNI changes) +- [ ] `mvn verify` passes +- [ ] Documentation updated (if applicable) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ed82067 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,78 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: false + docker-images: true + swap-storage: true + + - name: Checkout opendata-java + uses: actions/checkout@v4 + + - name: Checkout opendata + uses: actions/checkout@v4 + with: + repository: opendata-oss/opendata + path: ../opendata + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Cache cargo registry + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + log/native/target + key: ${{ runner.os }}-cargo-${{ hashFiles('log/native/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- + + - name: Check formatting + working-directory: log/native + run: cargo fmt --all -- --check + + - name: Run clippy + working-directory: log/native + run: cargo clippy --all-targets -- -D warnings + + - name: Build native JNI library + working-directory: log/native + run: cargo build --release + + - name: Set up Java 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Cache Maven local repository + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + + - name: Maven build and test + run: mvn verify -Djava.library.path=log/native/target/release diff --git a/GOVERNANCE.md b/GOVERNANCE.md new file mode 100644 index 0000000..ecf6ed6 --- /dev/null +++ b/GOVERNANCE.md @@ -0,0 +1,43 @@ +# OpenData Governance + +This document describes the governance model for the OpenData project. + +## Current Status + +OpenData is in its early stages. The governance structure described here is +temporary and will be formalized as the project and community mature. + +## Committers + +Committers have write access to the repository and are responsible for reviewing +and merging contributions. + +While bootstrapping the project, the following individuals have been granted +commit access. If you are interested in becoming a founding commiter, please +open a GitHub issue and one of us will schedule some time to review your +background and evaluate your fit for the project. + +- [@agavra](https://github.com/agavra) +- [@apurvam](https://github.com/apurvam) +- [@cadonna](https://github.com/cadonna) +- [@hachikuji](https://github.com/hachikuji) +- [@rodesai](https://github.com/rodesai) + +## Decision Making + +- **Day-to-day decisions** (code review, minor features, bug fixes) are made by individual committers +- **Significant changes** require an approved [RFC](CONTRIBUTING.md#rfcs) with sign-off from two committers +- **Governance changes** require supermajority approval among all committers + +## Path to Committer + +Contributors who demonstrate sustained, high-quality contributions may be +nominated for committer status. Factors considered include: + +- Quality and impact of contributions +- Understanding of the project architecture and goals +- Constructive participation in code reviews and discussions +- Commitment to the project's long-term success + +Committer nominations are adopted by three +1 votes from existing committers +and no -1 votes. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..020faf4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 opendata-oss + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 215c8f54dd317eb4fb6556166dad676e09795726 Mon Sep 17 00:00:00 2001 From: Jason Gustafson <12502538+hachikuji@users.noreply.github.com> Date: Thu, 5 Feb 2026 10:33:23 -0800 Subject: [PATCH 2/3] Refer to opendata governance --- GOVERNANCE.md | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/GOVERNANCE.md b/GOVERNANCE.md index ecf6ed6..c3a468d 100644 --- a/GOVERNANCE.md +++ b/GOVERNANCE.md @@ -1,43 +1,3 @@ # OpenData Governance -This document describes the governance model for the OpenData project. - -## Current Status - -OpenData is in its early stages. The governance structure described here is -temporary and will be formalized as the project and community mature. - -## Committers - -Committers have write access to the repository and are responsible for reviewing -and merging contributions. - -While bootstrapping the project, the following individuals have been granted -commit access. If you are interested in becoming a founding commiter, please -open a GitHub issue and one of us will schedule some time to review your -background and evaluate your fit for the project. - -- [@agavra](https://github.com/agavra) -- [@apurvam](https://github.com/apurvam) -- [@cadonna](https://github.com/cadonna) -- [@hachikuji](https://github.com/hachikuji) -- [@rodesai](https://github.com/rodesai) - -## Decision Making - -- **Day-to-day decisions** (code review, minor features, bug fixes) are made by individual committers -- **Significant changes** require an approved [RFC](CONTRIBUTING.md#rfcs) with sign-off from two committers -- **Governance changes** require supermajority approval among all committers - -## Path to Committer - -Contributors who demonstrate sustained, high-quality contributions may be -nominated for committer status. Factors considered include: - -- Quality and impact of contributions -- Understanding of the project architecture and goals -- Constructive participation in code reviews and discussions -- Commitment to the project's long-term success - -Committer nominations are adopted by three +1 votes from existing committers -and no -1 votes. +This repository is part of the [OpenData](https://github.com/opendata-oss/opendata) project and follows its governance model. See the [opendata GOVERNANCE.md](https://github.com/opendata-oss/opendata/blob/main/GOVERNANCE.md) for details. From 19083ff6be61ea8223d6a295b36404f7f77e88a4 Mon Sep 17 00:00:00 2001 From: Jason Gustafson <12502538+hachikuji@users.noreply.github.com> Date: Thu, 5 Feb 2026 10:38:29 -0800 Subject: [PATCH 3/3] Try to fix opendata checkout --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed82067..19e9477 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,7 @@ jobs: uses: actions/checkout@v4 - name: Checkout opendata - uses: actions/checkout@v4 - with: - repository: opendata-oss/opendata - path: ../opendata + run: git clone --depth 1 https://github.com/opendata-oss/opendata.git ../opendata - name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable