課程章節
培訓 · 第 1 單元:入門 · 第 1.8 章,共 8 章
1.8 匯出、匯入與版本 2:31
預覽與還原較早的版本、匯出與匯入專案,以及下載表格。
展示 Holarch 2.13。
您將學到
- 預覽還原自動版本會變更什麼,而不實際還原
- 將整個專案匯出為 JSON 檔案
- 將專案檔案匯入為新專案
- 將資料庫表格匯出到 Excel
讓 Bike-Share Dock 專案安全且可攜:編輯一個項目並對照專案的自動版本預覽變更,將整個專案匯出為 JSON 檔案,將其匯入為新專案,並將資料庫表格下載為 Excel 報告。
練習
在 Holarch 中於 CubeSat EO-1 示範專案上親自操作。
- 開啟您的 EO-1 示範專案(或建立它:管理專案 → 專案檔案 ▾ → 新增示範專案 → CubeSat(引導式系統工程))。
- 在資料庫中,按兩下 6.3 Telemetry Archive 的描述,讓它更精確,然後按 Enter。繼續工作一兩分鐘,讓系統儲存新的自動版本。
- 開啟控制與審查 → 基準線和版本,然後按一下頁首的還原以前的版本…。選取您編輯之前的版本,閱讀其中列出的 6.3 變更,然後按一下取消。
- 在管理專案中,開啟專案列的選單 ⋯,選擇匯出此專案…,然後按一下匯出 JSON。
- 選擇專案檔案 ▾ → 匯入專案 (.json)…,然後挑選該檔案。開啟新專案,確認 SRS 及其圖都在。
- 在副本的資料庫中,篩選類別 測試案例,按一下匯出…,選擇表格 (Excel),然後按一下匯出。完成後刪除副本:它會計入您的專案數。
當您取得專案 JSON 檔案、測試案例的 Excel 檔案,並在還原預覽中看到 6.3 的變更時,即完成。
自我檢查
- 自動版本與基準線有什麼不同?
- 您不小心還原了某個版本。能回到原來的狀態嗎?
- 匯入專案檔案會覆寫其來源專案嗎?
顯示答案
自動版本與基準線有什麼不同?
自動版本在您編輯時大約每分鐘儲存一次,且只保留擁有者方案所含的天數。基準線是您在里程碑建立的具名快照,會一直保留。
您不小心還原了某個版本。能回到原來的狀態嗎?
可以。還原前的狀態會先儲存為一個版本,而還原本身是一個復原步驟。
匯入專案檔案會覆寫其來源專案嗎?
不會。匯入的內容會成為一個具有新身分的新專案,而您是它的擁有者。
延伸閱讀
文字稿
顯示文字稿 (旁白與畫面內容)
Introduction
Chapter eight: export, import and versions. Holarch saves every change for you, keeps earlier versions, and lets you take the whole project with you at any time.
This is the last chapter of Getting Started.
Versions
Holarch saves every change as you make it. To see what that gives you, change something. In the Database, double-click the description of Anchored Without Digging, make it more precise, and press Enter.
On screen: Database → edit the description of 10.2.
Holarch also keeps automatic versions of the whole project. In Manage Projects, open the project's row menu, and choose Restore a Previous Version.
On screen: Manage Projects → ⋯ → Restore a Previous Version…
The dialog says how long versions are kept on your plan. Select a version to see exactly what restoring it would change: here, the description you just edited. Restore puts it back, and the present state is kept as a version too, so you can always undo. Here, click Cancel.
On screen: The versions list → select → Cancel.
Export and import
To keep your own copy, or move the project to another Holarch account, choose Export this project from the same menu. Keep the format at Holarch backup, choose what to include, and click Export. The file holds the whole model and its attached files.
On screen: ⋯ → Export this project… → Holarch backup → Export.
A project file is imported from Project Files, Import Project. Choose the file, here the project as it was at the end of the last chapter.
On screen: Project Files ▾ → Import Project… → the file.
The import becomes a new project, with a new identity, and you are its owner. It opens on Home, with every item, relationship, document and diagram.
On screen: The imported project's Home.
Exports
Tables can be downloaded too. Open the Database, click Export, choose Table, Excel, and click Export. You get an Excel file with the table's columns.
On screen: Database → Export… → Table (Excel) → Export.
Recap
Let's recap. You changed an item, previewed that change against an automatic version of the project, exported the project as a file, imported it as a new project, and downloaded a table as an Excel report.
That completes Getting Started. You can now find your way around Holarch, build a model with items, relationships, diagrams and documents, share it, and keep it safe. The next tracks go deeper into requirements, behavior, architecture and documents.
On screen: Track complete card, then end card.