2025-02-17 17:41:21 -07:00
|
|
|
# ***********************************
|
|
|
|
# Example configuration for refractr
|
|
|
|
# ***********************************
|
|
|
|
|
|
|
|
# The "from" field is a string of the original/main repository you want to pull
|
2025-03-18 23:14:28 -06:00
|
|
|
# This field is REQUIRED and MUST start with "https://" or "ssh://"
|
2025-02-17 17:41:21 -07:00
|
|
|
#from = "https://git.brysonsteck.xyz/brysonsteck/refractr"
|
|
|
|
|
2025-03-18 23:14:28 -06:00
|
|
|
# The "to" field is a list of strings of the remotes you want to push the repo from the "from" field to
|
|
|
|
# These repositories must exist on the remote server
|
|
|
|
# This field is REQUIRED and MUST be SSH remotes
|
2025-02-17 17:41:21 -07:00
|
|
|
#to = ["git@codeberg.org:brysonsteck/refractr.git", "git@github.com:brysonsteck/refractr.git"]
|
|
|
|
|
2025-03-18 23:14:28 -06:00
|
|
|
# The "branches" field is a list of branches you want to mirror from the original repository
|
2025-03-09 12:16:51 -06:00
|
|
|
# This field is REQUIRED
|
2025-02-17 17:41:21 -07:00
|
|
|
#branches = ["master"]
|
|
|
|
|
2025-03-02 14:39:12 -07:00
|
|
|
# The "work_dir" field is where refractr will write the clone to
|
2025-03-18 23:14:28 -06:00
|
|
|
# This field is OPTIONAL, will default to /tmp/refractr on *NIX and $env:TEMP\refractr on Windows
|
2025-03-02 14:39:12 -07:00
|
|
|
#work_dir = /tmp/refractr
|
|
|
|
|
2025-02-17 17:41:21 -07:00
|
|
|
[git]
|
2025-03-18 23:14:28 -06:00
|
|
|
# The "ssh_identity_file" is your private SSH key that you will use to push updates from the original
|
|
|
|
# repository and, if your "from" field is an SSH remote, for cloning the original repository
|
|
|
|
# If you are running from Docker, you will need to copy your private key to your container or image
|
|
|
|
# This field is REQUIRED
|
2025-02-17 17:41:21 -07:00
|
|
|
#ssh_identity_file = "/path/to/.ssh/id_rsa"
|
|
|
|
|
|
|
|
[schedule]
|
2025-03-18 23:14:28 -06:00
|
|
|
# The "enabled" field turns on the schedule feature of refractr
|
2025-02-17 17:41:21 -07:00
|
|
|
# This field is REQUIRED.
|
|
|
|
#enabled = false
|
|
|
|
|
2025-03-18 23:14:28 -06:00
|
|
|
# The "interval" field is the amount of seconds refractor will wait before pulling updates from the
|
|
|
|
# original repository if the schedule feature is enabled
|
|
|
|
# To avoid creating a DoS attack, this is set to only accept values of >=60
|
|
|
|
# This field is REQUIRED if "enabled" is set to true, UNUSED if false
|
2025-03-02 11:47:29 -07:00
|
|
|
#interval = 300
|