From cb58ddda54a0626d928ed0c4cb23adfc6ba5bfd9 Mon Sep 17 00:00:00 2001 From: Reshma Dhane Date: Wed, 28 Jun 2023 15:47:39 -0500 Subject: [PATCH] SRL-716 Added patch for robots.txt --- composer.json | 3 +- patches/robots-13.patch | 93 +++++++++++++++++++++++++++++++++++++++++ web/robots.txt | 83 +++++++++++++++++++++++++++++++++++- 3 files changed, 177 insertions(+), 2 deletions(-) create mode 100644 patches/robots-13.patch diff --git a/composer.json b/composer.json index 66d42433..7dc5bdd4 100644 --- a/composer.json +++ b/composer.json @@ -259,7 +259,8 @@ "find .git/ -type d -name hooks | xargs rm -rf" ], "post-drupal-scaffold-cmd": [ - "patch -p1 < patches/robot.patch" + "patch -p1 < patches/robot.patch", + "patch -p1 < patches/robots-13.patch" ], "build-assets": [ "@prepare-for-pantheon", diff --git a/patches/robots-13.patch b/patches/robots-13.patch new file mode 100644 index 00000000..a67aa849 --- /dev/null +++ b/patches/robots-13.patch @@ -0,0 +1,93 @@ +diff --git a/web/robots.txt b/web/robots.txt +index f140443d..f2dc13d9 100644 +--- a/web/robots.txt ++++ b/web/robots.txt +@@ -2458,5 +2458,86 @@ Allow: /guide-certificates-rehabilitation-california + Allow: /juvenile-justice/seal-record + Allow: /pardons-governor + Allow: /record-cleaning-arrest-no-conviction ++Allow: / ++Allow: /civil-appeals ++Allow: /civil-appeals/abandonment-or-settlement ++Allow: /civil-appeals/appellate-courts ++Allow: /civil-appeals/brief ++Allow: /civil-appeals/civil-case-information-statement ++Allow: /civil-appeals/decision ++Allow: /civil-appeals/designate-record ++Allow: /civil-appeals/file-notice ++Allow: /civil-appeals/oral-argument ++Allow: /civil-appeals/other-options ++Allow: /civil-appeals/steps ++Allow: /court-basics ++Allow: /debt-lawsuits ++Allow: /debt-lawsuits/judgment ++Allow: /debt-lawsuits/prepare-for-trial ++Allow: /debt-lawsuits/summons-complaint ++Allow: /debt-lawsuits/trial ++Allow: /EA-restraining-order ++Allow: /EA-restraining-order/enforce-restraining-order ++Allow: /EA-restraining-order/process ++Allow: /emancipation ++Allow: /emancipation/declaration-emancipation ++Allow: /es ++Allow: /es/apelacion-civil/declaracion-de-informacion-de-caso-civil ++Allow: /es/apelaciones-civiles ++Allow: /es/apelaciones-civiles/abandono-o-acuerdo ++Allow: /es/apelaciones-civiles/alegato-oral ++Allow: /es/apelaciones-civiles/corte-de-apelaciones ++Allow: /es/apelaciones-civiles/decision ++Allow: /es/apelaciones-civiles/designe-el-acta ++Allow: /es/apelaciones-civiles/escrito ++Allow: /es/apelaciones-civiles/otras-opciones ++Allow: /es/apelaciones-civiles/pasos ++Allow: /es/apelaciones-civiles/presentacion-aviso ++Allow: /es/ayuda-para-personas-con-discapacidad ++Allow: /es/conceptos-basicos-de-la-corte ++Allow: /es/demandas-judiciales-deuda ++Allow: /es/demandas-judiciales-por-deuda/fallo ++Allow: /es/demandas-judiciales-por-deuda/preparese-para-el-juicio ++Allow: /es/demandas-por-deuda/citacion-demanda ++Allow: /es/demandas-por-deuda/juicio ++Allow: /es/desalojo-y-vivienda ++Allow: /es/emancipacion ++Allow: /es/emancipacion/declaracion-de-emancipacion ++Allow: /es/estatus-especial-para-jovenes-inmigrantes ++Allow: /es/exencion-de-cuotas/apelacion-civil ++Allow: /es/familias-e-hijos ++Allow: /es/filiacion ++Allow: /es/filiacion/proceso-de-establecimiento ++Allow: /es/finalizar/filiacion ++Allow: /es/GV-orden-de-restriccion ++Allow: /es/GV-orden-de-restriccion/proceso ++Allow: /es/orden-de-restriccion-EA ++Allow: /es/orden-de-restriccion-EA/hacer-cumplir-la-orden ++Allow: /es/orden-de-restriccion-EA/proceso ++Allow: /es/ordenes-de-restriccion ++Allow: /es/reclamos-menores/cambio-de-fecha-de-la-audiencia ++Allow: /es/responda-a-una-orden-de-restriccion-de-EA ++Allow: /es/respuesta-a-la-orden-de-restriccion-de-WV ++Allow: /es/tutela-de-menor/SIJS ++Allow: /es/WV-orden-de-restriccion ++Allow: /es/WV-orden-de-restriccion/hacer-cumplir-la-orden-de-restriccion ++Allow: /es/WV-orden-de-restriccion/proceso ++Allow: /eviction-and-housing ++Allow: /families-and-children ++Allow: /fee-waiver/civil-appeal ++Allow: /GV-restraining-order ++Allow: /GV-restraining-order/process ++Allow: /help-someone-disability ++Allow: /parentage ++Allow: /parentage/finalize ++Allow: /parentage/process-to-establish ++Allow: /respond-to-EA-restraining-order ++Allow: /respond-to-WV-restraining-order ++Allow: /restraining-orders ++Allow: /special-immigrant-juvenile-status ++Allow: /WV-restraining-order ++Allow: /WV-restraining-order/enforce-restraining-order ++Allow: /WV-restraining-order/process ++ + # Remove this line after Alpha2 launch. +-Disallow: / +\ No newline at end of file ++Disallow: / diff --git a/web/robots.txt b/web/robots.txt index f140443d..f2dc13d9 100644 --- a/web/robots.txt +++ b/web/robots.txt @@ -2458,5 +2458,86 @@ Allow: /guide-certificates-rehabilitation-california Allow: /juvenile-justice/seal-record Allow: /pardons-governor Allow: /record-cleaning-arrest-no-conviction +Allow: / +Allow: /civil-appeals +Allow: /civil-appeals/abandonment-or-settlement +Allow: /civil-appeals/appellate-courts +Allow: /civil-appeals/brief +Allow: /civil-appeals/civil-case-information-statement +Allow: /civil-appeals/decision +Allow: /civil-appeals/designate-record +Allow: /civil-appeals/file-notice +Allow: /civil-appeals/oral-argument +Allow: /civil-appeals/other-options +Allow: /civil-appeals/steps +Allow: /court-basics +Allow: /debt-lawsuits +Allow: /debt-lawsuits/judgment +Allow: /debt-lawsuits/prepare-for-trial +Allow: /debt-lawsuits/summons-complaint +Allow: /debt-lawsuits/trial +Allow: /EA-restraining-order +Allow: /EA-restraining-order/enforce-restraining-order +Allow: /EA-restraining-order/process +Allow: /emancipation +Allow: /emancipation/declaration-emancipation +Allow: /es +Allow: /es/apelacion-civil/declaracion-de-informacion-de-caso-civil +Allow: /es/apelaciones-civiles +Allow: /es/apelaciones-civiles/abandono-o-acuerdo +Allow: /es/apelaciones-civiles/alegato-oral +Allow: /es/apelaciones-civiles/corte-de-apelaciones +Allow: /es/apelaciones-civiles/decision +Allow: /es/apelaciones-civiles/designe-el-acta +Allow: /es/apelaciones-civiles/escrito +Allow: /es/apelaciones-civiles/otras-opciones +Allow: /es/apelaciones-civiles/pasos +Allow: /es/apelaciones-civiles/presentacion-aviso +Allow: /es/ayuda-para-personas-con-discapacidad +Allow: /es/conceptos-basicos-de-la-corte +Allow: /es/demandas-judiciales-deuda +Allow: /es/demandas-judiciales-por-deuda/fallo +Allow: /es/demandas-judiciales-por-deuda/preparese-para-el-juicio +Allow: /es/demandas-por-deuda/citacion-demanda +Allow: /es/demandas-por-deuda/juicio +Allow: /es/desalojo-y-vivienda +Allow: /es/emancipacion +Allow: /es/emancipacion/declaracion-de-emancipacion +Allow: /es/estatus-especial-para-jovenes-inmigrantes +Allow: /es/exencion-de-cuotas/apelacion-civil +Allow: /es/familias-e-hijos +Allow: /es/filiacion +Allow: /es/filiacion/proceso-de-establecimiento +Allow: /es/finalizar/filiacion +Allow: /es/GV-orden-de-restriccion +Allow: /es/GV-orden-de-restriccion/proceso +Allow: /es/orden-de-restriccion-EA +Allow: /es/orden-de-restriccion-EA/hacer-cumplir-la-orden +Allow: /es/orden-de-restriccion-EA/proceso +Allow: /es/ordenes-de-restriccion +Allow: /es/reclamos-menores/cambio-de-fecha-de-la-audiencia +Allow: /es/responda-a-una-orden-de-restriccion-de-EA +Allow: /es/respuesta-a-la-orden-de-restriccion-de-WV +Allow: /es/tutela-de-menor/SIJS +Allow: /es/WV-orden-de-restriccion +Allow: /es/WV-orden-de-restriccion/hacer-cumplir-la-orden-de-restriccion +Allow: /es/WV-orden-de-restriccion/proceso +Allow: /eviction-and-housing +Allow: /families-and-children +Allow: /fee-waiver/civil-appeal +Allow: /GV-restraining-order +Allow: /GV-restraining-order/process +Allow: /help-someone-disability +Allow: /parentage +Allow: /parentage/finalize +Allow: /parentage/process-to-establish +Allow: /respond-to-EA-restraining-order +Allow: /respond-to-WV-restraining-order +Allow: /restraining-orders +Allow: /special-immigrant-juvenile-status +Allow: /WV-restraining-order +Allow: /WV-restraining-order/enforce-restraining-order +Allow: /WV-restraining-order/process + # Remove this line after Alpha2 launch. -Disallow: / \ No newline at end of file +Disallow: /