Skip to content
sauce labs pear channel for sauce php integration (pear sauce!)
PHP
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PHPUnit/Extensions
get
rest
.gitignore
README.markdown
channel.xml
feed.xml
index.html
packages.json
pirum.css
pirum.xml

README.markdown

PEAR Channel Server hosted by GitHub

This is the Sauce Labs PEAR Channel Server hosted by GitHub and powered by Pirum

Inspired by jsor's PEAR channel jsor.github.com/pear

Create your own PEAR Channel Server

  1. Create a new repository on GitHub called pear (or any other name)
  2. Create a local git repository (use the same name from the previous step and replace [username] with your GitHub username) $ mkdir pear $ cd pear $ git init $ git remote add origin git@github.com:[username]/pear.git
  3. Install Pirum $ pear channel-discover pear.pirum-project.org $ pear install pirum/Pirum-beta
  4. Create a configuration file pirum.xml with the following content (replace [username] with your GitHub username) [username].github.com/pear [username]'s PEAR Channel Server [username] http://[username].github.com/pear
  5. Run the build command $ pirum build .
  6. Now add and commit everything $ git add . $ git commit -m "Initial server build"
  7. Rename your master branch to gh-pages and push it to GitHub $ git branch -m master gh-pages $ git push origin gh-pages
  8. Your PEAR channel server is now available under [username].github.com/pear. You can test it with (replace [username] with your GitHub username) $ pear channel-discover [username].github.com/pear $ pear channel-info [username] $ pear list-all -c [username]

Add packages to your PEAR Channel Server

  1. Add a PEAR package $ pirum add . My_Package-1.0.0.tgz
  2. Add, commit and push everything to publish the new package $ git add . $ git commit -m "Add 1.0.0 release of My_Package" $ git push origin gh-pages
You can’t perform that action at this time.