Code Monkey home page Code Monkey logo

packagistbundle's Introduction

PackagistBundle

Additional Functionality

  1. Atlassian Stash Integration

    Should be used with this Stash Plugin
    Plugin Documentation

  2. Global Maintainer Console Command

Installation

app/AppKernel.php

Register the new bundle in your AppKernel file

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

app/config/config.yml

Configure the stash connection

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

app/config/routing.yml

Include the bundle routing file

    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.

NOTE: For Stash to update Packagist the Stash user will need to be a maintainer on every package from Stash.

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>

packagistbundle's People

Contributors

hppycoder avatar johary avatar mschroeder223 avatar

Stargazers

Tyler Justin Parks-Grimler avatar Alan Doucette avatar  avatar Jim Podroskey avatar

Watchers

Matt Slack avatar  avatar James Cloos avatar Heather Migliorisi avatar Jim Podroskey avatar  avatar Justin Davis avatar  avatar Cam Bass avatar

packagistbundle's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.