Git submodule ପାଇଁ ପ୍ରକ୍ସି ମାର୍ଗ
ମୁଖ୍ୟ Git ରିପୋଜିଟୋରୀ ପ୍ରକ୍ସିରେ ଚାଲିଲେ ମଧ୍ୟ submodule ନଚାଲିଲେ URL, transport ଓ repository ସେଟିଂ ଯାଞ୍ଚ କରନ୍ତୁ।
ମୁଖ୍ୟ ରିପୋଜିଟୋରୀ କ୍ଲୋନ୍ ସଫଳ ହେବା submodule ପରୀକ୍ଷା କରେ ନାହିଁ। ଏହା ଅନ୍ୟ host ଓ transport ବ୍ୟବହାର କରିପାରେ।
ଘୋଷିତ URL ପଢ଼ି ଆରମ୍ଭ କରନ୍ତୁ:
git -C project config --file .gitmodules --get-regexp '^submodule\..*\.url$'
git -C project submodule status --recursive
HTTPS parent ରେ git@host: ବ୍ୟବହାର କରୁଥିବା submodule ଥାଇପାରେ। HTTP proxy ଏହି SSH ସଂଯୋଗକୁ ସେଟ୍ କରେନାହିଁ। Relative URL superproject remote ଅନୁସାରେ ସମାଧାନ କରନ୍ତୁ।
ସ୍ଥାନୀୟ ସେଟିଂର ଅଞ୍ଚଳ ଅଛି
http.proxy repository configuration ଏଣ୍ଟ୍ରି ଯେଉଁ repository ର config ଫାଇଲରେ ଅଛି ତାହାର। Parent ମାତ୍ର ଦେଖିଲେ child ସେଟିଂ ଜଣାଯାଏ ନାହିଁ।
Recursive update ପାଇଁ Git command-line config ଏହି call କୁ ଦିଅନ୍ତୁ:
git -C project -c http.proxy=http://203.0.113.10:8080 \
submodule update --init --recursive
ଉଦାହରଣ endpoint ବଦଳାନ୍ତୁ। HTTP proxy ତାଲିକା HTTPS submodule ପାଇଁ address ଦିଏ, କିନ୍ତୁ SSH URL କୁ HTTPS କରେନାହିଁ।
ରେକର୍ଡ URL ବଦଳିଲେ
Proxy କୁ ଦୋଷ ଦେବା ପୂର୍ବରୁ declaration ଓ local value ତୁଳନା କରନ୍ତୁ। sync URL update କରେ; ଏହା network proxy setting ନୁହେଁ।
Nested error ରେ path ଓ remote ଲେଖନ୍ତୁ। Transport error ଓ repository error ଅଲଗା; ଉଭୟ ‘submodule update failed’ ଦେଇପାରେ।
The final diagnosis should identify the route and configuration that were actually inspected.