<?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>235297</bug_id>
          
          <creation_ts>2022-01-17 13:55:17 -0800</creation_ts>
          <short_desc>git-webkit setup should allow changing the credentials</short_desc>
          <delta_ts>2022-03-09 08:29:39 -0800</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=235298</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=237439</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>236539</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1831560</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2022-01-17 13:55:17 -0800</bug_when>
    <thetext>git-webkit setup show allow changing the credentials. In case user made a mistake and entered incorrect credentials, there should be a way to either correct that or enter new credentials. Perhaps it can ask user if they want to update the stored credentials, and re-configure the correct remotes appropriately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833465</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-24 13:56:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/87988794&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838918</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-08 15:26:39 -0800</bug_when>
    <thetext>I think users would get a bit annoyed if their credentials were correct and we prompted them to validate them. My proposed change here is that we make an attempt to validate the user&apos;s credentials and prompt them only if the validation fails. I also think this applies to bugzilla credentials.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838928</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-08 15:46:45 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/133</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840643</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-11 18:05:22 -0800</bug_when>
    <thetext>Landed 247173@main (r289687)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840683</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2022-02-12 06:18:22 -0800</bug_when>
    <thetext>Re-opened since this is blocked by bug 236539</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841817</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-02-15 11:07:24 -0800</bug_when>
    <thetext>247173@main (r289687) really should have been associated to https://bugs.webkit.org/show_bug.cgi?id=235298. I fixed the issue and re-landed that change.

I am going to close this as &apos;WONTFIX&apos; because I think it will make `git-webkit setup` worse. I think that the validation will, in practice, do a good job of covering the use case in mind here, because I don&apos;t think someone having valid credentials in their keychain would want to overwrite them with different credentials, I think they would only want to overwrite invalid credentials, which is covered very well by https://bugs.webkit.org/show_bug.cgi?id=235298</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>