Bug 1461232

Summary: koji-download-scratch fails with error 405
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: fedora-reviewAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: leamas.alec, pingou, sochotni, thofmann
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-24 18:42:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Schorm 2017-06-14 01:42:36 UTC
# koji-download-scratch -d --arch=i686 19923672
405 Client Error: Method Not Allowed for url: https://koji.fedoraproject.org/kojihub

--

I am able to download everything "by hand" from the website or by 'wget'. Task number seems to be irrelevant.

Comment 1 Stanislav Ochotnicky 2017-06-14 06:35:07 UTC
I think we should just remove koji-download-scratch - after all koji client can already do this since[1]

Basically just:
koji download-task --arch=i686 19923672

[1] https://bugzilla.redhat.com/show_bug.cgi?id=675140

Comment 2 Alec Leamas 2017-06-14 06:39:57 UTC
(In reply to Stanislav Ochotnicky from comment #1)
> I think we should just remove koji-download-scratch - after all koji client
> can already do this since[1]

Agreed. Some f-r documentation to fix, though.

Comment 3 Fedora End Of Life 2017-11-16 19:32:57 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2017-12-12 10:38:01 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Till Hofmann 2018-06-28 12:16:14 UTC
I just ran into this on F28.

(In reply to Stanislav Ochotnicky from comment #1)
> I think we should just remove koji-download-scratch - after all koji client
> can already do this since[1]

It would be nice if this was done.

Comment 6 Ben Cotton 2019-05-02 21:30:48 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Michal Schorm 2019-05-06 13:40:39 UTC
The utility still exists in Rawhide.

In adition, when invoked without an argument, it crashes:

# koji-download-scratch 
Traceback (most recent call last):
  File "/usr/bin/koji-download-scratch", line 40, in <module>
    import download_scratch  # noqa
  File "/usr/lib/python3.7/site-packages/FedoraReview/download_scratch.py", line 11, in <module>
    import urlgrabber
ModuleNotFoundError: No module named 'urlgrabber'

---

Should it be removed entirely?

Comment 8 Ben Cotton 2019-08-13 19:21:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 9 Ben Cotton 2020-11-03 14:58:38 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-11-24 18:42:49 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.