<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>24651</bug_id>
          
          <creation_ts>2010-11-28 01:35:45 +0300</creation_ts>
          <short_desc>На любое ошибочное значение возвращается srpm</short_desc>
          <delta_ts>2015-11-12 16:51:15 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>girar-nmu</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ilya Mashkin">oddity</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>imz</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115787</commentid>
    <comment_count>0</comment_count>
    <who name="Ilya Mashkin">oddity</who>
    <bug_when>2010-11-28 01:35:45 +0300</bug_when>
    <thetext>На любое ошибочное значение возвращается  srpm
Даже если такого пакета нет. Хорошо бы возвращалось &quot;not found&quot;

[oddity@localhost ~]$ girar-get-upload-method xmms
srpm
[oddity@localhost ~]$ girar-get-upload-method иефтлы
srpm
[oddity@localhost ~]$ girar-get-upload-method btanks
srpm
[oddity@localhost ~]$ girar-get-upload-method snort
git
[oddity@localhost ~]$ girar-get-upload-method snortf
srpm
[oddity@localhost ~]$ girar-get-upload-method snortffff
srpm
[oddity@localhost ~]$ girar-get-upload-method fsnortffff
srpm
[oddity@localhost ~]$ girar-get-upload-method fsnfortffff
srpm
[oddity@localhost ~]$ girar-get-upload-method firefox
srpm
[oddity@localhost ~]$ girar-get-upload-method xorg
git


girar-nmu-0.93-alt0.M51.1.i586.rpm
perl-RPM-Source-Editor-0.55-alt2.noarch.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115789</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2010-11-28 02:38:16 +0300</bug_when>
    <thetext>сделал вывод в stderr.
 $ ./girar-get-upload-method -b 5.0 -v repocop 
info: repocop is present in both git and srpm build history.
srpm
 $ ./girar-get-upload-method -b 5.1 -v repocop
git
 $ ./girar-get-upload-method repocop11
 $ ./girar-get-upload-method -v repocop11
warning: repocop11 not found at git.altlinux.org.
srpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115790</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2010-11-28 02:46:16 +0300</bug_when>
    <thetext> $ ./girar-get-upload-method repocop11
warning: repocop11 not found at git.altlinux.org.
srpm</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>