From 778c59db30587f03d1c381607ba4532f663d39a6 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 15 Jun 2026 16:23:19 -0500 Subject: [PATCH] Update for borg issue/22 --- .borg.template.toml | 24 ------------------------ .borg.toml | 24 +++++++++++++++++++++--- 2 files changed, 21 insertions(+), 27 deletions(-) delete mode 100644 .borg.template.toml diff --git a/.borg.template.toml b/.borg.template.toml deleted file mode 100644 index 8a55b0a..0000000 --- a/.borg.template.toml +++ /dev/null @@ -1,24 +0,0 @@ -# This file configures `borg` when this repository is used as a source. -# This file should only be present in a template repository. - -# If this file is present in a child repository, it should be deleted. - -[template] -# Keep these files in sync across Python repos -files = [ - ".gitignore", - ".github/workflows/pr_reminder.yml", - ".github/workflows/cleanup.yml", - "CODE_OF_CONDUCT.md", - "SECURITY.md", -] - -[generate.gitattributes] -files = [ - # All machine generated files - ".gitattributes", # Generated by borg - "requirements*.txt", # Generated by Makefile -] -# Include all template files above -include_template_files = true - diff --git a/.borg.toml b/.borg.toml index 3e6eea7..1860b0a 100644 --- a/.borg.toml +++ b/.borg.toml @@ -1,3 +1,21 @@ -[source] -url = 'https://raw.githubusercontent.com/techservicesillinois/secdev-template-repository/refs/heads/main/' -# Additional configuration will be loaded from `/.borg.template.toml` +# This file configures `borg` with patterns fit for a Python application + +[template] +# Keep these files in sync across Python repos +files_url = "https://raw.githubusercontent.com/techservicesillinois/secdev-template-python/refs/heads/main/" +files = [ + ".gitignore", + ".github/workflows/pr_reminder.yml", + ".github/workflows/cleanup.yml", + "CODE_OF_CONDUCT.md", + "SECURITY.md", +] + +[generate.gitattributes] +files = [ + # All machine generated files + ".gitattributes", # Generated by borg + "requirements*.txt", # Generated by Makefile +] +# Include all template files above +include_template_files = true