update github.com - git.jingrow.com

This commit is contained in:
jingrow 2025-12-23 19:31:56 +08:00
parent 64dcfee067
commit 570743d5de
80 changed files with 387 additions and 387 deletions

View File

@ -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

View File

@ -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: |

2
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -11,7 +11,7 @@
</div>
<div align="center">
<img width="889" alt="Managed press" src="https://github.com/user-attachments/assets/2675e828-d5ed-4527-a038-7742a5cfa3db" />
<img width="889" alt="Managed press" src="http://git.jingrow.com/user-attachments/assets/2675e828-d5ed-4527-a038-7742a5cfa3db" />
</div>
<br />
<div align="center">
@ -46,18 +46,18 @@ Additionally, customers lacked full control over their servers—no SSH access,
<details>
<summary>Screenshots</summary>
![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)
</details>
### 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.

View File

@ -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

View File

@ -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}"
)

View File

@ -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__":

View File

@ -24,7 +24,7 @@
</template>
<script>
// https://github.com/eggert/tz/blob/main/backward add more if required.
// http://git.jingrow.com/eggert/tz/blob/main/backward add more if required.
const TZ_BACKWARD_COMPATBILITY_MAP = {
'Asia/Calcutta': 'Asia/Kolkata'
};

View File

@ -192,7 +192,7 @@ export default {
if (!repository_url) {
const repo_owner = this.selectedGithubUser?.login;
const repo = this.selectedGithubRepository || data.name;
repository_url = `https://github.com/${repo_owner}/${repo}`;
repository_url = `http://git.jingrow.com/${repo_owner}/${repo}`;
}
this.app = {

View File

@ -62,7 +62,7 @@
<a
target="_blank"
class="underline"
href="https://github.com/beemdevelopment/Aegis"
href="http://git.jingrow.com/beemdevelopment/Aegis"
>
Aegis</a
>

View File

@ -107,7 +107,7 @@ export default {
const repo_owner = this.selectedGithubUser?.login;
const repo = this.selectedGithubRepository || data.name;
const repository_url = `https://github.com/${repo_owner}/${repo}`;
const repository_url = `http://git.jingrow.com/${repo_owner}/${repo}`;
this.app = {};
const isPublic = await this.checkRepoVisibility(repo_owner, repo);
@ -168,7 +168,7 @@ export default {
async checkRepoVisibility(owner, repo) {
try {
const response = await fetch(
`https://api.github.com/repos/${owner}/${repo}`,
`http://git.jingrow.com/api/v1/repos/${owner}/${repo}`,
);
if (!response.ok) {
throw new Error('Repository not found or private');

View File

@ -204,7 +204,7 @@ export default {
return value.slice(0, 7);
},
link: (value, row) => {
return `https://github.com/${row.repository_owner}/${row.repository}/commit/${value}`;
return `http://git.jingrow.com/${row.repository_owner}/${row.repository}/commit/${value}`;
},
},
{

View File

@ -31,7 +31,7 @@ https://mariadb.com/kb/en/Build_Environment_Setup_for_Linux/
### Clone MariaDB
```sh
git clone --branch mariadb-10.6.16 https://github.com/MariaDB/server.git /home/frappe/mariadb/server
git clone --branch mariadb-10.6.16 http://git.jingrow.com/MariaDB/server.git /home/frappe/mariadb/server
```
Fetch git submodules
@ -53,8 +53,8 @@ References:
- https://jira.mariadb.org/browse/MDEV-32371
- https://github.com/MariaDB/server/pull/2866
- https://github.com/MariaDB/server/commit/bb511def1d316ffbdd815f2fc99d0a5813671814
- http://git.jingrow.com/MariaDB/server/pull/2866
- http://git.jingrow.com/MariaDB/server/commit/bb511def1d316ffbdd815f2fc99d0a5813671814
---
@ -164,7 +164,7 @@ References:
- https://mariadb.com/kb/en/Creating_a_Debian_Repository/
- https://wiki.debian.org/DebianRepository/SetupWithReprepro
- https://github.com/MariaDB/buildbot/blob/dev/utils.py#L221
- http://git.jingrow.com/MariaDB/buildbot/blob/dev/utils.py#L221
### Publish the repository with NGINX

View File

@ -238,7 +238,7 @@ After some time, when the tasks have completed to run, the `Proxy Server` will g
If there is any error (for example, if the `Proxy Server` goes into `Broken` state) or a task keeps running forever, go to the `Error Log List` and you will most probably find a log that corresponds to the task and more information on why it failed.
> If the Ansible Task "Clone Agent Repository" fails, you might want to generate a personal access token and edit the git clone URL in `press/playbooks/roles/agent/tasks/main.yml` at the agent github URL line. It should be in the format: `"https://<github-username>:<personal-access-token>@github.com:/jingrow/agent"`
> If the Ansible Task "Clone Agent Repository" fails, you might want to generate a personal access token and edit the git clone URL in `press/playbooks/roles/agent/tasks/main.yml` at the agent github URL line. It should be in the format: `"https://<github-username>:<personal-access-token>@git.jingrow.com:/jingrow/agent"`
Setting up DB server (`m` server)
---------------------------------
@ -418,7 +418,7 @@ Testing
When you run `bench init` or `bench setup requirements`, Frappe installs only the runtime dependencies listed in `requirements.txt`. Development dependencies are not installed automatically, since production environments do not require them.
To set up a development or test environment, install the python dependencies using bench. This [internally calls pip](https://github.com/frappe/bench/blob/4fdaaf6a21b7245e039fd8c3d9509b0de1f44b2e/bench/utils/bench.py#L97) to install the dependencies from the dev-requirements file:
To set up a development or test environment, install the python dependencies using bench. This [internally calls pip](http://git.jingrow.com/frappe/bench/blob/4fdaaf6a21b7245e039fd8c3d9509b0de1f44b2e/bench/utils/bench.py#L97) to install the dependencies from the dev-requirements file:
bench setup requirements --dev

View File

@ -79,7 +79,7 @@ http://git.jingrow.com/jingrow/jcloude/blob/983631ccb59f88e57fd60fdad1615e9abd87
> Note that with this, you can't fake 2 results for the same type of job. This is still a limitation. As a workaround, you can have multiple `with` statements for such cases.
This is all done with the help of the [responses](https://github.com/getsentry/responses) library by intercepting the http requests for the same.
This is all done with the help of the [responses](http://git.jingrow.com/getsentry/responses) library by intercepting the http requests for the same.
> Note that you shouldn't mock `AgentJob.enqueue_http_request` when using the above decorator as that will interfere with the request interception need to fake the job results
@ -230,12 +230,12 @@ bench --site test_site run-tests --module press.press.doctype.some_doctype.test
```
You most likely won't enjoy running commands manually like this. So you'd want
to check out [this vim plugin](https://github.com/ankush/frappe_test.vim/) or
to check out [this vim plugin](http://git.jingrow.com/ankush/frappe_test.vim/) or
[this vscode plugin](https://marketplace.visualstudio.com/items?itemName=AnkushMenat.frappe-test-runner)
> Note: frappe_test plugin doesn't populate vim's quickfix list yet. Though
> Frappe's test runner output isn't very pyunit errorformat friendly, you can
> still make it work with a [custom errorformat](https://github.com/balamurali27/dotfiles/blob/85dc18a/.config/nvim/after/plugin/frappe.vim#LL10C1-L10C128) and some hacks to [set makeprg](https://github.com/balamurali27/dotfiles/blob/0bcd6270770d0b67b63fc0ea308e6834fefda5a6/.config/nvim/init.vim#L150C7-L163)
> still make it work with a [custom errorformat](http://git.jingrow.com/balamurali27/dotfiles/blob/85dc18a/.config/nvim/after/plugin/frappe.vim#LL10C1-L10C128) and some hacks to [set makeprg](http://git.jingrow.com/balamurali27/dotfiles/blob/0bcd6270770d0b67b63fc0ea308e6834fefda5a6/.config/nvim/init.vim#L150C7-L163)
# References

View File

@ -3,37 +3,37 @@ module fcrestore
go 1.24.3
require (
github.com/charmbracelet/bubbletea v1.3.4
github.com/charmbracelet/lipgloss v1.1.0
github.com/gabriel-vasile/mimetype v1.4.9
git.jingrow.com/charmbracelet/bubbletea v1.3.4
git.jingrow.com/charmbracelet/lipgloss v1.1.0
git.jingrow.com/gabriel-vasile/mimetype v1.4.9
golang.org/x/text v0.24.0
)
require (
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
github.com/charmbracelet/harmonica v0.2.0 // indirect
github.com/charmbracelet/x/ansi v0.8.0 // indirect
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
github.com/charmbracelet/x/term v0.2.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/termenv v0.16.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/sahilm/fuzzy v0.1.1 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
git.jingrow.com/atotto/clipboard v0.1.4 // indirect
git.jingrow.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
git.jingrow.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
git.jingrow.com/charmbracelet/harmonica v0.2.0 // indirect
git.jingrow.com/charmbracelet/x/ansi v0.8.0 // indirect
git.jingrow.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
git.jingrow.com/charmbracelet/x/term v0.2.1 // indirect
git.jingrow.com/dustin/go-humanize v1.0.1 // indirect
git.jingrow.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
git.jingrow.com/lucasb-eyer/go-colorful v1.2.0 // indirect
git.jingrow.com/mattn/go-isatty v0.0.20 // indirect
git.jingrow.com/mattn/go-localereader v0.0.1 // indirect
git.jingrow.com/mattn/go-runewidth v0.0.16 // indirect
git.jingrow.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
git.jingrow.com/muesli/cancelreader v0.2.2 // indirect
git.jingrow.com/muesli/termenv v0.16.0 // indirect
git.jingrow.com/rivo/uniseg v0.4.7 // indirect
git.jingrow.com/sahilm/fuzzy v0.1.1 // indirect
git.jingrow.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
golang.org/x/sync v0.13.0 // indirect
golang.org/x/sys v0.32.0 // indirect
)
require (
github.com/charmbracelet/bubbles v0.21.0
git.jingrow.com/charmbracelet/bubbles v0.21.0
golang.org/x/net v0.39.0 // indirect
)

View File

@ -1,56 +1,56 @@
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
github.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWpi6yML8=
github.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA=
github.com/charmbracelet/bubbles v0.21.0 h1:9TdC97SdRVg/1aaXNVWfFH3nnLAwOXr8Fn6u6mfQdFs=
github.com/charmbracelet/bubbles v0.21.0/go.mod h1:HF+v6QUR4HkEpz62dx7ym2xc71/KBHg+zKwJtMw+qtg=
github.com/charmbracelet/bubbletea v1.3.4 h1:kCg7B+jSCFPLYRA52SDZjr51kG/fMUEoPoZrkaDHyoI=
github.com/charmbracelet/bubbletea v1.3.4/go.mod h1:dtcUCyCGEX3g9tosuYiut3MXgY/Jsv9nKVdibKKRRXo=
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
github.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG4pgaUBiQ=
github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
github.com/charmbracelet/x/ansi v0.8.0 h1:9GTq3xq9caJW8ZrBTe0LIe2fvfLR/bYXKTx2llXn7xE=
github.com/charmbracelet/x/ansi v0.8.0/go.mod h1:wdYl/ONOLHLIVmQaxbIYEC/cRKOQyjTkowiI4blgS9Q=
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd h1:vy0GVL4jeHEwG5YOXDmi86oYw2yuYUGqz6a8sLwg0X8=
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs=
github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 h1:payRxjMjKgx2PaCWLZ4p3ro9y97+TVLZNaRZgJwSVDQ=
github.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U=
github.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
github.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY=
github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/sahilm/fuzzy v0.1.1 h1:ceu5RHF8DGgoi+/dR5PsECjCDH1BE3Fnmpo7aVXOdRA=
github.com/sahilm/fuzzy v0.1.1/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y=
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
git.jingrow.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
git.jingrow.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
git.jingrow.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
git.jingrow.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
git.jingrow.com/aymanbagabas/go-udiff v0.2.0 h1:TK0fH4MteXUDspT88n8CKzvK0X9O2xu9yQjWpi6yML8=
git.jingrow.com/aymanbagabas/go-udiff v0.2.0/go.mod h1:RE4Ex0qsGkTAJoQdQQCA0uG+nAzJO/pI/QwceO5fgrA=
git.jingrow.com/charmbracelet/bubbles v0.21.0 h1:9TdC97SdRVg/1aaXNVWfFH3nnLAwOXr8Fn6u6mfQdFs=
git.jingrow.com/charmbracelet/bubbles v0.21.0/go.mod h1:HF+v6QUR4HkEpz62dx7ym2xc71/KBHg+zKwJtMw+qtg=
git.jingrow.com/charmbracelet/bubbletea v1.3.4 h1:kCg7B+jSCFPLYRA52SDZjr51kG/fMUEoPoZrkaDHyoI=
git.jingrow.com/charmbracelet/bubbletea v1.3.4/go.mod h1:dtcUCyCGEX3g9tosuYiut3MXgY/Jsv9nKVdibKKRRXo=
git.jingrow.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc h1:4pZI35227imm7yK2bGPcfpFEmuY1gc2YSTShr4iJBfs=
git.jingrow.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc/go.mod h1:X4/0JoqgTIPSFcRA/P6INZzIuyqdFY5rm8tb41s9okk=
git.jingrow.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG4pgaUBiQ=
git.jingrow.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
git.jingrow.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
git.jingrow.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
git.jingrow.com/charmbracelet/x/ansi v0.8.0 h1:9GTq3xq9caJW8ZrBTe0LIe2fvfLR/bYXKTx2llXn7xE=
git.jingrow.com/charmbracelet/x/ansi v0.8.0/go.mod h1:wdYl/ONOLHLIVmQaxbIYEC/cRKOQyjTkowiI4blgS9Q=
git.jingrow.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd h1:vy0GVL4jeHEwG5YOXDmi86oYw2yuYUGqz6a8sLwg0X8=
git.jingrow.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd/go.mod h1:xe0nKWGd3eJgtqZRaN9RjMtK7xUYchjzPr7q6kcvCCs=
git.jingrow.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91 h1:payRxjMjKgx2PaCWLZ4p3ro9y97+TVLZNaRZgJwSVDQ=
git.jingrow.com/charmbracelet/x/exp/golden v0.0.0-20241011142426-46044092ad91/go.mod h1:wDlXFlCrmJ8J+swcL/MnGUuYnqgQdW9rhSD61oNMb6U=
git.jingrow.com/charmbracelet/x/term v0.2.1 h1:AQeHeLZ1OqSXhrAWpYUtZyX1T3zVxfpZuEQMIQaGIAQ=
git.jingrow.com/charmbracelet/x/term v0.2.1/go.mod h1:oQ4enTYFV7QN4m0i9mzHrViD7TQKvNEEkHUMCmsxdUg=
git.jingrow.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
git.jingrow.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
git.jingrow.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
git.jingrow.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
git.jingrow.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY=
git.jingrow.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok=
git.jingrow.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
git.jingrow.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
git.jingrow.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
git.jingrow.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
git.jingrow.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
git.jingrow.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
git.jingrow.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
git.jingrow.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
git.jingrow.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
git.jingrow.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
git.jingrow.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
git.jingrow.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
git.jingrow.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
git.jingrow.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
git.jingrow.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc=
git.jingrow.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
git.jingrow.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
git.jingrow.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
git.jingrow.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
git.jingrow.com/sahilm/fuzzy v0.1.1 h1:ceu5RHF8DGgoi+/dR5PsECjCDH1BE3Fnmpo7aVXOdRA=
git.jingrow.com/sahilm/fuzzy v0.1.1/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y=
git.jingrow.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
git.jingrow.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561 h1:MDc5xs78ZrZr3HMQugiXOAkSZtfTpbJLDr/lwfgO53E=
golang.org/x/exp v0.0.0-20220909182711-5c715a9e8561/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=

View File

@ -6,9 +6,9 @@ import (
"strings"
"time"
"github.com/charmbracelet/bubbles/filepicker"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"git.jingrow.com/charmbracelet/bubbles/filepicker"
tea "git.jingrow.com/charmbracelet/bubbletea"
"git.jingrow.com/charmbracelet/lipgloss"
)
var BUBBLE_TEA_FILEPICKER_STYLE filepicker.Styles = filepicker.DefaultStylesWithRenderer(lipgloss.DefaultRenderer())

View File

@ -5,8 +5,8 @@ import (
"io"
"strings"
"github.com/charmbracelet/bubbles/list"
tea "github.com/charmbracelet/bubbletea"
"git.jingrow.com/charmbracelet/bubbles/list"
tea "git.jingrow.com/charmbracelet/bubbletea"
)
func PickItem(prompt string, items []string) (selectedItem string, err error) {

View File

@ -5,7 +5,7 @@ import (
"strings"
"time"
tea "github.com/charmbracelet/bubbletea"
tea "git.jingrow.com/charmbracelet/bubbletea"
)
func PickMultipleOptions(prompt string, choices []string) (selectedItems []string, err error) {

View File

@ -6,9 +6,9 @@ import (
"strings"
"time"
"github.com/charmbracelet/bubbles/progress"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"git.jingrow.com/charmbracelet/bubbles/progress"
tea "git.jingrow.com/charmbracelet/bubbletea"
"git.jingrow.com/charmbracelet/lipgloss"
)
var (

View File

@ -4,9 +4,9 @@ import (
"fmt"
"os"
"github.com/charmbracelet/bubbles/spinner"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"git.jingrow.com/charmbracelet/bubbles/spinner"
tea "git.jingrow.com/charmbracelet/bubbletea"
"git.jingrow.com/charmbracelet/lipgloss"
)
type spinnerModel struct {

View File

@ -3,8 +3,8 @@ package tui
import (
"fmt"
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
"git.jingrow.com/charmbracelet/bubbles/textinput"
tea "git.jingrow.com/charmbracelet/bubbletea"
)
// AskInput shows a text input prompt and returns the entered value or empty string if cancelled

View File

@ -13,7 +13,7 @@ import (
"sync/atomic"
"time"
"github.com/gabriel-vasile/mimetype"
"git.jingrow.com/gabriel-vasile/mimetype"
)
var (

View File

@ -9,7 +9,7 @@ import (
"syscall"
"time"
"github.com/iceber/iouring-go"
"git.jingrow.com/iceber/iouring-go"
"golang.org/x/sys/unix"
)
import "unsafe"

View File

@ -4,4 +4,4 @@ go 1.22.12
require golang.org/x/sys v0.30.0
require github.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90
require git.jingrow.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90

View File

@ -1,5 +1,5 @@
github.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90 h1:xrtfZokN++5kencK33hn2Kx3Uj8tGnjMEhdt6FMvHD0=
github.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90/go.mod h1:LEzdaZarZ5aqROlLIwJ4P7h3+4o71008fSy6wpaEB+s=
git.jingrow.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90 h1:xrtfZokN++5kencK33hn2Kx3Uj8tGnjMEhdt6FMvHD0=
git.jingrow.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90/go.mod h1:LEzdaZarZ5aqROlLIwJ4P7h3+4o71008fSy6wpaEB+s=
golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

View File

@ -5,21 +5,21 @@ go 1.24
toolchain go1.24.3
require (
github.com/marcboeker/go-duckdb/v2 v2.2.0
github.com/parquet-go/parquet-go v0.25.1
git.jingrow.com/marcboeker/go-duckdb/v2 v2.2.0
git.jingrow.com/parquet-go/parquet-go v0.25.1
vitess.io/vitess v0.21.4
)
require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/andybalholm/brotli v1.2.0 // indirect
github.com/marcboeker/go-duckdb/arrowmapping v0.0.7 // indirect
github.com/marcboeker/go-duckdb/mapping v0.0.7 // indirect
github.com/pingcap/errors v0.11.5-0.20240311024730-e056997136bb // indirect
github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22 // indirect
github.com/pingcap/tidb/pkg/parser v0.0.0-20241118164214-4f047be191be // indirect
github.com/shopspring/decimal v1.2.0 // indirect
git.jingrow.com/Masterminds/semver v1.5.0 // indirect
git.jingrow.com/andybalholm/brotli v1.2.0 // indirect
git.jingrow.com/marcboeker/go-duckdb/arrowmapping v0.0.7 // indirect
git.jingrow.com/marcboeker/go-duckdb/mapping v0.0.7 // indirect
git.jingrow.com/pingcap/errors v0.11.5-0.20240311024730-e056997136bb // indirect
git.jingrow.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22 // indirect
git.jingrow.com/pingcap/tidb/pkg/parser v0.0.0-20241118164214-4f047be191be // indirect
git.jingrow.com/shopspring/decimal v1.2.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
@ -28,25 +28,25 @@ require (
)
require (
github.com/apache/arrow-go/v18 v18.4.1 // indirect
github.com/duckdb/duckdb-go-bindings v0.1.14 // indirect
github.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.9 // indirect
github.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.9 // indirect
github.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.9 // indirect
github.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.9 // indirect
github.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.9 // indirect
github.com/go-mysql-org/go-mysql v1.12.0
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/golang/glog v1.2.5 // indirect
github.com/google/flatbuffers v25.2.10+incompatible // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/pierrec/lz4/v4 v4.1.22 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
git.jingrow.com/apache/arrow-go/v18 v18.4.1 // indirect
git.jingrow.com/duckdb/duckdb-go-bindings v0.1.14 // indirect
git.jingrow.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.9 // indirect
git.jingrow.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.9 // indirect
git.jingrow.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.9 // indirect
git.jingrow.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.9 // indirect
git.jingrow.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.9 // indirect
git.jingrow.com/go-mysql-org/go-mysql v1.12.0
git.jingrow.com/go-viper/mapstructure/v2 v2.4.0 // indirect
git.jingrow.com/goccy/go-json v0.10.5 // indirect
git.jingrow.com/golang/glog v1.2.5 // indirect
git.jingrow.com/google/flatbuffers v25.2.10+incompatible // indirect
git.jingrow.com/google/uuid v1.6.0 // indirect
git.jingrow.com/klauspost/compress v1.18.0 // indirect
git.jingrow.com/klauspost/cpuid/v2 v2.3.0 // indirect
git.jingrow.com/pierrec/lz4/v4 v4.1.22 // indirect
git.jingrow.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
git.jingrow.com/spf13/pflag v1.0.5 // indirect
git.jingrow.com/zeebo/xxh3 v1.0.2 // indirect
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
golang.org/x/mod v0.27.0 // indirect
golang.org/x/sync v0.16.0 // indirect

View File

@ -1,103 +1,103 @@
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
github.com/apache/arrow-go/v18 v18.4.1 h1:q/jVkBWCJOB9reDgaIZIdruLQUb1kbkvOnOFezVH1C4=
github.com/apache/arrow-go/v18 v18.4.1/go.mod h1:tLyFubsAl17bvFdUAy24bsSvA/6ww95Iqi67fTpGu3E=
github.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc=
github.com/apache/thrift v0.22.0/go.mod h1:1e7J/O1Ae6ZQMTYdy9xa3w9k+XHWPfRvdPyJeynQ+/g=
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/duckdb/duckdb-go-bindings v0.1.14 h1:57DCZuuKQ65gRQxFG+XGnqVQtMADKY/noozmCjYs+zE=
github.com/duckdb/duckdb-go-bindings v0.1.14/go.mod h1:pBnfviMzANT/9hi4bg+zW4ykRZZPCXlVuvBWEcZofkc=
github.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.9 h1:K95YlR28Fb3+n3D6RcBzdznNVGcCnrGaAZqs52JUFOs=
github.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.9/go.mod h1:Ezo7IbAfB8NP7CqPIN8XEHKUg5xdRRQhcPPlCXImXYA=
github.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.9 h1:wY3kXm1/GSK4ES8pfBIeRHxscZomEVFWTS4GOifrZCs=
github.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.9/go.mod h1:eS7m/mLnPQgVF4za1+xTyorKRBuK0/BA44Oy6DgrGXI=
github.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.9 h1:ypZyeNMA9oRAIBE/pVGfrsXzYqEM+ZRkbV/lxw7Cf5E=
github.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.9/go.mod h1:1GOuk1PixiESxLaCGFhag+oFi7aP+9W8byymRAvunBk=
github.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.9 h1:TVBDwDSanIttQCH76UpDJ9rQAq4cYNM4R7h5Xu0y/rA=
github.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.9/go.mod h1:o7crKMpT2eOIi5/FY6HPqaXcvieeLSqdXXaXbruGX7w=
github.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.9 h1:okFoG+evMiXnyUK+cI67V0MpvKbstO6MaXlXXotst3k=
github.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.9/go.mod h1:IlOhJdVKUJCAPj3QsDszUo8DVdvp1nBFp4TUJVdw99s=
github.com/go-mysql-org/go-mysql v1.12.0 h1:tyToNggfCfl11OY7GbWa2Fq3ofyScO9GY8b5f5wAmE4=
github.com/go-mysql-org/go-mysql v1.12.0/go.mod h1:/XVjs1GlT6NPSf13UgXLv/V5zMNricTCqeNaehSBghs=
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/golang/glog v1.2.5 h1:DrW6hGnjIhtvhOIiAKT6Psh/Kd/ldepEa81DKeiRJ5I=
github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs=
github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/flatbuffers v25.2.10+incompatible h1:F3vclr7C3HpB1k9mxCGRMXq6FdUalZ6H/pNX4FP1v0Q=
github.com/google/flatbuffers v25.2.10+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4=
github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE=
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/marcboeker/go-duckdb/arrowmapping v0.0.7 h1:6mq16sPGJPo8Tkkl6UIsXuaNv467LjHLBscRyJl2Qhc=
github.com/marcboeker/go-duckdb/arrowmapping v0.0.7/go.mod h1:FdvmqJOwVdfFZLpV+anBFlTUOzfU/NdIRET37mIEczY=
github.com/marcboeker/go-duckdb/mapping v0.0.7 h1:t0BaNmLXj76RKs/x80A/ZTe+KzZDimO2Ji8ct4YnPu4=
github.com/marcboeker/go-duckdb/mapping v0.0.7/go.mod h1:EH3RSabeePOUePoYDtF0LqfruXPtVB3M+g03QydZsck=
github.com/marcboeker/go-duckdb/v2 v2.2.0 h1:xxruuYD7vWvybY52xWzV0vvHKa1IjpDDOq6T846ax/s=
github.com/marcboeker/go-duckdb/v2 v2.2.0/go.mod h1:B7swJ38GcOEm9PI0IdfkZYqn5CtIjRUiQG4ZBr3hnyc=
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs=
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY=
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI=
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE=
github.com/parquet-go/parquet-go v0.25.1 h1:l7jJwNM0xrk0cnIIptWMtnSnuxRkwq53S+Po3KG8Xgo=
github.com/parquet-go/parquet-go v0.25.1/go.mod h1:AXBuotO1XiBtcqJb/FKFyjBG4aqa3aQAAWF3ZPzCanY=
github.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=
github.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pingcap/errors v0.11.0/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
github.com/pingcap/errors v0.11.5-0.20240311024730-e056997136bb h1:3pSi4EDG6hg0orE1ndHkXvX6Qdq2cZn8gAPir8ymKZk=
github.com/pingcap/errors v0.11.5-0.20240311024730-e056997136bb/go.mod h1:X2r9ueLEUZgtx2cIogM0v4Zj5uvvzhuuiu7Pn8HzMPg=
github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22 h1:2SOzvGvE8beiC1Y4g9Onkvu6UmuBBOeWRGQEjJaT/JY=
github.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4=
github.com/pingcap/tidb/pkg/parser v0.0.0-20241118164214-4f047be191be h1:t5EkCmZpxLCig5GQA0AZG47aqsuL5GTsJeeUD+Qfies=
github.com/pingcap/tidb/pkg/parser v0.0.0-20241118164214-4f047be191be/go.mod h1:Hju1TEWZvrctQKbztTRwXH7rd41Yq0Pgmq4PrEKcq7o=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.11.0 h1:ib4sjIrwZKxE5u/Japgo/7SJV3PvgjGiRNAvTVGqQl8=
github.com/stretchr/testify v1.11.0/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU=
github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E=
github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
git.jingrow.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
git.jingrow.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
git.jingrow.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
git.jingrow.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
git.jingrow.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
git.jingrow.com/apache/arrow-go/v18 v18.4.1 h1:q/jVkBWCJOB9reDgaIZIdruLQUb1kbkvOnOFezVH1C4=
git.jingrow.com/apache/arrow-go/v18 v18.4.1/go.mod h1:tLyFubsAl17bvFdUAy24bsSvA/6ww95Iqi67fTpGu3E=
git.jingrow.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc=
git.jingrow.com/apache/thrift v0.22.0/go.mod h1:1e7J/O1Ae6ZQMTYdy9xa3w9k+XHWPfRvdPyJeynQ+/g=
git.jingrow.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
git.jingrow.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
git.jingrow.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
git.jingrow.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
git.jingrow.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
git.jingrow.com/duckdb/duckdb-go-bindings v0.1.14 h1:57DCZuuKQ65gRQxFG+XGnqVQtMADKY/noozmCjYs+zE=
git.jingrow.com/duckdb/duckdb-go-bindings v0.1.14/go.mod h1:pBnfviMzANT/9hi4bg+zW4ykRZZPCXlVuvBWEcZofkc=
git.jingrow.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.9 h1:K95YlR28Fb3+n3D6RcBzdznNVGcCnrGaAZqs52JUFOs=
git.jingrow.com/duckdb/duckdb-go-bindings/darwin-amd64 v0.1.9/go.mod h1:Ezo7IbAfB8NP7CqPIN8XEHKUg5xdRRQhcPPlCXImXYA=
git.jingrow.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.9 h1:wY3kXm1/GSK4ES8pfBIeRHxscZomEVFWTS4GOifrZCs=
git.jingrow.com/duckdb/duckdb-go-bindings/darwin-arm64 v0.1.9/go.mod h1:eS7m/mLnPQgVF4za1+xTyorKRBuK0/BA44Oy6DgrGXI=
git.jingrow.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.9 h1:ypZyeNMA9oRAIBE/pVGfrsXzYqEM+ZRkbV/lxw7Cf5E=
git.jingrow.com/duckdb/duckdb-go-bindings/linux-amd64 v0.1.9/go.mod h1:1GOuk1PixiESxLaCGFhag+oFi7aP+9W8byymRAvunBk=
git.jingrow.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.9 h1:TVBDwDSanIttQCH76UpDJ9rQAq4cYNM4R7h5Xu0y/rA=
git.jingrow.com/duckdb/duckdb-go-bindings/linux-arm64 v0.1.9/go.mod h1:o7crKMpT2eOIi5/FY6HPqaXcvieeLSqdXXaXbruGX7w=
git.jingrow.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.9 h1:okFoG+evMiXnyUK+cI67V0MpvKbstO6MaXlXXotst3k=
git.jingrow.com/duckdb/duckdb-go-bindings/windows-amd64 v0.1.9/go.mod h1:IlOhJdVKUJCAPj3QsDszUo8DVdvp1nBFp4TUJVdw99s=
git.jingrow.com/go-mysql-org/go-mysql v1.12.0 h1:tyToNggfCfl11OY7GbWa2Fq3ofyScO9GY8b5f5wAmE4=
git.jingrow.com/go-mysql-org/go-mysql v1.12.0/go.mod h1:/XVjs1GlT6NPSf13UgXLv/V5zMNricTCqeNaehSBghs=
git.jingrow.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
git.jingrow.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
git.jingrow.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
git.jingrow.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
git.jingrow.com/golang/glog v1.2.5 h1:DrW6hGnjIhtvhOIiAKT6Psh/Kd/ldepEa81DKeiRJ5I=
git.jingrow.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
git.jingrow.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
git.jingrow.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
git.jingrow.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs=
git.jingrow.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
git.jingrow.com/google/flatbuffers v25.2.10+incompatible h1:F3vclr7C3HpB1k9mxCGRMXq6FdUalZ6H/pNX4FP1v0Q=
git.jingrow.com/google/flatbuffers v25.2.10+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
git.jingrow.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
git.jingrow.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
git.jingrow.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
git.jingrow.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
git.jingrow.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
git.jingrow.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
git.jingrow.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4=
git.jingrow.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE=
git.jingrow.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
git.jingrow.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
git.jingrow.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
git.jingrow.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
git.jingrow.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
git.jingrow.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
git.jingrow.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
git.jingrow.com/marcboeker/go-duckdb/arrowmapping v0.0.7 h1:6mq16sPGJPo8Tkkl6UIsXuaNv467LjHLBscRyJl2Qhc=
git.jingrow.com/marcboeker/go-duckdb/arrowmapping v0.0.7/go.mod h1:FdvmqJOwVdfFZLpV+anBFlTUOzfU/NdIRET37mIEczY=
git.jingrow.com/marcboeker/go-duckdb/mapping v0.0.7 h1:t0BaNmLXj76RKs/x80A/ZTe+KzZDimO2Ji8ct4YnPu4=
git.jingrow.com/marcboeker/go-duckdb/mapping v0.0.7/go.mod h1:EH3RSabeePOUePoYDtF0LqfruXPtVB3M+g03QydZsck=
git.jingrow.com/marcboeker/go-duckdb/v2 v2.2.0 h1:xxruuYD7vWvybY52xWzV0vvHKa1IjpDDOq6T846ax/s=
git.jingrow.com/marcboeker/go-duckdb/v2 v2.2.0/go.mod h1:B7swJ38GcOEm9PI0IdfkZYqn5CtIjRUiQG4ZBr3hnyc=
git.jingrow.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs=
git.jingrow.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY=
git.jingrow.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI=
git.jingrow.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE=
git.jingrow.com/parquet-go/parquet-go v0.25.1 h1:l7jJwNM0xrk0cnIIptWMtnSnuxRkwq53S+Po3KG8Xgo=
git.jingrow.com/parquet-go/parquet-go v0.25.1/go.mod h1:AXBuotO1XiBtcqJb/FKFyjBG4aqa3aQAAWF3ZPzCanY=
git.jingrow.com/pierrec/lz4/v4 v4.1.22 h1:cKFw6uJDK+/gfw5BcDL0JL5aBsAFdsIT18eRtLj7VIU=
git.jingrow.com/pierrec/lz4/v4 v4.1.22/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
git.jingrow.com/pingcap/errors v0.11.0/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
git.jingrow.com/pingcap/errors v0.11.5-0.20240311024730-e056997136bb h1:3pSi4EDG6hg0orE1ndHkXvX6Qdq2cZn8gAPir8ymKZk=
git.jingrow.com/pingcap/errors v0.11.5-0.20240311024730-e056997136bb/go.mod h1:X2r9ueLEUZgtx2cIogM0v4Zj5uvvzhuuiu7Pn8HzMPg=
git.jingrow.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22 h1:2SOzvGvE8beiC1Y4g9Onkvu6UmuBBOeWRGQEjJaT/JY=
git.jingrow.com/pingcap/log v1.1.1-0.20230317032135-a0d097d16e22/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4=
git.jingrow.com/pingcap/tidb/pkg/parser v0.0.0-20241118164214-4f047be191be h1:t5EkCmZpxLCig5GQA0AZG47aqsuL5GTsJeeUD+Qfies=
git.jingrow.com/pingcap/tidb/pkg/parser v0.0.0-20241118164214-4f047be191be/go.mod h1:Hju1TEWZvrctQKbztTRwXH7rd41Yq0Pgmq4PrEKcq7o=
git.jingrow.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
git.jingrow.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo=
git.jingrow.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
git.jingrow.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
git.jingrow.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
git.jingrow.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
git.jingrow.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
git.jingrow.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
git.jingrow.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
git.jingrow.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
git.jingrow.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
git.jingrow.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
git.jingrow.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
git.jingrow.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
git.jingrow.com/stretchr/testify v1.11.0 h1:ib4sjIrwZKxE5u/Japgo/7SJV3PvgjGiRNAvTVGqQl8=
git.jingrow.com/stretchr/testify v1.11.0/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
git.jingrow.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU=
git.jingrow.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E=
git.jingrow.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
git.jingrow.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
git.jingrow.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
git.jingrow.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=

View File

@ -9,11 +9,11 @@ import (
"strconv"
"strings"
"github.com/go-mysql-org/go-mysql/replication"
_ "github.com/marcboeker/go-duckdb/v2"
"github.com/parquet-go/parquet-go"
"github.com/parquet-go/parquet-go/compress/snappy"
"github.com/parquet-go/parquet-go/compress/zstd"
"git.jingrow.com/go-mysql-org/go-mysql/replication"
_ "git.jingrow.com/marcboeker/go-duckdb/v2"
"git.jingrow.com/parquet-go/parquet-go"
"git.jingrow.com/parquet-go/parquet-go/compress/snappy"
"git.jingrow.com/parquet-go/parquet-go/compress/zstd"
"vitess.io/vitess/go/vt/sqlparser"
)

View File

@ -2,4 +2,4 @@
set -e
arch=$(uname -m)
[ "$arch" = "x86_64" ] && target="x86" || target="arm64"
GOPACKAGE=main go run github.com/cilium/ebpf/cmd/bpf2go -cc clang io_trace ./bpf/io_trace.bpf.c -- -O2 -g -target bpf -D__TARGET_ARCH_${target} -I.
GOPACKAGE=main go run git.jingrow.com/cilium/ebpf/cmd/bpf2go -cc clang io_trace ./bpf/io_trace.bpf.c -- -O2 -g -target bpf -D__TARGET_ARCH_${target} -I.

View File

@ -2,16 +2,16 @@ module mariadb_io_monitor
go 1.24.3
require github.com/cilium/ebpf v0.20.0
require git.jingrow.com/cilium/ebpf v0.20.0
require (
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/tklauser/go-sysconf v0.3.15 // indirect
github.com/tklauser/numcpus v0.10.0 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
git.jingrow.com/go-ole/go-ole v1.2.6 // indirect
git.jingrow.com/tklauser/go-sysconf v0.3.15 // indirect
git.jingrow.com/tklauser/numcpus v0.10.0 // indirect
git.jingrow.com/yusufpapurcu/wmi v1.2.4 // indirect
)
require (
github.com/shirou/gopsutil v3.21.11+incompatible
git.jingrow.com/shirou/gopsutil v3.21.11+incompatible
golang.org/x/sys v0.37.0 // indirect
)

View File

@ -1,15 +1,15 @@
github.com/cilium/ebpf v0.20.0 h1:atwWj9d3NffHyPZzVlx3hmw1on5CLe9eljR8VuHTwhM=
github.com/cilium/ebpf v0.20.0/go.mod h1:pzLjFymM+uZPLk/IXZUL63xdx5VXEo+enTzxkZXdycw=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI=
github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4=
github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4=
github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso=
github.com/tklauser/numcpus v0.10.0/go.mod h1:BiTKazU708GQTYF4mB+cmlpT2Is1gLk7XVuEeem8LsQ=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
git.jingrow.com/cilium/ebpf v0.20.0 h1:atwWj9d3NffHyPZzVlx3hmw1on5CLe9eljR8VuHTwhM=
git.jingrow.com/cilium/ebpf v0.20.0/go.mod h1:pzLjFymM+uZPLk/IXZUL63xdx5VXEo+enTzxkZXdycw=
git.jingrow.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
git.jingrow.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
git.jingrow.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI=
git.jingrow.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
git.jingrow.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4=
git.jingrow.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4=
git.jingrow.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso=
git.jingrow.com/tklauser/numcpus v0.10.0/go.mod h1:BiTKazU708GQTYF4mB+cmlpT2Is1gLk7XVuEeem8LsQ=
git.jingrow.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
git.jingrow.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ=
golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=

View File

@ -11,10 +11,10 @@ import (
"sync"
"time"
"github.com/cilium/ebpf"
"github.com/cilium/ebpf/link"
"github.com/cilium/ebpf/perf"
"github.com/shirou/gopsutil/process"
"git.jingrow.com/cilium/ebpf"
"git.jingrow.com/cilium/ebpf/link"
"git.jingrow.com/cilium/ebpf/perf"
"git.jingrow.com/shirou/gopsutil/process"
)
// ebpf eBPFEvent

View File

@ -10,7 +10,7 @@ import (
"os/exec"
"github.com/cilium/ebpf/perf"
"git.jingrow.com/cilium/ebpf/perf"
)
// CircularBuffer to keep fixed-size samples

View File

@ -860,7 +860,7 @@ def update_billing_information(billing_details):
def validate_pincode(billing_details):
# Taken from https://github.com/resilient-tech/india-compliance
# Taken from http://git.jingrow.com/resilient-tech/india-compliance
if billing_details.country != "India" or not billing_details.postal_code:
return
PINCODE_FORMAT = re.compile(r"^[1-9][0-9]{5}$")

View File

@ -249,7 +249,7 @@ def send_email_with_verification_code(email, otp):
args={
"full_name": frappe.get_value("User", email, "full_name"),
"otp": otp,
"image_path": "https://github.com/frappe/gameplan/assets/9355208/447035d0-0686-41d2-910a-a3d21928ab94",
"image_path": "http://git.jingrow.com/frappe/gameplan/assets/9355208/447035d0-0686-41d2-910a-a3d21928ab94",
},
now=True,
)

View File

@ -75,7 +75,7 @@ def get_access_token(installation_id: str | None = None):
"Accept": "application/vnd.github.machine-man-preview+json",
}
response = requests.post(
f"https://api.github.com/app/installations/{installation_id}/access_tokens",
f"http://git.jingrow.com/api/v1/app/installations/{installation_id}/access_tokens",
headers=headers,
).json()
return response.get("token")
@ -111,7 +111,7 @@ def installations(token):
"Authorization": f"token {token}",
"Accept": "application/vnd.github.machine-man-preview+json",
}
response = requests.get("https://api.github.com/user/installations", headers=headers)
response = requests.get("http://git.jingrow.com/api/v1/user/installations", headers=headers)
data = response.json()
installations = []
if response.ok:
@ -140,7 +140,7 @@ def repositories(installation, token):
current_page, is_last_page = 1, False
while not is_last_page:
response = requests.get(
f"https://api.github.com/user/installations/{installation}/repositories",
f"http://git.jingrow.com/api/v1/user/installations/{installation}/repositories",
params={"per_page": 100, "page": current_page},
headers=headers,
)
@ -172,13 +172,13 @@ def repository(owner, name, installation=None):
headers = {
"Authorization": f"token {token}",
}
repo = requests.get(f"https://api.github.com/repos/{owner}/{name}", headers=headers).json()
repo = requests.get(f"http://git.jingrow.com/api/v1/repos/{owner}/{name}", headers=headers).json()
current_page, is_last_page = 1, False
branches = []
while not is_last_page:
response = requests.get(
f"https://api.github.com/repos/{owner}/{name}/branches",
f"http://git.jingrow.com/api/v1/repos/{owner}/{name}/branches",
params={"per_page": 100, "page": current_page},
headers=headers,
)
@ -201,7 +201,7 @@ def repository(owner, name, installation=None):
def app(owner, repository, branch, installation=None):
headers = get_auth_headers(installation)
response = requests.get(
f"https://api.github.com/repos/{owner}/{repository}/branches/{branch}",
f"http://git.jingrow.com/api/v1/repos/{owner}/{repository}/branches/{branch}",
headers=headers,
)
@ -211,7 +211,7 @@ def app(owner, repository, branch, installation=None):
branch_info = response.json()
sha = branch_info["commit"]["commit"]["tree"]["sha"]
contents = requests.get(
f"https://api.github.com/repos/{owner}/{repository}/git/trees/{sha}",
f"http://git.jingrow.com/api/v1/repos/{owner}/{repository}/git/trees/{sha}",
params={"recursive": True},
headers=headers,
).json()
@ -250,7 +250,7 @@ def branches(owner, name, installation=None):
headers = {}
response = requests.get(
f"https://api.github.com/repos/{owner}/{name}/branches",
f"http://git.jingrow.com/api/v1/repos/{owner}/{name}/branches",
params={"per_page": 100},
headers=headers,
)
@ -287,7 +287,7 @@ def _get_app_name_and_title_from_hooks(
continue
hooks = requests.get(
f"https://api.github.com/repos/{owner}/{repository}/contents/{directory}/hooks.py",
f"http://git.jingrow.com/api/v1/repos/{owner}/{repository}/contents/{directory}/hooks.py",
params={"ref": branch_info["name"]},
headers=headers,
).json()

View File

@ -112,7 +112,7 @@ def all(server_filter=None): # noqa: C901
query = app_server_query + database_server_query
# union isn't supported in qb for run method
# https://github.com/frappe/frappe/issues/15609
# http://git.jingrow.com/frappe/frappe/issues/15609
servers = frappe.db.sql(query.get_sql(), as_dict=True)
for server in servers:
server_plan_name = frappe.get_value("Server", server.name, "plan")

View File

@ -49,7 +49,7 @@ class TestAPIBench(FrappeTestCase):
self.app = create_test_app()
self.app_source = self.app.add_source(
self.version,
repository_url="https://github.com/frappe/frappe",
repository_url="http://git.jingrow.com/frappe/frappe",
branch="version-15",
team=get_current_team(),
public=True,

View File

@ -61,7 +61,7 @@ PAYLOAD = [
"name": "develop",
"commit": {
"sha": "d11768d928ec7996810898cf627c4d57e8bb917d",
"url": "https://api.github.com/repos/frappe/frappe/commits/d11768d928ec7996810898cf627c4d57e8bb917d",
"url": "http://git.jingrow.com/api/v1/repos/frappe/frappe/commits/d11768d928ec7996810898cf627c4d57e8bb917d",
},
"protected": True,
},
@ -69,7 +69,7 @@ PAYLOAD = [
"name": "enterprise-staging",
"commit": {
"sha": "3716ef769bbb45d5376c5d6f6ed9a2d52583ef1c",
"url": "https://api.github.com/repos/frappe/frappe/commits/3716ef769bbb45d5376c5d6f6ed9a2d52583ef1c",
"url": "http://git.jingrow.com/api/v1/repos/frappe/frappe/commits/3716ef769bbb45d5376c5d6f6ed9a2d52583ef1c",
},
"protected": False,
},
@ -255,16 +255,16 @@ class TestAPIMarketplace(FrappeTestCase):
update_app_links(
self.marketplace_app.name,
{
"website": "https://github.com",
"support": "https://github.com",
"documentation": "https://github.com",
"privacy_policy": "https://github.com",
"terms_of_service": "https://github.com",
"website": "http://git.jingrow.com",
"support": "http://git.jingrow.com",
"documentation": "http://git.jingrow.com",
"privacy_policy": "http://git.jingrow.com",
"terms_of_service": "http://git.jingrow.com",
},
)
self.marketplace_app.reload()
self.assertEqual(self.marketplace_app.website, "https://github.com")
self.assertEqual(self.marketplace_app.support, "https://github.com")
self.assertEqual(self.marketplace_app.website, "http://git.jingrow.com")
self.assertEqual(self.marketplace_app.support, "http://git.jingrow.com")
def test_update_app_summary(self):
frappe.set_user(self.team.user)
@ -296,7 +296,7 @@ class TestAPIMarketplace(FrappeTestCase):
"name": "email_delivery_service",
"title": "Email Delivery Service",
"version": "Version 14",
"repository_url": "https://github.com/frappe/email_delivery_service",
"repository_url": "http://git.jingrow.com/frappe/email_delivery_service",
"branch": "develop",
"github_installation_id": "",
}
@ -319,7 +319,7 @@ class TestAPIMarketplace(FrappeTestCase):
publisher_info = {
"display_name": "Test Publisher",
"contact_email": self.team.user,
"website": "https://github.com",
"website": "http://git.jingrow.com",
}
update_publisher_profile(publisher_info)
updated_name = "Test Publisher 2"
@ -360,7 +360,7 @@ class TestAPIMarketplace(FrappeTestCase):
def test_branches(self):
frappe.set_user(self.team.user)
responses.get(
url=f"https://api.github.com/repos/{self.app_source.repository_owner}/{self.app_source.repository}/branches?per_page=100",
url=f"http://git.jingrow.com/api/v1/repos/{self.app_source.repository_owner}/{self.app_source.repository}/branches?per_page=100",
json=PAYLOAD,
status=200,
headers={},

View File

@ -327,7 +327,7 @@ def setup_apps():
"doctype": "App Source",
"app": app.name,
"branch": "develop",
"repository_url": "https://github.com/frappe/frappe",
"repository_url": "http://git.jingrow.com/frappe/frappe",
"public": True,
"team": "Administrator",
"versions": [{"version": "Nightly"}],

View File

@ -2,7 +2,7 @@
Configuration for docs
"""
# source_link = "https://github.com/[org_name]/press"
# source_link = "http://git.jingrow.com/[org_name]/press"
# docs_base_url = "https://[org_name].github.io/press"
# headline = "App that does everything"
# sub_heading = "Yes, you got that right the first time, everything"

View File

@ -92,14 +92,14 @@ ENV {{ pg.get_dependency_version("wkhtmltopdf", True) }}
{% if is_arm_build %}
# ARM setup (0.12.5) & (0.12.6)
{% if pg.get_dependency_version("wkhtmltopdf") == '0.12.5' %}
RUN wget https://github.com/Aradhya-Tripathi/wkhtmltopdf/releases/download/0.12.5-arm/wkhtmltox_0.12.5-1.jammy_arm64.deb \
RUN wget http://git.jingrow.com/Aradhya-Tripathi/wkhtmltopdf/releases/download/0.12.5-arm/wkhtmltox_0.12.5-1.jammy_arm64.deb \
&& dpkg -i wkhtmltox_0.12.5-1.jammy_arm64.deb \
&& rm wkhtmltox_0.12.5-1.jammy_arm64.deb \
`#stage-pre-wkhtmltopdf`
{% endif %}
{% if pg.get_dependency_version("wkhtmltopdf") == '0.12.6' %}
RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_arm64.deb \
RUN wget http://git.jingrow.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_arm64.deb \
&& dpkg -i wkhtmltox_0.12.6.1-2.jammy_arm64 \
&& rm wkhtmltox_0.12.6.1-2.jammy_arm64 \
`#stage-pre-wkhtmltopdf`
@ -107,12 +107,12 @@ ENV {{ pg.get_dependency_version("wkhtmltopdf", True) }}
{% else %}
# Intel setup
{% if pg.get_dependency_version("wkhtmltopdf") == '0.12.6' %}
RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb \
RUN wget http://git.jingrow.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb \
&& dpkg -i wkhtmltox_0.12.6.1-2.jammy_amd64.deb \
&& rm wkhtmltox_0.12.6.1-2.jammy_amd64.deb \
`#stage-pre-wkhtmltopdf`
{% elif pg.get_dependency_version("wkhtmltopdf") == '0.12.5' %}
RUN wget https://github.com/Aradhya-Tripathi/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.jammy_amd64.deb \
RUN wget http://git.jingrow.com/Aradhya-Tripathi/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.jammy_amd64.deb \
&& dpkg -i wkhtmltox_0.12.5-1.jammy_amd64.deb \
&& rm wkhtmltox_0.12.5-1.jammy_amd64.deb \
`#stage-pre-wkhtmltopdf`
@ -124,7 +124,7 @@ RUN curl -fsSL https://code-server.dev/install.sh | sh `#stage-pre-code-server`
{% endif %}
# Install Fonts
RUN git clone --progress --depth 1 https://github.com/frappe/fonts.git /tmp/fonts \
RUN git clone --progress --depth 1 http://git.jingrow.com/frappe/fonts.git /tmp/fonts \
&& rm -rf /etc/fonts && mv /tmp/fonts/etc_fonts /etc/fonts \
&& rm -rf /usr/share/fonts && mv /tmp/fonts/usr_share_fonts /usr/share/fonts \
&& rm -rf /tmp/fonts \

View File

@ -85,7 +85,7 @@ RUN --mount=type=cache,target=/var/cache/apt add-apt-repository ppa:deadsnakes/p
# Install wkhtmltopdf
RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}-1.focal_amd64.deb \
RUN wget http://git.jingrow.com/wkhtmltopdf/wkhtmltopdf/releases/download/${WKHTMLTOPDF_VERSION}/wkhtmltox_${WKHTMLTOPDF_VERSION}-1.focal_amd64.deb \
&& dpkg -i wkhtmltox_${WKHTMLTOPDF_VERSION}-1.focal_amd64.deb \
&& rm wkhtmltox_${WKHTMLTOPDF_VERSION}-1.focal_amd64.deb \
`#stage-pre-wkhtmltopdf`
@ -93,7 +93,7 @@ RUN wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/${WKHTMLTO
RUN curl -fsSL https://code-server.dev/install.sh | sh `#stage-pre-code-server`
# Install Fonts
RUN git clone --progress --depth 1 https://github.com/frappe/fonts.git /tmp/fonts \
RUN git clone --progress --depth 1 http://git.jingrow.com/frappe/fonts.git /tmp/fonts \
&& rm -rf /etc/fonts && mv /tmp/fonts/etc_fonts /etc/fonts \
&& rm -rf /usr/share/fonts && mv /tmp/fonts/usr_share_fonts /usr/share/fonts \
&& rm -rf /tmp/fonts \

View File

@ -32,7 +32,7 @@ server {
# disable any limits to avoid HTTP 413 for large image uploads
client_max_body_size 0;
# required to avoid HTTP 411: see Issue #1486 (https://github.com/moby/moby/issues/1486)
# required to avoid HTTP 411: see Issue #1486 (http://git.jingrow.com/moby/moby/issues/1486)
chunked_transfer_encoding on;
location /v2/ {

View File

@ -19,7 +19,7 @@
become: yes
become_user: frappe
unarchive:
src: "https://github.com/prometheus/alertmanager/releases/download/v0.29.0/alertmanager-0.29.0.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/prometheus/alertmanager/releases/download/v0.29.0/alertmanager-0.29.0.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -11,7 +11,7 @@
- name: Download Blackbox Exporter Archive
unarchive:
src: https://github.com/prometheus/blackbox_exporter/releases/download/v0.27.0/blackbox_exporter-0.27.0.linux-{{ arch }}.tar.gz
src: http://git.jingrow.com/prometheus/blackbox_exporter/releases/download/v0.27.0/blackbox_exporter-0.27.0.linux-{{ arch }}.tar.gz
dest: /tmp
remote_src: yes

View File

@ -7,7 +7,7 @@
- name: Download cAdvisor Binary (amd64)
get_url:
url: https://github.com/google/cadvisor/releases/download/v0.50.0/cadvisor-v0.50.0-linux-amd64
url: http://git.jingrow.com/google/cadvisor/releases/download/v0.50.0/cadvisor-v0.50.0-linux-amd64
checksum: sha256:c63976400ca980b4b34bd074ef93c5321650050e45e6dc4d0cb1baf7dc772639
dest: /opt/cadvisor/cadvisor
mode: 0755
@ -15,7 +15,7 @@
- name: Download cAdvisor Binary (arm64)
get_url:
url: https://github.com/google/cadvisor/releases/download/v0.50.0/cadvisor-v0.50.0-linux-arm64
url: http://git.jingrow.com/google/cadvisor/releases/download/v0.50.0/cadvisor-v0.50.0-linux-arm64
checksum: sha256:37c998d54dc0e8b1635d9be4c0ab15dfc3123aa41805ad0bd909c896d5a1a89b
dest: /opt/cadvisor/cadvisor
mode: 0755

View File

@ -7,7 +7,7 @@
- name: Download Elasticsearch Exporter Archive
unarchive:
src: https://github.com/prometheus-community/elasticsearch_exporter/releases/download/v1.3.0/elasticsearch_exporter-1.3.0.linux-amd64.tar.gz
src: http://git.jingrow.com/prometheus-community/elasticsearch_exporter/releases/download/v1.3.0/elasticsearch_exporter-1.3.0.linux-amd64.tar.gz
dest: /tmp
remote_src: yes

View File

@ -11,7 +11,7 @@
- name: Download MySQL Exporter Archive
unarchive:
src: "https://github.com/prometheus/mysqld_exporter/releases/download/v0.15.1/mysqld_exporter-0.15.1.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/prometheus/mysqld_exporter/releases/download/v0.15.1/mysqld_exporter-0.15.1.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -45,7 +45,7 @@
- name: Clone NGINX VTS Module Repository
git:
repo: https://github.com/vozlt/nginx-module-vts
repo: http://git.jingrow.com/vozlt/nginx-module-vts
dest: /opt/nginx-modules/nginx-module-vts
- name: Extract NGINX Compile Flags

View File

@ -11,7 +11,7 @@
- name: Download Node Exporter Archive
unarchive:
src: "https://github.com/prometheus/node_exporter/releases/download/v1.8.2/node_exporter-1.8.2.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/prometheus/node_exporter/releases/download/v1.8.2/node_exporter-1.8.2.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -3,7 +3,7 @@
become: yes
become_user: frappe
unarchive:
src: https://github.com/plausible/hosting/archive/master.tar.gz
src: http://git.jingrow.com/plausible/hosting/archive/master.tar.gz
dest: /tmp
remote_src: yes
@ -24,7 +24,7 @@
- name: Install Docker Compose
get_url:
url: https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64
url: http://git.jingrow.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64
checksum: sha256:d31e90dda58e21a6463cb918868421b4b58c32504b01b1612d154fe6a9167a91
dest: /usr/local/bin/docker-compose
mode: 0777

View File

@ -11,7 +11,7 @@
- name: Download Processs Exporter Archive
unarchive:
src: "https://github.com/ncabatoff/process-exporter/releases/download/v0.8.3/process-exporter-0.8.3.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/ncabatoff/process-exporter/releases/download/v0.8.3/process-exporter-0.8.3.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -20,7 +20,7 @@
become: yes
become_user: frappe
unarchive:
src: "https://github.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/prometheus/prometheus/releases/download/v3.7.3/prometheus-3.7.3.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -11,7 +11,7 @@
- name: Download MySQL Exporter Archive
unarchive:
src: "https://github.com/prometheus/mysqld_exporter/releases/download/v0.15.1/mysqld_exporter-0.15.1.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/prometheus/mysqld_exporter/releases/download/v0.15.1/mysqld_exporter-0.15.1.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -11,7 +11,7 @@
- name: Download Redis Exporter Archive
unarchive:
src: "https://github.com/oliver006/redis_exporter/releases/download/v1.67.0/redis_exporter-v1.67.0.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/oliver006/redis_exporter/releases/download/v1.67.0/redis_exporter-v1.67.0.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -12,7 +12,7 @@
become: yes
become_user: frappe
unarchive:
src: https://github.com/getsentry/self-hosted/archive/refs/tags/25.7.0.tar.gz
src: http://git.jingrow.com/getsentry/self-hosted/archive/refs/tags/25.7.0.tar.gz
dest: /tmp
remote_src: yes

View File

@ -12,7 +12,7 @@
become: yes
become_user: frappe
unarchive:
src: https://github.com/getsentry/self-hosted/archive/refs/tags/24.6.0.tar.gz
src: http://git.jingrow.com/getsentry/self-hosted/archive/refs/tags/24.6.0.tar.gz
dest: /tmp
remote_src: yes

View File

@ -11,7 +11,7 @@
- name: Download StatsD Exporter Archive
unarchive:
src: "https://github.com/prometheus/statsd_exporter/releases/download/v0.27.1/statsd_exporter-0.27.1.linux-{{ arch }}.tar.gz"
src: "http://git.jingrow.com/prometheus/statsd_exporter/releases/download/v0.27.1/statsd_exporter-0.27.1.linux-{{ arch }}.tar.gz"
dest: /tmp
remote_src: yes

View File

@ -255,7 +255,7 @@ class AccountRequest(Document):
if not args.get("image_path"):
args.update(
{
"image_path": "https://github.com/frappe/gameplan/assets/9355208/447035d0-0686-41d2-910a-a3d21928ab94"
"image_path": "http://git.jingrow.com/frappe/gameplan/assets/9355208/447035d0-0686-41d2-910a-a3d21928ab94"
}
)
# Telemetry: Verification Email Sent

View File

@ -122,7 +122,7 @@ class AgentUpdate(Document):
@property
def agent_repository_url(self) -> str:
return f"https://github.com/{self.repo_owner}/{self.repo_name}"
return f"http://git.jingrow.com/{self.repo_owner}/{self.repo_name}"
def before_insert(self): # noqa: C901
if self.flags.in_group_split:
@ -150,7 +150,7 @@ class AgentUpdate(Document):
press_settings = frappe.get_single("Press Settings")
if not self.repo:
repository_owner = press_settings.agent_repository_owner or "frappe"
self.repo = f"github.com/{repository_owner}/agent"
self.repo = f"git.jingrow.com/{repository_owner}/agent"
if not self.branch:
self.branch = press_settings.branch or "master"
@ -622,7 +622,7 @@ class AgentUpdate(Document):
return self.git_commit_info[ref]
res = requests.get(
f"https://api.github.com/repos/{self.repo_owner}/{self.repo_name}/commits/{ref}",
f"http://git.jingrow.com/api/v1/repos/{self.repo_owner}/{self.repo_name}/commits/{ref}",
headers=self.github_access_token_header,
)
res.raise_for_status()

View File

@ -27,7 +27,7 @@ class TestApp(FrappeTestCase):
source = app.add_source(
"Version 12",
"https://github.com/frappe/frappe",
"http://git.jingrow.com/frappe/frappe",
"version-12",
create_test_team().name,
)
@ -43,7 +43,7 @@ class TestApp(FrappeTestCase):
source = app.add_source(
"Version 12",
"https://github.com/frappe/erpnext",
"http://git.jingrow.com/frappe/erpnext",
"version-12",
create_test_team().name,
)
@ -58,13 +58,13 @@ class TestApp(FrappeTestCase):
source_1 = app.add_source(
"Version 12",
"https://github.com/frappe/frappe",
"http://git.jingrow.com/frappe/frappe",
"version-12",
create_test_team().name,
)
source_2 = app.add_source(
"Version 13",
"https://github.com/frappe/frappe",
"http://git.jingrow.com/frappe/frappe",
"version-13",
create_test_team().name,
)
@ -82,7 +82,7 @@ class TestApp(FrappeTestCase):
source_1 = app.add_source(
"Version 12",
"https://github.com/frappe/erpnext_documentation",
"http://git.jingrow.com/frappe/erpnext_documentation",
"master",
team_name,
)
@ -92,7 +92,7 @@ class TestApp(FrappeTestCase):
source_2 = app.add_source(
"Version 13",
"https://github.com/frappe/erpnext_documentation",
"http://git.jingrow.com/frappe/erpnext_documentation",
"master",
team_name,
)
@ -106,7 +106,7 @@ class TestApp(FrappeTestCase):
app = create_test_app("frappe", "Frappe Framework")
source_1 = app.add_source(
"Version 12",
"https://github.com/frappe/frappe",
"http://git.jingrow.com/frappe/frappe",
"version-12",
create_test_team().name,
)
@ -116,7 +116,7 @@ class TestApp(FrappeTestCase):
source_2 = app.add_source(
"Version 13",
"https://github.com/frappe/frappe",
"http://git.jingrow.com/frappe/frappe",
"version-13",
create_test_team().name,
)

View File

@ -282,7 +282,7 @@ class AppRelease(Document):
stdout = e.stdout.decode("utf-8")
if not (
"fatal: could not read Username for 'https://github.com'" in stdout
"fatal: could not read Username for 'http://git.jingrow.com'" in stdout
or "Repository not found." in stdout
):
raise e
@ -312,7 +312,7 @@ class AppRelease(Document):
# Do not edit without updating deploy_notifications.py
raise Exception("App installation token could not be fetched", self.app)
return f"https://x-access-token:{token}@github.com/{source.repository_owner}/{source.repository}"
return f"https://x-access-token:{token}@git.jingrow.com/{source.repository_owner}/{source.repository}"
def on_trash(self):
if self.clone_directory and os.path.exists(self.clone_directory):

View File

@ -65,7 +65,7 @@ class AppSource(Document):
except ValueError:
owner, repo = "frappe", app
self.append("required_apps", {"repository_url": f"https://github.com/{owner}/{repo}"})
self.append("required_apps", {"repository_url": f"http://git.jingrow.com/{owner}/{repo}"})
def validate_dependent_apps(self):
hooks_uri = f"{self.repository_owner}/{self.repository}/{self.branch}/{self.app}/hooks.py"
@ -136,7 +136,7 @@ class AppSource(Document):
versions.add(row.version)
def before_save(self):
# Assumes repository_url looks like https://github.com/frappe/erpnext
# Assumes repository_url looks like http://git.jingrow.com/frappe/erpnext
self.repository_url = self.repository_url.removesuffix(".git")
_, self.repository_owner, self.repository = self.repository_url.rsplit("/", 2)
@ -231,7 +231,7 @@ class AppSource(Document):
def poll_github(self, commit_hash: None | str = None) -> requests.Response:
headers = self.get_auth_headers()
url = f"https://api.github.com/repos/{self.repository_owner}/{self.repository}"
url = f"http://git.jingrow.com/api/v1/repos/{self.repository_owner}/{self.repository}"
if commit_hash:
# page and per_page set to reduce unnecessary diff info
@ -287,7 +287,7 @@ class AppSource(Document):
# Do not edit without updating deploy_notifications.py
raise Exception("App installation token could not be fetched", self.app)
return f"https://x-access-token:{token}@github.com/{self.repository_owner}/{self.repository}"
return f"https://x-access-token:{token}@git.jingrow.com/{self.repository_owner}/{self.repository}"
def create_app_source(

View File

@ -48,18 +48,18 @@ class TestAppSource(FrappeTestCase):
app: App = self.create_app("hrms", "HRMS")
source = app.add_source(
"Nightly",
"https://github.com/frappe/hrms",
"http://git.jingrow.com/frappe/hrms",
"develop",
team_name,
)
for req_app in source.required_apps:
self.assertEqual("https://github.com/frappe/erpnext", req_app.repository_url)
self.assertEqual("http://git.jingrow.com/frappe/erpnext", req_app.repository_url)
app: App = self.create_app("lms", "LMS")
source = app.add_source(
"Nightly",
"https://github.com/frappe/lms",
"http://git.jingrow.com/frappe/lms",
"develop",
team_name,
)

View File

@ -245,7 +245,7 @@ def handlers() -> "list[UserAddressableHandlerTuple]":
check_if_app_updated,
),
# Catch app install failures in cases of malformed package structure etc, etc.
# https://github.com/frappe/bench/pull/1665/files
# http://git.jingrow.com/frappe/bench/pull/1665/files
(
"Error occurred during app install",
update_with_invalid_app_structure,

View File

@ -402,21 +402,21 @@ def create_cache_test_release_group(app_info_list: list["AppInfo"], team: "Team"
def create_cache_test_apps(team: "Team") -> dict[str, "AppInfo"]:
info = [
(
"https://github.com/frappe/frappe",
"http://git.jingrow.com/frappe/frappe",
"Frappe Framework",
"Nightly",
"develop",
"d26c67df75a95ef43d329eadd48d7998ea656856",
),
(
"https://github.com/frappe/wiki",
"http://git.jingrow.com/frappe/wiki",
"Frappe Wiki",
"Nightly",
"master",
"8b369c63dd90b4f36195844d4a84e2aaa3b8f39a",
),
(
"https://github.com/The-Commit-Company/raven",
"http://git.jingrow.com/The-Commit-Company/raven",
"Raven",
"Nightly",
"develop",

View File

@ -328,7 +328,7 @@ class MarketplaceApp(WebsiteGenerator):
for variant in variants:
try:
readme = requests.get(
f"https://api.github.com/repos/{owner}/{repository}/contents/{variant}",
f"http://git.jingrow.com/api/v1/repos/{owner}/{repository}/contents/{variant}",
headers=headers,
params={"ref": branch},
).json()

View File

@ -12,7 +12,7 @@ frappe.ui.form.on('Press Settings', {
callback: (response) => {
window.location.href = response.message;
let $form = $('<form>', {
action: 'https://github.com/settings/apps/new',
action: 'http://git.jingrow.com/settings/apps/new',
method: 'post',
});
$('<input>')

View File

@ -253,9 +253,9 @@ class PressSettings(Document):
"default_events": ["create", "push", "release"],
"default_permissions": {"contents": "read"},
# These keys aren't documented under the app creation from manifest
# https://docs.github.com/en/free-pro-team@latest/developers/apps/creating-a-github-app-from-a-manifest
# https://docs.git.jingrow.com/en/free-pro-team@latest/developers/apps/creating-a-github-app-from-a-manifest
# But are shown under app creation using url parameters
# https://docs.github.com/en/free-pro-team@latest/developers/apps/creating-a-github-app-using-url-parameters
# https://docs.git.jingrow.com/en/free-pro-team@latest/developers/apps/creating-a-github-app-using-url-parameters
# They seem to work. This might change later
"callback_url": get_url("github/authorize"),
"request_oauth_on_install": True,

View File

@ -92,7 +92,7 @@ class TestReleaseGroup(FrappeTestCase):
def test_create_release_group(self):
app = create_test_app("frappe", "Frappe Framework")
source = app.add_source(
"Version 12", "https://github.com/frappe/frappe", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/frappe", "version-12", team=self.team
)
group = new_release_group(
"Test Group",
@ -105,11 +105,11 @@ class TestReleaseGroup(FrappeTestCase):
def test_create_release_group_set_app_from_source(self):
app1 = create_test_app("frappe", "Frappe Framework")
source1 = app1.add_source(
"Version 12", "https://github.com/frappe/frappe", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/frappe", "version-12", team=self.team
)
app2 = create_test_app("erpnext", "ERPNext")
source2 = app2.add_source(
"Version 12", "https://github.com/frappe/erpnext", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/erpnext", "version-12", team=self.team
)
group = new_release_group(
"Test Group",
@ -122,7 +122,7 @@ class TestReleaseGroup(FrappeTestCase):
def test_create_release_group_fail_when_first_app_is_not_frappe(self):
app = create_test_app("erpnext", "ERPNext")
source = app.add_source(
"Version 12", "https://github.com/frappe/erpnext", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/erpnext", "version-12", team=self.team
)
self.assertRaises(
frappe.ValidationError,
@ -136,7 +136,7 @@ class TestReleaseGroup(FrappeTestCase):
def test_create_release_group_fail_when_duplicate_apps(self):
app = create_test_app("frappe", "Frappe Framework")
source = app.add_source(
"Version 12", "https://github.com/frappe/frappe", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/frappe", "version-12", team=self.team
)
self.assertRaises(
frappe.ValidationError,
@ -153,7 +153,7 @@ class TestReleaseGroup(FrappeTestCase):
def test_create_release_group_fail_when_version_mismatch(self):
app = create_test_app("frappe", "Frappe Framework")
source = app.add_source(
"Version 12", "https://github.com/frappe/frappe", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/frappe", "version-12", team=self.team
)
self.assertRaises(
frappe.ValidationError,
@ -167,7 +167,7 @@ class TestReleaseGroup(FrappeTestCase):
def test_create_release_group_fail_with_duplicate_titles(self):
app = create_test_app("frappe", "Frappe Framework")
source = app.add_source(
"Version 12", "https://github.com/frappe/frappe", "version-12", team=self.team
"Version 12", "http://git.jingrow.com/frappe/frappe", "version-12", team=self.team
)
new_release_group(
"Test Group",
@ -416,10 +416,10 @@ class TestReleaseGroup(FrappeTestCase):
hrms_app = create_test_app(name="hrms", title="test-hrms")
hrms_app_source = create_test_app_source(
"Nightly", hrms_app, "https://github.com/frappe/hrms", "master", team=self.team
"Nightly", hrms_app, "http://git.jingrow.com/frappe/hrms", "master", team=self.team
)
frappe_app_source = create_test_app_source(
"Nightly", frappe_app, "https://github.com/frappe/frappe", "master", team=self.team
"Nightly", frappe_app, "http://git.jingrow.com/frappe/frappe", "master", team=self.team
)
for app, app_source in [(frappe_app, frappe_app_source), (hrms_app, hrms_app_source)]:
@ -433,7 +433,7 @@ class TestReleaseGroup(FrappeTestCase):
# Insert dependant app and check if it works
erpnext = create_test_app("erpnext", "ERPNext")
erpnext_app_source = create_test_app_source(
"Nightly", erpnext, "https://github.com/frappe/erpnext", "master", self.team
"Nightly", erpnext, "http://git.jingrow.com/frappe/erpnext", "master", self.team
)
release_group.append("apps", {"app": erpnext.name, "source": erpnext_app_source.name})

View File

@ -596,7 +596,7 @@ class BaseServer(Document, TagHelpers):
def get_agent_repository_url(self):
settings = frappe.get_single("Press Settings")
repository_owner = settings.agent_repository_owner or "frappe"
return f"https://github.com/{repository_owner}/agent"
return f"http://git.jingrow.com/{repository_owner}/agent"
def get_agent_repository_branch(self):
settings = frappe.get_single("Press Settings")

View File

@ -48,7 +48,7 @@ class SiteUserSession(Document):
args.update(
{
"otp": self.otp,
"image_path": "https://github.com/frappe/gameplan/assets/9355208/447035d0-0686-41d2-910a-a3d21928ab94",
"image_path": "http://git.jingrow.com/frappe/gameplan/assets/9355208/447035d0-0686-41d2-910a-a3d21928ab94",
}
)

View File

@ -36,13 +36,13 @@ def send_emails(columns, data):
def check_repository_visibility(repository_url, personal_access_token):
try:
repo_parts = repository_url.split("github.com/")[1].removesuffix(".git").split("/")
repo_parts = repository_url.split("git.jingrow.com/")[1].removesuffix(".git").split("/")
owner = repo_parts[0]
repo_name = repo_parts[1]
except IndexError:
return "Error: Invalid repository URL format."
api_url = f"https://api.github.com/repos/{owner}/{repo_name}"
api_url = f"http://git.jingrow.com/api/v1/repos/{owner}/{repo_name}"
headers = {"Authorization": f"token {personal_access_token}"}

View File

@ -63,6 +63,6 @@ If `is_standby` field is checked, that site can be allocated to a user.
- All the required APIs for billing in site is available in http://git.jingrow.com/jingrow/jcloude/tree/master/press/saas/api
- These APIs use a different type of authentication mechanism. Check this readme for more info http://git.jingrow.com/jingrow/jcloude/blob/master/press/saas/api/readme.md
- Reference of integration in framework
- https://github.com/frappe/frappe/tree/develop/billing
- https://github.com/frappe/frappe/blob/develop/frappe/integrations/frappe_providers/frappecloud_billing.py
- http://git.jingrow.com/frappe/frappe/tree/develop/billing
- http://git.jingrow.com/frappe/frappe/blob/develop/frappe/integrations/frappe_providers/frappecloud_billing.py

View File

@ -35,7 +35,7 @@ def obtain_access_token(code, team):
data = {"client_id": client_id, "client_secret": client_secret, "code": code}
headers = {"Accept": "application/json"}
response = requests.post(
"https://github.com/login/oauth/access_token", data=data, headers=headers
"http://git.jingrow.com/login/oauth/access_token", data=data, headers=headers
).json()
frappe.db.set_value("Team", team, "github_access_token", response["access_token"])
except Exception:

View File

@ -16,7 +16,7 @@ def get_context(context):
headers = {"Accept": "application/vnd.github.v3+json"}
response = frappe._dict(
requests.post(
f"https://api.github.com/app-manifests/{code}/conversions", headers=headers
f"http://git.jingrow.com/api/v1/app-manifests/{code}/conversions", headers=headers
).json()
)