chore: track Vitis workspace .metadata project list
Root .gitignore: remove *.metadata/ global pattern that was preventing Vitis workspace metadata from being tracked. Vitis .gitignore: replace blanket .metadata/ ignore with granular rules — track project references (.projects/, .safetable/, version.ini) while excluding machine-specific snapshots, logs, locks, and plugin caches. Fixes empty workspace after cloning on another machine.
This commit is contained in:
+2
-1
@@ -115,7 +115,8 @@ work/
|
|||||||
*.gen/
|
*.gen/
|
||||||
*.tmp/
|
*.tmp/
|
||||||
*.data/
|
*.data/
|
||||||
*.metadata/
|
# *.metadata/ 已移除 — Vitis 工作区需要追踪 .metadata 中的项目列表
|
||||||
|
# Vitis workspace 的 .metadata/ 由 2.FW/Zynq/proj_cal/Vitis/.gitignore 精细管理
|
||||||
|
|
||||||
# Vivado 独立目录
|
# Vivado 独立目录
|
||||||
.Xil/
|
.Xil/
|
||||||
|
|||||||
@@ -1,5 +1,47 @@
|
|||||||
# Vitis IDE local files - machine-specific, do not commit
|
# Vitis IDE workspace — 追踪项目列表,忽略机器特定文件
|
||||||
.metadata/
|
#
|
||||||
|
# 原则:.metadata 中只有项目列表 (.projects/, .safetable/) 需要共享。
|
||||||
|
# 其余都是 IDE 运行时缓存,可自动重生,不应提交。
|
||||||
|
|
||||||
|
# ── 机器特定:锁和日志 ──────────────────────────────────────
|
||||||
|
.metadata/.lock
|
||||||
|
.metadata/.log
|
||||||
|
|
||||||
|
# ── 资源快照 & EGit 数据(每次启动自动重生)─────────────────
|
||||||
|
.metadata/.plugins/org.eclipse.core.resources/0.snap
|
||||||
|
.metadata/.plugins/org.eclipse.core.resources/**/.markers.snap
|
||||||
|
.metadata/.plugins/org.eclipse.core.resources/**/.syncinfo.snap
|
||||||
|
.metadata/.plugins/org.eclipse.core.resources/.history/
|
||||||
|
.metadata/.plugins/org.eclipse.core.resources/.projects/*/org.eclipse.egit.core/
|
||||||
|
|
||||||
|
# ── IDE 插件状态(机器特定,自动重生)────────────────────────
|
||||||
|
.metadata/.plugins/org.eclipse.core.runtime/
|
||||||
|
.metadata/.plugins/org.eclipse.ui.workbench/
|
||||||
|
.metadata/.plugins/org.eclipse.e4.workbench/
|
||||||
|
.metadata/.plugins/org.eclipse.debug.core/
|
||||||
|
.metadata/.plugins/org.eclipse.debug.ui/
|
||||||
|
.metadata/.plugins/org.eclipse.ltk.core.refactoring/
|
||||||
|
.metadata/.plugins/org.eclipse.ltk.ui.refactoring/
|
||||||
|
.metadata/.plugins/org.eclipse.cdt.core/
|
||||||
|
.metadata/.plugins/org.eclipse.cdt.make.core/
|
||||||
|
.metadata/.plugins/org.eclipse.cdt.managedbuilder.core/
|
||||||
|
.metadata/.plugins/org.eclipse.cdt.ui/
|
||||||
|
.metadata/.plugins/org.eclipse.jdt.core/
|
||||||
|
.metadata/.plugins/org.eclipse.jdt.ui/
|
||||||
|
.metadata/.plugins/org.eclipse.emf.ecore/
|
||||||
|
.metadata/.plugins/org.eclipse.pde.core/
|
||||||
|
.metadata/.plugins/org.eclipse.rse.core/
|
||||||
|
.metadata/.plugins/org.eclipse.rse.ui/
|
||||||
|
.metadata/.plugins/org.eclipse.tcf/
|
||||||
|
.metadata/.plugins/org.eclipse.tcf.debug/
|
||||||
|
.metadata/.plugins/org.eclipse.tm.terminal.view.ui/
|
||||||
|
.metadata/.plugins/org.eclipse.tracecompass.tmf.analysis.xml.core/
|
||||||
|
.metadata/.plugins/com.xilinx.sdk.utils/
|
||||||
|
.metadata/.plugins/com.xilinx.sdsoc.ui/
|
||||||
|
.metadata/.plugins/com.xilinx.sdx.core/
|
||||||
|
.metadata/.plugins/com.xilinx.sdx.npw/
|
||||||
|
|
||||||
|
# ── 其余机器特定 ───────────────────────────────────────────
|
||||||
RemoteSystemsTempFiles/
|
RemoteSystemsTempFiles/
|
||||||
IDE.log
|
IDE.log
|
||||||
*.log
|
*.log
|
||||||
|
|||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
#Tue May 26 10:20:51 UTC 2026
|
||||||
|
org.eclipse.core.runtime=2
|
||||||
|
org.eclipse.platform=4.15.0.v20200305-0155
|
||||||
|
com.xilinx.tools.product=VITIS_IDE
|
||||||
|
com.xilinx.tools.version=2023.2.0
|
||||||
Reference in New Issue
Block a user