前言介紹
- 這款 WordPress 外掛「Repository Zip」是 2012-10-18 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2012-11-01,距離現在已有 4566 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.7 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
git | svn | zip | download | subversion |
內容簡介
這個外掛可以在文章和頁面中創建指向 Subversion 或 Git 存儲庫的 zip 下載鏈接。每次調用時,可以設置 Subversion 版本號 / Git 標籤、鏈接文字、CSS 名稱和下載名稱,這樣每個鏈接都指向不同的存儲庫部分。
功能
遠程訪問 Git 或 Subversion 庫
本地緩存庫數據
自動更新到最新版本
僅當有訪問時才需要擴展訪問權限
自由配置tag、branches、trunk以及版本/提交訪問權限
要求
WordPress 3.2 或更高版本
PHP 5.3.0 或更高版本
PHP Zip 擴展
對於 SVN 訪問
* PHP SVN 擴展
對於 Git 訪問
* Git 客戶端
* PHP 必須執行 shell 命令 (不能是 safe mode)
短碼
SVN 訪問的快捷鍵
[svnzip url="url-to-your-svn"]
SVN tag 使用了三個可選標誌(默認值在插件設置中設置):
“trunkdir” 主幹目錄的名稱
“branchdir” 分支目錄的名稱
“tagdir” 標籤目錄的名稱
Git 訪問的快捷方式
[gitzip url="url-to-your-svn"]
兩個命令的參數如下(所有參數都是可選的):
“version” 定義要使用的特殊版本(SVN) / 提交(Git)。如果未設置該參數,則使用最新版本(head)
“downloadtext” 下載文件的文件名(如果未設定,則使用鏈接文字)
“linktext” 鏈接文字(默認設置在插件設置中)
“cssclass” 設置連結的 CSS 類(默認設置在插件設置中)
“type” 枚舉值 trunk | branch | tag,用於設置庫部分(默認為trunk,在Git中也使用trunk並套用於主分支中)
“name” tag 或 branch 名稱的值(在 trunk 上它被忽略/為空)
原文外掛簡介
The plugin creates zip download links within articles and pages of a subversion or git repository. On each call the subversion revision number / git tag, link text, css name and download
name can be set, so that each link points to different repositority parts.
Features
remote access to Git or Subversion repository
local caching for the repository data
automatic update to the head revision
extension access only need on access
free configuration of tags, branches, trunk and revision / commit access
Requirements
WordPress 3.2 or newer
PHP 5.3.0 or newer
PHP Zip extension
for SVN access
* PHP SVN extension
for Git access
* Git client
* PHP must execute shell commands (no safe mode)
Shortcode
Shotcut for SVN access
[svnzip url="url-to-your-svn"]
The SVN tag uses three optional flags (the default values are set within the plugin settings):
“trunkdir” the name of the trunk directory
“branchdir” the name of the branch directory
“tagdir” the name of the tag directory
Shotcut for Git access
[gitzip url="url-to-your-svn"]
Parameters for both commands are (all parameters are optional):
“version” defines a special revision (SVN) / commit (Git), which is used. If the parameter is not set, the latest revision (head) is used
“downloadtext” filename for the downloaded file (if not is set, the linktext is used)
“linktext” text of the link (default is set within the plugin settings)
“cssclass” sets the CSS class of the link (default is set within the plugin settings)
“type” enum value trunk | branch | tag for setting the repository part (default is trunk, for Git trunk is also used and it is applied to the master)
“name” the value for tag- or branchname (on trunk it is ignored / empty)
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Repository Zip」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 | 0.11 | 0.12 | 0.13 | 0.14 | trunk |
延伸相關外掛(你可能也想知道)
Theme Versioning 》為 WordPress 主題檔案新增版本控制,並在主題編輯器中新增版本檢視器。, 您可以編寫自己的轉接器外掛程式以使用您選擇的版本控制系統,或是直接使用外掛程式...。
SVN Zip 》這個外掛已經停止開發,所有功能都轉移到一個新的外掛Repository Zip, 這個外掛可在文章和頁面中創建子版本庫的zip下載鏈接。在每次調用時,可以設置子版本庫...。
SVN Updater 》你曾經需要升級外掛到最新版(尚未發布)嗎?, 使用 SVN Updater,你在外掛頁面上會得到一個新的操作(Trunk)。, 此外掛的開發是在 GitHub 上進行的。, 歡迎...。
SVN Auto Upgrade 》描述:此外掛會連接到 WordPress 的升級程式,並支援 SVN 驅動的網站。現在你可以自由地使用 WordPress 的自動升級功能,而不用擔心 Subversion 的影響。只需...。
Post Version Control 》WordPress 中可以以多種方式對文章進行分組,但卻沒有直接的版本控制系統。這個外掛為想要為一組文章進行版本控制的使用者提供了一個輕量級的解決方案。, 使...。
Plugin Version Switching 》提供容易的方式來「回滾」和「前滾」支援版本標記的外掛程式版本。, 請注意,此外掛程式無法反轉已實作的資料庫升級程序。如果您想回滾到前一版本,請聯繫並...。
No Updates for Plugins under Revision Control 》此外掛會檢查每個外掛程式所在目錄中是否存在 .svn 目錄。為避免誤判,對直接存放於 /plugins/ 目錄下的外掛程式會禁用該檢查功能。, 除了 Subversion 外掛外...。
Dev Toolbox 》這個外掛提供你所有開發新外掛所需的工具。, 其特色包括:, , 創建工具,協助你無困難地建立新的外掛;, SVN 客戶端,協助上傳你的外掛至 WordPress 儲存庫;...。
WP-Subversion 》這是一個非常簡單直覺的外掛程式,可以讓您自動將公開的 Subversion 儲存庫的提交訊息發佈至網誌。目前只支援一個專案。, 要運作這個外掛程式,需要 PHP 具有...。
SVN upgrade 》無法存取您的託管提供者以進行子版本更新?或者您的託管沒有安裝子版本。這就是我的插件派上用場的地方!, SVN升級使用數據庫(wp_svn表)存儲最新的庫版本。...。
Subversion Informations 》Subversion Informations是一個WordPress外掛程式,旨在提供關於本地SVN庫的資訊。, 它可以利用WebSVN提供當前版本的直接下載。, 要在您的文章中顯示信息,您...。
Staunch 》自動升級現存網站通常被視為一個糟糕的想法,相信大多數人都會這樣認同。您不能在上線前測試它們,如果您正在使用版本控制系統,它們會對您的系統造成混亂,...。
Show SVN Revision 》這款外掛允許 WordPress 的測試員和管理員顯示其 WordPress 安裝所運行的 Subversion 工作副本的修訂版本和路徑。這些信息會顯示在管理頁面的頁尾。如果需要...。
Plugin changelog checker 》這個 WordPress 外掛會在每日檢查 WordPress.org 的 Changelog 頁面和 SVN Trunk 中的 readme.txt 有差異時,發送電子郵件通知您。, 僅適用於開發!, 功能, ...。
Google Code Commit Tracking 》當你在Google Code專案上進行SVN提交時,你可以指示Google將通知發送到其他地方。此外,利用 WordPress 3.0 中即將推出的自訂文章類型功能,此外掛程式建立了...。