Skip to content
Snippets Groups Projects
Commit 251dc026 authored by Frede H's avatar Frede H :speech_balloon:
Browse files

build config

parent d23e06e2
No related branches found
No related tags found
No related merge requests found
...@@ -20,42 +20,42 @@ ...@@ -20,42 +20,42 @@
"""Pacman-Mirrors Configuration""" """Pacman-Mirrors Configuration"""
# this is for runing in dev environment # this is for runing in dev environment
DEVELOPMENT = "dev" DEVELOPMENT = ""
DESCRIPTION = "unstable development" DESCRIPTION = "unstable development"
if DEVELOPMENT: # if DEVELOPMENT:
# http constants # # http constants
URL_MIRROR_JSON = "http://repo.manjaro.org/mirrors.json" # URL_MIRROR_JSON = "http://repo.manjaro.org/mirrors.json"
URL_STATUS_JSON = "http://repo.manjaro.org/status.json" # URL_STATUS_JSON = "http://repo.manjaro.org/status.json"
# etc # # etc
CONFIG_FILE = "mock/etc/pacman-mirrors.conf" # CONFIG_FILE = "mock/etc/pacman-mirrors.conf"
MIRROR_LIST = "mock/etc/mirrorlist" # MIRROR_LIST = "mock/etc/mirrorlist"
# pacman-mirrors # # pacman-mirrors
MIRROR_DIR = "mock/var/" # MIRROR_DIR = "mock/var/"
CUSTOM_FILE = MIRROR_DIR + "custom-mirrors.json" # CUSTOM_FILE = MIRROR_DIR + "custom-mirrors.json"
MIRROR_FILE = MIRROR_DIR + "mirrors.json" # MIRROR_FILE = MIRROR_DIR + "mirrors.json"
STATUS_FILE = MIRROR_DIR + "status.json" # STATUS_FILE = MIRROR_DIR + "status.json"
# special cases # # special cases
O_CUST_FILE = MIRROR_DIR + "Custom" # O_CUST_FILE = MIRROR_DIR + "Custom"
FALLBACK = "mock/usr/mirrors.json" # FALLBACK = "mock/usr/mirrors.json"
# repo constants # # repo constants
BRANCHES = ("stable", "testing", "unstable") # BRANCHES = ("stable", "testing", "unstable")
REPO_ARCH = "/$repo/$arch" # REPO_ARCH = "/$repo/$arch"
# # http constants # http constants
# URL_MIRROR_JSON = "http://repo.manjaro.org/mirrors.json" URL_MIRROR_JSON = "http://repo.manjaro.org/mirrors.json"
# URL_STATUS_JSON = "http://repo.manjaro.org/status.json" URL_STATUS_JSON = "http://repo.manjaro.org/status.json"
# # etc # etc
# CONFIG_FILE = "/etc/pacman-mirrors.conf" CONFIG_FILE = "/etc/pacman-mirrors.conf"
# MIRROR_LIST = "/etc/pacman.d/mirrorlist" MIRROR_LIST = "/etc/pacman.d/mirrorlist"
# # pacman-mirrors # pacman-mirrors
# MIRROR_DIR = "/var/lib/pacman-mirrors/" MIRROR_DIR = "/var/lib/pacman-mirrors/"
# CUSTOM_FILE = MIRROR_DIR + "custom-mirrors.json" CUSTOM_FILE = MIRROR_DIR + "custom-mirrors.json"
# MIRROR_FILE = MIRROR_DIR + "mirrors.json" MIRROR_FILE = MIRROR_DIR + "mirrors.json"
# STATUS_FILE = MIRROR_DIR + "status.json" STATUS_FILE = MIRROR_DIR + "status.json"
# # special cases # special cases
# O_CUST_FILE = MIRROR_DIR + "Custom" O_CUST_FILE = MIRROR_DIR + "Custom"
# FALLBACK = "/usr/share/pacman-mirrors/mirrors.json" FALLBACK = "/usr/share/pacman-mirrors/mirrors.json"
# # repo constants # repo constants
# BRANCHES = ("stable", "testing", "unstable") BRANCHES = ("stable", "testing", "unstable")
# REPO_ARCH = "/$repo/$arch" REPO_ARCH = "/$repo/$arch"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment