2017 © Pedro PelĂĄez
 

composer-plugin composer-svn-export

A plugin that allows Composer to export SVN packages instead of checking them out

image

linearsoft/composer-svn-export

A plugin that allows Composer to export SVN packages instead of checking them out

  • Friday, June 3, 2016
  • by CrashSensei
  • Repository
  • 1 Watchers
  • 8 Stars
  • 854 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

Composer SvnExport

A composer plugin that allows for exporting svn repositories, (*1)

Installation

Install the latest version with, (*2)

$ composer require linearsoft/composer-svn-export

Usage

There are two ways to use SvnExport, (*3)

1. Modify the repository

If you are hosting your own composer repository you can simply change the source type from 'svn' to 'svn-export'., (*4)

composer.json
{
    "require": {
      "vendor/my-package": "dev-trunk"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "http://my-repo.vendor.com"
        }
    ]
}
packages.json
{
    "packages": {
        "vendor/my-package": {
            "dev-trunk": {
                "name": "vendor/my-package",
                "description": "My very special package",
                "version": "dev-trunk",
                "source": {
                    "type": "svn-export",
                    "url": "http://svn.vendor.com/my-package",
                    "reference": "/trunk/@50"
                },
                "other tags...": "blah, blah, blah"
            }
        }
    }
}

2. Add a SvnExport repository

A repository of type 'svn' or 'composer' can be used as a SvnExport repository via the extras section. Note: All packages of type 'svn' in a composer repository will automatically be converted to type 'svn-export'. Warning: If you add a repository as a SvnExport repository do NOT also add it as a standard repository or you will have problems., (*5)

composer.json
{
    "require": {
      "vendor/my-package-alpha": "dev-trunk",
      "vendor/my-package-beta": "dev-trunk"
    },
    "extra": {
        "svn-export-repositories": [
            {
                "name": "My Repo (optional)",
                "type": "composer",
                "url": "http://my-repo.vendor.com"
            },
            {
                "type": "svn",
                "url": "http://svn.vendor.com/my-package-beta"
            }
        ]
    }
}
packages.json
{
    "packages": {
        "vendor/my-package": {
            "dev-trunk": {
                "name": "vendor/my-package",
                "description": "My very special package",
                "version": "dev-trunk",
                "source": {
                    "type": "svn",
                    "url": "http://svn.vendor.com/my-package",
                    "reference": "/trunk/@50"
                },
                "other tags...": "blah, blah, blah"
            }
        }
    }
}

About

Bugs or features requests

Found a problem or would like a feature submit it via GitHub, (*6)

License

SvnExport is license under the GPLv3 License - see the LICENSE file for details, (*7)

Acknowledgements

François Pluchino's composer-asset-plugin design was used as a foundation for this plugin., (*8)

The Versions

03/06 2016

dev-master

9999999-dev

A plugin that allows Composer to export SVN packages instead of checking them out

  Sources   Download

GPLv3

The Requires

  • php ^5.3.2 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Jason Abraham

03/06 2016

v0.1.3

0.1.3.0

A plugin that allows Composer to export SVN packages instead of checking them out

  Sources   Download

GPLv3

The Requires

  • php ^5.3.2 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Jason Abraham

14/03 2016

v0.1.2

0.1.2.0

A plugin that allows Composer to export SVN packages instead of checking them out

  Sources   Download

GPLv3

The Requires

  • php ^5.3.2 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Jason Abraham

13/02 2016

v0.1.1

0.1.1.0

A plugin that allows Composer to export SVN packages instead of checking them out

  Sources   Download

GPLv3

The Requires

  • php ^5.3.2 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Jason Abraham

13/02 2016

v0.1.0

0.1.0.0

A plugin that allows Composer to export SVN packages instead of checking them out

  Sources   Download

GPLv3

The Requires

  • php ^5.3.2 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Jason Abraham