diff --git a/.clip4llm b/.clip4llm index 5b8ce9f..7a7171c 100644 --- a/.clip4llm +++ b/.clip4llm @@ -1 +1 @@ -exclude=LICENSE,target \ No newline at end of file +exclude=LICENSE,target diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1640187..08bbdf8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,6 +13,9 @@ updates: day: "saturday" time: "06:00" timezone: "America/New_York" + cooldown: + # nosemgrep: package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown + default-days: 3 open-pull-requests-limit: 20 - package-ecosystem: "github-actions" directory: "/" @@ -25,4 +28,7 @@ updates: codeql: patterns: - "github/codeql-action*" + cooldown: + # nosemgrep: package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown + default-days: 3 open-pull-requests-limit: 20 diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 0ec0802..97f7e25 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -1,3 +1,4 @@ +# .github/workflows/zizmor.yml name: GitHub Actions Security Analysis with zizmor 🌈 on: @@ -16,6 +17,7 @@ jobs: zizmor: name: zizmor latest via Cargo runs-on: arc-runner-set + timeout-minutes: 30 permissions: security-events: write # required for workflows in private repositories @@ -31,7 +33,7 @@ jobs: uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 - name: Run zizmor 🌈 - run: uvx zizmor --format sarif . > results.sarif + run: uvx zizmor --config .github/zizmor.yml --format sarif . > results.sarif env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/zizmor.yml b/.github/zizmor.yml new file mode 100644 index 0000000..7cd1420 --- /dev/null +++ b/.github/zizmor.yml @@ -0,0 +1,5 @@ +# .github/zizmor.yml +rules: + dependabot-cooldown: + config: + days: 3 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1e272b9..f3ad36c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,213 +1,26 @@ -# Created by https://www.toptal.com/developers/gitignore/api/java,maven,eclipse,intellij,macos,windows,visualstudiocode -# Edit at https://www.toptal.com/developers/gitignore?templates=java,maven,eclipse,intellij,macos,windows,visualstudiocode +# This .gitignore file is generated from a .gitrepoforge template. +# Do not directly edit this file as it will be overwritten by the .gitrepoforge template. -.vscode - -### Eclipse ### -.metadata -bin/ -tmp/ -*.tmp -*.bak -*.swp -*~.nib -local.properties -.settings/ -.loadpath -.recommenders - -# External tool builders -.externalToolBuilders/ - -# Locally stored "Eclipse launch configurations" -*.launch - -# PyDev specific (Python IDE for Eclipse) -*.pydevproject - -# CDT-specific (C/C++ Development Tooling) -.cproject - -# CDT- autotools -.autotools - -# Java annotation processor (APT) -.factorypath - -# PDT-specific (PHP Development Tools) -.buildpath - -# sbteclipse plugin -.target - -# Tern plugin -.tern-project - -# TeXlipse plugin -.texlipse - -# STS (Spring Tool Suite) -.springBeans - -# Code Recommenders -.recommenders/ - -# Annotation Processing -.apt_generated/ -.apt_generated_test/ - -# Scala IDE specific (Scala & Java development for Eclipse) -.cache-main -.scala_dependencies -.worksheet - -# Uncomment this line if you wish to ignore the project description file. -# Typically, this file would be tracked if it contains build/dependency configurations: -#.project - -### Eclipse Patch ### -# Spring Boot Tooling -.sts4-cache/ - -### Intellij ### -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# AWS User-specific -.idea/**/aws.xml - -# Generated files -.idea/**/contentModel.xml - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr - -# CMake -cmake-build-*/ - -# Mongo Explorer plugin -.idea/**/mongoSettings.xml - -# File-based project format -*.iws - -# IntelliJ -out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# SonarLint plugin -.idea/sonarlint/ - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser - -### Intellij Patch ### -# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 - -# *.iml -# modules.xml -# .idea/misc.xml -# *.ipr - -# Sonarlint plugin -# https://plugins.jetbrains.com/plugin/7973-sonarlint -.idea/**/sonarlint/ - -# SonarQube Plugin -# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin -.idea/**/sonarIssues.xml - -# Markdown Navigator plugin -# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced -.idea/**/markdown-navigator.xml -.idea/**/markdown-navigator-enh.xml -.idea/**/markdown-navigator/ - -# Cache file creation bug -# See https://youtrack.jetbrains.com/issue/JBR-2257 -.idea/$CACHE_FILE$ - -# CodeStream plugin -# https://plugins.jetbrains.com/plugin/12206-codestream -.idea/codestream.xml - -# Azure Toolkit for IntelliJ plugin -# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij -.idea/**/azureSettings.xml - -### Java ### -# Compiled class file +### Java / Maven ### *.class - -# Log file -*.log - -# BlueJ files -*.ctxt - -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # *.jar *.war *.nar *.ear -*.zip -*.tar.gz -*.rar - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* replay_pid* +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar +# https://www.toptal.com/developers/gitignore/api/macos ### macOS ### # General .DS_Store @@ -241,44 +54,7 @@ Temporary Items # iCloud generated files *.icloud -### Maven ### -target/ -pom.xml.tag -pom.xml.releaseBackup -pom.xml.versionsBackup -pom.xml.next -release.properties -dependency-reduced-pom.xml -buildNumber.properties -.mvn/timing.properties -# https://github.com/takari/maven-wrapper#usage-without-binary-jar -.mvn/wrapper/maven-wrapper.jar - -# Eclipse m2e generated files -# Eclipse Core -.project -# JDT-specific (Eclipse Java Development Tools) -.classpath - -### VisualStudioCode ### -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -!.vscode/*.code-snippets - -# Local History for Visual Studio Code -.history/ - -# Built Visual Studio Code Extensions -*.vsix - -### VisualStudioCode Patch ### -# Ignore all local history of files -.history -.ionide - +# https://www.toptal.com/developers/gitignore/api/windows ### Windows ### # Windows thumbnail cache files Thumbs.db @@ -305,5 +81,45 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk -# End of https://www.toptal.com/developers/gitignore/api/java,maven,eclipse,intellij,macos,windows,visualstudiocode -/.apt_generated_tests/ +# https://www.toptal.com/developers/gitignore/api/linux +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +# https://www.toptal.com/developers/gitignore/api/visualstudiocode +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +## Universal Ignore Patterns + +*.log + +## Additional Ignore Patterns +.vscode/ diff --git a/.gitrepoforge b/.gitrepoforge new file mode 100644 index 0000000..b996737 --- /dev/null +++ b/.gitrepoforge @@ -0,0 +1,22 @@ +name: fileparamunit +default_branch: main +config: + description: "Library for creating parameterized JUnit 5 tests based on files that exist in resources." + license: EPL-2.0 + language: java17 + release: none + release_github: true + status: active + osv: sarif + codecov: + enabled: true + token: 4V52PCKXPU + maven: + group_id: com.unitvectory + artifact_id: fileparamunit + javadoc: true + gitignore: + - .vscode/ + clip4llm: + exclude: + - target diff --git a/.managedfiles b/.managedfiles new file mode 100644 index 0000000..427f1b9 --- /dev/null +++ b/.managedfiles @@ -0,0 +1,30 @@ +# This file is generated by gitrepoforge. +# Changes will be overwritten the next time gitrepoforge runs. +managed_files: + - path: .clip4llm + management: file + - path: .github/dependabot.yml + management: file + - path: .github/workflows/chromadb-repo-indexer.yml + management: file + - path: .github/workflows/osv-scanner-full.yml + management: file + - path: .github/workflows/osv-scanner-pr.yml + management: file + - path: .github/workflows/semgrep.yml + management: file + - path: .github/workflows/zizmor.yml + management: file + - path: .github/zizmor.yml + management: file + - path: .gitignore + management: file + - path: .managedfiles + management: file + - path: LICENSE + management: file + - path: README.md + management: sections + sections: + - start: start_of_file + end: line(5)