<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>50981</bug_id>
          
          <creation_ts>2010-12-13 15:01:22 -0800</creation_ts>
          <short_desc>webkit-patch should use optcomplete to provide bash/zsh autocompletion</short_desc>
          <delta_ts>2017-07-18 08:30:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>91606</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>aroben</cc>
    
    <cc>arv</cc>
    
    <cc>jianli</cc>
    
    <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>321457</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-13 15:01:22 -0800</bug_when>
    <thetext>webkit-patch should use optcomplete to provide bash/zsh autocompletion

Would be easy to use thirdparty.autoinstalled to install:
http://furius.ca/optcomplete/

I&apos;m not sure how nice it will play with our multi-level command stuff.  But it would be an awesome feature to have.

There may also be more modern python libraries for this stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321460</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-13 15:03:09 -0800</bug_when>
    <thetext>Nevermind, it was clearly designed with our use in mind!
http://furius.ca/optcomplete/bin/optcomplete-commands</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321470</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-13 15:07:55 -0800</bug_when>
    <thetext>Turns out someone already made a manual attempt:
http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkit-tools-completion.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321501</commentid>
    <comment_count>3</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-12-13 15:37:44 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Turns out someone already made a manual attempt:
&gt; http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkit-tools-completion.sh

It was me. Over the last few days, I was just thinking that this should be internal to webkit-patch (but haven&apos;t made fwd progress on that at all).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>321531</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-12-13 16:19:25 -0800</bug_when>
    <thetext>I&apos;ve been using webkit-tools-completion.sh. It&apos;s awesome. +1 to building it in.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>