From 570743d5de334835f5609248142015d9efabbe41 Mon Sep 17 00:00:00 2001 From: jingrow Date: Tue, 23 Dec 2025 19:31:56 +0800 Subject: [PATCH] update github.com - git.jingrow.com --- .github/helper/install.sh | 4 +- .../auto-backport-master-to-develop.yml | 2 +- .gitignore | 2 +- .pre-commit-config.yaml | 8 +- README.md | 14 +- arm-builds/RedisearchARMBuild | 4 +- backbone/hypervisor.py | 4 +- backbone/setup_mac.py | 6 +- dashboard/src/components/Form.vue | 2 +- dashboard/src/components/NewAppDialog.vue | 2 +- .../src/components/auth/Configure2FA.vue | 2 +- .../marketplace/NewMarketplaceAppDialog.vue | 4 +- .../src/pages/ReleaseGroupBenchSites.vue | 2 +- debugging/mariadb.build.md | 8 +- docs/Introduction/Local Setup Using Cloud.MD | 4 +- guide-to-testing.md | 6 +- libs/fcrestore/go.mod | 46 ++-- libs/fcrestore/go.sum | 106 +++++----- libs/fcrestore/tui/filepicker.go | 6 +- libs/fcrestore/tui/listpicker.go | 4 +- libs/fcrestore/tui/optionpicker.go | 2 +- libs/fcrestore/tui/progressbar.go | 6 +- libs/fcrestore/tui/spinner.go | 6 +- libs/fcrestore/tui/textinput.go | 4 +- libs/fcrestore/uploader.go | 2 +- libs/filewarmer/file_warmer.go | 2 +- libs/filewarmer/go.mod | 2 +- libs/filewarmer/go.sum | 4 +- libs/mariadb_binlog_indexer/indexer/go.mod | 58 +++--- libs/mariadb_binlog_indexer/indexer/go.sum | 196 +++++++++--------- .../mariadb_binlog_indexer/indexer/indexer.go | 10 +- libs/mariadb_io_monitor/gen_bpf.sh | 2 +- libs/mariadb_io_monitor/go.mod | 12 +- libs/mariadb_io_monitor/go.sum | 24 +-- libs/mariadb_io_monitor/io_event_probe.go | 8 +- libs/mariadb_io_monitor/utils.go | 2 +- press/api/account.py | 2 +- press/api/developer/saas.py | 2 +- press/api/github.py | 18 +- press/api/server.py | 2 +- press/api/tests/test_bench.py | 2 +- press/api/tests/test_marketplace.py | 24 +-- press/bootstrap.py | 2 +- press/config/docs.py | 2 +- press/docker/Dockerfile | 10 +- press/docker/Dockerfile_Bench_5_2_1 | 4 +- press/docker/registry.conf | 2 +- .../roles/alertmanager/tasks/main.yml | 2 +- .../roles/blackbox_exporter/tasks/main.yml | 2 +- press/playbooks/roles/cadvisor/tasks/main.yml | 4 +- .../elasticsearch_exporter/tasks/main.yml | 2 +- .../roles/mysqld_exporter/tasks/main.yml | 2 +- press/playbooks/roles/nginx/tasks/main.yml | 2 +- .../roles/node_exporter/tasks/main.yml | 2 +- .../playbooks/roles/plausible/tasks/main.yml | 4 +- .../roles/process_exporter/tasks/main.yml | 2 +- .../playbooks/roles/prometheus/tasks/main.yml | 2 +- .../roles/proxysql_monitor/tasks/main.yml | 2 +- .../roles/redis_exporter/tasks/main.yml | 2 +- press/playbooks/roles/sentry/tasks/main.yml | 2 +- .../roles/sentry_upgrade/tasks/main.yml | 2 +- .../roles/statsd_exporter/tasks/main.yml | 2 +- .../account_request/account_request.py | 2 +- .../doctype/agent_update/agent_update.py | 6 +- press/press/doctype/app/test_app.py | 16 +- .../press/doctype/app_release/app_release.py | 4 +- press/press/doctype/app_source/app_source.py | 8 +- .../doctype/app_source/test_app_source.py | 6 +- .../deploy_candidate/deploy_notifications.py | 2 +- .../deploy_candidate/test_deploy_candidate.py | 6 +- .../marketplace_app/marketplace_app.py | 2 +- .../doctype/press_settings/press_settings.js | 2 +- .../doctype/press_settings/press_settings.py | 4 +- .../release_group/test_release_group.py | 20 +- press/press/doctype/server/server.py | 2 +- .../site_user_session/site_user_session.py | 2 +- .../marketplace_app_repository_visibility.py | 4 +- press/saas/README.md | 4 +- press/www/github/authorize.py | 2 +- press/www/github/redirect.py | 2 +- 80 files changed, 387 insertions(+), 387 deletions(-) diff --git a/.github/helper/install.sh b/.github/helper/install.sh index 6c0b01af..c8843a3c 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -7,13 +7,13 @@ cd ~ || exit sudo apt update && sudo apt install redis-server libcups2-dev pip install frappe-bench -bench init --skip-assets --python "$(which python)" ~/frappe-bench --frappe-path https://github.com/balamurali27/frappe --frappe-branch fc-ci +bench init --skip-assets --python "$(which python)" ~/frappe-bench --frappe-path http://git.jingrow.com/balamurali27/frappe --frappe-branch fc-ci mysql --host 127.0.0.1 --port 3306 -u root -proot -e "SET GLOBAL character_set_server = 'utf8mb4'" mysql --host 127.0.0.1 --port 3306 -u root -proot -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'" install_whktml() { - wget -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz + wget -O /tmp/wkhtmltox.tar.xz http://git.jingrow.com/frappe/wkhtmltopdf/raw/master/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz tar -xf /tmp/wkhtmltox.tar.xz -C /tmp sudo mv /tmp/wkhtmltox/bin/wkhtmltopdf /usr/local/bin/wkhtmltopdf sudo chmod o+x /usr/local/bin/wkhtmltopdf diff --git a/.github/workflows/auto-backport-master-to-develop.yml b/.github/workflows/auto-backport-master-to-develop.yml index 433a3427..cf466af1 100644 --- a/.github/workflows/auto-backport-master-to-develop.yml +++ b/.github/workflows/auto-backport-master-to-develop.yml @@ -27,7 +27,7 @@ jobs: - name: Configure Git run: | git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.email "github-actions[bot]@users.noreply.git.jingrow.com" - name: Prepare backport_master branch (Rebase) run: | diff --git a/.gitignore b/.gitignore index 8f06d3c8..5e8d1eac 100644 --- a/.gitignore +++ b/.gitignore @@ -92,7 +92,7 @@ ipython_config.py # install all needed dependencies. #Pipfile.lock -# PEP 582; used by e.g. github.com/David-OConnor/pyflow +# PEP 582; used by e.g. git.jingrow.com/David-OConnor/pyflow __pypackages__/ # Celery stuff diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c9a6fc2..54ccdf58 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_stages: [pre-commit] fail_fast: false repos: - - repo: https://github.com/pre-commit/mirrors-prettier + - repo: http://git.jingrow.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8 hooks: - id: prettier @@ -19,7 +19,7 @@ repos: press/public/js/.*min.js )$ - - repo: https://github.com/pre-commit/pre-commit-hooks + - repo: http://git.jingrow.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: debug-statements @@ -32,7 +32,7 @@ repos: - id: check-toml - id: check-yaml - - repo: https://github.com/astral-sh/ruff-pre-commit + - repo: http://git.jingrow.com/astral-sh/ruff-pre-commit rev: v0.13.1 hooks: - id: ruff @@ -68,7 +68,7 @@ repos: stages: [pre-commit] verbose: true - - repo: https://github.com/pre-commit/mirrors-mypy + - repo: http://git.jingrow.com/pre-commit/mirrors-mypy rev: v1.18.2 hooks: - id: mypy diff --git a/README.md b/README.md index 5cb26eea..21c01642 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@
- Managed press + Managed press

@@ -46,18 +46,18 @@ Additionally, customers lacked full control over their servers—no SSH access,
Screenshots -![Dashboard](https://github.com/user-attachments/assets/1904fa3e-39aa-4151-8276-d3cc622ed582) -![Permissions](https://github.com/user-attachments/assets/60da6b5e-8f48-4483-99cf-67886ccc8bd6) -![Bench Group Update](https://github.com/user-attachments/assets/2be6b0ee-084d-4949-8d13-218b5a218d3d) -![Marketplace](https://github.com/user-attachments/assets/2f325737-7929-485d-a670-549f986fd07e) +![Dashboard](http://git.jingrow.com/user-attachments/assets/1904fa3e-39aa-4151-8276-d3cc622ed582) +![Permissions](http://git.jingrow.com/user-attachments/assets/60da6b5e-8f48-4483-99cf-67886ccc8bd6) +![Bench Group Update](http://git.jingrow.com/user-attachments/assets/2be6b0ee-084d-4949-8d13-218b5a218d3d) +![Marketplace](http://git.jingrow.com/user-attachments/assets/2f325737-7929-485d-a670-549f986fd07e)
### Under the Hood -- [**Frappe Framework**](https://github.com/frappe/frappe): A full-stack web application framework written in Python and Javascript. The framework provides a robust foundation for building web applications, including a database abstraction layer, user authentication, and a REST API. +- [**Frappe Framework**](http://git.jingrow.com/frappe/frappe): A full-stack web application framework written in Python and Javascript. The framework provides a robust foundation for building web applications, including a database abstraction layer, user authentication, and a REST API. -- [**Frappe UI**](https://github.com/frappe/frappe-ui): A Vue-based UI library, to provide a modern user interface. The Frappe UI library provides a variety of components that can be used to build single-page applications on top of the Frappe Framework. +- [**Frappe UI**](http://git.jingrow.com/frappe/frappe-ui): A Vue-based UI library, to provide a modern user interface. The Frappe UI library provides a variety of components that can be used to build single-page applications on top of the Frappe Framework. - [**Agent**](http://git.jingrow.com/jingrow/agent): A flask app designed to work along with Press. It provides a CLI interface for Press to communicate with the sites and benches. diff --git a/arm-builds/RedisearchARMBuild b/arm-builds/RedisearchARMBuild index fad03de8..e1df91b1 100644 --- a/arm-builds/RedisearchARMBuild +++ b/arm-builds/RedisearchARMBuild @@ -1,4 +1,4 @@ -# https://github.com/devgeniem/RediSearch/blob/master/Dockerfile +# http://git.jingrow.com/devgeniem/RediSearch/blob/master/Dockerfile ARG REDIS_VER=6.2 ARG REDISEARCH_VER=v2.4.6 @@ -13,7 +13,7 @@ RUN apt clean && apt -y update && apt -y install --no-install-recommends \ WORKDIR / -RUN git clone --recursive --depth 1 --branch ${REDISEARCH_VER} https://github.com/RediSearch/RediSearch.git +RUN git clone --recursive --depth 1 --branch ${REDISEARCH_VER} http://git.jingrow.com/RediSearch/RediSearch.git WORKDIR /RediSearch diff --git a/backbone/hypervisor.py b/backbone/hypervisor.py index 89b3144d..8f096fc0 100644 --- a/backbone/hypervisor.py +++ b/backbone/hypervisor.py @@ -35,7 +35,7 @@ class Hypervisor: # cloud-localds isn't available on macOS. # So we do what it does ourselves # user-data is the same as cloud-init.yml - # https://github.com/canonical/cloud-utils/blob/49e5dd7849ee3c662f3db35e857148d02e72694b/bin/cloud-localds#L168-L187 + # http://git.jingrow.com/canonical/cloud-utils/blob/49e5dd7849ee3c662f3db35e857148d02e72694b/bin/cloud-localds#L168-L187 cloud_init_yml = str(Path(__file__).parent.joinpath("packer", "cloud-init.yml")) user_data = str(Path(__file__).parent.joinpath("packer", "user-data")) self.shell.execute(f"cp {cloud_init_yml} {user_data}") @@ -46,7 +46,7 @@ class Hypervisor: self.shell.execute(f"touch {meta_data}") cloud_init_image = str(Path(__file__).parent.joinpath("packer", "cloud-init.img")) - # Reference: https://github.com/canonical/cloud-utils/blob/49e5dd7849ee3c662f3db35e857148d02e72694b/bin/cloud-localds#L235-L237 + # Reference: http://git.jingrow.com/canonical/cloud-utils/blob/49e5dd7849ee3c662f3db35e857148d02e72694b/bin/cloud-localds#L235-L237 self.shell.execute( f"mkisofs -joliet -rock -volid cidata -output {cloud_init_image} {user_data} {meta_data}" ) diff --git a/backbone/setup_mac.py b/backbone/setup_mac.py index 462f17b2..f87d7acc 100644 --- a/backbone/setup_mac.py +++ b/backbone/setup_mac.py @@ -33,7 +33,7 @@ def setup_qemu(): def setup_vagrant(): # At the time of writing hashicorp tap has older 2.4.2 version # We need 2.4.3 - # Reference: https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1831 + # Reference: http://git.jingrow.com/vagrant-libvirt/vagrant-libvirt/issues/1831 brew_install("vagrant") @@ -49,8 +49,8 @@ def setup_libvirt(): def setup_packer(): shell.execute("brew tap hashicorp/tap") brew_install("hashicorp/tap/packer") - shell.execute("packer plugins install github.com/hashicorp/qemu") - shell.execute("packer plugins install github.com/hashicorp/vagrant") + shell.execute("packer plugins install git.jingrow.com/hashicorp/qemu") + shell.execute("packer plugins install git.jingrow.com/hashicorp/vagrant") if __name__ == "__main__": diff --git a/dashboard/src/components/Form.vue b/dashboard/src/components/Form.vue index 19437e62..dfe8c8f2 100644 --- a/dashboard/src/components/Form.vue +++ b/dashboard/src/components/Form.vue @@ -24,7 +24,7 @@