]> git.taranathan.com Git - FRC2027.git/commitdiff
fix file placement and some other stuffOC
authormoo <moogoesmeow123@gmail.com>
Tue, 25 Aug 2026 00:00:57 +0000 (17:00 -0700)
committermoo <moogoesmeow123@gmail.com>
Tue, 25 Aug 2026 00:00:57 +0000 (17:00 -0700)
.github/CODEOWNERS [new file with mode: 0644]
.github/PULL_REQUEST_TEMPLATE.md [new file with mode: 0644]
.github/workflows/autofmt.yml [new file with mode: 0644]
.github/workflows/main.yml [new file with mode: 0644]
.gitignore
.pre-commit-config.yaml [new symlink]
CODEOWNERS [deleted file]
PULL_REQUEST_TEMPLATE.md [deleted file]
workflows/autofmt.yml [deleted file]
workflows/main.yml [deleted file]

diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644 (file)
index 0000000..ff01304
--- /dev/null
@@ -0,0 +1,2 @@
+# Make the pull reviewers code owners for every file, they will get requested for review when a PR is made
+*  @moogoesmeow0 @iefomit
\ No newline at end of file
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644 (file)
index 0000000..959edae
--- /dev/null
@@ -0,0 +1,15 @@
+## Overview
+<!-- A general very short overview of the PR -->
+This PR will...
+
+
+## Documentation
+<!-- Link your approved design doc or your project documentation. We will be checking that the code fits everything in the linked file. If the PR is only meant to address part of it, note here what is not yet implemented -->
+
+
+## Tests Ran
+<!-- At a minimum, make sure the code builds and that the code works in the sim. -->
+
+
+## Additional Notes
+<!-- Anything else that will help the reviewer understand your PR -->
\ No newline at end of file
diff --git a/.github/workflows/autofmt.yml b/.github/workflows/autofmt.yml
new file mode 100644 (file)
index 0000000..449022c
--- /dev/null
@@ -0,0 +1,23 @@
+name: Format
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+jobs:
+
+  formatting:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4 # v2 minimum required
+
+      - name: Set up java
+        uses: actions/setup-java@v4
+        with:
+          distribution: temurin
+          java-version: '21'
+      - uses: axel-op/googlejavaformat-action@v4
+        with:
+          args: "--skip-sorting-imports --replace"
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644 (file)
index 0000000..faa5948
--- /dev/null
@@ -0,0 +1,42 @@
+# This is a basic workflow to build robot code. credit: WPI
+
+name: CI
+
+# Controls when the action will run. Triggers the workflow on push or pull request
+# events but only for the main branch.
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+  # This workflow contains a single job called "build"
+  build:
+    # The type of runner that the job will run on
+    runs-on: ubuntu-latest
+
+    # This grabs the WPILib docker container
+    container: wpilib/roborio-cross-ubuntu:2023-22.04
+
+    # Steps represent a sequence of tasks that will be executed as part of the job
+    steps:
+    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+    - uses: actions/checkout@v3
+
+    # Declares the repository safe and not under dubious ownership.
+    - name: Add repository to git safe directories
+      run: git config --global --add safe.directory $GITHUB_WORKSPACE
+
+    # Grant execute permission for gradlew
+    - name: Grant execute permission for gradlew
+      run: chmod +x gradlew
+
+    # Call gversion to make the version file
+    - name: Create BuildData.java
+      run: ./gradlew createVersionFile
+
+    # Runs a single command using the runners shell
+    - name: Compile and run tests on robot code
+      run: ./gradlew build
index 34cbaac119749415c9ec24fed3bbe0abef61c71f..507b088897b30c34942cc5b8d63415406eb72d23 100644 (file)
@@ -185,3 +185,5 @@ compile_commands.json
 
 # Eclipse generated file for annotation processors
 .factorypath
+
+.devenv
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 120000 (symlink)
index 0000000..8bb30c1
--- /dev/null
@@ -0,0 +1 @@
+/nix/store/v4kzm5f26kwn1sxxllyjrjfyl2bpqay3-pre-commit-config.json
\ No newline at end of file
diff --git a/CODEOWNERS b/CODEOWNERS
deleted file mode 100644 (file)
index ff01304..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# Make the pull reviewers code owners for every file, they will get requested for review when a PR is made
-*  @moogoesmeow0 @iefomit
\ No newline at end of file
diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644 (file)
index 959edae..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-## Overview
-<!-- A general very short overview of the PR -->
-This PR will...
-
-
-## Documentation
-<!-- Link your approved design doc or your project documentation. We will be checking that the code fits everything in the linked file. If the PR is only meant to address part of it, note here what is not yet implemented -->
-
-
-## Tests Ran
-<!-- At a minimum, make sure the code builds and that the code works in the sim. -->
-
-
-## Additional Notes
-<!-- Anything else that will help the reviewer understand your PR -->
\ No newline at end of file
diff --git a/workflows/autofmt.yml b/workflows/autofmt.yml
deleted file mode 100644 (file)
index 449022c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-name: Format
-
-on:
-  push:
-    branches: [ main ]
-  pull_request:
-    branches: [ main ]
-
-jobs:
-
-  formatting:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v4 # v2 minimum required
-
-      - name: Set up java
-        uses: actions/setup-java@v4
-        with:
-          distribution: temurin
-          java-version: '21'
-      - uses: axel-op/googlejavaformat-action@v4
-        with:
-          args: "--skip-sorting-imports --replace"
diff --git a/workflows/main.yml b/workflows/main.yml
deleted file mode 100644 (file)
index faa5948..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# This is a basic workflow to build robot code. credit: WPI
-
-name: CI
-
-# Controls when the action will run. Triggers the workflow on push or pull request
-# events but only for the main branch.
-on:
-  push:
-    branches: [ main ]
-  pull_request:
-    branches: [ main ]
-
-# A workflow run is made up of one or more jobs that can run sequentially or in parallel
-jobs:
-  # This workflow contains a single job called "build"
-  build:
-    # The type of runner that the job will run on
-    runs-on: ubuntu-latest
-
-    # This grabs the WPILib docker container
-    container: wpilib/roborio-cross-ubuntu:2023-22.04
-
-    # Steps represent a sequence of tasks that will be executed as part of the job
-    steps:
-    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
-    - uses: actions/checkout@v3
-
-    # Declares the repository safe and not under dubious ownership.
-    - name: Add repository to git safe directories
-      run: git config --global --add safe.directory $GITHUB_WORKSPACE
-
-    # Grant execute permission for gradlew
-    - name: Grant execute permission for gradlew
-      run: chmod +x gradlew
-
-    # Call gversion to make the version file
-    - name: Create BuildData.java
-      run: ./gradlew createVersionFile
-
-    # Runs a single command using the runners shell
-    - name: Compile and run tests on robot code
-      run: ./gradlew build