이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Repository Zip

설명

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

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)

설치

  1. Upload the folder to the “/wp-content/plugins/” directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Take a look to the plugin setting page and set your initialization data

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Repository Zip”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Repository Zip”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.14

  • extend clean-up call
  • optimize Git download code
  • Git pull call changed with git-dir & work-tree flags

0.13

  • clean-up expand for download files
  • git pull & checkout with force flag

0.12

  • clean-up call for temporary data

0.11

  • fixing Git pull path problem

0.1

  • first version with the base functions for using Git and SVN support