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

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

    <bug>
          <bug_id>40023</bug_id>
          
          <creation_ts>2021-05-02 09:00:34 +0300</creation_ts>
          <short_desc>gear-edit-spec запускает редактор даже если не может найти spec</short_desc>
          <delta_ts>2022-01-14 19:22:53 +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>gear</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>198333</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2021-05-02 09:00:34 +0300</bug_when>
    <thetext>В git-репозитории, в ветке где нет спека и .gear{/,-}rules, не подумав запустил gear-edit-spec. Стартовал vim (это мой $EDITOR), показал мне текущий каталог в netrw. Когда я вышел из vim&apos;а, увидел сообщение

gear-edit-spec: Spec file not found.

Что, конечно, предсказуемо. Но то, что запускается редактор, несколько странно и сразу не ясно, что же произошло.

Сизиф кажется вчерашний,

$ rpm -qa gear
gear-2.5.0-alt1.noarch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206711</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2022-01-14 04:33:47 +0300</bug_when>
    <thetext>https://git.altlinux.org/people/ldv/packages/?p=gear.git;a=commit;h=2.5.0-alt1-4-g6f58a92</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206760</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-01-14 19:22:53 +0300</bug_when>
    <thetext>gear-2.5.1-alt1 -&gt; sisyphus:

 Fri Jan 14 2022 Dmitry V. Levin &lt;ldv@altlinux&gt; 2.5.1-alt1
 - gear-rules.5: added references to git glob syntax (closes: #39804).
 - gear-store-tags: fixed the warning about specsubst directive (closes: #39898).
 - gear-edit-spec: do not invoke an editor when no spec file was found (closes: #40023).
 - gear: added git worktree support (closes: #40990).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>