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

🔨 chore: Casdoor re-init in on-click deployment #6714

Merged
merged 1 commit into from
Mar 9, 2025

Conversation

cy948
Copy link
Contributor

@cy948 cy948 commented Mar 5, 2025

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

更多 Issue 可能已经关闭或未能搜索到,所以暂时没 link

运行测试:

bash <(curl -fsSL https://raw.githubusercontent.com/cy948/lobe-chat/fix/reinit-setup/docker-compose/setup.sh) -l zh_CN 

📝 补充信息 | Additional Information

  • 对于第一个 Fix:有尝试考虑能否允许服务器上无法方案Github的用户自行下载配置文件并放入文件夹,但先不在这个 fix 的PR中完成。
  • 对于第二个 Fix: 尝试过以下方案
    • 指定 initDataNewOnly=true
      • 👍:无需修改 docker compose 文件
      • 👎: 但不能与 createDatabase=true 选项共用 ❌
    • 修改 docker compose 文件,使其不挂载。
      • sed 不可行。❌
    • init_data.json 定义为一次性文件 √ 初始化后删除。

Copy link

vercel bot commented Mar 5, 2025

@cy948 is attempting to deploy a commit to the LobeChat Desktop Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 5, 2025
@lobehubbot
Copy link
Member

👍 @cy948

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Mar 5, 2025
Copy link

codecov bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.11%. Comparing base (27e4980) to head (9498bf4).
Report is 48 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #6714     +/-   ##
=========================================
  Coverage   91.11%   91.11%             
=========================================
  Files         720      720             
  Lines       67864    67864             
  Branches     4535     3062   -1473     
=========================================
  Hits        61835    61835             
  Misses       6029     6029             
Flag Coverage Δ
app 91.11% <ø> (ø)
server 97.57% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cy948 cy948 changed the title 🐛 bug: Fix re-init in on-click deployment 🐛 fix: re-init in on-click deployment Mar 5, 2025
@cy948 cy948 changed the title 🐛 fix: re-init in on-click deployment 🐛 fix: Casdoor re-init in on-click deployment Mar 5, 2025
@arvinxx arvinxx changed the title 🐛 fix: Casdoor re-init in on-click deployment 🔨 chore: Casdoor re-init in on-click deployment Mar 9, 2025
@arvinxx arvinxx merged commit 81867c4 into lobehub:main Mar 9, 2025
6 of 9 checks passed
@lobehubbot
Copy link
Member

❤️ Great PR @cy948 ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.69.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
3 participants