lukaszlach / satis-server

:whale: Private, self-hosted Composer/Satis repository with unlimited private and open-source packages and support for Git, Mercurial, and Subversion. HTTP API, HTTPs support, webhook handler, scheduled builds, Slack and HipChat integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"jq: cannot iterate over null" error when sending /api/show request

markiewitch opened this issue · comments

According to composer.json Schema the only required parameters are description and name. Given they're both present in my library' composer.json I'm wondering where this error is coming from

Response I get:

jq: error (at <stdin>:140): Cannot iterate over null (null)
Package: vendor/package
Description: 
Authors: 
Releases: 1.0.0, 1.0.1, dev-master
Homepage: https://gitlab.xyz/vendor/package
Last built: Fri Oct 13 10:02:02 2017

composer.json of package I'm querying for:

{
    "name": "vendor/package",
    "description": "",
    "license": "proprietary",
    "homepage": "https://gitlab.xyz/vendor/package",
    "type": "library",
    "keywords": ["abc", "def", "ghi"],
    "repositories": [
        {
            "type": "composer",
            "url": "https://composer.xyz"
        }
    ],
    "require": {
        "symfony/http-foundation": "^2.6|^3.0",
        "symfony/http-kernel": "^2.6|^3.0",
        "symfony/config": "^2.6|^3.0",
        "symfony/dependency-injection": "^2.6|^3.0"
    },
    "require-dev": {
        "phpspec/phpspec": "~3.4",
        "phpunit/phpunit": "~5.7",
        "symfony/framework-bundle": "^2.6|^3.0"
    },
    "minimum-stability": "stable"
}

released under latest docker tag