#8578 src.fedoraproject.org - fatal: Could not read from remote repository
Closed: Fixed by jibecfed. Opened by jibecfed.

Hello,

this issue was fixed last friday: https://pagure.io/fedora-infrastructure/issue/7685
I was able to create a fork https://src.fedoraproject.org/rpms/langpacks into https://src.fedoraproject.org/fork/jibecfed/rpms/langpacks

I tried last Sunday and today to clone this repository, but it failed both time:

[jb@localhost Projects]$ LANG=en git clone ssh://jibecfed@pkgs.fedoraproject.org/forks/jibecfed/rpms/langpacks.git
Cloning into 'langpacks'...
Traceback (most recent call last):
  File "/usr/libexec/pagure/aclchecker.py", line 32, in <module>
    from pagure.config import config as pagure_config
  File "/usr/lib/python2.7/site-packages/pagure/config.py", line 48, in <module>
    config = reload_config()
  File "/usr/lib/python2.7/site-packages/pagure/config.py", line 26, in reload_config
    config.from_envvar("PAGURE_CONFIG")
  File "/usr/lib/python2.7/site-packages/flask/config.py", line 108, in from_envvar
    return self.from_pyfile(rv, silent=silent)
  File "/usr/lib/python2.7/site-packages/flask/config.py", line 128, in from_pyfile
    with open(filename) as config_file:
IOError: [Errno 13] Unable to load configuration file (Permission denied): '/etc/pagure/pagure_hook.cfg'
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Do I miss something?

I'm not a packager, but this package contain an appdatafile and metadatainfo file that should be translated to allow local user to search for language support using something else than english.

Thanks a lot for your help


@pingou can you help look at this?

Metadata Update from @smooge:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: src.fp.o

@jibecfed you're not a packager, so you do not have ssh access to pkgs.fp.o.
You should clone via http (preferably via fedpkg clone -a forks/jibecfed/rpms/langpacks), when you git push it'll then ask you for your password.

https://docs.fedoraproject.org/en-US/ci/pull-requests/#_you_are_not_a_packager has some docs on accessing dist-git for non-packager.

ok, it works, thanks

you may know it already, but displaying an info telling the user to read this specific documentation would help a lot!

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

Tracked upstream at: https://pagure.io/pagure-dist-git/issue/97

Metadata