https://bugzilla.redhat.com/show_bug.cgi?id=1812961



--- Comment #36 from yon...@cisco.com ---
hi All,

I run into below error when cloning my openosc repo:

[rtd@bxb-rtd-vm20 fedora-scm]$ fedpkg -v clone openosc
Cloning ssh://yon...@pkgs.fedoraproject.org/rpms/openosc
Running: git clone ssh://yon...@pkgs.fedoraproject.org/rpms/openosc --origin
origin
Cloning into 'openosc'...
ssh: connect to host pkgs.fedoraproject.org port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Failed to execute command.
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.37', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.7/site-packages/fedpkg/__main__.py", line 86, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.7/site-packages/pyrpkg/cli.py", line 1931, in clone
    depth=self.args.depth)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 1543, in
clone
    self._run_command(cmd, cwd=path)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 1228, in
_run_command
    raise rpkgError('Failed to execute command.')
pyrpkg.errors.rpkgError: Failed to execute command.
[rtd@bxb-rtd-vm20 fedora-scm]$

But I can clone it anonymously. Then I saw "Could not execute import_srpm:
Request is unauthorized." error when doing "fedpkg import" command.

[rtd@bxb-rtd-vm20 fedora-scm]$ fedpkg -v clone -a openosc
Cloning https://src.fedoraproject.org/rpms/openosc.git
Running: git clone https://src.fedoraproject.org/rpms/openosc.git --origin
origin
Cloning into 'openosc'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
Git-excludes patterns were added into
/home/rtd/fedora-scm/openosc/.git/info/exclude
[rtd@bxb-rtd-vm20 fedora-scm]$ cd openosc/
[rtd@bxb-rtd-vm20 openosc]$ fedpkg import 
~/yonhan/fedora-review-dir/openosc-1.0.2-1.fc33.src.rpm 
Could not execute import_srpm: Request is unauthorized.
[rtd@bxb-rtd-vm20 openosc]$ ls -al
total 492
drwxrwxr-x. 3 rtd rtd   4096 Jul  7 14:45 .
drwxrwxr-x. 3 rtd rtd   4096 Jul  7 14:44 ..
drwxrwxr-x. 8 rtd rtd   4096 Jul  7 14:45 .git
-rw-rw-r--. 1 rtd rtd      0 Jul  7 14:45 .gitignore
-rw-rw-r--. 1 rtd rtd 482329 Jul  7 14:45 openosc-1.0.2.tar.gz
-rw-rw-r--. 1 rtd rtd   1793 Jul  7 14:45 openosc.spec
-rw-rw-r--. 1 rtd rtd     30 Jul  7 14:44 README.md
-rw-rw-r--. 1 rtd rtd      0 Jul  7 14:45 sources
[rtd@bxb-rtd-vm20 openosc]$ 


Should I continue to proceed with:

   git commit -sm "Initial import (#1812961)"
   fedpkg push


Let me know how to proceed.

Thanks,
Yongkui


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/package-review@lists.fedoraproject.org

Reply via email to