#32332 New repo for "tests/php"
Closed: Invalid by humaton. Opened by remi.

{
 "action": "new_repo",
 "branch": "",
 "bug_id": "",
 "monitor": "no-monitoring",
 "namespace": "tests",
 "repo": "php",
 "description": "repository for php CI tests"
}

Invalid JSON provided

Metadata Update from @humaton:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

@humaton what's wrong? I think it's the same as https://pagure.io/releng/fedora-scm-requests/issue/32197 and it was OK.

Metadata Update from @remi:
- Issue status updated to: Open (was: Closed)

@remi what version of fedpkg did you use to open this issue? Could you please update to the latest version and create a new issue?

Metadata Update from @humaton:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

$ fedpkg request-repo --namespace tests -s 'repository for php CI tests' php
usage: fedpkg request-repo [-h] [--namespace {rpms,container,modules,flatpaks}] [--description DESCRIPTION] [--monitor {no-monitoring,monitoring,monitoring-with-scratch}]
                           [--upstreamurl UPSTREAMURL] [--summary SUMMARY] [--exception] [--no-initial-commit]
                           name [bug]
fedpkg request-repo: error: argument --namespace: invalid choice: 'tests' (choose from 'rpms', 'container', 'modules', 'flatpaks')

Using fedpkg-1.40-5.fc33.noarch

That is really weird. @remi I have reported it with fedpkg. Making these requests by hand probably posts some undesired characters and parsing a string to JSON fails in the fedsc_admin tool.

So there is a specific command to request tests,

fedpkg request-tests-repo

@icesalov see https://pagure.io/releng/fedora-scm-requests/issue/32756

So repo should be there now

Metadata