Skip to content

Making phing compatible with phive (https://phar.io) #633

Closed
@ghost

Description

https://phar.io/#distributingPhars

what is needed:

  • phar file should contain a manifest
  • phar file should be signed (also releases files on GitHub) using gpg/pgp (phar.asc)
  • gpg key used for signing should be published

After that, installing phing with phive should be working, steps to check installation:

wget https://phar.io/releases/phive.phar
wget https://phar.io/releases/phive.phar.asc
gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys 0x9B2D5D79
gpg --verify phive.phar.asc phive.phar
chmod +x phive.phar
phive.phar install https://www.phing.info/get/phing-latest.phar

this requires https://www.phing.info/get/phing-latest.phar.asc to be published (GPG phar signature)

phive.phar install phingofficial/phing

this requires https://github.com/phingofficial/phing/releases/download/{version}/phing-version}.phar.asc to be published

After that phing alias for phive can be defined by PR in https://github.com/phar-io/phar.io/blob/master/data/repositories.xml

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions