Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ 适配 nb orm #399

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

✨ 适配 nb orm #399

wants to merge 11 commits into from

Conversation

he0119
Copy link
Collaborator

@he0119 he0119 commented Oct 12, 2023

datastore 被爆了!

@netlify
Copy link

netlify bot commented Oct 12, 2023

Deploy Preview for nonebot-bison ready!

Name Link
🔨 Latest commit cd37198
🔍 Latest deploy log https://app.netlify.com/sites/nonebot-bison/deploys/66ab9a4aec88c700088f56f8
😎 Deploy Preview https://deploy-preview-399--nonebot-bison.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Attention: Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.74%. Comparing base (e2a97a9) to head (cd37198).
Report is 5 commits behind head on main.

Files Patch % Lines
nonebot_bison/config/db_config.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #399      +/-   ##
==========================================
+ Coverage   85.04%   85.74%   +0.69%     
==========================================
  Files          88       75      -13     
  Lines        4486     4222     -264     
==========================================
- Hits         3815     3620     -195     
+ Misses        671      602      -69     
Flag Coverage Δ
smoke-test 85.74% <95.65%> (+0.69%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@he0119 he0119 marked this pull request as draft October 13, 2023 02:17
@he0119 he0119 force-pushed the feat/nb-orm branch 4 times, most recently from b5a9a9d to c133a0c Compare October 14, 2023 01:23
@he0119 he0119 marked this pull request as ready for review October 14, 2023 01:24
@he0119 he0119 marked this pull request as draft February 8, 2024 06:36
@he0119 he0119 marked this pull request as ready for review July 13, 2024 09:20
he0119 added 2 commits August 1, 2024 20:57
🐛 修复找不到文件的报错

🐛 修复找不到文件的报错

➕ 将 gunicorn uvicorn uvicorn_worker 添加到依赖

🐛 再次修复找不到文件的问题
@felinae98
Copy link
Collaborator

能不能:

  1. 如果存在古早的 tinydb,那么就执行 tinydb 到 datastore 的迁移
  2. 如果存在 datastore 的表,那么就把 datastore 的表滚到最新
  3. 然后构建 orm 的表,做数据迁移

@felinae98
Copy link
Collaborator

然后这个 gunicorn 是干嘛的。。

@he0119
Copy link
Collaborator Author

he0119 commented Jan 15, 2025

能不能:

  1. 如果存在古早的 tinydb,那么就执行 tinydb 到 datastore 的迁移
  2. 如果存在 datastore 的表,那么就把 datastore 的表滚到最新
  3. 然后构建 orm 的表,做数据迁移

感觉可以,晚点我来试试

然后这个 gunicorn 是干嘛的

这个是用来管理 worker 的,可以在 worker 卡死后自动重启啥的,其他我也没仔细看了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants