Skip to content

Add protobufs repo as git submodule#882

Merged
danditomaso merged 4 commits into
meshtastic:mainfrom
danditomaso:feat/protobufs-submodule
Oct 14, 2025
Merged

Add protobufs repo as git submodule#882
danditomaso merged 4 commits into
meshtastic:mainfrom
danditomaso:feat/protobufs-submodule

Conversation

@danditomaso

Copy link
Copy Markdown
Collaborator

Description

Added protobufs repo as git submodule to match how other client apps handle protobuf usage/publishing, added it to folder under packages/protobufs

Related Issues

Changes Made

  • Added meshtastic-protobufs as a submodule under packages/protobufs
  • Configured submodule to track the main branch for updates
  • Updated github workflow to handle generated TypeScript outputs from the submodule

Testing Done

Tested locally using Act github action simulator

Screenshots (if applicable)

Checklist

  • Code follows project style guidelines
  • Documentation has been updated or added
  • Tests have been added or updated
  • All i18n translation labels have been added (read
    CONTRIBUTING_I18N_DEVELOPER_GUIDE.md for more details)

Copilot AI review requested due to automatic review settings October 13, 2025 20:04
@vercel

vercel Bot commented Oct 13, 2025

Copy link
Copy Markdown

@danditomaso is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the meshtastic-protobufs repository as a git submodule under packages/protobufs to match how other client apps handle protobuf usage and publishing. This change aligns with the standard approach for managing protobufs dependencies in the Meshtastic ecosystem and supports centralized version control of protobuf definitions.

  • Adds meshtastic-protobufs as a git submodule configured to track the main branch
  • Updates dependency management to use workspace reference instead of external JSR package
  • Includes route configuration updates for map functionality with coordinate parameter validation

Reviewed Changes

Copilot reviewed 66 out of 69 changed files in this pull request and generated 1 comment.

File Description
packages/web/src/routes.tsx Adds new route with coordinate parameter validation for map functionality
packages/protobufs/* Complete protobuf definitions and build configuration from submodule
package.json Updates dependency to use workspace reference
.gitmodules Configures git submodule for protobufs repository
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

packages/protobufs/deno.json:1

  • Version mismatch: This file uses @bufbuild/protobuf@^2.9.0 while packages/protobufs/packages/ts/package.json uses ^2.9.0, but the main package.json uses ^2.8.0. Consider aligning versions across all files.
{

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread packages/web/src/routes.tsx
@danditomaso danditomaso merged commit 9ab49d1 into meshtastic:main Oct 14, 2025
2 of 3 checks passed
@danditomaso danditomaso deleted the feat/protobufs-submodule branch October 14, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants