Title: Repository Zip
Author: flashpixx
Published: <strong>October 19, 2012</strong>
Last modified: November 1, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/repositoryzip.svg)

# Repository Zip

 By [flashpixx](https://profiles.wordpress.org/flashpixx/)

[Download](https://downloads.wordpress.org/plugin/repositoryzip.0.14.zip)

 * [Details](https://pcd.wordpress.org/plugins/repositoryzip/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/repositoryzip/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/repositoryzip/#installation)
 * [Development](https://pcd.wordpress.org/plugins/repositoryzip/#developers)

 [Support](https://wordpress.org/support/plugin/repositoryzip/)

## 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

 * WordPress 3.2 or newer
 * PHP 5.3.0 or newer
 * [PHP Zip extension](http://de3.php.net/manual/en/book.zip.php)

for SVN access
 * [PHP SVN extension](http://de3.php.net/manual/en/book.svn.php)

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)

## Installation

 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

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Repository Zip” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ flashpixx ](https://profiles.wordpress.org/flashpixx/)

[Translate “Repository Zip” into your language.](https://translate.wordpress.org/projects/wp-plugins/repositoryzip)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/repositoryzip/), check
out the [SVN repository](https://plugins.svn.wordpress.org/repositoryzip/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/repositoryzip/) 
by [RSS](https://plugins.trac.wordpress.org/log/repositoryzip/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **0.14**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **3.4.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/repositoryzip/)
 * Tags
 * [download](https://pcd.wordpress.org/plugins/tags/download/)[git](https://pcd.wordpress.org/plugins/tags/git/)
   [subversion](https://pcd.wordpress.org/plugins/tags/subversion/)[svn](https://pcd.wordpress.org/plugins/tags/svn/)
   [zip](https://pcd.wordpress.org/plugins/tags/zip/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/repositoryzip/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/repositoryzip/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/repositoryzip/reviews/)

## Contributors

 *   [ flashpixx ](https://profiles.wordpress.org/flashpixx/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/repositoryzip/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WCRMFYTNCJRAU)