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

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

    <bug>
          <bug_id>34595</bug_id>
          
          <creation_ts>2018-03-01 13:14:26 +0300</creation_ts>
          <short_desc>allow running not from the toplevel Git working dir perhaps?</short_desc>
          <delta_ts>2018-03-13 10:23:04 +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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="viy">viy</assigned_to>
          <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>169335</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2018-03-01 13:14:26 +0300</bug_when>
    <thetext>perl-Gear-Rules-0.194-alt1.noarch
girar-nmu-1.49-alt1.x86_64

Now, the commands require to be run from inside a Git/Gear repo from the toplevel working dir. They check the presence of .git.

Perhaps, it would be possible to run them from deeper directories by using:

git rev-parse --show-toplevel
git rev-parse --git-dir

or similar options?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169337</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2018-03-01 13:29:52 +0300</bug_when>
    <thetext>Частично реализовано. 
В каких командах хотелось бы иметь такую возможность в первую очередь?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169342</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2018-03-01 15:19:14 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; Частично реализовано. 
&gt; В каких командах хотелось бы иметь такую возможность в первую очередь?

girar-nmu-helper-git-push-build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169343</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2018-03-01 15:20:20 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Частично реализовано. 
&gt; &gt; В каких командах хотелось бы иметь такую возможность в первую очередь?
&gt; 
&gt; girar-nmu-helper-git-push-build

Сейчас она тег создаёт (при -T), а дальше возникает ошибка.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169378</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-03-02 18:25:00 +0300</bug_when>
    <thetext>girar-nmu-1.50-alt1 -&gt; sisyphus:

Fri Mar 02 2018 Igor Vlasenko &lt;viy@altlinux.ru&gt; 1.50-alt1
- girar-nmu-helper-git-push-build: allow running not from
  the toplevel Git working dir (closes: #34595)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>