Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Oct 31, 2024
1 parent 5afe916 commit 25a9019
Show file tree
Hide file tree
Showing 224 changed files with 672 additions and 1,232 deletions.
2 changes: 1 addition & 1 deletion ix-dev/community/actual-budget/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords:
- finance
- budget
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/adguard-home/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ keywords:
- dns
- adblock
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/audiobookshelf/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords:
- media
- audiobook
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/autobrr/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords:
- torrent
- usenet
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
15 changes: 5 additions & 10 deletions ix-dev/community/autobrr/templates/library/base_v1_1_4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/bazarr/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords:
- media
- subtitles
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
15 changes: 5 additions & 10 deletions ix-dev/community/bazarr/templates/library/base_v1_1_4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/briefkasten/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ icon: https://media.sys.truenas.net/apps/briefkasten/icons/icon.svg
keywords:
- bookmark
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/castopod/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ icon: https://media.sys.truenas.net/apps/castopod/icons/icon.svg
keywords:
- podcast
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
15 changes: 5 additions & 10 deletions ix-dev/community/castopod/templates/library/base_v1_1_4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/chia/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords:
- hard-drive
- chia
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
15 changes: 5 additions & 10 deletions ix-dev/community/chia/templates/library/base_v1_1_4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/clamav/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ keywords:
- anti-virus
- clamav
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
15 changes: 5 additions & 10 deletions ix-dev/community/clamav/templates/library/base_v1_1_4/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/cloudflared/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords:
- cloudflare
- tunnel
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def get_image(images={}, name=""):
if name not in images:
throw_error(f"Expected [images.{name}] to be set")
if not images[name].get("repository") or not images[name].get("tag"):
throw_error(
f"Expected [images.{name}.repository] and [images.{name}.tag] to be set"
)
throw_error(f"Expected [images.{name}.repository] and [images.{name}.tag] to be set")

return f"{images[name]['repository']}:{images[name]['tag']}"

Expand All @@ -109,13 +107,10 @@ def copy_dict(dict):
return dict.copy()


# Replaces all single dollar signs with double dollar signs
# Docker tries to expand shell variables, so we need to
# escape them in multiple places
# It will not replace dollar signs that are already escaped
def escape_dollar(text):
# https://regex101.com/r/tdbI7y/1
return re.sub(r"(?<!\$)\$(?!\$)", r"$$", text)
def escape_dollar(text: str) -> str:
if "$$" in text:
raise ValueError("Cannot escape $$")
return text.replace("$", "$$")


def auto_cast(value):
Expand Down
2 changes: 1 addition & 1 deletion ix-dev/community/dashy/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ icon: https://media.sys.truenas.net/apps/dashy/icons/icon.png
keywords:
- dashboard
lib_version: 1.1.4
lib_version_hash: 6e32ff5969906d9c3a10fea2b17fdd3197afb052d3432344da03188d8a907113
lib_version_hash: 67282a78a73f81ac92eb952ad758c72ffea6ef9510bb8fa307cc873e52646000
maintainers:
- email: [email protected]
name: truenas
Expand Down
Loading

0 comments on commit 25a9019

Please sign in to comment.