2017 © Pedro Peláez
 

symfony-bundle packagist-bundle

Additional functionality for Packagist

image

giftcards/packagist-bundle

Additional functionality for Packagist

  • Tuesday, September 16, 2014
  • by lenybernard
  • Repository
  • 7 Watchers
  • 3 Stars
  • 134 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

PackagistBundle

Additional Functionality

  1. Atlassian Stash Integration, (*1)

    Should be used with this Stash Plugin
    Plugin Documentation, (*2)

  2. Global Maintainer Console Command

Installation

app/AppKernel.php

Register the new bundle in your AppKernel file, (*3)

        new Nelmio\SolariumBundle\NelmioSolariumBundle(),
        new Nelmio\SecurityBundle\NelmioSecurityBundle(),
        new GiftCards\PackagistBundle\GiftCardsPackagistBundle(),
    );

app/config/config.yml

Configure the stash connection, (*4)

    gift_cards_packagist:
        protocol: ssh
        domain: stash.domain.com

app/config/routing.yml

Include the bundle routing file, (*5)

    gift_cards_packagist:
        resource: "@GiftCardsPackagistBundle/Resources/config/routing.yml"

Setup a Stash User in Packagist

Because Stash does not supply the information for the user who triggered the hook, you must create a generic Stash user. Once this user is created you will need to login and copy the API Token. The token and the username are used to authenticate Stash with Packagist. If you're configuring a hook for a repository specific to your user you can use your own credentials., (*6)

NOTE: For Stash to update Packagist the Stash user will need to be a maintainer on every package from Stash., (*7)

Configure a Post-Receive hook in Stash

Setup a Post-Receive hook for each repository which is tracked in packagist. Configure it with a similiar url: http://<packagist domain>/api/stash?username=<stash user>&apiToken=<stash user token>, (*8)

The Versions

16/09 2014

dev-master

9999999-dev https://github.com/giftcards/PackagistBundle

Additional functionality for Packagist

  Sources   Download

MIT

The Requires

 

composer packagist

10/12 2013

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/giftcards/PackagistBundle

Additional functionality for Packagist

  Sources   Download

MIT

The Requires

 

composer packagist

10/12 2013

1.0.1

1.0.1.0 https://github.com/giftcards/PackagistBundle

Additional functionality for Packagist

  Sources   Download

MIT

The Requires

 

composer packagist

06/09 2013

1.0.0

1.0.0.0 https://github.com/giftcards/PackagistBundle

Additional functionality for Packagist

  Sources   Download

MIT

The Requires

 

composer packagist