Skip to content

[FEATURE] Support .endgit config file for per-repo settings #12

Description

@0xliam627

Description

Currently when a user enables a repo on EndGit, there's no way for them to customize repo configuration directly from their repository. We should support a .endgit (or .endgit.yml) file at the repo root so users can configure display and behavior settings on EndGit.

Proposed config fields

  • branch: Branch EndGit tracks (instead of always using main/master)
  • icon: Icon/avatar displayed for the repo on the dashboard
  • name: Custom display name (overrides original repo name)
  • description: Short description for the repo
  • visibility: Public or private on the marketplace
  • build: Custom build/deploy configuration

Example .endgit.yml

name: "My Awesome Plugin"
icon: "https://example.com/icon.png"
branch: ["develop", "main"]
description: "A cool Endstone plugin"
visibility: public

Tasks

  • Define schema for .endgit / .endgit.yml file
  • Implement logic to read and parse config file from user's repo
  • Merge file config with dashboard settings (decide priority order)
  • Validate config values
  • Update docs with usage guide

Notes

  • Need to decide format: YAML, JSON, or TOML
  • Need to decide priority when dashboard config conflicts with .endgit file

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions