Skip to content

Align repository with DPC conventions#6

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/align-repo-with-dpc-conventions
Draft

Align repository with DPC conventions#6
Copilot wants to merge 2 commits intomainfrom
copilot/align-repo-with-dpc-conventions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

Brings the repository into compliance with the DPC conventions by adding all required documentation files and GitHub Actions workflows.

Documentation

  • README.md – Restructured with all 10 required DPC sections (Description → Installation → Usage → Support → Contributing → Testing → Development → Authors → License → Project Status); replaces the previous ad-hoc layout
  • CONTRIBUTING.md – New; covers requirements, fork/clone workflow, issue/milestone tracking, branch model (develop-based), and test instructions
  • USER_GUIDE.md – New; prerequisites, quick-start for CLI and web modes, common scenarios, output structure, rate limits
  • COMMANDS.md – New; CLI arguments, interactive-mode commands, JVM system properties (-Dbackup.directory, -Dspring.profiles.active, -Dserver.port), GITHUB_TOKEN env var, and REST API endpoints
  • CONFIG.md – New; documents every application.properties key with type, default, and runtime-override examples
  • CHANGELOG.md – New; Keep a Changelog format, v1.0.0 entry

CI / Automation

  • .github/workflows/build.yml – Triggers on push/PR to main and develop; runs mvn clean verify; scoped to permissions: contents: read
  • .github/workflows/release.yml – Triggers on release creation; builds and attaches target/gh-backup-*.jar via softprops/action-gh-release@v2; declares permissions: contents: write

Copilot

  • .github/copilot-instructions.md – New; links to DPC conventions, describes the Maven/Spring Boot stack, key source directories, coding conventions, and the develop-branch PR workflow

All workflow and doc templates from the conventions are adapted for Maven (the project uses mvn, not ./gradlew).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/orgs/this-user-definitely-does-not-exist-12345678
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -jar /home/REDACTED/work/gh-backup/gh-backup/target/surefire/surefirebooter-20260323002047843_3.jar /home/REDACTED/work/gh-backup/gh-backup/target/surefire 2026-03-23T00-20-47_421-jvmRun1 surefire-20260323002047843_1tmp surefire_0-20260323002047843_2tmp (http block)
  • https://api.github.com/user
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -jar /home/REDACTED/work/gh-backup/gh-backup/target/surefire/surefirebooter-20260323002047843_3.jar /home/REDACTED/work/gh-backup/gh-backup/target/surefire 2026-03-23T00-20-47_421-jvmRun1 surefire-20260323002047843_1tmp surefire_0-20260323002047843_2tmp (http block)
  • https://api.github.com/users/this-user-definitely-does-not-exist-12345678
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java -jar /home/REDACTED/work/gh-backup/gh-backup/target/surefire/surefirebooter-20260323002047843_3.jar /home/REDACTED/work/gh-backup/gh-backup/target/surefire 2026-03-23T00-20-47_421-jvmRun1 surefire-20260323002047843_1tmp surefire_0-20260323002047843_2tmp (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Align this repository with the DPC (Dans Plugins Community) conventions defined at
https://github.com/Dans-Plugins/dpc-conventions.

Read each of the following convention documents in full before making any changes:

Then perform the following steps:

  1. Inspect the repository — read README.md, CONTRIBUTING.md, any existing docs/, and
    .github/workflows/ files to understand the current state.

  2. Build a gap checklist comparing the repo against every requirement in the convention
    documents above.

  3. Implement all required changes directly in the repository:

    • Update README.md to include all required sections in the correct order, following
      the templates in README_STRUCTURE.md.
    • Create or update CONTRIBUTING.md using the template in CONTRIBUTING_STANDARDS.md.
    • Create any missing documentation files (USER_GUIDE.md, COMMANDS.md, CONFIG.md,
      CHANGELOG.md) with appropriate starter content derived from the plugin's existing
      code and configuration.
    • Add or update .github/workflows/build.yml using the CI template in TESTING_AND_CI.md.
    • Add or update .github/workflows/release.yml using the template in RELEASE_AUTOMATION.md.
    • Create or update .github/copilot-instructions.md using the template in GITHUB_COPILOT_INSTRUCTIONS.md.
    • Make any other changes needed to satisfy the conventions.
  4. Do not restate convention rules in commit messages or comments — reference the
    relevant convention document URL instead.

Keep changes minimal and focused on closing the identified gaps. Do not refactor
existing code or alter plugin behaviour.


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dmccoystephenson/gh-backup/sessions/b24e176a-eb8f-4df9-a437-62e5d18f8d90
Copilot AI changed the title [WIP] Align repository with DPC conventions Align repository with DPC conventions Mar 23, 2026
Copilot AI requested a review from dmccoystephenson March 23, 2026 00:23
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