Repository Zip

Repository Zip Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,249 downloads
Repository Zip Icon

Try plugin: Repository Zip

We'll create fresh WordPress site with Repository Zip installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Repository Zip

With this plugin a zip download link of a subversion or git repository can be created within blog articles and pages

0


0


0


0


0

updated: 12 years ago
since: 12 years ago
author: flashpixx

Description

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)