Description of problem: Running any command under fedpkg-1.38-2 causes a traceback: $ fedpkg switch-branch f32 Traceback (most recent call last): File "/usr/bin/fedpkg", line 11, in <module> load_entry_point('fedpkg==1.38', 'console_scripts', 'fedpkg')() File "/usr/lib/python3.7/site-packages/fedpkg/__main__.py", line 59, in main client = fedpkg.cli.fedpkgClient(config, name=cli_name) File "/usr/lib/python3.7/site-packages/fedpkg/cli.py", line 101, in __init__ self.setup_fed_subparsers() File "/usr/lib/python3.7/site-packages/fedpkg/cli.py", line 123, in setup_fed_subparsers self.register_do_fork() File "/usr/lib/python3.7/site-packages/fedpkg/cli.py", line 463, in register_do_fork '{0}.distgit'.format(self.name), 'apibaseurl')).netloc)) File "/usr/lib64/python3.7/configparser.py", line 780, in get d = self._unify_values(section, vars) File "/usr/lib64/python3.7/configparser.py", line 1146, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'fedpkg.distgit' Version-Release number of selected component (if applicable): fedpkg-1.38-2.fc31.noarch How reproducible: Every time
Btw, everything was good prior to the update today.
This looks like an issue with configuration. Can you check if you have /etc/rpkg/fedpkg.conf.rpmnew or /etc/rpkg/fedpkg.conf.rpmsave? If yes, try to merge your changes to the config with the maintainer provided version.
The issue is connected with new feature "Create fork of the active repository" listed here: https://docs.pagure.org/fedpkg/releases/1.38.html There are two possibilities of how to recover 1) Modify config as per documentation page /etc/rpkg/fedpkg.conf [fedpkg.distgit] apibaseurl = https://src.fedoraproject.org token = 2) use default config during the upgrade of the fedpkg-1.38 you probably could see a message: warning: /etc/rpkg/fedpkg.conf created as /etc/rpkg/fedpkg.conf.rpmnew so replace the fedpkg.conf with the .rpmnew file.
This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component.
Fixed in current rawhide as fedpkg-1.38-3. Releases for other distros will follow. When there is specific (especially recently added) missing section or option in a config file, the program will show a hint on how to recover.