Description of problem: Attempting to request a new repository with fedrepo-req errors with an error message that leaves me with no clue what I need to do: Error: The "pagure_api_token" setting is not set in the "app" section The "app" section of what exactly? What should I set it to? Version-Release number of selected component (if applicable): fedrepo-req-1.0.0-1.fc26.noarch How reproducible: Every time. Steps to Reproduce: fedrepo-req nodejs-chroma-js -t 1480716 Actual results: Error: The "pagure_api_token" setting is not set in the "app" section Expected results: Repository is requested or a meaningful error message is issued.
https://pagure.io/fedrepo_req/blob/master/f/README.md see Configuration chapter
I am making a code change so that the user is told to read the README when their configuration isn't properly set: https://pagure.io/fedrepo_req/pull-request/60
Thanks. I had already tried "man fedrepo-req" which doesn't exist (a soft review failure) and "fedrepo-req --help" which doesn't mention anything...
Streamlining the creation of the configuration would be good as well - it's not exactly user friendly at the moment. At the least I would suggest a mode that can handle creating the ~/.config/fedrepo_req directory and then the config file and filling in a token supplied by the user. That could then be done automatically if necessary, prompting the user to create a token if there isn't one and then saving it in the configuration.
Works for me: [builder@builder26]~% fedrepo-req --help Usage: fedrepo-req [OPTIONS] REPO [BRANCH] Request new repositories on src.fedoraproject.org. Examples: fedrepo-req nethack -t 12345 fedrepo-req nethack epel7 -t 12345 fedrepo-req nethack lts -t 12345 --sl security_fixes:2022-01-01 --sl bug_fixes:2022-01-01 Options: -d, --description TEXT The package's description. -m, --monitor [no-monitoring|monitoring|monitoring-with-scratch] Monitoring type for the package. -n, --namespace [rpms|container|modules|test-modules] The repo's namespace. -s, --summary TEXT Override the package's summary from the ticket. -t, --ticket TEXT The package request's ticket number. -u, --upstreamurl TEXT The package's upstream URL. --sl TEXT The SLs tied to the branch. This must be in the format of "sl_name:2017-12-25" --help Show this message and exit.
fedrepo-req-1.3.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2bf593c298
fedrepo-req-1.4.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-868a70ab41
fedrepo-req-1.3.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
fedrepo-req-1.3.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2bf593c298
fedrepo-req-1.4.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-868a70ab41
fedrepo-req-1.3.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-221e2e5c0f
fedrepo-req-1.4.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b7a0f64ef7
fedrepo-req-1.4.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
fedrepo-req-1.5.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-179e05be92
fedrepo-req-1.5.0-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-179e05be92
fedrepo-req-1.5.0-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5a10270a78
fedrepo-req-1.6.0-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-12dcc66bfd
fedrepo-req-1.6.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c7f66e50ba
fedrepo-req-1.6.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-33c2c6e985
fedrepo-req-1.6.0-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-33c2c6e985
fedrepo-req-1.6.0-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-12dcc66bfd
fedrepo-req-1.6.0-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-c7f66e50ba
fedrepo-req-1.6.0-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
fedrepo-req-1.6.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
fedrepo-req-1.6.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a4a6724cd1
fedrepo-req-1.6.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.