An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
Provide useful information for contributors (#7994)
绛亽d7bea0236153
diff --git a/scripts/parse-changelog.py b/scripts/parse-changelog.pyindex 0b63c2b9c9..3bbe1a3cc0 100644--- a/scripts/parse-changelog.py+++ b/scripts/parse-changelog.py@@ -3,8 +3,8 @@ import refrom argparse import ArgumentParserfrom collections import defaultdict-import github-+import github # pip install PyGithub+# ensure the milestone is open before run thisdocmap = {"Feature": "Feature","Enhancement": "Enhancement",@@ -35,7 +35,7 @@ def generate_msg_from_repo(repo_name, tag_name, lastestRelease):repo = gh.get_repo(repo_name)milestone = find_milestone(repo, tag_name, lastestRelease)- for issue in repo.get_issues(state="closed", milestone=milestone):+ for issue in repo.get_issues(state="closed", milestone=milestone): # type: ignore# REF https://pygithub.readthedocs.io/en/latest/github_objects/Issue.html#github.Issue.Issuedesc_mapping[get_issue_first_label(issue)].append({"title": issue.title, "url": issue.html_url}diff --git a/scripts/win-build.bat b/scripts/win-build.batindex 91e7e34cf2..1563a40522 100644--- a/scripts/win-build.bat+++ b/scripts/win-build.bat@@ -1,3 +1,6 @@+@echo off+echo 'use ".\scripts\win-build.bat" instead of "win-build.bat"'+echo 'Building UI'cd appcall pnpm install@@ -9,16 +12,19 @@ del /S /Q /F app\build 1>nuldel /S /Q /F app\kernel 1>nulecho 'Building Kernel'+@REM the C compiler "gcc" is necessary https://sourceforge.net/projects/mingw-w64/files/mingw-w64/go versionset GO111MODULE=onset GOPROXY=https://goproxy.ioset CGO_ENABLED=1cd kernel+@REM you can use `go generate` instead (nead add something in main.go)goversioninfo -platform-specific=true -icon=resource/icon.ico -manifest=resource/goversioninfo.exe.manifestset GOOS=windowsset GOARCH=amd64+@REM you can use `go mod tidy` to update kernel dependency bofore buildgo build --tags fts5 -v -o "../app/kernel/SiYuan-Kernel.exe" -ldflags "-s -w -H=windowsgui" .cd ..@@ -30,5 +36,7 @@ call pnpm run distcd ..echo 'Building Appx'+echo 'Building Appx should be disabled if you do not need it. Not configured correctly will lead to build failures'cd . > app\build\win-unpacked\resources\ms-storeelectron-windows-store --input-directory app\build\win-unpacked --output-directory app\build\ --package-version 1.0.0.0 --package-name SiYuan --manifest app\appx\AppxManifest.xml --assets app\appx\assets\ --make-pri true+