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

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

    <bug>
          <bug_id>30775</bug_id>
          
          <creation_ts>2015-02-24 20:45:59 +0300</creation_ts>
          <short_desc>Ошибка в bash completion monotone 1.2</short_desc>
          <delta_ts>2015-02-25 18:18:19 +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>monotone</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="Vitaly Lipatov">lav</reporter>
          <assigned_to name="darktemplar@altlinux.org">darktemplar</assigned_to>
          <cc>real.altlinux.org</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>150446</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2015-02-24 20:45:59 +0300</bug_when>
    <thetext>monotone-1.2-alt0.M70P.1.dev.mtn20140605

Проблемы с кодом в /etc/bash_completion.d/monotone.bash_completion

После установки пакета получаем при входе по ssh

-bash: declare: -A: неправильная опция
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
-bash: [--authors-file]=_monotone_files: неправильный индекс массива
-bash: [--bind]=_monotone_address_port: неправильный индекс массива
-bash: [--branch]=_monotone_branches: неправильный индекс массива
-bash: [--branches-file]=_monotone_files: неправильный индекс массива
-bash: [--confdir]=_monotone_dirs: неправильный индекс массива
-bash: [--conflicts-file]=_monotone_files: неправильный индекс массива
-bash: [--db]=_monotone_databases: неправильный индекс массива
-bash: [--dump]=_monotone_files: неправильный индекс массива
-bash: [--export-marks]=_monotone_files: неправильный индекс массива
-bash: [--from]=_monotone_revisions: неправильный индекс массива
-bash: [--import-marks]=_monotone_files: неправильный индекс массива
-bash: [--keydir]=_monotone_dirs: неправильный индекс массива
-bash: [--key]=_monotone_key: неправильный индекс массива
-bash: [--key-to-push]=_monotone_public_key: неправильный индекс массива
-bash: [--log]=_monotone_files: неправильный индекс массива
-bash: [--message_file]=_monotone_files: неправильный индекс массива
-bash: [--pid-file]=_monotone_files: неправильный индекс массива
-bash: [--rcfile]=_monotone_files: неправильный индекс массива
-bash: [--refs]=_monotone_refs: неправильный индекс массива
-bash: [--remote-stdio-host]=_monotone_address_port: неправильный индекс массива
-bash: [--revision]=_monotone_revisions: неправильный индекс массива
-bash: [--root]=_monotone_dirs: неправильный индекс массива
-bash: [--ssh-sign]=_monotone_ssh_sign: неправильный индекс массива
-bash: [--ticker]=_monotone_ticker: неправильный индекс массива
-bash: [--xargs]=_monotone_files: неправильный индекс массива
-bash: -@: ошибка синтаксиса: ожидается операнд (error token is &quot;@&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150448</commentid>
    <comment_count>1</comment_count>
    <who name="real@altlinux.org">real.altlinux.org</who>
    <bug_when>2015-02-25 04:55:37 +0300</bug_when>
    <thetext>Я, увы, не разбираюсь в bash completions. Могу или вообще этот файл не включать в пакет, или приму патч :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150450</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2015-02-25 17:40:13 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Я, увы, не разбираюсь в bash completions. Могу или вообще этот файл не включать
&gt; в пакет, или приму патч :)
Этот просто скрипт на bash. Я предлагаю думать, что он  на bash4, в нашем случае работать не будет, и надо его пока не паковать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150451</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2015-02-25 18:18:19 +0300</bug_when>
    <thetext>monotone-1.2-alt2.dev.mtn20140605 -&gt; sisyphus:

* Wed Feb 25 2015 Eugeny A. Rostovtsev (REAL) &lt;real at altlinux&gt; 1.2-alt2.dev.mtn20140605
- Deleted bash completion file (ALT #30775)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>