[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-12-01 Thread dduvall
dduvall closed this task as "Resolved".

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell, dduvall
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-11-02 Thread mmodell
mmodell added a comment.


  This is now hotfixed by {0e3e3dd2fa143942db3928beea256ece0ca434f7} which is 
cherry-picked on production pending a proper deployment on wednesday.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-11-02 Thread Stashbot
Stashbot added a comment.


  Mentioned in SAL (#wikimedia-operations) [2020-11-02T22:03:52Z] 
 applied 113a244a66 on phab1001 to hotfix T240862 


TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell, Stashbot
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-11-02 Thread dduvall
dduvall added a comment.


  For the paper trail:
  
  - The upstream patch  has landed. If 
you run into rebase issues around this later, that's probably why, though it 
should be identical in its implementation.
  - The underlying issue is related to `git-http-backend` and `git-upload-pack` 
`die()`ing on unexpected EOF from the client. I've submitted a patch 

 to git. Sounds like it might get applied at some point!
  - Git protocol v2 is not affected by the `git-upload-pack` bug. I'm wondering 
if we can also get Diffusion working with v2 by forwarding `Git-Protocol` 
headings to `git-http-backend` in the environment (as `GIT_PROTOCOL`). I'm not 
totally sure if Diffusion will play nicely with HTTP 100s used in v2 over HTTP 
but we should test it.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell, dduvall
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-11-02 Thread dduvall
dduvall added a parent task: T265177: Refactor PipelineLib to allow for 
alternate docker image pusher.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell, dduvall
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-11-01 Thread mmodell
mmodell claimed this task.
mmodell added a comment.


  Assigning to myself so I remember to deploy this.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-10-28 Thread mmodell
mmodell added a comment.


  620fa0816bfc0fa0738dfc65ff46affd686c681b 

 is now ready to deploy.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-10-28 Thread mmodell
mmodell added a revision: D1185: Fix isValidGitShallowCloneResponse.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: mmodell
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-10-23 Thread dduvall
dduvall added a subscriber: thcipriani.
dduvall added a comment.


  @thcipriani and I peeked into the logs earlier but we couldn't see anything 
in the PHP error log, only the 500 response in the access logs.
  
  Taking a look at the access logs and after doing some local tracing, it seems 
it fails on the pack request—something that is not sent when `--depth 1` is 
omitted.
  
  P13060 GIT_CURL_VERBOSE=1 GIT_TRACE_PACKET=1 git fetch --depth 1 
https://phabricator.wikimedia.org/diffusion/ANAB/analytics-blog.git 
refs/heads/master 
  
  The 500 can then be reproduced without git by sending this same request with 
curl.
  
  P13061 (An Untitled Masterwork) 
  
  To see what a normal response might be, I sent the same HTTP request to the 
repo on GitHub, and it returns a successful response with a single git flush 
packet in the post body.
  
  P13062 (An Untitled Masterwork) 
  
  In further tracing the GitHub request, you can see that git should then 
perform a second request with a "done" packet to receive the packfile contents.
  
  I don't know if this is helpful or not, but maybe we can use the case to 
reproduce the problem closer to the Phab source.

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dduvall
Cc: thcipriani, dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, 
Dslzuha, Okuo34, Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T240862: Can't do shallow clone from phabricator

2020-10-23 Thread dduvall
dduvall added a comment.


  I ran into this issue yesterday in during a submodule update for Wikibase 
with `--depth 1`.
  
$ git submodule update --init --recursive --depth 1 extensions/Wikibase
Submodule 'extensions/Wikibase' 
(https://gerrit.wikimedia.org/r/mediawiki/extensions/Wikibase) registered for 
path 'extensions/Wikibase'
Cloning into 'extensions/Wikibase'...
remote: Counting objects: 4463, done
remote: Finding sources: 100% (4463/4463)
remote: Getting sizes: 100% (4074/4074)
remote: Compressing objects:  99% (17225/17226)
remote: Total 4463 (delta 906), reused 1457 (delta 388)
Receiving objects: 100% (4463/4463), 4.88 MiB | 3.75 MiB/s, done.
Resolving deltas: 100% (906/906), done.
Checking connectivity... done.
Submodule path 'extensions/Wikibase': checked out 
'ad76c4f09a21a877d20fb4d055c70277f323fba0'
Submodule 'lib/resources/wikibase-api' 
(https://gerrit.wikimedia.org/r/wikibase/javascript-api) registered for path 
'lib/resources/wikibase-api'
Submodule 'view/lib/wikibase-data-model' 
(https://phabricator.wikimedia.org/source/wikibase-data-model.git) registered 
for path 'view/lib/wikibase-data-model'
Submodule 'view/lib/wikibase-data-values' 
(https://phabricator.wikimedia.org/source/datavalues-javascript.git) registered 
for path 'view/lib/wikibase-data-values'
Submodule 'view/lib/wikibase-data-values-value-view' 
(https://gerrit.wikimedia.org/r/data-values/value-view) registered for path 
'view/lib/wikibase-data-values-value-view'
Submodule 'view/lib/wikibase-serialization' 
(https://phabricator.wikimedia.org/source/wikibase-serialization.git) 
registered for path 'view/lib/wikibase-serialization'
Submodule 'view/lib/wikibase-termbox' 
(https://gerrit.wikimedia.org/r/wikibase/termbox) registered for path 
'view/lib/wikibase-termbox'
Cloning into 'lib/resources/wikibase-api'...
remote: Counting objects: 24, done
remote: Finding sources: 100% (24/24)
remote: Getting sizes: 100% (23/23)
remote: Compressing objects: 100% (60630/60630)
remote: Total 24 (delta 0), reused 12 (delta 0)
Unpacking objects: 100% (24/24), done.
Checking connectivity... done.
Submodule path 'extensions/Wikibase/lib/resources/wikibase-api': checked 
out '2bdd34cbe4c31cf67f0bf72d968c289209ff6cc8'
Cloning into 'view/lib/wikibase-data-model'...
error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly
Clone of 'https://phabricator.wikimedia.org/source/wikibase-data-model.git' 
into submodule path 'view/lib/wikibase-data-model' failed
Failed to recurse into submodule path 'extensions/Wikibase'

TASK DETAIL
  https://phabricator.wikimedia.org/T240862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dduvall
Cc: dduvall, Legoktm, mmodell, Addshore, Aklapper, Ladsgroup, Dslzuha, Okuo34, 
Samantha_Alipio_WMDE, Akuckartz, Jelabra, DannyS712, Nandana, 
Majesticalreaper22, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Vedmaka, Wong128hk, 
Luke081515, Asahiko, despens, Wikidata-bugs, aude, Mbch331, Jay8g, Krenair
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs