diff --git a/backend/.cache/go-build/00/000fc744ed659967d554fcb829834ef311045022f60829028437d9fbc71d9540-a b/backend/.cache/go-build/00/000fc744ed659967d554fcb829834ef311045022f60829028437d9fbc71d9540-a new file mode 100644 index 0000000..e2ee260 --- /dev/null +++ b/backend/.cache/go-build/00/000fc744ed659967d554fcb829834ef311045022f60829028437d9fbc71d9540-a @@ -0,0 +1 @@ +v1 000fc744ed659967d554fcb829834ef311045022f60829028437d9fbc71d9540 ae7214cda9bfe8a3183a8eb71672acd60169b2872af17ce727fe428d5efd011e 270 1769060041921996543 diff --git a/backend/.cache/go-build/00/00dedcbaf5dd36c49447863279d4bf0649eb1838d56074e8076fc688dff92fca-d b/backend/.cache/go-build/00/00dedcbaf5dd36c49447863279d4bf0649eb1838d56074e8076fc688dff92fca-d new file mode 100644 index 0000000..bdbf2c7 --- /dev/null +++ b/backend/.cache/go-build/00/00dedcbaf5dd36c49447863279d4bf0649eb1838d56074e8076fc688dff92fca-d @@ -0,0 +1 @@ +./godebug.go diff --git a/backend/.cache/go-build/01/01532ba7b1702ae7b6f550acefc167b07b043bad6ae8f25bf363c35c487ff536-d b/backend/.cache/go-build/01/01532ba7b1702ae7b6f550acefc167b07b043bad6ae8f25bf363c35c487ff536-d new file mode 100644 index 0000000..bb82e0e Binary files /dev/null and b/backend/.cache/go-build/01/01532ba7b1702ae7b6f550acefc167b07b043bad6ae8f25bf363c35c487ff536-d differ diff --git a/backend/.cache/go-build/02/0228e8c8f89db1a322d617e46969cef886b9a0ebea8b462907df092f9339a73c-d b/backend/.cache/go-build/02/0228e8c8f89db1a322d617e46969cef886b9a0ebea8b462907df092f9339a73c-d new file mode 100644 index 0000000..d66f965 Binary files /dev/null and b/backend/.cache/go-build/02/0228e8c8f89db1a322d617e46969cef886b9a0ebea8b462907df092f9339a73c-d differ diff --git a/backend/.cache/go-build/02/022d688962c1d03025c706b6551125efee80a0dc76d5d42f4a15896e7685240e-d b/backend/.cache/go-build/02/022d688962c1d03025c706b6551125efee80a0dc76d5d42f4a15896e7685240e-d new file mode 100644 index 0000000..94fae04 Binary files /dev/null and b/backend/.cache/go-build/02/022d688962c1d03025c706b6551125efee80a0dc76d5d42f4a15896e7685240e-d differ diff --git a/backend/.cache/go-build/02/026ea4421214fcc424b21d42ac4a27aa52dcc9a54b0a628bf2df751e6f46bc81-d b/backend/.cache/go-build/02/026ea4421214fcc424b21d42ac4a27aa52dcc9a54b0a628bf2df751e6f46bc81-d new file mode 100644 index 0000000..720e347 --- /dev/null +++ b/backend/.cache/go-build/02/026ea4421214fcc424b21d42ac4a27aa52dcc9a54b0a628bf2df751e6f46bc81-d @@ -0,0 +1,10 @@ +./format.go +./format_rfc3339.go +./sleep.go +./sys_unix.go +./tick.go +./time.go +./zoneinfo.go +./zoneinfo_goroot.go +./zoneinfo_read.go +./zoneinfo_unix.go diff --git a/backend/.cache/go-build/02/02769d3ebb9a6c93e591ac0741cb8b98aa90bbb536689059eb841ac5f6869750-a b/backend/.cache/go-build/02/02769d3ebb9a6c93e591ac0741cb8b98aa90bbb536689059eb841ac5f6869750-a new file mode 100644 index 0000000..96860e8 --- /dev/null +++ b/backend/.cache/go-build/02/02769d3ebb9a6c93e591ac0741cb8b98aa90bbb536689059eb841ac5f6869750-a @@ -0,0 +1 @@ +v1 02769d3ebb9a6c93e591ac0741cb8b98aa90bbb536689059eb841ac5f6869750 6c3b79403f0cb3097802cc59d725e5d82f9462e3c488946b2619ab2e89b7a713 3491 1769060041915892053 diff --git a/backend/.cache/go-build/02/0277f9ef8eccea33058f04acb74a79c67b9662c58b219538b7b5190e0e6508aa-d b/backend/.cache/go-build/02/0277f9ef8eccea33058f04acb74a79c67b9662c58b219538b7b5190e0e6508aa-d new file mode 100644 index 0000000..ae53209 Binary files /dev/null and b/backend/.cache/go-build/02/0277f9ef8eccea33058f04acb74a79c67b9662c58b219538b7b5190e0e6508aa-d differ diff --git a/backend/.cache/go-build/02/0289a68aec35641edec2a3467ea9287c673ab1ee36b13d73f820fcb65bf602af-d b/backend/.cache/go-build/02/0289a68aec35641edec2a3467ea9287c673ab1ee36b13d73f820fcb65bf602af-d new file mode 100644 index 0000000..1fd726f Binary files /dev/null and b/backend/.cache/go-build/02/0289a68aec35641edec2a3467ea9287c673ab1ee36b13d73f820fcb65bf602af-d differ diff --git a/backend/.cache/go-build/03/030d6518c5eaa6d9047ff049c645f174e41cf21b8e5dd2463f8a6fe31d48cab2-a b/backend/.cache/go-build/03/030d6518c5eaa6d9047ff049c645f174e41cf21b8e5dd2463f8a6fe31d48cab2-a new file mode 100644 index 0000000..de06161 --- /dev/null +++ b/backend/.cache/go-build/03/030d6518c5eaa6d9047ff049c645f174e41cf21b8e5dd2463f8a6fe31d48cab2-a @@ -0,0 +1 @@ +v1 030d6518c5eaa6d9047ff049c645f174e41cf21b8e5dd2463f8a6fe31d48cab2 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042094728524 diff --git a/backend/.cache/go-build/03/03552fbe75c9e85c53e61f328895feeeb355029655336ba27bf7c2d9a7d997a2-d b/backend/.cache/go-build/03/03552fbe75c9e85c53e61f328895feeeb355029655336ba27bf7c2d9a7d997a2-d new file mode 100644 index 0000000..a3aa30b Binary files /dev/null and b/backend/.cache/go-build/03/03552fbe75c9e85c53e61f328895feeeb355029655336ba27bf7c2d9a7d997a2-d differ diff --git a/backend/.cache/go-build/04/04394bcd16c93b5ae7ca672a809af9be56bd89ac767b67898b64755fa391aff5-d b/backend/.cache/go-build/04/04394bcd16c93b5ae7ca672a809af9be56bd89ac767b67898b64755fa391aff5-d new file mode 100644 index 0000000..ce56bee Binary files /dev/null and b/backend/.cache/go-build/04/04394bcd16c93b5ae7ca672a809af9be56bd89ac767b67898b64755fa391aff5-d differ diff --git a/backend/.cache/go-build/04/049bd5b627acc1201931ff3abb585f7e8287c51788910c9cba3d2fa4916deb5a-a b/backend/.cache/go-build/04/049bd5b627acc1201931ff3abb585f7e8287c51788910c9cba3d2fa4916deb5a-a new file mode 100644 index 0000000..0cb9591 --- /dev/null +++ b/backend/.cache/go-build/04/049bd5b627acc1201931ff3abb585f7e8287c51788910c9cba3d2fa4916deb5a-a @@ -0,0 +1 @@ +v1 049bd5b627acc1201931ff3abb585f7e8287c51788910c9cba3d2fa4916deb5a 704cd4b6348a76be744fa2e9d4f017a48bfc0111fe9bf62fba2f23b1ab5566ed 98 1769060041970622182 diff --git a/backend/.cache/go-build/04/04a5bcac107e5908dffea57005a6aa3d6c38b905d1c5feed2eb05cb0a558bacc-d b/backend/.cache/go-build/04/04a5bcac107e5908dffea57005a6aa3d6c38b905d1c5feed2eb05cb0a558bacc-d new file mode 100644 index 0000000..fcb3516 Binary files /dev/null and b/backend/.cache/go-build/04/04a5bcac107e5908dffea57005a6aa3d6c38b905d1c5feed2eb05cb0a558bacc-d differ diff --git a/backend/.cache/go-build/04/04d794290b814da9ecf2801968f30200290739f5fa9bee324663a12a9844eb0d-a b/backend/.cache/go-build/04/04d794290b814da9ecf2801968f30200290739f5fa9bee324663a12a9844eb0d-a new file mode 100644 index 0000000..8f13300 --- /dev/null +++ b/backend/.cache/go-build/04/04d794290b814da9ecf2801968f30200290739f5fa9bee324663a12a9844eb0d-a @@ -0,0 +1 @@ +v1 04d794290b814da9ecf2801968f30200290739f5fa9bee324663a12a9844eb0d 56e6a51653f2207ae2de540b8e72e47073c38247374fce78f7bc8be3f1f1b706 199 1769060041908572780 diff --git a/backend/.cache/go-build/04/04e346f3fc12daee822cdfb24425ad23187f6df0087dec7582431a18b4763be6-d b/backend/.cache/go-build/04/04e346f3fc12daee822cdfb24425ad23187f6df0087dec7582431a18b4763be6-d new file mode 100644 index 0000000..e5c7b42 Binary files /dev/null and b/backend/.cache/go-build/04/04e346f3fc12daee822cdfb24425ad23187f6df0087dec7582431a18b4763be6-d differ diff --git a/backend/.cache/go-build/05/0526a67cf5602a58260d85dbd1a4820e9ce36ae2187ddc1006275e720ee5c8e4-d b/backend/.cache/go-build/05/0526a67cf5602a58260d85dbd1a4820e9ce36ae2187ddc1006275e720ee5c8e4-d new file mode 100644 index 0000000..9884796 Binary files /dev/null and b/backend/.cache/go-build/05/0526a67cf5602a58260d85dbd1a4820e9ce36ae2187ddc1006275e720ee5c8e4-d differ diff --git a/backend/.cache/go-build/05/05f5e6492430b00f807e4629c6e4a53f3948fc9382f19898d1cc361b3b99ff9b-d b/backend/.cache/go-build/05/05f5e6492430b00f807e4629c6e4a53f3948fc9382f19898d1cc361b3b99ff9b-d new file mode 100644 index 0000000..6e02bf9 --- /dev/null +++ b/backend/.cache/go-build/05/05f5e6492430b00f807e4629c6e4a53f3948fc9382f19898d1cc361b3b99ff9b-d @@ -0,0 +1,5 @@ +./doc.go +./errors.go +./format.go +./print.go +./scan.go diff --git a/backend/.cache/go-build/06/06034e73494dc9d836ba8165cc4476aaa559a6ffa731c7038fe2e1f648d03506-a b/backend/.cache/go-build/06/06034e73494dc9d836ba8165cc4476aaa559a6ffa731c7038fe2e1f648d03506-a new file mode 100644 index 0000000..41cf3db --- /dev/null +++ b/backend/.cache/go-build/06/06034e73494dc9d836ba8165cc4476aaa559a6ffa731c7038fe2e1f648d03506-a @@ -0,0 +1 @@ +v1 06034e73494dc9d836ba8165cc4476aaa559a6ffa731c7038fe2e1f648d03506 2b80e4ca2dcc61e6a799b2c4fd994927d9cbdcb7da3fb8a94ede4aa9be962e66 7831 1769060041910839573 diff --git a/backend/.cache/go-build/06/06309157f923c8b3bb041a012b653d8d16400c97c8b85d1b92b9ccf9b980363f-a b/backend/.cache/go-build/06/06309157f923c8b3bb041a012b653d8d16400c97c8b85d1b92b9ccf9b980363f-a new file mode 100644 index 0000000..b85c10f --- /dev/null +++ b/backend/.cache/go-build/06/06309157f923c8b3bb041a012b653d8d16400c97c8b85d1b92b9ccf9b980363f-a @@ -0,0 +1 @@ +v1 06309157f923c8b3bb041a012b653d8d16400c97c8b85d1b92b9ccf9b980363f e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044065055983 diff --git a/backend/.cache/go-build/07/07c6a801052f3d210740a7f6a495649cbc25fb9c57f1885d4c44b4d1d96a2a1d-d b/backend/.cache/go-build/07/07c6a801052f3d210740a7f6a495649cbc25fb9c57f1885d4c44b4d1d96a2a1d-d new file mode 100644 index 0000000..f8fac7e Binary files /dev/null and b/backend/.cache/go-build/07/07c6a801052f3d210740a7f6a495649cbc25fb9c57f1885d4c44b4d1d96a2a1d-d differ diff --git a/backend/.cache/go-build/07/07c8bd1d634b9f63de16605fabbb4316b4fa154c6238b7b7f9d15e56108ce167-a b/backend/.cache/go-build/07/07c8bd1d634b9f63de16605fabbb4316b4fa154c6238b7b7f9d15e56108ce167-a new file mode 100644 index 0000000..5d1b227 --- /dev/null +++ b/backend/.cache/go-build/07/07c8bd1d634b9f63de16605fabbb4316b4fa154c6238b7b7f9d15e56108ce167-a @@ -0,0 +1 @@ +v1 07c8bd1d634b9f63de16605fabbb4316b4fa154c6238b7b7f9d15e56108ce167 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042038500656 diff --git a/backend/.cache/go-build/08/08038fdb79ec8e6c08266bf32bcad8c98501e86e2b0d092161472b1b7eb0a82d-a b/backend/.cache/go-build/08/08038fdb79ec8e6c08266bf32bcad8c98501e86e2b0d092161472b1b7eb0a82d-a new file mode 100644 index 0000000..25d4203 --- /dev/null +++ b/backend/.cache/go-build/08/08038fdb79ec8e6c08266bf32bcad8c98501e86e2b0d092161472b1b7eb0a82d-a @@ -0,0 +1 @@ +v1 08038fdb79ec8e6c08266bf32bcad8c98501e86e2b0d092161472b1b7eb0a82d 3a6c28603cb268849f53b1cea7d31cf9ffb7967b9ccb4eae6e403a867a1d9f62 1743 1769060041914076688 diff --git a/backend/.cache/go-build/08/082eb74b349a643ae6ab4cadd76b7f13638ec3009fbf8666ac6b813fe06d5acb-d b/backend/.cache/go-build/08/082eb74b349a643ae6ab4cadd76b7f13638ec3009fbf8666ac6b813fe06d5acb-d new file mode 100644 index 0000000..81765d1 Binary files /dev/null and b/backend/.cache/go-build/08/082eb74b349a643ae6ab4cadd76b7f13638ec3009fbf8666ac6b813fe06d5acb-d differ diff --git a/backend/.cache/go-build/08/085fba1a84032dfcbb3b8f6f05825bbf1656ab03c5b6f34bb4ea2cb72f931639-a b/backend/.cache/go-build/08/085fba1a84032dfcbb3b8f6f05825bbf1656ab03c5b6f34bb4ea2cb72f931639-a new file mode 100644 index 0000000..c6949b3 --- /dev/null +++ b/backend/.cache/go-build/08/085fba1a84032dfcbb3b8f6f05825bbf1656ab03c5b6f34bb4ea2cb72f931639-a @@ -0,0 +1 @@ +v1 085fba1a84032dfcbb3b8f6f05825bbf1656ab03c5b6f34bb4ea2cb72f931639 e9b6ea016cbc9e483596c17d8e226fc33691ef4e0039ad19173acea65e6406ed 3051 1769060041914530560 diff --git a/backend/.cache/go-build/08/08b5e0dab7d3087a33f63125a3e698d348aea5d157f099d2a4a331dccc410266-d b/backend/.cache/go-build/08/08b5e0dab7d3087a33f63125a3e698d348aea5d157f099d2a4a331dccc410266-d new file mode 100644 index 0000000..7ce7c70 --- /dev/null +++ b/backend/.cache/go-build/08/08b5e0dab7d3087a33f63125a3e698d348aea5d157f099d2a4a331dccc410266-d @@ -0,0 +1,8 @@ +./format.go +./fs.go +./glob.go +./readdir.go +./readfile.go +./stat.go +./sub.go +./walk.go diff --git a/backend/.cache/go-build/09/0936c223619e282dd7f926a86d6aada296b2fd56593b3951c956cb14e5877434-a b/backend/.cache/go-build/09/0936c223619e282dd7f926a86d6aada296b2fd56593b3951c956cb14e5877434-a new file mode 100644 index 0000000..0ac6cf7 --- /dev/null +++ b/backend/.cache/go-build/09/0936c223619e282dd7f926a86d6aada296b2fd56593b3951c956cb14e5877434-a @@ -0,0 +1 @@ +v1 0936c223619e282dd7f926a86d6aada296b2fd56593b3951c956cb14e5877434 97e54257bef342dbe39619e0b8251975507a78512ae14bed4b653fdeb19b58e0 537940 1769060043730085093 diff --git a/backend/.cache/go-build/09/0969d8a7c6f4d18a09aa8fa2a34cde32eeb019a2cdab351553ffe93555424591-d b/backend/.cache/go-build/09/0969d8a7c6f4d18a09aa8fa2a34cde32eeb019a2cdab351553ffe93555424591-d new file mode 100644 index 0000000..0653911 Binary files /dev/null and b/backend/.cache/go-build/09/0969d8a7c6f4d18a09aa8fa2a34cde32eeb019a2cdab351553ffe93555424591-d differ diff --git a/backend/.cache/go-build/09/09800796d556365f71504e01cfca9afbe7a96de3fba63931e5cc649e87f02ebb-d b/backend/.cache/go-build/09/09800796d556365f71504e01cfca9afbe7a96de3fba63931e5cc649e87f02ebb-d new file mode 100644 index 0000000..2b56797 Binary files /dev/null and b/backend/.cache/go-build/09/09800796d556365f71504e01cfca9afbe7a96de3fba63931e5cc649e87f02ebb-d differ diff --git a/backend/.cache/go-build/09/0993086301f36b5c9352e6621f1debca8f7cddd16fe4cebb6ad4d229f9b60123-d b/backend/.cache/go-build/09/0993086301f36b5c9352e6621f1debca8f7cddd16fe4cebb6ad4d229f9b60123-d new file mode 100644 index 0000000..e376295 Binary files /dev/null and b/backend/.cache/go-build/09/0993086301f36b5c9352e6621f1debca8f7cddd16fe4cebb6ad4d229f9b60123-d differ diff --git a/backend/.cache/go-build/09/09a5814d097c2dfa6a3d9becc1f4881d720c35979795123ef6dc1fdfa0202c20-a b/backend/.cache/go-build/09/09a5814d097c2dfa6a3d9becc1f4881d720c35979795123ef6dc1fdfa0202c20-a new file mode 100644 index 0000000..73a524a --- /dev/null +++ b/backend/.cache/go-build/09/09a5814d097c2dfa6a3d9becc1f4881d720c35979795123ef6dc1fdfa0202c20-a @@ -0,0 +1 @@ +v1 09a5814d097c2dfa6a3d9becc1f4881d720c35979795123ef6dc1fdfa0202c20 c0e717e73762b033eba50afb9b45688b4bc0c6635b2d1fb40e2e7c0aacabadcc 5251 1769060041911071843 diff --git a/backend/.cache/go-build/09/09a917671d75b44128c31722a8e639b617fd1089a291912b1d7e561b7bac7de6-a b/backend/.cache/go-build/09/09a917671d75b44128c31722a8e639b617fd1089a291912b1d7e561b7bac7de6-a new file mode 100644 index 0000000..e6cfd32 --- /dev/null +++ b/backend/.cache/go-build/09/09a917671d75b44128c31722a8e639b617fd1089a291912b1d7e561b7bac7de6-a @@ -0,0 +1 @@ +v1 09a917671d75b44128c31722a8e639b617fd1089a291912b1d7e561b7bac7de6 33d26e49a24d31af8790086527edc2a2a816273f9b279cb0898be617645392a9 1296 1769060041923218471 diff --git a/backend/.cache/go-build/09/09c6293f011487ae8ebf2ad2ce5baac14bdf323a5b9b32128f7747ed39fbe8bf-a b/backend/.cache/go-build/09/09c6293f011487ae8ebf2ad2ce5baac14bdf323a5b9b32128f7747ed39fbe8bf-a new file mode 100644 index 0000000..d6555dd --- /dev/null +++ b/backend/.cache/go-build/09/09c6293f011487ae8ebf2ad2ce5baac14bdf323a5b9b32128f7747ed39fbe8bf-a @@ -0,0 +1 @@ +v1 09c6293f011487ae8ebf2ad2ce5baac14bdf323a5b9b32128f7747ed39fbe8bf c8b8178911c0b5aa92fe78396684a02182f890f4cbade4c15598063ef093ea63 2211 1769060041914972069 diff --git a/backend/.cache/go-build/09/09ecf677ba8a2cbc2279eaaba60651f37ee9a99d319e4355475b64b7b7144e0e-d b/backend/.cache/go-build/09/09ecf677ba8a2cbc2279eaaba60651f37ee9a99d319e4355475b64b7b7144e0e-d new file mode 100644 index 0000000..048a1ed Binary files /dev/null and b/backend/.cache/go-build/09/09ecf677ba8a2cbc2279eaaba60651f37ee9a99d319e4355475b64b7b7144e0e-d differ diff --git a/backend/.cache/go-build/09/09ffd9a60f663e651446ef8c62d2a3c5128b6fc98bb091063c2400140bc2bda6-a b/backend/.cache/go-build/09/09ffd9a60f663e651446ef8c62d2a3c5128b6fc98bb091063c2400140bc2bda6-a new file mode 100644 index 0000000..41b3817 --- /dev/null +++ b/backend/.cache/go-build/09/09ffd9a60f663e651446ef8c62d2a3c5128b6fc98bb091063c2400140bc2bda6-a @@ -0,0 +1 @@ +v1 09ffd9a60f663e651446ef8c62d2a3c5128b6fc98bb091063c2400140bc2bda6 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042107360737 diff --git a/backend/.cache/go-build/0a/0a234f678fd7f1766d5e7cb09d25966eb7de04d49c2e11264184932f48414ed3-d b/backend/.cache/go-build/0a/0a234f678fd7f1766d5e7cb09d25966eb7de04d49c2e11264184932f48414ed3-d new file mode 100644 index 0000000..b24190a Binary files /dev/null and b/backend/.cache/go-build/0a/0a234f678fd7f1766d5e7cb09d25966eb7de04d49c2e11264184932f48414ed3-d differ diff --git a/backend/.cache/go-build/0a/0a3b27c605c478212552381c5015a2a457a1abdc31354f0e91bad123160de75b-a b/backend/.cache/go-build/0a/0a3b27c605c478212552381c5015a2a457a1abdc31354f0e91bad123160de75b-a new file mode 100644 index 0000000..7658899 --- /dev/null +++ b/backend/.cache/go-build/0a/0a3b27c605c478212552381c5015a2a457a1abdc31354f0e91bad123160de75b-a @@ -0,0 +1 @@ +v1 0a3b27c605c478212552381c5015a2a457a1abdc31354f0e91bad123160de75b 285a978d88032ef0dc8b9b30cae432127273a838c411ca473e46c94c8b9cb392 21 1769060043650440732 diff --git a/backend/.cache/go-build/0a/0a40a26a7cb4cc396581088c5d21d4571e3cf8d0df2aca385a31de2d68537527-a b/backend/.cache/go-build/0a/0a40a26a7cb4cc396581088c5d21d4571e3cf8d0df2aca385a31de2d68537527-a new file mode 100644 index 0000000..e0dbc3d --- /dev/null +++ b/backend/.cache/go-build/0a/0a40a26a7cb4cc396581088c5d21d4571e3cf8d0df2aca385a31de2d68537527-a @@ -0,0 +1 @@ +v1 0a40a26a7cb4cc396581088c5d21d4571e3cf8d0df2aca385a31de2d68537527 f831a9523c66216ce8e4c9d5ce228c14962e2b54c4e719134b1b7e0c1c1d7e90 886 1769060041915292685 diff --git a/backend/.cache/go-build/0a/0a84be3f7b3693d17958934184f151db4c60ccf5680c0f15698d4fafc1d62f75-d b/backend/.cache/go-build/0a/0a84be3f7b3693d17958934184f151db4c60ccf5680c0f15698d4fafc1d62f75-d new file mode 100644 index 0000000..22086ac Binary files /dev/null and b/backend/.cache/go-build/0a/0a84be3f7b3693d17958934184f151db4c60ccf5680c0f15698d4fafc1d62f75-d differ diff --git a/backend/.cache/go-build/0a/0a9fb3a3a417e48d090361168d029e02cb158374267223ba1c0266e601d4f2ee-a b/backend/.cache/go-build/0a/0a9fb3a3a417e48d090361168d029e02cb158374267223ba1c0266e601d4f2ee-a new file mode 100644 index 0000000..600eca4 --- /dev/null +++ b/backend/.cache/go-build/0a/0a9fb3a3a417e48d090361168d029e02cb158374267223ba1c0266e601d4f2ee-a @@ -0,0 +1 @@ +v1 0a9fb3a3a417e48d090361168d029e02cb158374267223ba1c0266e601d4f2ee e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043832273351 diff --git a/backend/.cache/go-build/0a/0aa6f793481ecd9164186edd91c44bede789d615087d2e6d1671cd4058685ee0-a b/backend/.cache/go-build/0a/0aa6f793481ecd9164186edd91c44bede789d615087d2e6d1671cd4058685ee0-a new file mode 100644 index 0000000..25c55ab --- /dev/null +++ b/backend/.cache/go-build/0a/0aa6f793481ecd9164186edd91c44bede789d615087d2e6d1671cd4058685ee0-a @@ -0,0 +1 @@ +v1 0aa6f793481ecd9164186edd91c44bede789d615087d2e6d1671cd4058685ee0 eb36e8c1a978c07bc140e2da19c8f15ce017ef9f5b8c01bad9d9c0bb8dfdcdfa 2603 1769060041917333809 diff --git a/backend/.cache/go-build/0a/0afc587061b23355acd39ac625fe1fb6367758cc5b5ba87c976556f1edbca76b-a b/backend/.cache/go-build/0a/0afc587061b23355acd39ac625fe1fb6367758cc5b5ba87c976556f1edbca76b-a new file mode 100644 index 0000000..dd64590 --- /dev/null +++ b/backend/.cache/go-build/0a/0afc587061b23355acd39ac625fe1fb6367758cc5b5ba87c976556f1edbca76b-a @@ -0,0 +1 @@ +v1 0afc587061b23355acd39ac625fe1fb6367758cc5b5ba87c976556f1edbca76b f09fa4ced4d67a86c477e2daecfaf39fccd7d0cb936478c5d73427221189029e 12593034 1769060043571499298 diff --git a/backend/.cache/go-build/0b/0be782fad3121e3a529a539019a23fbc1ee0b326043d4430b9ce86061ba02d99-a b/backend/.cache/go-build/0b/0be782fad3121e3a529a539019a23fbc1ee0b326043d4430b9ce86061ba02d99-a new file mode 100644 index 0000000..35a05da --- /dev/null +++ b/backend/.cache/go-build/0b/0be782fad3121e3a529a539019a23fbc1ee0b326043d4430b9ce86061ba02d99-a @@ -0,0 +1 @@ +v1 0be782fad3121e3a529a539019a23fbc1ee0b326043d4430b9ce86061ba02d99 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043594615391 diff --git a/backend/.cache/go-build/0c/0ce1b1d60f8a08833d55ed93fc8ee8fb07397702e6958b03f6f4ba7b55cc006d-d b/backend/.cache/go-build/0c/0ce1b1d60f8a08833d55ed93fc8ee8fb07397702e6958b03f6f4ba7b55cc006d-d new file mode 100644 index 0000000..1d84fe4 --- /dev/null +++ b/backend/.cache/go-build/0c/0ce1b1d60f8a08833d55ed93fc8ee8fb07397702e6958b03f6f4ba7b55cc006d-d @@ -0,0 +1 @@ +./table.go diff --git a/backend/.cache/go-build/0d/0d1856b39f76235bd173cbfe0ddb3cb3dd5729047dd771d8eecbf0fa861087cf-d b/backend/.cache/go-build/0d/0d1856b39f76235bd173cbfe0ddb3cb3dd5729047dd771d8eecbf0fa861087cf-d new file mode 100644 index 0000000..bd342d4 Binary files /dev/null and b/backend/.cache/go-build/0d/0d1856b39f76235bd173cbfe0ddb3cb3dd5729047dd771d8eecbf0fa861087cf-d differ diff --git a/backend/.cache/go-build/0d/0db2f4db757b7cf9adf0d041180a95eb77b98b92b41f63da25cc142829ba908e-a b/backend/.cache/go-build/0d/0db2f4db757b7cf9adf0d041180a95eb77b98b92b41f63da25cc142829ba908e-a new file mode 100644 index 0000000..dc769d0 --- /dev/null +++ b/backend/.cache/go-build/0d/0db2f4db757b7cf9adf0d041180a95eb77b98b92b41f63da25cc142829ba908e-a @@ -0,0 +1 @@ +v1 0db2f4db757b7cf9adf0d041180a95eb77b98b92b41f63da25cc142829ba908e 0e83e014a24bf61be052aee6e2019ebdc3c4dcd794cfc6ae0f3b00d723c19dfa 724 1769060041896615036 diff --git a/backend/.cache/go-build/0d/0dc6522053f60677dc2e571a49418153694d997225f14ba9519d800384d082d4-a b/backend/.cache/go-build/0d/0dc6522053f60677dc2e571a49418153694d997225f14ba9519d800384d082d4-a new file mode 100644 index 0000000..9e5c097 --- /dev/null +++ b/backend/.cache/go-build/0d/0dc6522053f60677dc2e571a49418153694d997225f14ba9519d800384d082d4-a @@ -0,0 +1 @@ +v1 0dc6522053f60677dc2e571a49418153694d997225f14ba9519d800384d082d4 43ac26bd45b505ed5be532e318133f2c2afc92732c43c7f7017b08d8654ba5d9 2167 1769060041919680112 diff --git a/backend/.cache/go-build/0e/0e1e01e786f5f871c6402628afbe878be3c874a202e6c4bd314341e7931b6200-a b/backend/.cache/go-build/0e/0e1e01e786f5f871c6402628afbe878be3c874a202e6c4bd314341e7931b6200-a new file mode 100644 index 0000000..548e238 --- /dev/null +++ b/backend/.cache/go-build/0e/0e1e01e786f5f871c6402628afbe878be3c874a202e6c4bd314341e7931b6200-a @@ -0,0 +1 @@ +v1 0e1e01e786f5f871c6402628afbe878be3c874a202e6c4bd314341e7931b6200 f13079d853cade3d9e1c200f7b7be508b74c60f3bbea8fb7fb13aed01faedf18 2528 1769060041917507947 diff --git a/backend/.cache/go-build/0e/0e83e014a24bf61be052aee6e2019ebdc3c4dcd794cfc6ae0f3b00d723c19dfa-d b/backend/.cache/go-build/0e/0e83e014a24bf61be052aee6e2019ebdc3c4dcd794cfc6ae0f3b00d723c19dfa-d new file mode 100644 index 0000000..13ebbd5 Binary files /dev/null and b/backend/.cache/go-build/0e/0e83e014a24bf61be052aee6e2019ebdc3c4dcd794cfc6ae0f3b00d723c19dfa-d differ diff --git a/backend/.cache/go-build/0f/0f4d21393f4fd62b245bb23b43dfb311a4aa4f422a501da78fce8db721267ebd-d b/backend/.cache/go-build/0f/0f4d21393f4fd62b245bb23b43dfb311a4aa4f422a501da78fce8db721267ebd-d new file mode 100644 index 0000000..5a6ee31 Binary files /dev/null and b/backend/.cache/go-build/0f/0f4d21393f4fd62b245bb23b43dfb311a4aa4f422a501da78fce8db721267ebd-d differ diff --git a/backend/.cache/go-build/0f/0f57dbda1867ab405271f7a2b18db01bffe943f8f007122f0f9f13f5e7615bb6-d b/backend/.cache/go-build/0f/0f57dbda1867ab405271f7a2b18db01bffe943f8f007122f0f9f13f5e7615bb6-d new file mode 100644 index 0000000..4eeb9b6 --- /dev/null +++ b/backend/.cache/go-build/0f/0f57dbda1867ab405271f7a2b18db01bffe943f8f007122f0f9f13f5e7615bb6-d @@ -0,0 +1,2 @@ +./exit.go +./log.go diff --git a/backend/.cache/go-build/0f/0f7b693d038ede8e0b200e95849c34989b5cd57d1db315507124ff1cbfa40c88-a b/backend/.cache/go-build/0f/0f7b693d038ede8e0b200e95849c34989b5cd57d1db315507124ff1cbfa40c88-a new file mode 100644 index 0000000..6ba4660 --- /dev/null +++ b/backend/.cache/go-build/0f/0f7b693d038ede8e0b200e95849c34989b5cd57d1db315507124ff1cbfa40c88-a @@ -0,0 +1 @@ +v1 0f7b693d038ede8e0b200e95849c34989b5cd57d1db315507124ff1cbfa40c88 8b013e6673f615f9811951b432d6b3d241ef8b1a2374b634f654d8fe84d897a3 28090 1769060042095032252 diff --git a/backend/.cache/go-build/0f/0f845f540385f08485f967537341386d55d30009d5ecfa251e65e923f91262b7-d b/backend/.cache/go-build/0f/0f845f540385f08485f967537341386d55d30009d5ecfa251e65e923f91262b7-d new file mode 100644 index 0000000..3ead7b6 Binary files /dev/null and b/backend/.cache/go-build/0f/0f845f540385f08485f967537341386d55d30009d5ecfa251e65e923f91262b7-d differ diff --git a/backend/.cache/go-build/10/10600bbd154a179c863608a64b7a43c5ff40de0fdb44fc38948867a8e456f706-d b/backend/.cache/go-build/10/10600bbd154a179c863608a64b7a43c5ff40de0fdb44fc38948867a8e456f706-d new file mode 100644 index 0000000..f23c79b Binary files /dev/null and b/backend/.cache/go-build/10/10600bbd154a179c863608a64b7a43c5ff40de0fdb44fc38948867a8e456f706-d differ diff --git a/backend/.cache/go-build/10/107839d13acfcc9a068e27ab0c77586a80f079d7ee1e195fec69e943428a599a-a b/backend/.cache/go-build/10/107839d13acfcc9a068e27ab0c77586a80f079d7ee1e195fec69e943428a599a-a new file mode 100644 index 0000000..b365941 --- /dev/null +++ b/backend/.cache/go-build/10/107839d13acfcc9a068e27ab0c77586a80f079d7ee1e195fec69e943428a599a-a @@ -0,0 +1 @@ +v1 107839d13acfcc9a068e27ab0c77586a80f079d7ee1e195fec69e943428a599a 1c176a87f3797232f28bc020836e20e8746454cb56d3920c2f99858d71c9007b 1808 1769060041917781009 diff --git a/backend/.cache/go-build/10/109aafda193edc9c763d2a20815470bb64cd47c4b744a4ab4cd05afc7501fff6-d b/backend/.cache/go-build/10/109aafda193edc9c763d2a20815470bb64cd47c4b744a4ab4cd05afc7501fff6-d new file mode 100644 index 0000000..d13196a Binary files /dev/null and b/backend/.cache/go-build/10/109aafda193edc9c763d2a20815470bb64cd47c4b744a4ab4cd05afc7501fff6-d differ diff --git a/backend/.cache/go-build/10/10c68811345bc5cb4d22dcf393d406c1ff2a6d0af03ab94383a851053448ef81-a b/backend/.cache/go-build/10/10c68811345bc5cb4d22dcf393d406c1ff2a6d0af03ab94383a851053448ef81-a new file mode 100644 index 0000000..0fbcd10 --- /dev/null +++ b/backend/.cache/go-build/10/10c68811345bc5cb4d22dcf393d406c1ff2a6d0af03ab94383a851053448ef81-a @@ -0,0 +1 @@ +v1 10c68811345bc5cb4d22dcf393d406c1ff2a6d0af03ab94383a851053448ef81 b2beffee11527ac64e77cea332cb1c8ec070057dabf145efc5f7cea7ee136ee7 361 1769060041910916138 diff --git a/backend/.cache/go-build/12/122896413cb5ff65000ca7678aa6c77527dd776f9f3117f5a18d71dbf58e4d12-a b/backend/.cache/go-build/12/122896413cb5ff65000ca7678aa6c77527dd776f9f3117f5a18d71dbf58e4d12-a new file mode 100644 index 0000000..601a3d5 --- /dev/null +++ b/backend/.cache/go-build/12/122896413cb5ff65000ca7678aa6c77527dd776f9f3117f5a18d71dbf58e4d12-a @@ -0,0 +1 @@ +v1 122896413cb5ff65000ca7678aa6c77527dd776f9f3117f5a18d71dbf58e4d12 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043687510866 diff --git a/backend/.cache/go-build/12/122af51689c8615ffae410358311d6e3511e66ce2f85c511d65fc596bb29cd71-a b/backend/.cache/go-build/12/122af51689c8615ffae410358311d6e3511e66ce2f85c511d65fc596bb29cd71-a new file mode 100644 index 0000000..f580e25 --- /dev/null +++ b/backend/.cache/go-build/12/122af51689c8615ffae410358311d6e3511e66ce2f85c511d65fc596bb29cd71-a @@ -0,0 +1 @@ +v1 122af51689c8615ffae410358311d6e3511e66ce2f85c511d65fc596bb29cd71 c86663e8305c8f44b1fc529f98b433300ee55c9dfe618d092d2ee43eef2d9ab3 50598 1769060042050223527 diff --git a/backend/.cache/go-build/12/126fc5a5a9d1abf7cdc238fdc029424d0e65105122bc2824cb5d120a05688e32-d b/backend/.cache/go-build/12/126fc5a5a9d1abf7cdc238fdc029424d0e65105122bc2824cb5d120a05688e32-d new file mode 100644 index 0000000..c99b9cf Binary files /dev/null and b/backend/.cache/go-build/12/126fc5a5a9d1abf7cdc238fdc029424d0e65105122bc2824cb5d120a05688e32-d differ diff --git a/backend/.cache/go-build/12/12ac4bb8c5f52e3564c6df0a500cd6c74a6bd3548dc51e6cbcdc46fe1408544b-a b/backend/.cache/go-build/12/12ac4bb8c5f52e3564c6df0a500cd6c74a6bd3548dc51e6cbcdc46fe1408544b-a new file mode 100644 index 0000000..a0e09f2 --- /dev/null +++ b/backend/.cache/go-build/12/12ac4bb8c5f52e3564c6df0a500cd6c74a6bd3548dc51e6cbcdc46fe1408544b-a @@ -0,0 +1 @@ +v1 12ac4bb8c5f52e3564c6df0a500cd6c74a6bd3548dc51e6cbcdc46fe1408544b 47ca5f743267f9ce20acca61d1cef5a2decb9ca3b17d19f59f01a590b70e8b5c 10 1769060044112643574 diff --git a/backend/.cache/go-build/12/12b8e52b50088c9fd0b9e56fe577747885d62ca0ac9d7bd8250807da7eee1bb4-a b/backend/.cache/go-build/12/12b8e52b50088c9fd0b9e56fe577747885d62ca0ac9d7bd8250807da7eee1bb4-a new file mode 100644 index 0000000..bb68ec8 --- /dev/null +++ b/backend/.cache/go-build/12/12b8e52b50088c9fd0b9e56fe577747885d62ca0ac9d7bd8250807da7eee1bb4-a @@ -0,0 +1 @@ +v1 12b8e52b50088c9fd0b9e56fe577747885d62ca0ac9d7bd8250807da7eee1bb4 e9bc37fe19604b6f9d42a619bb7a82076fb0951fe99b95f9e7efe5dd7d823108 1156 1769060041926257687 diff --git a/backend/.cache/go-build/13/135885b8a0d2e15b8859cb5956c9baa800578aa91b18e3c9981d8cf1c8dd785d-d b/backend/.cache/go-build/13/135885b8a0d2e15b8859cb5956c9baa800578aa91b18e3c9981d8cf1c8dd785d-d new file mode 100644 index 0000000..a625fb7 Binary files /dev/null and b/backend/.cache/go-build/13/135885b8a0d2e15b8859cb5956c9baa800578aa91b18e3c9981d8cf1c8dd785d-d differ diff --git a/backend/.cache/go-build/14/141a69d9506ffd023863c66f8376fa414c7db117b72b4bc70add5c01f5697fd4-a b/backend/.cache/go-build/14/141a69d9506ffd023863c66f8376fa414c7db117b72b4bc70add5c01f5697fd4-a new file mode 100644 index 0000000..9529379 --- /dev/null +++ b/backend/.cache/go-build/14/141a69d9506ffd023863c66f8376fa414c7db117b72b4bc70add5c01f5697fd4-a @@ -0,0 +1 @@ +v1 141a69d9506ffd023863c66f8376fa414c7db117b72b4bc70add5c01f5697fd4 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060095470960073 diff --git a/backend/.cache/go-build/14/1435f0aaa1b7401f508517893b27d07409583b25648b073a1f54905574fb85d9-a b/backend/.cache/go-build/14/1435f0aaa1b7401f508517893b27d07409583b25648b073a1f54905574fb85d9-a new file mode 100644 index 0000000..8e7bb9c --- /dev/null +++ b/backend/.cache/go-build/14/1435f0aaa1b7401f508517893b27d07409583b25648b073a1f54905574fb85d9-a @@ -0,0 +1 @@ +v1 1435f0aaa1b7401f508517893b27d07409583b25648b073a1f54905574fb85d9 ef18eed2a748094e1b649f5ee94516fa088495e4873869e8377ab95233d10986 3849 1769060041915671244 diff --git a/backend/.cache/go-build/14/14500628b9407c03a97a414e28b3aea830ba02448949cc38ae31e6b9f470aa1c-d b/backend/.cache/go-build/14/14500628b9407c03a97a414e28b3aea830ba02448949cc38ae31e6b9f470aa1c-d new file mode 100644 index 0000000..002825a Binary files /dev/null and b/backend/.cache/go-build/14/14500628b9407c03a97a414e28b3aea830ba02448949cc38ae31e6b9f470aa1c-d differ diff --git a/backend/.cache/go-build/14/14589dedd7f3df6a06ba0c09d717c29bd67d43f85d75c053f5a92e921b38d692-a b/backend/.cache/go-build/14/14589dedd7f3df6a06ba0c09d717c29bd67d43f85d75c053f5a92e921b38d692-a new file mode 100644 index 0000000..236c8dd --- /dev/null +++ b/backend/.cache/go-build/14/14589dedd7f3df6a06ba0c09d717c29bd67d43f85d75c053f5a92e921b38d692-a @@ -0,0 +1 @@ +v1 14589dedd7f3df6a06ba0c09d717c29bd67d43f85d75c053f5a92e921b38d692 7038b919ab493ee3c5223bb361ebc616be661b0740f54a80249ecdbd616e4ed1 215386 1769060044137571108 diff --git a/backend/.cache/go-build/14/1466a72743cdca8860f375a6bb952d71769f810d995c48bd6fbac364b3bc0552-d b/backend/.cache/go-build/14/1466a72743cdca8860f375a6bb952d71769f810d995c48bd6fbac364b3bc0552-d new file mode 100644 index 0000000..31d5de1 Binary files /dev/null and b/backend/.cache/go-build/14/1466a72743cdca8860f375a6bb952d71769f810d995c48bd6fbac364b3bc0552-d differ diff --git a/backend/.cache/go-build/14/14913dd9003fdecde2e5f5cb3fe6827084ad8d24b4776dabb4643c120b566aca-a b/backend/.cache/go-build/14/14913dd9003fdecde2e5f5cb3fe6827084ad8d24b4776dabb4643c120b566aca-a new file mode 100644 index 0000000..785dee0 --- /dev/null +++ b/backend/.cache/go-build/14/14913dd9003fdecde2e5f5cb3fe6827084ad8d24b4776dabb4643c120b566aca-a @@ -0,0 +1 @@ +v1 14913dd9003fdecde2e5f5cb3fe6827084ad8d24b4776dabb4643c120b566aca cb7f7d9b3fa115e1cabeb415887d1e436d7d88ead9a8942f8f6bf69e7869db3e 424672 1769060043688839886 diff --git a/backend/.cache/go-build/14/14ef11fbe322530d8e27a46c09d9b869f8b21a154bacc0a4e334b1d95294d4f2-a b/backend/.cache/go-build/14/14ef11fbe322530d8e27a46c09d9b869f8b21a154bacc0a4e334b1d95294d4f2-a new file mode 100644 index 0000000..1e3ebf3 --- /dev/null +++ b/backend/.cache/go-build/14/14ef11fbe322530d8e27a46c09d9b869f8b21a154bacc0a4e334b1d95294d4f2-a @@ -0,0 +1 @@ +v1 14ef11fbe322530d8e27a46c09d9b869f8b21a154bacc0a4e334b1d95294d4f2 7677161302c2447605879677263d57bc135f5df41bf8b8818c0c1cfd3f29dd55 143 1769060041900581329 diff --git a/backend/.cache/go-build/14/14f55b1bdb3d3f8e6decf121fc86762b7a7b788c2804cff78405331725a105c1-a b/backend/.cache/go-build/14/14f55b1bdb3d3f8e6decf121fc86762b7a7b788c2804cff78405331725a105c1-a new file mode 100644 index 0000000..0ad6099 --- /dev/null +++ b/backend/.cache/go-build/14/14f55b1bdb3d3f8e6decf121fc86762b7a7b788c2804cff78405331725a105c1-a @@ -0,0 +1 @@ +v1 14f55b1bdb3d3f8e6decf121fc86762b7a7b788c2804cff78405331725a105c1 98b8ab8430a6d18b6f0a0d3a7261266c00fa4a8d06119ee1c9f6a125ff3cf4a8 41 1769060042095427021 diff --git a/backend/.cache/go-build/15/1539947f40c50756dc071902f83f21aed03b692fb55694130e9ffa29a7ec304c-a b/backend/.cache/go-build/15/1539947f40c50756dc071902f83f21aed03b692fb55694130e9ffa29a7ec304c-a new file mode 100644 index 0000000..39a1503 --- /dev/null +++ b/backend/.cache/go-build/15/1539947f40c50756dc071902f83f21aed03b692fb55694130e9ffa29a7ec304c-a @@ -0,0 +1 @@ +v1 1539947f40c50756dc071902f83f21aed03b692fb55694130e9ffa29a7ec304c 85965298f4ed575b49321c23126ac30af4071e8e6389cfe123bad19324666c31 712 1769060041917538791 diff --git a/backend/.cache/go-build/16/161a22724d1ce122167be22fddd8333f1d8d8d50f3090ca43e9e216f9d7147ae-a b/backend/.cache/go-build/16/161a22724d1ce122167be22fddd8333f1d8d8d50f3090ca43e9e216f9d7147ae-a new file mode 100644 index 0000000..51b5816 --- /dev/null +++ b/backend/.cache/go-build/16/161a22724d1ce122167be22fddd8333f1d8d8d50f3090ca43e9e216f9d7147ae-a @@ -0,0 +1 @@ +v1 161a22724d1ce122167be22fddd8333f1d8d8d50f3090ca43e9e216f9d7147ae a7c8372f2b95ed5fa065c4bee8e17a32b2a0ebecdd296f83c0d68bf688a5785b 10506 1769060041985786759 diff --git a/backend/.cache/go-build/16/16654fe8a566f83a166366486e0f25e70d4d5a06ea79e558868479d28ea1f055-d b/backend/.cache/go-build/16/16654fe8a566f83a166366486e0f25e70d4d5a06ea79e558868479d28ea1f055-d new file mode 100644 index 0000000..c1d5924 --- /dev/null +++ b/backend/.cache/go-build/16/16654fe8a566f83a166366486e0f25e70d4d5a06ea79e558868479d28ea1f055-d @@ -0,0 +1,5 @@ +./iter.go +./slices.go +./sort.go +./zsortanyfunc.go +./zsortordered.go diff --git a/backend/.cache/go-build/16/168bf4843c17caca6099ee6ad58f20ef6183009d7193c1980f4fdaf660dfe990-d b/backend/.cache/go-build/16/168bf4843c17caca6099ee6ad58f20ef6183009d7193c1980f4fdaf660dfe990-d new file mode 100644 index 0000000..572577a Binary files /dev/null and b/backend/.cache/go-build/16/168bf4843c17caca6099ee6ad58f20ef6183009d7193c1980f4fdaf660dfe990-d differ diff --git a/backend/.cache/go-build/16/16bde8e6d314ebaf43f14ccfbe8f757ee55e1869c5c6652561338b5b6e87c24c-d b/backend/.cache/go-build/16/16bde8e6d314ebaf43f14ccfbe8f757ee55e1869c5c6652561338b5b6e87c24c-d new file mode 100644 index 0000000..e23d487 Binary files /dev/null and b/backend/.cache/go-build/16/16bde8e6d314ebaf43f14ccfbe8f757ee55e1869c5c6652561338b5b6e87c24c-d differ diff --git a/backend/.cache/go-build/16/16d193386b13c701ceeb16c453b09a8630a7cf2091c6196d312d02a97b15ed21-a b/backend/.cache/go-build/16/16d193386b13c701ceeb16c453b09a8630a7cf2091c6196d312d02a97b15ed21-a new file mode 100644 index 0000000..db5dc5a --- /dev/null +++ b/backend/.cache/go-build/16/16d193386b13c701ceeb16c453b09a8630a7cf2091c6196d312d02a97b15ed21-a @@ -0,0 +1 @@ +v1 16d193386b13c701ceeb16c453b09a8630a7cf2091c6196d312d02a97b15ed21 e8539f6010c7e9aeebe2a54f0a020147f48b74f47d76e719aaea65f7f5127c49 2393 1769060041927594227 diff --git a/backend/.cache/go-build/17/1722e39b2eec812fae3b211d6e60f4a433f0d07a5be681d4de36532e00aac03c-d b/backend/.cache/go-build/17/1722e39b2eec812fae3b211d6e60f4a433f0d07a5be681d4de36532e00aac03c-d new file mode 100644 index 0000000..17d5ea0 --- /dev/null +++ b/backend/.cache/go-build/17/1722e39b2eec812fae3b211d6e60f4a433f0d07a5be681d4de36532e00aac03c-d @@ -0,0 +1,2 @@ +./doc.go +./norace.go diff --git a/backend/.cache/go-build/17/17a678fa7e0d1624a6c02dd3ded8901328144219dbbc15abaf150fec4c173d6b-d b/backend/.cache/go-build/17/17a678fa7e0d1624a6c02dd3ded8901328144219dbbc15abaf150fec4c173d6b-d new file mode 100644 index 0000000..7d17d44 --- /dev/null +++ b/backend/.cache/go-build/17/17a678fa7e0d1624a6c02dd3ded8901328144219dbbc15abaf150fec4c173d6b-d @@ -0,0 +1,3 @@ +./goarch.go +./goarch_amd64.go +./zgoarch_amd64.go diff --git a/backend/.cache/go-build/18/18337ac263004475a4a68d140cec08c30ef2beb10b27cfe5d0fa702824000661-a b/backend/.cache/go-build/18/18337ac263004475a4a68d140cec08c30ef2beb10b27cfe5d0fa702824000661-a new file mode 100644 index 0000000..cdddda2 --- /dev/null +++ b/backend/.cache/go-build/18/18337ac263004475a4a68d140cec08c30ef2beb10b27cfe5d0fa702824000661-a @@ -0,0 +1 @@ +v1 18337ac263004475a4a68d140cec08c30ef2beb10b27cfe5d0fa702824000661 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041976224786 diff --git a/backend/.cache/go-build/18/18fcbb5e7732e82716fb7616178bb43c1424d0407228d3d5c6991de0cc4f6446-d b/backend/.cache/go-build/18/18fcbb5e7732e82716fb7616178bb43c1424d0407228d3d5c6991de0cc4f6446-d new file mode 100644 index 0000000..53addf8 Binary files /dev/null and b/backend/.cache/go-build/18/18fcbb5e7732e82716fb7616178bb43c1424d0407228d3d5c6991de0cc4f6446-d differ diff --git a/backend/.cache/go-build/19/194b5134c5519d2a2b6f06af04f52b7b69ddc382461e2117df103813a8ea7372-d b/backend/.cache/go-build/19/194b5134c5519d2a2b6f06af04f52b7b69ddc382461e2117df103813a8ea7372-d new file mode 100644 index 0000000..2964ba0 Binary files /dev/null and b/backend/.cache/go-build/19/194b5134c5519d2a2b6f06af04f52b7b69ddc382461e2117df103813a8ea7372-d differ diff --git a/backend/.cache/go-build/19/19a67071f173cd676208f73fb40d5966291f14baad3142e9722af8e2f2b08e5a-a b/backend/.cache/go-build/19/19a67071f173cd676208f73fb40d5966291f14baad3142e9722af8e2f2b08e5a-a new file mode 100644 index 0000000..692efbf --- /dev/null +++ b/backend/.cache/go-build/19/19a67071f173cd676208f73fb40d5966291f14baad3142e9722af8e2f2b08e5a-a @@ -0,0 +1 @@ +v1 19a67071f173cd676208f73fb40d5966291f14baad3142e9722af8e2f2b08e5a c30c7406e98f2b98b3e0d2e9bdad052573865dd01ac197bbf000000e00d4f781 219 1769060041918369638 diff --git a/backend/.cache/go-build/19/19d4c7f12c8d5fc4ca336e2c7e4da5b3098cb70d2ec7020a418286e082e93792-d b/backend/.cache/go-build/19/19d4c7f12c8d5fc4ca336e2c7e4da5b3098cb70d2ec7020a418286e082e93792-d new file mode 100644 index 0000000..09d538c Binary files /dev/null and b/backend/.cache/go-build/19/19d4c7f12c8d5fc4ca336e2c7e4da5b3098cb70d2ec7020a418286e082e93792-d differ diff --git a/backend/.cache/go-build/1a/1a07b869894a53304b47fe9f4705a67494e87b09c11a995b1aa14bb0f10e0711-a b/backend/.cache/go-build/1a/1a07b869894a53304b47fe9f4705a67494e87b09c11a995b1aa14bb0f10e0711-a new file mode 100644 index 0000000..0a106de --- /dev/null +++ b/backend/.cache/go-build/1a/1a07b869894a53304b47fe9f4705a67494e87b09c11a995b1aa14bb0f10e0711-a @@ -0,0 +1 @@ +v1 1a07b869894a53304b47fe9f4705a67494e87b09c11a995b1aa14bb0f10e0711 eb155a715b74b336f2c5d7b52391e9c46fac42792770d1125ad202a8ca719197 770 1769060041903846165 diff --git a/backend/.cache/go-build/1a/1a9062cbb31e9e02ca3d7eb4893fa2ef31f53d1ee23b5da447ef8151de58b24a-a b/backend/.cache/go-build/1a/1a9062cbb31e9e02ca3d7eb4893fa2ef31f53d1ee23b5da447ef8151de58b24a-a new file mode 100644 index 0000000..afff74d --- /dev/null +++ b/backend/.cache/go-build/1a/1a9062cbb31e9e02ca3d7eb4893fa2ef31f53d1ee23b5da447ef8151de58b24a-a @@ -0,0 +1 @@ +v1 1a9062cbb31e9e02ca3d7eb4893fa2ef31f53d1ee23b5da447ef8151de58b24a df64bf42114cc5efbd6f05896c32992af4f5974fb3a2ef955e6863792b6e18d4 8776 1769060041989485610 diff --git a/backend/.cache/go-build/1b/1b09a377c1066c347d3faf5f1c9749ad3bd0ca710f0f8e1db88bb3f35060d951-a b/backend/.cache/go-build/1b/1b09a377c1066c347d3faf5f1c9749ad3bd0ca710f0f8e1db88bb3f35060d951-a new file mode 100644 index 0000000..627fd92 --- /dev/null +++ b/backend/.cache/go-build/1b/1b09a377c1066c347d3faf5f1c9749ad3bd0ca710f0f8e1db88bb3f35060d951-a @@ -0,0 +1 @@ +v1 1b09a377c1066c347d3faf5f1c9749ad3bd0ca710f0f8e1db88bb3f35060d951 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042019343719 diff --git a/backend/.cache/go-build/1b/1b5241ce2ba0e634208dbe5ca3889efb185c5c39487ffa590940691ab11b42b3-a b/backend/.cache/go-build/1b/1b5241ce2ba0e634208dbe5ca3889efb185c5c39487ffa590940691ab11b42b3-a new file mode 100644 index 0000000..ce85ddc --- /dev/null +++ b/backend/.cache/go-build/1b/1b5241ce2ba0e634208dbe5ca3889efb185c5c39487ffa590940691ab11b42b3-a @@ -0,0 +1 @@ +v1 1b5241ce2ba0e634208dbe5ca3889efb185c5c39487ffa590940691ab11b42b3 d8ad540ca31f3f21a092f088bbbe92515af622c266edeaa3e15e17ebbba192b9 349 1769060041911737027 diff --git a/backend/.cache/go-build/1b/1b7b32387457e2ab5b93bf9031696115f42c689637a5dcbaaad6129f649937e6-d b/backend/.cache/go-build/1b/1b7b32387457e2ab5b93bf9031696115f42c689637a5dcbaaad6129f649937e6-d new file mode 100644 index 0000000..fce3f07 Binary files /dev/null and b/backend/.cache/go-build/1b/1b7b32387457e2ab5b93bf9031696115f42c689637a5dcbaaad6129f649937e6-d differ diff --git a/backend/.cache/go-build/1b/1bd0e7b814a828e09535fb001f8a91c34b4494f123abb888db0c224bd74ab91b-d b/backend/.cache/go-build/1b/1bd0e7b814a828e09535fb001f8a91c34b4494f123abb888db0c224bd74ab91b-d new file mode 100644 index 0000000..19a559d --- /dev/null +++ b/backend/.cache/go-build/1b/1bd0e7b814a828e09535fb001f8a91c34b4494f123abb888db0c224bd74ab91b-d @@ -0,0 +1 @@ +./byteorder.go diff --git a/backend/.cache/go-build/1c/1c0379827455b6dff419d5bd096125106f9871940fff0f6e5fa16c885ebe400f-a b/backend/.cache/go-build/1c/1c0379827455b6dff419d5bd096125106f9871940fff0f6e5fa16c885ebe400f-a new file mode 100644 index 0000000..db4a4f8 --- /dev/null +++ b/backend/.cache/go-build/1c/1c0379827455b6dff419d5bd096125106f9871940fff0f6e5fa16c885ebe400f-a @@ -0,0 +1 @@ +v1 1c0379827455b6dff419d5bd096125106f9871940fff0f6e5fa16c885ebe400f 3e2b987e4b08b75e654387878376139412375e8fc2a9bae5d0e9c41fd99defde 789 1769060041923623767 diff --git a/backend/.cache/go-build/1c/1c176a87f3797232f28bc020836e20e8746454cb56d3920c2f99858d71c9007b-d b/backend/.cache/go-build/1c/1c176a87f3797232f28bc020836e20e8746454cb56d3920c2f99858d71c9007b-d new file mode 100644 index 0000000..50b4946 Binary files /dev/null and b/backend/.cache/go-build/1c/1c176a87f3797232f28bc020836e20e8746454cb56d3920c2f99858d71c9007b-d differ diff --git a/backend/.cache/go-build/1d/1d93719bc6a2139eb56329080355568ecd9b65180d17ab0cc50c0c5fecde7b2a-a b/backend/.cache/go-build/1d/1d93719bc6a2139eb56329080355568ecd9b65180d17ab0cc50c0c5fecde7b2a-a new file mode 100644 index 0000000..bb33b61 --- /dev/null +++ b/backend/.cache/go-build/1d/1d93719bc6a2139eb56329080355568ecd9b65180d17ab0cc50c0c5fecde7b2a-a @@ -0,0 +1 @@ +v1 1d93719bc6a2139eb56329080355568ecd9b65180d17ab0cc50c0c5fecde7b2a 420118cb81f0c498ca02eec73c2441e306d8aeca0b0d06d638e31865b3168b99 981 1769060041926562195 diff --git a/backend/.cache/go-build/1f/1fdc3ce2f38353e7d155b9d675f14a390f199a3fcaf21fde8ddad169250c5a69-a b/backend/.cache/go-build/1f/1fdc3ce2f38353e7d155b9d675f14a390f199a3fcaf21fde8ddad169250c5a69-a new file mode 100644 index 0000000..38456c2 --- /dev/null +++ b/backend/.cache/go-build/1f/1fdc3ce2f38353e7d155b9d675f14a390f199a3fcaf21fde8ddad169250c5a69-a @@ -0,0 +1 @@ +v1 1fdc3ce2f38353e7d155b9d675f14a390f199a3fcaf21fde8ddad169250c5a69 67f18130c6430a2548635a445a3160d614d23e7b897d17f43864ebc2afb05020 586292 1769060042109486181 diff --git a/backend/.cache/go-build/20/20a27e58f9592158cbddb96ea694c62a164cb5dbe0d8fcb12388c0a25d387d74-d b/backend/.cache/go-build/20/20a27e58f9592158cbddb96ea694c62a164cb5dbe0d8fcb12388c0a25d387d74-d new file mode 100644 index 0000000..0afb340 Binary files /dev/null and b/backend/.cache/go-build/20/20a27e58f9592158cbddb96ea694c62a164cb5dbe0d8fcb12388c0a25d387d74-d differ diff --git a/backend/.cache/go-build/20/20ea81bf0563c6cf49bb34a416512c9e5fe098c25190e9901abcfbff0294a651-d b/backend/.cache/go-build/20/20ea81bf0563c6cf49bb34a416512c9e5fe098c25190e9901abcfbff0294a651-d new file mode 100644 index 0000000..66e2f8b Binary files /dev/null and b/backend/.cache/go-build/20/20ea81bf0563c6cf49bb34a416512c9e5fe098c25190e9901abcfbff0294a651-d differ diff --git a/backend/.cache/go-build/21/21179484af6877add9aad95064538f4706f7c6239f693236a875838ed689c483-d b/backend/.cache/go-build/21/21179484af6877add9aad95064538f4706f7c6239f693236a875838ed689c483-d new file mode 100644 index 0000000..a7e0ab2 Binary files /dev/null and b/backend/.cache/go-build/21/21179484af6877add9aad95064538f4706f7c6239f693236a875838ed689c483-d differ diff --git a/backend/.cache/go-build/21/215505d4a171a7cbc808c63c89e3ce7599e26e5d8463d973e32a37a8ebfa2b87-a b/backend/.cache/go-build/21/215505d4a171a7cbc808c63c89e3ce7599e26e5d8463d973e32a37a8ebfa2b87-a new file mode 100644 index 0000000..ad6a173 --- /dev/null +++ b/backend/.cache/go-build/21/215505d4a171a7cbc808c63c89e3ce7599e26e5d8463d973e32a37a8ebfa2b87-a @@ -0,0 +1 @@ +v1 215505d4a171a7cbc808c63c89e3ce7599e26e5d8463d973e32a37a8ebfa2b87 cbf5439bf12daf7a7b066b26071d3b52f197ac01f2308e17b2bcb6095b533cc0 258 1769060041922298777 diff --git a/backend/.cache/go-build/21/216c93f0cb09a6ad84321e0a6a24a8dad1ec16f9d4aa07994383e8ccfd6fc2c4-a b/backend/.cache/go-build/21/216c93f0cb09a6ad84321e0a6a24a8dad1ec16f9d4aa07994383e8ccfd6fc2c4-a new file mode 100644 index 0000000..b1b3045 --- /dev/null +++ b/backend/.cache/go-build/21/216c93f0cb09a6ad84321e0a6a24a8dad1ec16f9d4aa07994383e8ccfd6fc2c4-a @@ -0,0 +1 @@ +v1 216c93f0cb09a6ad84321e0a6a24a8dad1ec16f9d4aa07994383e8ccfd6fc2c4 fc9fe66f1d6f449cc478156f794dc0173a84c7e21f1a22c6dcda27bfcb5255fa 7660 1769060041979481496 diff --git a/backend/.cache/go-build/21/21faa15c5febcadadca5225fffd0292072de38e138bf5fe2ff635cc6450d7c4e-d b/backend/.cache/go-build/21/21faa15c5febcadadca5225fffd0292072de38e138bf5fe2ff635cc6450d7c4e-d new file mode 100644 index 0000000..e74e150 --- /dev/null +++ b/backend/.cache/go-build/21/21faa15c5febcadadca5225fffd0292072de38e138bf5fe2ff635cc6450d7c4e-d @@ -0,0 +1,3 @@ +./chacha8.go +./chacha8_generic.go +./chacha8_amd64.s diff --git a/backend/.cache/go-build/22/2257c0da2199dd769d7984cce74dd43e8f2accb44ce6b0be398991273884b8d9-a b/backend/.cache/go-build/22/2257c0da2199dd769d7984cce74dd43e8f2accb44ce6b0be398991273884b8d9-a new file mode 100644 index 0000000..15330e0 --- /dev/null +++ b/backend/.cache/go-build/22/2257c0da2199dd769d7984cce74dd43e8f2accb44ce6b0be398991273884b8d9-a @@ -0,0 +1 @@ +v1 2257c0da2199dd769d7984cce74dd43e8f2accb44ce6b0be398991273884b8d9 2dc7652da0edfbceedb48e26c7d02d5b339636f28ce8938adfdce6cc3d2d6b80 366 1769060041931863054 diff --git a/backend/.cache/go-build/22/22e1baaafcbc224af7c86d4011fec821e510fe01f3afe7727f2b05c4b06b8a23-a b/backend/.cache/go-build/22/22e1baaafcbc224af7c86d4011fec821e510fe01f3afe7727f2b05c4b06b8a23-a new file mode 100644 index 0000000..30f2894 --- /dev/null +++ b/backend/.cache/go-build/22/22e1baaafcbc224af7c86d4011fec821e510fe01f3afe7727f2b05c4b06b8a23-a @@ -0,0 +1 @@ +v1 22e1baaafcbc224af7c86d4011fec821e510fe01f3afe7727f2b05c4b06b8a23 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042002629269 diff --git a/backend/.cache/go-build/22/22e9c935db51d7211f3ae6845f212d1a3a3ed7cc665a333e6313885584b1b5dd-d b/backend/.cache/go-build/22/22e9c935db51d7211f3ae6845f212d1a3a3ed7cc665a333e6313885584b1b5dd-d new file mode 100644 index 0000000..752a581 --- /dev/null +++ b/backend/.cache/go-build/22/22e9c935db51d7211f3ae6845f212d1a3a3ed7cc665a333e6313885584b1b5dd-d @@ -0,0 +1,4 @@ +./swapper.go +./type.go +./value.go +./asm.s diff --git a/backend/.cache/go-build/23/231d79680e0a3b96fa6ddb86e1bf60021f04b6b1c3acf3120ffdc985d1cdfe1b-a b/backend/.cache/go-build/23/231d79680e0a3b96fa6ddb86e1bf60021f04b6b1c3acf3120ffdc985d1cdfe1b-a new file mode 100644 index 0000000..de3dc03 --- /dev/null +++ b/backend/.cache/go-build/23/231d79680e0a3b96fa6ddb86e1bf60021f04b6b1c3acf3120ffdc985d1cdfe1b-a @@ -0,0 +1 @@ +v1 231d79680e0a3b96fa6ddb86e1bf60021f04b6b1c3acf3120ffdc985d1cdfe1b d9b6ad3204dc7b030e8da5de0da8d4dca83c4ac764d1715744af16b9877250a0 334 1769060041925278138 diff --git a/backend/.cache/go-build/23/23446b7fe0929eafcf3aab1786c53dfb76840f440b877bffe98127556087c416-d b/backend/.cache/go-build/23/23446b7fe0929eafcf3aab1786c53dfb76840f440b877bffe98127556087c416-d new file mode 100644 index 0000000..01d5160 --- /dev/null +++ b/backend/.cache/go-build/23/23446b7fe0929eafcf3aab1786c53dfb76840f440b877bffe98127556087c416-d @@ -0,0 +1,8 @@ +./consts.go +./consts_norace.go +./intrinsics.go +./nih.go +./no_dit.go +./sys.go +./zversion.go +./empty.s diff --git a/backend/.cache/go-build/23/238de56daaad95b8d54ffef3eeba76ab4c4948a52a9caf317a9d90f416762915-d b/backend/.cache/go-build/23/238de56daaad95b8d54ffef3eeba76ab4c4948a52a9caf317a9d90f416762915-d new file mode 100644 index 0000000..e1cd538 Binary files /dev/null and b/backend/.cache/go-build/23/238de56daaad95b8d54ffef3eeba76ab4c4948a52a9caf317a9d90f416762915-d differ diff --git a/backend/.cache/go-build/23/23d5e31b393e5718bc4579a9a28898c601f4ca86cf90879e88d2a22cbd70a131-a b/backend/.cache/go-build/23/23d5e31b393e5718bc4579a9a28898c601f4ca86cf90879e88d2a22cbd70a131-a new file mode 100644 index 0000000..39bdf4c --- /dev/null +++ b/backend/.cache/go-build/23/23d5e31b393e5718bc4579a9a28898c601f4ca86cf90879e88d2a22cbd70a131-a @@ -0,0 +1 @@ +v1 23d5e31b393e5718bc4579a9a28898c601f4ca86cf90879e88d2a22cbd70a131 905730550d6b59781ea2b4d064bef77a1b14411c7eb6d0fda3e0a369b6593046 205078 1769060043668490657 diff --git a/backend/.cache/go-build/24/24092a25546a3b8c3771592daca75c8fb2d416c84952f466cc92fcb99959688c-d b/backend/.cache/go-build/24/24092a25546a3b8c3771592daca75c8fb2d416c84952f466cc92fcb99959688c-d new file mode 100644 index 0000000..33fba4a Binary files /dev/null and b/backend/.cache/go-build/24/24092a25546a3b8c3771592daca75c8fb2d416c84952f466cc92fcb99959688c-d differ diff --git a/backend/.cache/go-build/24/24481619f3e451f6c5d26ba9e3e0a79da5ba18b63ca554e415fd4caa2339140e-a b/backend/.cache/go-build/24/24481619f3e451f6c5d26ba9e3e0a79da5ba18b63ca554e415fd4caa2339140e-a new file mode 100644 index 0000000..b11c821 --- /dev/null +++ b/backend/.cache/go-build/24/24481619f3e451f6c5d26ba9e3e0a79da5ba18b63ca554e415fd4caa2339140e-a @@ -0,0 +1 @@ +v1 24481619f3e451f6c5d26ba9e3e0a79da5ba18b63ca554e415fd4caa2339140e 4c6c412875ab5a5df92522e26ee28b6bde2fbe1c222c04e387187eb75aea49e4 703 1769060041893567194 diff --git a/backend/.cache/go-build/25/25cc3eb697808e962150312a12c90286e71772822eca2c5717ea75b4fa57cfbc-d b/backend/.cache/go-build/25/25cc3eb697808e962150312a12c90286e71772822eca2c5717ea75b4fa57cfbc-d new file mode 100644 index 0000000..a1cf9a4 --- /dev/null +++ b/backend/.cache/go-build/25/25cc3eb697808e962150312a12c90286e71772822eca2c5717ea75b4fa57cfbc-d @@ -0,0 +1,14 @@ +./bytealg.go +./compare_native.go +./count_native.go +./equal_generic.go +./equal_native.go +./index_amd64.go +./index_native.go +./indexbyte_native.go +./lastindexbyte_generic.go +./compare_amd64.s +./count_amd64.s +./equal_amd64.s +./index_amd64.s +./indexbyte_amd64.s diff --git a/backend/.cache/go-build/25/25f804cac3391e8f63da8896443f6d90f11d69d674eb82c4228aa60dc0f90139-d b/backend/.cache/go-build/25/25f804cac3391e8f63da8896443f6d90f11d69d674eb82c4228aa60dc0f90139-d new file mode 100644 index 0000000..d7d0e10 Binary files /dev/null and b/backend/.cache/go-build/25/25f804cac3391e8f63da8896443f6d90f11d69d674eb82c4228aa60dc0f90139-d differ diff --git a/backend/.cache/go-build/26/269c95d39c8c5c420131ec4f015b6c4327164d3f15717819ce547de657fdde06-a b/backend/.cache/go-build/26/269c95d39c8c5c420131ec4f015b6c4327164d3f15717819ce547de657fdde06-a new file mode 100644 index 0000000..2ae9f3f --- /dev/null +++ b/backend/.cache/go-build/26/269c95d39c8c5c420131ec4f015b6c4327164d3f15717819ce547de657fdde06-a @@ -0,0 +1 @@ +v1 269c95d39c8c5c420131ec4f015b6c4327164d3f15717819ce547de657fdde06 fc40abd0343f9a80c5b3dab549574858d22f9d70262ed2d3a847fdb54e3e303e 12 1769060043650379303 diff --git a/backend/.cache/go-build/27/27b20b41d90bc3f34f1cdd148a1965fe387c1999c7e3264f1e9faa11a8293e12-a b/backend/.cache/go-build/27/27b20b41d90bc3f34f1cdd148a1965fe387c1999c7e3264f1e9faa11a8293e12-a new file mode 100644 index 0000000..0a133d3 --- /dev/null +++ b/backend/.cache/go-build/27/27b20b41d90bc3f34f1cdd148a1965fe387c1999c7e3264f1e9faa11a8293e12-a @@ -0,0 +1 @@ +v1 27b20b41d90bc3f34f1cdd148a1965fe387c1999c7e3264f1e9faa11a8293e12 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043656165138 diff --git a/backend/.cache/go-build/27/27d9be3aed999b8f70a42cd4556fb83f72974d199ab489ebc6bc2ec87e60d606-a b/backend/.cache/go-build/27/27d9be3aed999b8f70a42cd4556fb83f72974d199ab489ebc6bc2ec87e60d606-a new file mode 100644 index 0000000..f420f6b --- /dev/null +++ b/backend/.cache/go-build/27/27d9be3aed999b8f70a42cd4556fb83f72974d199ab489ebc6bc2ec87e60d606-a @@ -0,0 +1 @@ +v1 27d9be3aed999b8f70a42cd4556fb83f72974d199ab489ebc6bc2ec87e60d606 ee6bf6b9010d2db4f46169594c86b561f0a6ebdc14c2f2c5985db00b278e836e 796 1769060041896901481 diff --git a/backend/.cache/go-build/28/2851aa75f23c6733013e7d2788bb6a90fbfa7c8fef9365f9b8e4effd7fae312d-a b/backend/.cache/go-build/28/2851aa75f23c6733013e7d2788bb6a90fbfa7c8fef9365f9b8e4effd7fae312d-a new file mode 100644 index 0000000..ee0a518 --- /dev/null +++ b/backend/.cache/go-build/28/2851aa75f23c6733013e7d2788bb6a90fbfa7c8fef9365f9b8e4effd7fae312d-a @@ -0,0 +1 @@ +v1 2851aa75f23c6733013e7d2788bb6a90fbfa7c8fef9365f9b8e4effd7fae312d e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043649513185 diff --git a/backend/.cache/go-build/28/285a978d88032ef0dc8b9b30cae432127273a838c411ca473e46c94c8b9cb392-d b/backend/.cache/go-build/28/285a978d88032ef0dc8b9b30cae432127273a838c411ca473e46c94c8b9cb392-d new file mode 100644 index 0000000..f97316a --- /dev/null +++ b/backend/.cache/go-build/28/285a978d88032ef0dc8b9b30cae432127273a838c411ca473e46c94c8b9cb392-d @@ -0,0 +1,2 @@ +./match.go +./path.go diff --git a/backend/.cache/go-build/28/28808926d7a9ed294211d91bc8214691ddc0c6865d52adf9ae176f6c0dfb9524-d b/backend/.cache/go-build/28/28808926d7a9ed294211d91bc8214691ddc0c6865d52adf9ae176f6c0dfb9524-d new file mode 100644 index 0000000..fa4559d Binary files /dev/null and b/backend/.cache/go-build/28/28808926d7a9ed294211d91bc8214691ddc0c6865d52adf9ae176f6c0dfb9524-d differ diff --git a/backend/.cache/go-build/28/28957869268d8eebf10aa2a3578e1d7222a5b9891f6a5f6ce8255437d6e39f67-d b/backend/.cache/go-build/28/28957869268d8eebf10aa2a3578e1d7222a5b9891f6a5f6ce8255437d6e39f67-d new file mode 100644 index 0000000..3985cd4 Binary files /dev/null and b/backend/.cache/go-build/28/28957869268d8eebf10aa2a3578e1d7222a5b9891f6a5f6ce8255437d6e39f67-d differ diff --git a/backend/.cache/go-build/28/28ea1f1635c9d2ad84e64ad5b86b489887892525356e3869ffe3ea0273007fdb-d b/backend/.cache/go-build/28/28ea1f1635c9d2ad84e64ad5b86b489887892525356e3869ffe3ea0273007fdb-d new file mode 100644 index 0000000..6803276 --- /dev/null +++ b/backend/.cache/go-build/28/28ea1f1635c9d2ad84e64ad5b86b489887892525356e3869ffe3ea0273007fdb-d @@ -0,0 +1,42 @@ +./dir.go +./dir_unix.go +./dirent_linux.go +./eloop_other.go +./env.go +./error.go +./error_errno.go +./exec.go +./exec_linux.go +./exec_posix.go +./exec_unix.go +./executable.go +./executable_procfs.go +./file.go +./file_open_unix.go +./file_posix.go +./file_unix.go +./getwd.go +./path.go +./path_unix.go +./pidfd_linux.go +./pipe2_unix.go +./proc.go +./rawconn.go +./removeall_at.go +./root.go +./root_nonwindows.go +./root_openat.go +./root_unix.go +./stat.go +./stat_linux.go +./stat_unix.go +./sticky_notbsd.go +./sys.go +./sys_linux.go +./sys_unix.go +./tempfile.go +./types.go +./types_unix.go +./wait_waitid.go +./zero_copy_linux.go +./zero_copy_posix.go diff --git a/backend/.cache/go-build/29/29229879dc617498f8ceb9a164d4ec67b26321fc6d73b760995d0f901a7711d2-a b/backend/.cache/go-build/29/29229879dc617498f8ceb9a164d4ec67b26321fc6d73b760995d0f901a7711d2-a new file mode 100644 index 0000000..ee67461 --- /dev/null +++ b/backend/.cache/go-build/29/29229879dc617498f8ceb9a164d4ec67b26321fc6d73b760995d0f901a7711d2-a @@ -0,0 +1 @@ +v1 29229879dc617498f8ceb9a164d4ec67b26321fc6d73b760995d0f901a7711d2 0d1856b39f76235bd173cbfe0ddb3cb3dd5729047dd771d8eecbf0fa861087cf 31412 1769060041925018139 diff --git a/backend/.cache/go-build/29/29596e982052aa2834ef4145058f1d357e85f32589260ab66447497e424698d5-a b/backend/.cache/go-build/29/29596e982052aa2834ef4145058f1d357e85f32589260ab66447497e424698d5-a new file mode 100644 index 0000000..dd8576a --- /dev/null +++ b/backend/.cache/go-build/29/29596e982052aa2834ef4145058f1d357e85f32589260ab66447497e424698d5-a @@ -0,0 +1 @@ +v1 29596e982052aa2834ef4145058f1d357e85f32589260ab66447497e424698d5 ad38f6e2b28ea68354a7072d13501c3861b275a006433ac3ae5602997803feab 13 1769060042039273665 diff --git a/backend/.cache/go-build/29/2967cf934d0149c2b524768a9969973e1694c5a1731e52b62ee0b0edeff40c86-a b/backend/.cache/go-build/29/2967cf934d0149c2b524768a9969973e1694c5a1731e52b62ee0b0edeff40c86-a new file mode 100644 index 0000000..072115e --- /dev/null +++ b/backend/.cache/go-build/29/2967cf934d0149c2b524768a9969973e1694c5a1731e52b62ee0b0edeff40c86-a @@ -0,0 +1 @@ +v1 2967cf934d0149c2b524768a9969973e1694c5a1731e52b62ee0b0edeff40c86 580c6f5185ba573e8afd9626ae0354b2f47bd260bafbb16d97a18462fb4b2ea1 968 1769060041910515400 diff --git a/backend/.cache/go-build/29/29b032d3e50462d0e65905eabf4163f3276337ad14b410b852388cf80975991e-a b/backend/.cache/go-build/29/29b032d3e50462d0e65905eabf4163f3276337ad14b410b852388cf80975991e-a new file mode 100644 index 0000000..939f875 --- /dev/null +++ b/backend/.cache/go-build/29/29b032d3e50462d0e65905eabf4163f3276337ad14b410b852388cf80975991e-a @@ -0,0 +1 @@ +v1 29b032d3e50462d0e65905eabf4163f3276337ad14b410b852388cf80975991e 861586773a505817adbf9a6a4ee6d7e40b41e59a7d00ce7e36f129c96c425f3f 13212 1769060043579237752 diff --git a/backend/.cache/go-build/29/29b051b653a394836f379f6d79fca8395d130465de3003fbacf8d3cf9396f976-d b/backend/.cache/go-build/29/29b051b653a394836f379f6d79fca8395d130465de3003fbacf8d3cf9396f976-d new file mode 100644 index 0000000..8342c70 --- /dev/null +++ b/backend/.cache/go-build/29/29b051b653a394836f379f6d79fca8395d130465de3003fbacf8d3cf9396f976-d @@ -0,0 +1,3 @@ +./errors.go +./join.go +./wrap.go diff --git a/backend/.cache/go-build/29/29c56381a4ac196c119f04c040c97e3b11797832d18944b2c2dea0c075fe9db5-a b/backend/.cache/go-build/29/29c56381a4ac196c119f04c040c97e3b11797832d18944b2c2dea0c075fe9db5-a new file mode 100644 index 0000000..cc39084 --- /dev/null +++ b/backend/.cache/go-build/29/29c56381a4ac196c119f04c040c97e3b11797832d18944b2c2dea0c075fe9db5-a @@ -0,0 +1 @@ +v1 29c56381a4ac196c119f04c040c97e3b11797832d18944b2c2dea0c075fe9db5 da42154e0c00c72deb3b7aebf2865fd59f926a321ff20702ab3e2afb608e30ee 12010 1769060041981525075 diff --git a/backend/.cache/go-build/2a/2a1e717e42ed4879a532f31642b8c628b438fbb8b8e885f81c399de31623e331-a b/backend/.cache/go-build/2a/2a1e717e42ed4879a532f31642b8c628b438fbb8b8e885f81c399de31623e331-a new file mode 100644 index 0000000..2c45293 --- /dev/null +++ b/backend/.cache/go-build/2a/2a1e717e42ed4879a532f31642b8c628b438fbb8b8e885f81c399de31623e331-a @@ -0,0 +1 @@ +v1 2a1e717e42ed4879a532f31642b8c628b438fbb8b8e885f81c399de31623e331 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043578943038 diff --git a/backend/.cache/go-build/2b/2b0895e1d584f8d723b1d091e0a3e55c2e1eadd68d8b7c1588df09dbb73b2d47-a b/backend/.cache/go-build/2b/2b0895e1d584f8d723b1d091e0a3e55c2e1eadd68d8b7c1588df09dbb73b2d47-a new file mode 100644 index 0000000..fe8ac8c --- /dev/null +++ b/backend/.cache/go-build/2b/2b0895e1d584f8d723b1d091e0a3e55c2e1eadd68d8b7c1588df09dbb73b2d47-a @@ -0,0 +1 @@ +v1 2b0895e1d584f8d723b1d091e0a3e55c2e1eadd68d8b7c1588df09dbb73b2d47 6bd129fe34098ea42aea0962860c1c9d37c0e9f08d482a5dcdf10ac7936acee7 77 1769060041979775786 diff --git a/backend/.cache/go-build/2b/2b50c318f46f8d1d4a39a392428ea8a370eec51b544450a1b94ae953ced67c4d-a b/backend/.cache/go-build/2b/2b50c318f46f8d1d4a39a392428ea8a370eec51b544450a1b94ae953ced67c4d-a new file mode 100644 index 0000000..55140da --- /dev/null +++ b/backend/.cache/go-build/2b/2b50c318f46f8d1d4a39a392428ea8a370eec51b544450a1b94ae953ced67c4d-a @@ -0,0 +1 @@ +v1 2b50c318f46f8d1d4a39a392428ea8a370eec51b544450a1b94ae953ced67c4d 24092a25546a3b8c3771592daca75c8fb2d416c84952f466cc92fcb99959688c 60326 1769060043667851362 diff --git a/backend/.cache/go-build/2b/2b80e4ca2dcc61e6a799b2c4fd994927d9cbdcb7da3fb8a94ede4aa9be962e66-d b/backend/.cache/go-build/2b/2b80e4ca2dcc61e6a799b2c4fd994927d9cbdcb7da3fb8a94ede4aa9be962e66-d new file mode 100644 index 0000000..b939df8 Binary files /dev/null and b/backend/.cache/go-build/2b/2b80e4ca2dcc61e6a799b2c4fd994927d9cbdcb7da3fb8a94ede4aa9be962e66-d differ diff --git a/backend/.cache/go-build/2b/2ba963660e1b7abf46deaef03614f8cce1f6230e971041e2f60a9b8b5bca5326-d b/backend/.cache/go-build/2b/2ba963660e1b7abf46deaef03614f8cce1f6230e971041e2f60a9b8b5bca5326-d new file mode 100644 index 0000000..c12a577 Binary files /dev/null and b/backend/.cache/go-build/2b/2ba963660e1b7abf46deaef03614f8cce1f6230e971041e2f60a9b8b5bca5326-d differ diff --git a/backend/.cache/go-build/2b/2be0f8718e560c3902815d2429e4dd6f7db1108e82cbd5a3bd3e0ebfaacb5305-a b/backend/.cache/go-build/2b/2be0f8718e560c3902815d2429e4dd6f7db1108e82cbd5a3bd3e0ebfaacb5305-a new file mode 100644 index 0000000..a8c56fc --- /dev/null +++ b/backend/.cache/go-build/2b/2be0f8718e560c3902815d2429e4dd6f7db1108e82cbd5a3bd3e0ebfaacb5305-a @@ -0,0 +1 @@ +v1 2be0f8718e560c3902815d2429e4dd6f7db1108e82cbd5a3bd3e0ebfaacb5305 1bd0e7b814a828e09535fb001f8a91c34b4494f123abb888db0c224bd74ab91b 15 1769060041968162970 diff --git a/backend/.cache/go-build/2d/2d2660beaab3bc541e3e0bbee53b3bcb2cc83dcfefb5760a1cd3bbfb644a8dc6-a b/backend/.cache/go-build/2d/2d2660beaab3bc541e3e0bbee53b3bcb2cc83dcfefb5760a1cd3bbfb644a8dc6-a new file mode 100644 index 0000000..9e401a4 --- /dev/null +++ b/backend/.cache/go-build/2d/2d2660beaab3bc541e3e0bbee53b3bcb2cc83dcfefb5760a1cd3bbfb644a8dc6-a @@ -0,0 +1 @@ +v1 2d2660beaab3bc541e3e0bbee53b3bcb2cc83dcfefb5760a1cd3bbfb644a8dc6 edb3789cfcb05b235540efae8e18ce4ab68450f91276300d2baa5cc170d787cb 1766 1769060041926621449 diff --git a/backend/.cache/go-build/2d/2dc7652da0edfbceedb48e26c7d02d5b339636f28ce8938adfdce6cc3d2d6b80-d b/backend/.cache/go-build/2d/2dc7652da0edfbceedb48e26c7d02d5b339636f28ce8938adfdce6cc3d2d6b80-d new file mode 100644 index 0000000..03adf18 Binary files /dev/null and b/backend/.cache/go-build/2d/2dc7652da0edfbceedb48e26c7d02d5b339636f28ce8938adfdce6cc3d2d6b80-d differ diff --git a/backend/.cache/go-build/2e/2e644b515cf1fbd218198ff22c66419af6a70e53e56a80b6b793a712c1273360-a b/backend/.cache/go-build/2e/2e644b515cf1fbd218198ff22c66419af6a70e53e56a80b6b793a712c1273360-a new file mode 100644 index 0000000..ae09404 --- /dev/null +++ b/backend/.cache/go-build/2e/2e644b515cf1fbd218198ff22c66419af6a70e53e56a80b6b793a712c1273360-a @@ -0,0 +1 @@ +v1 2e644b515cf1fbd218198ff22c66419af6a70e53e56a80b6b793a712c1273360 c65fb8bf57a1e0df963979f0f59714c5af14f7a3a987e8688a934f0f38c18af2 21 1769060041970540678 diff --git a/backend/.cache/go-build/2e/2e7287640f1c5639afec4fb905a46f63196c3d84793642c4b00ac42d62159c0b-a b/backend/.cache/go-build/2e/2e7287640f1c5639afec4fb905a46f63196c3d84793642c4b00ac42d62159c0b-a new file mode 100644 index 0000000..ddd142f --- /dev/null +++ b/backend/.cache/go-build/2e/2e7287640f1c5639afec4fb905a46f63196c3d84793642c4b00ac42d62159c0b-a @@ -0,0 +1 @@ +v1 2e7287640f1c5639afec4fb905a46f63196c3d84793642c4b00ac42d62159c0b 73da4db3a27e0f68902f139a590f8484b0a39682f98c26cb13b262f49474eeb8 10 1769060041968076497 diff --git a/backend/.cache/go-build/2f/2f47ac825a0f2b7643d49e6f27ee96147a0d2929dbcf7022f9ed6f9b69afb54c-a b/backend/.cache/go-build/2f/2f47ac825a0f2b7643d49e6f27ee96147a0d2929dbcf7022f9ed6f9b69afb54c-a new file mode 100644 index 0000000..0ac1316 --- /dev/null +++ b/backend/.cache/go-build/2f/2f47ac825a0f2b7643d49e6f27ee96147a0d2929dbcf7022f9ed6f9b69afb54c-a @@ -0,0 +1 @@ +v1 2f47ac825a0f2b7643d49e6f27ee96147a0d2929dbcf7022f9ed6f9b69afb54c 0ce1b1d60f8a08833d55ed93fc8ee8fb07397702e6958b03f6f4ba7b55cc006d 11 1769060041967963177 diff --git a/backend/.cache/go-build/2f/2f5758c0bfb3c339bb42c3cdf69caaf16a3d9d5e32726e6706077b0b09b69b93-d b/backend/.cache/go-build/2f/2f5758c0bfb3c339bb42c3cdf69caaf16a3d9d5e32726e6706077b0b09b69b93-d new file mode 100644 index 0000000..deb34bd Binary files /dev/null and b/backend/.cache/go-build/2f/2f5758c0bfb3c339bb42c3cdf69caaf16a3d9d5e32726e6706077b0b09b69b93-d differ diff --git a/backend/.cache/go-build/2f/2f76b95f37081777d61bb14ba7071cdf8ee9dfe1a8a6982d790c89f29b3af5a2-d b/backend/.cache/go-build/2f/2f76b95f37081777d61bb14ba7071cdf8ee9dfe1a8a6982d790c89f29b3af5a2-d new file mode 100644 index 0000000..196bca8 Binary files /dev/null and b/backend/.cache/go-build/2f/2f76b95f37081777d61bb14ba7071cdf8ee9dfe1a8a6982d790c89f29b3af5a2-d differ diff --git a/backend/.cache/go-build/30/3023bfabceccd317773876c3539058cdfdb3c4e7bcf00f34a3c03ed48e730366-d b/backend/.cache/go-build/30/3023bfabceccd317773876c3539058cdfdb3c4e7bcf00f34a3c03ed48e730366-d new file mode 100644 index 0000000..82bbf9c Binary files /dev/null and b/backend/.cache/go-build/30/3023bfabceccd317773876c3539058cdfdb3c4e7bcf00f34a3c03ed48e730366-d differ diff --git a/backend/.cache/go-build/30/30ff3f89552e48e0f2d8dfdbf11aef113dcbd9fe676e3332b71981fe966e8d2f-a b/backend/.cache/go-build/30/30ff3f89552e48e0f2d8dfdbf11aef113dcbd9fe676e3332b71981fe966e8d2f-a new file mode 100644 index 0000000..9b19a02 --- /dev/null +++ b/backend/.cache/go-build/30/30ff3f89552e48e0f2d8dfdbf11aef113dcbd9fe676e3332b71981fe966e8d2f-a @@ -0,0 +1 @@ +v1 30ff3f89552e48e0f2d8dfdbf11aef113dcbd9fe676e3332b71981fe966e8d2f 65ea327f2f15cbbc327dbfcdf368e240ac4403dc6f91da00ba0ab6e4dabd55ef 2007 1769060041923713956 diff --git a/backend/.cache/go-build/31/317534f8ea017922fa3dbda21dc4192b09ab8c5a48ad5631999702f18f5ceb54-d b/backend/.cache/go-build/31/317534f8ea017922fa3dbda21dc4192b09ab8c5a48ad5631999702f18f5ceb54-d new file mode 100644 index 0000000..afd3943 --- /dev/null +++ b/backend/.cache/go-build/31/317534f8ea017922fa3dbda21dc4192b09ab8c5a48ad5631999702f18f5ceb54-d @@ -0,0 +1,3 @@ +./goos.go +./unix.go +./zgoos_linux.go diff --git a/backend/.cache/go-build/31/3190297dd8f5f4b5e3dc787dd77248a10ff0989617ce2ae828e5bea03be7cd2d-a b/backend/.cache/go-build/31/3190297dd8f5f4b5e3dc787dd77248a10ff0989617ce2ae828e5bea03be7cd2d-a new file mode 100644 index 0000000..f0c8e6f --- /dev/null +++ b/backend/.cache/go-build/31/3190297dd8f5f4b5e3dc787dd77248a10ff0989617ce2ae828e5bea03be7cd2d-a @@ -0,0 +1 @@ +v1 3190297dd8f5f4b5e3dc787dd77248a10ff0989617ce2ae828e5bea03be7cd2d df41fa0f1ecd8a6e480ac2339c01773b344cff5c8dddf3f670abd8989b5d5766 2715 1769060041923329918 diff --git a/backend/.cache/go-build/31/31c258445099b776f9b6176c88ca9f2da71aa3b9150a79e893e3aa1d45a47c13-a b/backend/.cache/go-build/31/31c258445099b776f9b6176c88ca9f2da71aa3b9150a79e893e3aa1d45a47c13-a new file mode 100644 index 0000000..72a7906 --- /dev/null +++ b/backend/.cache/go-build/31/31c258445099b776f9b6176c88ca9f2da71aa3b9150a79e893e3aa1d45a47c13-a @@ -0,0 +1 @@ +v1 31c258445099b776f9b6176c88ca9f2da71aa3b9150a79e893e3aa1d45a47c13 4b7131d0d5240a5cd12202f023f22e5d19f3e5c09ff2a279c6583df5c7d015d6 948 1769060041923350745 diff --git a/backend/.cache/go-build/32/321f924104ddda83e5f5b5764dcfaaec6a27af3187252d432d6e2164218697b4-a b/backend/.cache/go-build/32/321f924104ddda83e5f5b5764dcfaaec6a27af3187252d432d6e2164218697b4-a new file mode 100644 index 0000000..b5f3e4c --- /dev/null +++ b/backend/.cache/go-build/32/321f924104ddda83e5f5b5764dcfaaec6a27af3187252d432d6e2164218697b4-a @@ -0,0 +1 @@ +v1 321f924104ddda83e5f5b5764dcfaaec6a27af3187252d432d6e2164218697b4 03552fbe75c9e85c53e61f328895feeeb355029655336ba27bf7c2d9a7d997a2 1210 1769060041911488849 diff --git a/backend/.cache/go-build/32/32d8d6d4488324e8851c98326f774f9b4d0146349e2e435041a80622b273b37e-a b/backend/.cache/go-build/32/32d8d6d4488324e8851c98326f774f9b4d0146349e2e435041a80622b273b37e-a new file mode 100644 index 0000000..fa71fd7 --- /dev/null +++ b/backend/.cache/go-build/32/32d8d6d4488324e8851c98326f774f9b4d0146349e2e435041a80622b273b37e-a @@ -0,0 +1 @@ +v1 32d8d6d4488324e8851c98326f774f9b4d0146349e2e435041a80622b273b37e 0f845f540385f08485f967537341386d55d30009d5ecfa251e65e923f91262b7 1455 1769060041913484603 diff --git a/backend/.cache/go-build/33/333b19aa08d78b5a0cd7addcf50135072b0d0d7fa7e7d13b93e89ee90bf65c67-d b/backend/.cache/go-build/33/333b19aa08d78b5a0cd7addcf50135072b0d0d7fa7e7d13b93e89ee90bf65c67-d new file mode 100644 index 0000000..d827a37 Binary files /dev/null and b/backend/.cache/go-build/33/333b19aa08d78b5a0cd7addcf50135072b0d0d7fa7e7d13b93e89ee90bf65c67-d differ diff --git a/backend/.cache/go-build/33/33d26e49a24d31af8790086527edc2a2a816273f9b279cb0898be617645392a9-d b/backend/.cache/go-build/33/33d26e49a24d31af8790086527edc2a2a816273f9b279cb0898be617645392a9-d new file mode 100644 index 0000000..1642f36 Binary files /dev/null and b/backend/.cache/go-build/33/33d26e49a24d31af8790086527edc2a2a816273f9b279cb0898be617645392a9-d differ diff --git a/backend/.cache/go-build/33/33ff942cc1507a2a12c69fda6f405f030380f1e6a15604ebdcfceb0d37578bcd-a b/backend/.cache/go-build/33/33ff942cc1507a2a12c69fda6f405f030380f1e6a15604ebdcfceb0d37578bcd-a new file mode 100644 index 0000000..c0db6a4 --- /dev/null +++ b/backend/.cache/go-build/33/33ff942cc1507a2a12c69fda6f405f030380f1e6a15604ebdcfceb0d37578bcd-a @@ -0,0 +1 @@ +v1 33ff942cc1507a2a12c69fda6f405f030380f1e6a15604ebdcfceb0d37578bcd 670c81db1b68ac74da78adbe0747ec16c63ed7057b46fe396aa7096609d7e5c6 262 1769060041925928456 diff --git a/backend/.cache/go-build/34/3431583540a0bb5e7730885fd33366b6d26c152dc1d2b909952f1add7e817cc6-d b/backend/.cache/go-build/34/3431583540a0bb5e7730885fd33366b6d26c152dc1d2b909952f1add7e817cc6-d new file mode 100644 index 0000000..e8479bb Binary files /dev/null and b/backend/.cache/go-build/34/3431583540a0bb5e7730885fd33366b6d26c152dc1d2b909952f1add7e817cc6-d differ diff --git a/backend/.cache/go-build/34/343f642e49f2f37801637016e072bec57ae08a36eabe96d18a1fdf7b85b675a1-a b/backend/.cache/go-build/34/343f642e49f2f37801637016e072bec57ae08a36eabe96d18a1fdf7b85b675a1-a new file mode 100644 index 0000000..dc3c45e --- /dev/null +++ b/backend/.cache/go-build/34/343f642e49f2f37801637016e072bec57ae08a36eabe96d18a1fdf7b85b675a1-a @@ -0,0 +1 @@ +v1 343f642e49f2f37801637016e072bec57ae08a36eabe96d18a1fdf7b85b675a1 927082ad8c2b91a6388f261b3cafa0624a29bdff0121077281a06bc4298e80d9 13706 1769060041987642506 diff --git a/backend/.cache/go-build/34/34a480041f9d3b68f9e86cfd57561f7e70d0297480d1633e857a50f565693d71-a b/backend/.cache/go-build/34/34a480041f9d3b68f9e86cfd57561f7e70d0297480d1633e857a50f565693d71-a new file mode 100644 index 0000000..87750e9 --- /dev/null +++ b/backend/.cache/go-build/34/34a480041f9d3b68f9e86cfd57561f7e70d0297480d1633e857a50f565693d71-a @@ -0,0 +1 @@ +v1 34a480041f9d3b68f9e86cfd57561f7e70d0297480d1633e857a50f565693d71 28957869268d8eebf10aa2a3578e1d7222a5b9891f6a5f6ce8255437d6e39f67 8298 1769060041917384519 diff --git a/backend/.cache/go-build/35/359be691558d536da2b99e5ef23c3fef396a12f9099438be353155e810fd3298-a b/backend/.cache/go-build/35/359be691558d536da2b99e5ef23c3fef396a12f9099438be353155e810fd3298-a new file mode 100644 index 0000000..aa606ac --- /dev/null +++ b/backend/.cache/go-build/35/359be691558d536da2b99e5ef23c3fef396a12f9099438be353155e810fd3298-a @@ -0,0 +1 @@ +v1 359be691558d536da2b99e5ef23c3fef396a12f9099438be353155e810fd3298 cc7091fa7cba549f80433158076f78e7c0b9060cc56e6bc76eb7e8c3f7538a8f 638 1769060041915414360 diff --git a/backend/.cache/go-build/35/35a1e583f267ff227e9d2b84dc18e6b4f37f68e2c774c08f2432d2e7d634ade6-a b/backend/.cache/go-build/35/35a1e583f267ff227e9d2b84dc18e6b4f37f68e2c774c08f2432d2e7d634ade6-a new file mode 100644 index 0000000..f8dc4b4 --- /dev/null +++ b/backend/.cache/go-build/35/35a1e583f267ff227e9d2b84dc18e6b4f37f68e2c774c08f2432d2e7d634ade6-a @@ -0,0 +1 @@ +v1 35a1e583f267ff227e9d2b84dc18e6b4f37f68e2c774c08f2432d2e7d634ade6 5302704ae92e3c3bf27e622af4a04113018db126e98c6b17def4aa7bc1e7b5a9 536 1769060041910544922 diff --git a/backend/.cache/go-build/35/35aa0700e763d7df4a2dc829efe8d497d6cb03a65ee8d57e485dd85656c4f4c7-a b/backend/.cache/go-build/35/35aa0700e763d7df4a2dc829efe8d497d6cb03a65ee8d57e485dd85656c4f4c7-a new file mode 100644 index 0000000..ada1df8 --- /dev/null +++ b/backend/.cache/go-build/35/35aa0700e763d7df4a2dc829efe8d497d6cb03a65ee8d57e485dd85656c4f4c7-a @@ -0,0 +1 @@ +v1 35aa0700e763d7df4a2dc829efe8d497d6cb03a65ee8d57e485dd85656c4f4c7 c3de07f1a9824f754f9632842a7b73ecf48dcb1b363bc699bfa54fcdb28ec363 2695 1769060041914558569 diff --git a/backend/.cache/go-build/36/360cc7f25d17e5d8f4b2b67a5896f48b01f06f3d04b63198a145c903248b2972-a b/backend/.cache/go-build/36/360cc7f25d17e5d8f4b2b67a5896f48b01f06f3d04b63198a145c903248b2972-a new file mode 100644 index 0000000..a413596 --- /dev/null +++ b/backend/.cache/go-build/36/360cc7f25d17e5d8f4b2b67a5896f48b01f06f3d04b63198a145c903248b2972-a @@ -0,0 +1 @@ +v1 360cc7f25d17e5d8f4b2b67a5896f48b01f06f3d04b63198a145c903248b2972 09ecf677ba8a2cbc2279eaaba60651f37ee9a99d319e4355475b64b7b7144e0e 75810 1769060043650097523 diff --git a/backend/.cache/go-build/36/363cb980869b6879b3c8d5b548c322f03573e5814a125f20ef9cb7a47e69d075-a b/backend/.cache/go-build/36/363cb980869b6879b3c8d5b548c322f03573e5814a125f20ef9cb7a47e69d075-a new file mode 100644 index 0000000..a5f9d09 --- /dev/null +++ b/backend/.cache/go-build/36/363cb980869b6879b3c8d5b548c322f03573e5814a125f20ef9cb7a47e69d075-a @@ -0,0 +1 @@ +v1 363cb980869b6879b3c8d5b548c322f03573e5814a125f20ef9cb7a47e69d075 04a5bcac107e5908dffea57005a6aa3d6c38b905d1c5feed2eb05cb0a558bacc 587 1769060041923482277 diff --git a/backend/.cache/go-build/36/365d16ef645599e34efa3e3c3832af31734d60def47c32ae56dd13a852923081-d b/backend/.cache/go-build/36/365d16ef645599e34efa3e3c3832af31734d60def47c32ae56dd13a852923081-d new file mode 100644 index 0000000..0782e98 Binary files /dev/null and b/backend/.cache/go-build/36/365d16ef645599e34efa3e3c3832af31734d60def47c32ae56dd13a852923081-d differ diff --git a/backend/.cache/go-build/36/368d8bae338b9a21c00d08a404d99471c4deb4fb59e34eeea68287fa6a3fcd55-d b/backend/.cache/go-build/36/368d8bae338b9a21c00d08a404d99471c4deb4fb59e34eeea68287fa6a3fcd55-d new file mode 100644 index 0000000..aeb93e4 Binary files /dev/null and b/backend/.cache/go-build/36/368d8bae338b9a21c00d08a404d99471c4deb4fb59e34eeea68287fa6a3fcd55-d differ diff --git a/backend/.cache/go-build/37/3798c6c18b53a788be1080aee459e9e5bf50b65cd895e5116c95e82ee1c5687e-a b/backend/.cache/go-build/37/3798c6c18b53a788be1080aee459e9e5bf50b65cd895e5116c95e82ee1c5687e-a new file mode 100644 index 0000000..80d8c0b --- /dev/null +++ b/backend/.cache/go-build/37/3798c6c18b53a788be1080aee459e9e5bf50b65cd895e5116c95e82ee1c5687e-a @@ -0,0 +1 @@ +v1 3798c6c18b53a788be1080aee459e9e5bf50b65cd895e5116c95e82ee1c5687e 96f116f5818b98c70f2b5d06b77215d8dea8d4381cb293fba1f474f8c3871226 1265 1769060041915610056 diff --git a/backend/.cache/go-build/37/37d345068948df39251300009cfef447bbb277ae0cfdb171b340894ad44005cb-a b/backend/.cache/go-build/37/37d345068948df39251300009cfef447bbb277ae0cfdb171b340894ad44005cb-a new file mode 100644 index 0000000..47bc045 --- /dev/null +++ b/backend/.cache/go-build/37/37d345068948df39251300009cfef447bbb277ae0cfdb171b340894ad44005cb-a @@ -0,0 +1 @@ +v1 37d345068948df39251300009cfef447bbb277ae0cfdb171b340894ad44005cb 7559dc8d1bf0b63491badc8babfcc0ec73fc6850a4d5077d0b9686b0eed48f21 1020 1769060041915687783 diff --git a/backend/.cache/go-build/38/38464a34880532794efe596401aa299c5c8f3dcfe135877806a26fe5c3735d97-a b/backend/.cache/go-build/38/38464a34880532794efe596401aa299c5c8f3dcfe135877806a26fe5c3735d97-a new file mode 100644 index 0000000..9c2268a --- /dev/null +++ b/backend/.cache/go-build/38/38464a34880532794efe596401aa299c5c8f3dcfe135877806a26fe5c3735d97-a @@ -0,0 +1 @@ +v1 38464a34880532794efe596401aa299c5c8f3dcfe135877806a26fe5c3735d97 368d8bae338b9a21c00d08a404d99471c4deb4fb59e34eeea68287fa6a3fcd55 970 1769060041923839978 diff --git a/backend/.cache/go-build/38/38a0285b4078334a8d1c6a928e079b3ee65331a955fae62da547452857e18da5-d b/backend/.cache/go-build/38/38a0285b4078334a8d1c6a928e079b3ee65331a955fae62da547452857e18da5-d new file mode 100644 index 0000000..b8f32a3 Binary files /dev/null and b/backend/.cache/go-build/38/38a0285b4078334a8d1c6a928e079b3ee65331a955fae62da547452857e18da5-d differ diff --git a/backend/.cache/go-build/38/38a449cd4c6ca2f086c8a095cc84a618341c80a47f65863520e74dfedbff319f-d b/backend/.cache/go-build/38/38a449cd4c6ca2f086c8a095cc84a618341c80a47f65863520e74dfedbff319f-d new file mode 100644 index 0000000..42091cc Binary files /dev/null and b/backend/.cache/go-build/38/38a449cd4c6ca2f086c8a095cc84a618341c80a47f65863520e74dfedbff319f-d differ diff --git a/backend/.cache/go-build/38/38daf23669fef3521eabe8dedadf1619da0b766bb6a19503d2c9398cb3e3a192-d b/backend/.cache/go-build/38/38daf23669fef3521eabe8dedadf1619da0b766bb6a19503d2c9398cb3e3a192-d new file mode 100644 index 0000000..a59a09c Binary files /dev/null and b/backend/.cache/go-build/38/38daf23669fef3521eabe8dedadf1619da0b766bb6a19503d2c9398cb3e3a192-d differ diff --git a/backend/.cache/go-build/38/38e692a6e385a9a6f8ace1727587a882ddc42563cb7b7ed978322e896279b300-a b/backend/.cache/go-build/38/38e692a6e385a9a6f8ace1727587a882ddc42563cb7b7ed978322e896279b300-a new file mode 100644 index 0000000..5dcf9c9 --- /dev/null +++ b/backend/.cache/go-build/38/38e692a6e385a9a6f8ace1727587a882ddc42563cb7b7ed978322e896279b300-a @@ -0,0 +1 @@ +v1 38e692a6e385a9a6f8ace1727587a882ddc42563cb7b7ed978322e896279b300 f4a0e9d5a02987f933bfddf61f0da03479ba95cdfd8c1e5235dfca204e55406a 2330 1769060041918699831 diff --git a/backend/.cache/go-build/39/393b2cea985fa6d42d4356be07976bf172c06826fd7492b8687babb823205f68-a b/backend/.cache/go-build/39/393b2cea985fa6d42d4356be07976bf172c06826fd7492b8687babb823205f68-a new file mode 100644 index 0000000..483f4f9 --- /dev/null +++ b/backend/.cache/go-build/39/393b2cea985fa6d42d4356be07976bf172c06826fd7492b8687babb823205f68-a @@ -0,0 +1 @@ +v1 393b2cea985fa6d42d4356be07976bf172c06826fd7492b8687babb823205f68 9e1bee65f89a698fc16682af3859e63594ace3bb1c3359dd69f54430b6acb1ab 255 1769060041945557325 diff --git a/backend/.cache/go-build/39/395728dbddcf9fcca86fbf7917c36d6494e8ab12101913ddd7e3b152a42039b2-d b/backend/.cache/go-build/39/395728dbddcf9fcca86fbf7917c36d6494e8ab12101913ddd7e3b152a42039b2-d new file mode 100644 index 0000000..5355a51 Binary files /dev/null and b/backend/.cache/go-build/39/395728dbddcf9fcca86fbf7917c36d6494e8ab12101913ddd7e3b152a42039b2-d differ diff --git a/backend/.cache/go-build/39/3964fcfaf8bd62489962d92cea3ad79e7542836db2320356ed584ae2e0ccd662-d b/backend/.cache/go-build/39/3964fcfaf8bd62489962d92cea3ad79e7542836db2320356ed584ae2e0ccd662-d new file mode 100644 index 0000000..3782ccc Binary files /dev/null and b/backend/.cache/go-build/39/3964fcfaf8bd62489962d92cea3ad79e7542836db2320356ed584ae2e0ccd662-d differ diff --git a/backend/.cache/go-build/39/39ac4f009352929f2b1a8d1c68a393950a1a2a02e9f4738a15095f302eb075d0-a b/backend/.cache/go-build/39/39ac4f009352929f2b1a8d1c68a393950a1a2a02e9f4738a15095f302eb075d0-a new file mode 100644 index 0000000..8d65415 --- /dev/null +++ b/backend/.cache/go-build/39/39ac4f009352929f2b1a8d1c68a393950a1a2a02e9f4738a15095f302eb075d0-a @@ -0,0 +1 @@ +v1 39ac4f009352929f2b1a8d1c68a393950a1a2a02e9f4738a15095f302eb075d0 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043728449728 diff --git a/backend/.cache/go-build/3a/3a2247463477d7161e05902eae24cac571de58aeebaebc346c2861e077ee233c-d b/backend/.cache/go-build/3a/3a2247463477d7161e05902eae24cac571de58aeebaebc346c2861e077ee233c-d new file mode 100644 index 0000000..7078452 --- /dev/null +++ b/backend/.cache/go-build/3a/3a2247463477d7161e05902eae24cac571de58aeebaebc346c2861e077ee233c-d @@ -0,0 +1 @@ +./cmp.go diff --git a/backend/.cache/go-build/3a/3a559daac222cf9f20cb364fcdc074dc458fdce460e5c68f4ca9e4485a3b7a9b-a b/backend/.cache/go-build/3a/3a559daac222cf9f20cb364fcdc074dc458fdce460e5c68f4ca9e4485a3b7a9b-a new file mode 100644 index 0000000..c1dcdd6 --- /dev/null +++ b/backend/.cache/go-build/3a/3a559daac222cf9f20cb364fcdc074dc458fdce460e5c68f4ca9e4485a3b7a9b-a @@ -0,0 +1 @@ +v1 3a559daac222cf9f20cb364fcdc074dc458fdce460e5c68f4ca9e4485a3b7a9b f21ad81558eb78e4f137d445146c83285960667c5eb131e6a921ced6730b1363 10358 1769060041920823522 diff --git a/backend/.cache/go-build/3a/3a5b15fb63ef1f2804fcf2664db9915e642a1a36a6654d7df80a8d1e5ea5cc1d-a b/backend/.cache/go-build/3a/3a5b15fb63ef1f2804fcf2664db9915e642a1a36a6654d7df80a8d1e5ea5cc1d-a new file mode 100644 index 0000000..aa99ca9 --- /dev/null +++ b/backend/.cache/go-build/3a/3a5b15fb63ef1f2804fcf2664db9915e642a1a36a6654d7df80a8d1e5ea5cc1d-a @@ -0,0 +1 @@ +v1 3a5b15fb63ef1f2804fcf2664db9915e642a1a36a6654d7df80a8d1e5ea5cc1d 0a84be3f7b3693d17958934184f151db4c60ccf5680c0f15698d4fafc1d62f75 727608 1769060042167662480 diff --git a/backend/.cache/go-build/3a/3a6c28603cb268849f53b1cea7d31cf9ffb7967b9ccb4eae6e403a867a1d9f62-d b/backend/.cache/go-build/3a/3a6c28603cb268849f53b1cea7d31cf9ffb7967b9ccb4eae6e403a867a1d9f62-d new file mode 100644 index 0000000..4266275 Binary files /dev/null and b/backend/.cache/go-build/3a/3a6c28603cb268849f53b1cea7d31cf9ffb7967b9ccb4eae6e403a867a1d9f62-d differ diff --git a/backend/.cache/go-build/3a/3ac02d0fc03ffb7f337c31d885ff93620ffb317b8ee8c99e8c5d6f86b9c77824-d b/backend/.cache/go-build/3a/3ac02d0fc03ffb7f337c31d885ff93620ffb317b8ee8c99e8c5d6f86b9c77824-d new file mode 100644 index 0000000..e54b4bc Binary files /dev/null and b/backend/.cache/go-build/3a/3ac02d0fc03ffb7f337c31d885ff93620ffb317b8ee8c99e8c5d6f86b9c77824-d differ diff --git a/backend/.cache/go-build/3b/3b3e9c2f0565d95c4fa3f31c9aaf1c676f9f6e373d23182a25d31fb8a7deaa42-a b/backend/.cache/go-build/3b/3b3e9c2f0565d95c4fa3f31c9aaf1c676f9f6e373d23182a25d31fb8a7deaa42-a new file mode 100644 index 0000000..3046d41 --- /dev/null +++ b/backend/.cache/go-build/3b/3b3e9c2f0565d95c4fa3f31c9aaf1c676f9f6e373d23182a25d31fb8a7deaa42-a @@ -0,0 +1 @@ +v1 3b3e9c2f0565d95c4fa3f31c9aaf1c676f9f6e373d23182a25d31fb8a7deaa42 365d16ef645599e34efa3e3c3832af31734d60def47c32ae56dd13a852923081 19342 1769060041983954163 diff --git a/backend/.cache/go-build/3b/3b57f165d68330743e54e5facc4c942fc632fc61f07d3d4fc66ef00f35a11ae8-d b/backend/.cache/go-build/3b/3b57f165d68330743e54e5facc4c942fc632fc61f07d3d4fc66ef00f35a11ae8-d new file mode 100644 index 0000000..2d05c50 Binary files /dev/null and b/backend/.cache/go-build/3b/3b57f165d68330743e54e5facc4c942fc632fc61f07d3d4fc66ef00f35a11ae8-d differ diff --git a/backend/.cache/go-build/3c/3cc0934f95dd748d8dc75bd29f724939a204486809afeb3feb3f4ef4e31e8ce8-a b/backend/.cache/go-build/3c/3cc0934f95dd748d8dc75bd29f724939a204486809afeb3feb3f4ef4e31e8ce8-a new file mode 100644 index 0000000..7c46ee1 --- /dev/null +++ b/backend/.cache/go-build/3c/3cc0934f95dd748d8dc75bd29f724939a204486809afeb3feb3f4ef4e31e8ce8-a @@ -0,0 +1 @@ +v1 3cc0934f95dd748d8dc75bd29f724939a204486809afeb3feb3f4ef4e31e8ce8 9717610ded7a7cbfe3dc3e894b78ff7cc8adb53492929eeeb478313c9a22bdec 22178 1769060041981685999 diff --git a/backend/.cache/go-build/3c/3cd732168f83a20cec7f488d51042c71be0992cfc30dfdfc32e3d44d90719443-a b/backend/.cache/go-build/3c/3cd732168f83a20cec7f488d51042c71be0992cfc30dfdfc32e3d44d90719443-a new file mode 100644 index 0000000..6aeae97 --- /dev/null +++ b/backend/.cache/go-build/3c/3cd732168f83a20cec7f488d51042c71be0992cfc30dfdfc32e3d44d90719443-a @@ -0,0 +1 @@ +v1 3cd732168f83a20cec7f488d51042c71be0992cfc30dfdfc32e3d44d90719443 f2a32d31b6aaaf1e30a73e09c96de3318677efe515df04861cf8b2a523604f40 790 1769060041923845378 diff --git a/backend/.cache/go-build/3d/3dd5b6f115339f726c2eca63877c4ba1ac2c7d99a71c8b129c5c3e42ee4e6b53-d b/backend/.cache/go-build/3d/3dd5b6f115339f726c2eca63877c4ba1ac2c7d99a71c8b129c5c3e42ee4e6b53-d new file mode 100644 index 0000000..e68e15a Binary files /dev/null and b/backend/.cache/go-build/3d/3dd5b6f115339f726c2eca63877c4ba1ac2c7d99a71c8b129c5c3e42ee4e6b53-d differ diff --git a/backend/.cache/go-build/3e/3e2706ca10482480b9b362098eaffe84f817c0a0971f4f26fc27f67894a91ad5-a b/backend/.cache/go-build/3e/3e2706ca10482480b9b362098eaffe84f817c0a0971f4f26fc27f67894a91ad5-a new file mode 100644 index 0000000..ea9ab0a --- /dev/null +++ b/backend/.cache/go-build/3e/3e2706ca10482480b9b362098eaffe84f817c0a0971f4f26fc27f67894a91ad5-a @@ -0,0 +1 @@ +v1 3e2706ca10482480b9b362098eaffe84f817c0a0971f4f26fc27f67894a91ad5 00dedcbaf5dd36c49447863279d4bf0649eb1838d56074e8076fc688dff92fca 13 1769060043668667191 diff --git a/backend/.cache/go-build/3e/3e2b987e4b08b75e654387878376139412375e8fc2a9bae5d0e9c41fd99defde-d b/backend/.cache/go-build/3e/3e2b987e4b08b75e654387878376139412375e8fc2a9bae5d0e9c41fd99defde-d new file mode 100644 index 0000000..e6a1be1 Binary files /dev/null and b/backend/.cache/go-build/3e/3e2b987e4b08b75e654387878376139412375e8fc2a9bae5d0e9c41fd99defde-d differ diff --git a/backend/.cache/go-build/3e/3ebe9b2c330fb738fdf860dd92b44cf6fa0fda7d7b7934cc065752e2e648f4c6-a b/backend/.cache/go-build/3e/3ebe9b2c330fb738fdf860dd92b44cf6fa0fda7d7b7934cc065752e2e648f4c6-a new file mode 100644 index 0000000..16807cc --- /dev/null +++ b/backend/.cache/go-build/3e/3ebe9b2c330fb738fdf860dd92b44cf6fa0fda7d7b7934cc065752e2e648f4c6-a @@ -0,0 +1 @@ +v1 3ebe9b2c330fb738fdf860dd92b44cf6fa0fda7d7b7934cc065752e2e648f4c6 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041980832792 diff --git a/backend/.cache/go-build/3e/3ec496f7e72d60d66b2915f3cf8975bb94b79c4d57e08c3f65fedf46eb5d0339-d b/backend/.cache/go-build/3e/3ec496f7e72d60d66b2915f3cf8975bb94b79c4d57e08c3f65fedf46eb5d0339-d new file mode 100644 index 0000000..78cadce Binary files /dev/null and b/backend/.cache/go-build/3e/3ec496f7e72d60d66b2915f3cf8975bb94b79c4d57e08c3f65fedf46eb5d0339-d differ diff --git a/backend/.cache/go-build/3f/3f1f7a1999a07a8c85d74be12a086d5732df86e4e4e1cb8dc0865e8edf889ded-d b/backend/.cache/go-build/3f/3f1f7a1999a07a8c85d74be12a086d5732df86e4e4e1cb8dc0865e8edf889ded-d new file mode 100644 index 0000000..b3ec30f --- /dev/null +++ b/backend/.cache/go-build/3f/3f1f7a1999a07a8c85d74be12a086d5732df86e4e4e1cb8dc0865e8edf889ded-d @@ -0,0 +1,11 @@ +./cond.go +./hashtriemap.go +./mutex.go +./once.go +./oncefunc.go +./pool.go +./poolqueue.go +./runtime.go +./runtime2.go +./rwmutex.go +./waitgroup.go diff --git a/backend/.cache/go-build/3f/3f2507e49de70b7e9e784f01987caae806f8992e63b10803744c71b0a1b11784-a b/backend/.cache/go-build/3f/3f2507e49de70b7e9e784f01987caae806f8992e63b10803744c71b0a1b11784-a new file mode 100644 index 0000000..ba23e07 --- /dev/null +++ b/backend/.cache/go-build/3f/3f2507e49de70b7e9e784f01987caae806f8992e63b10803744c71b0a1b11784-a @@ -0,0 +1 @@ +v1 3f2507e49de70b7e9e784f01987caae806f8992e63b10803744c71b0a1b11784 04394bcd16c93b5ae7ca672a809af9be56bd89ac767b67898b64755fa391aff5 1626 1769060041923476346 diff --git a/backend/.cache/go-build/3f/3fd0c84ca77fdda962901ad656d88c9ee0520cbf09858198507e077dbac1f6d5-a b/backend/.cache/go-build/3f/3fd0c84ca77fdda962901ad656d88c9ee0520cbf09858198507e077dbac1f6d5-a new file mode 100644 index 0000000..c15d245 --- /dev/null +++ b/backend/.cache/go-build/3f/3fd0c84ca77fdda962901ad656d88c9ee0520cbf09858198507e077dbac1f6d5-a @@ -0,0 +1 @@ +v1 3fd0c84ca77fdda962901ad656d88c9ee0520cbf09858198507e077dbac1f6d5 7a1c44a11969b2cde317a86d8fd7d7c53d1a5e460fc5c40662561c747e816144 11 1769060041968207749 diff --git a/backend/.cache/go-build/3f/3fdeda601bd540a2a394e2eeb68394955109ba431f9980150326e43376785a6b-a b/backend/.cache/go-build/3f/3fdeda601bd540a2a394e2eeb68394955109ba431f9980150326e43376785a6b-a new file mode 100644 index 0000000..8457e37 --- /dev/null +++ b/backend/.cache/go-build/3f/3fdeda601bd540a2a394e2eeb68394955109ba431f9980150326e43376785a6b-a @@ -0,0 +1 @@ +v1 3fdeda601bd540a2a394e2eeb68394955109ba431f9980150326e43376785a6b d5ab4266d0ffcdddd60ae7f69adbca0b12ea85d9d054bea41e534f3f4634f4e5 46 1769060044038799963 diff --git a/backend/.cache/go-build/40/40a772efb03d003b082659265ca61f166e69f39e617feb224f46492f6ece3272-a b/backend/.cache/go-build/40/40a772efb03d003b082659265ca61f166e69f39e617feb224f46492f6ece3272-a new file mode 100644 index 0000000..d43f03a --- /dev/null +++ b/backend/.cache/go-build/40/40a772efb03d003b082659265ca61f166e69f39e617feb224f46492f6ece3272-a @@ -0,0 +1 @@ +v1 40a772efb03d003b082659265ca61f166e69f39e617feb224f46492f6ece3272 ddfa6f6398c1047e3128606e18daad17c587f0013a98cec7af5eef61f9b8401a 171 1769060043730837599 diff --git a/backend/.cache/go-build/40/40ce667de09849b3ca0785daa015f31f96df25dac2938b0ad6f84780636be6f9-a b/backend/.cache/go-build/40/40ce667de09849b3ca0785daa015f31f96df25dac2938b0ad6f84780636be6f9-a new file mode 100644 index 0000000..ff758f1 --- /dev/null +++ b/backend/.cache/go-build/40/40ce667de09849b3ca0785daa015f31f96df25dac2938b0ad6f84780636be6f9-a @@ -0,0 +1 @@ +v1 40ce667de09849b3ca0785daa015f31f96df25dac2938b0ad6f84780636be6f9 a7896cbe20a11bfde470535786e8a2b39683cdf6bf8cbb3904cfbef93ccba299 2702 1769060041924034462 diff --git a/backend/.cache/go-build/41/41385865fa4633776b5558c3faf2e5fbde2cb4c74115286789472c23a4befbce-d b/backend/.cache/go-build/41/41385865fa4633776b5558c3faf2e5fbde2cb4c74115286789472c23a4befbce-d new file mode 100644 index 0000000..2286f0d Binary files /dev/null and b/backend/.cache/go-build/41/41385865fa4633776b5558c3faf2e5fbde2cb4c74115286789472c23a4befbce-d differ diff --git a/backend/.cache/go-build/41/415700a239080432c4fbc91799e11efdfb4a73cd4c44d953aee6b3adcfcf01af-a b/backend/.cache/go-build/41/415700a239080432c4fbc91799e11efdfb4a73cd4c44d953aee6b3adcfcf01af-a new file mode 100644 index 0000000..8929fde --- /dev/null +++ b/backend/.cache/go-build/41/415700a239080432c4fbc91799e11efdfb4a73cd4c44d953aee6b3adcfcf01af-a @@ -0,0 +1 @@ +v1 415700a239080432c4fbc91799e11efdfb4a73cd4c44d953aee6b3adcfcf01af d7229f4f01e28c61d9d18c1a16a36517d2d7250ed70c922e0acb3d8207a803ae 69398 1769060042013570375 diff --git a/backend/.cache/go-build/41/419148a852af62b4c65ecc58358d69cad457afa9c58a31ec51205b61329141ab-d b/backend/.cache/go-build/41/419148a852af62b4c65ecc58358d69cad457afa9c58a31ec51205b61329141ab-d new file mode 100644 index 0000000..a2f29ff Binary files /dev/null and b/backend/.cache/go-build/41/419148a852af62b4c65ecc58358d69cad457afa9c58a31ec51205b61329141ab-d differ diff --git a/backend/.cache/go-build/42/420118cb81f0c498ca02eec73c2441e306d8aeca0b0d06d638e31865b3168b99-d b/backend/.cache/go-build/42/420118cb81f0c498ca02eec73c2441e306d8aeca0b0d06d638e31865b3168b99-d new file mode 100644 index 0000000..2db17b3 Binary files /dev/null and b/backend/.cache/go-build/42/420118cb81f0c498ca02eec73c2441e306d8aeca0b0d06d638e31865b3168b99-d differ diff --git a/backend/.cache/go-build/42/429464cfba44217cd4fb1a42d45461813e7eca4af2767c99894a3243a15b4bbe-a b/backend/.cache/go-build/42/429464cfba44217cd4fb1a42d45461813e7eca4af2767c99894a3243a15b4bbe-a new file mode 100644 index 0000000..38584ba --- /dev/null +++ b/backend/.cache/go-build/42/429464cfba44217cd4fb1a42d45461813e7eca4af2767c99894a3243a15b4bbe-a @@ -0,0 +1 @@ +v1 429464cfba44217cd4fb1a42d45461813e7eca4af2767c99894a3243a15b4bbe bc114dc300d50a8aff2d52ab8f48488e71d94cbf8e52242ade837c4e1da9fa43 1480 1769060041981232187 diff --git a/backend/.cache/go-build/42/42e5c9d826f5c688111686991182452c24794cc22be5f6f000fd0ee2abba3d40-a b/backend/.cache/go-build/42/42e5c9d826f5c688111686991182452c24794cc22be5f6f000fd0ee2abba3d40-a new file mode 100644 index 0000000..194d601 --- /dev/null +++ b/backend/.cache/go-build/42/42e5c9d826f5c688111686991182452c24794cc22be5f6f000fd0ee2abba3d40-a @@ -0,0 +1 @@ +v1 42e5c9d826f5c688111686991182452c24794cc22be5f6f000fd0ee2abba3d40 0526a67cf5602a58260d85dbd1a4820e9ce36ae2187ddc1006275e720ee5c8e4 1257 1769060041906727452 diff --git a/backend/.cache/go-build/43/43ac26bd45b505ed5be532e318133f2c2afc92732c43c7f7017b08d8654ba5d9-d b/backend/.cache/go-build/43/43ac26bd45b505ed5be532e318133f2c2afc92732c43c7f7017b08d8654ba5d9-d new file mode 100644 index 0000000..3f2cfa1 Binary files /dev/null and b/backend/.cache/go-build/43/43ac26bd45b505ed5be532e318133f2c2afc92732c43c7f7017b08d8654ba5d9-d differ diff --git a/backend/.cache/go-build/43/43c4af69dd2bd389aaaaeac1f3b9e24a849a2d0ab7c7f16dfbfad17ddf53d486-d b/backend/.cache/go-build/43/43c4af69dd2bd389aaaaeac1f3b9e24a849a2d0ab7c7f16dfbfad17ddf53d486-d new file mode 100644 index 0000000..b567be3 --- /dev/null +++ b/backend/.cache/go-build/43/43c4af69dd2bd389aaaaeac1f3b9e24a849a2d0ab7c7f16dfbfad17ddf53d486-d @@ -0,0 +1,3 @@ +./bits.go +./bits_errors.go +./bits_tables.go diff --git a/backend/.cache/go-build/44/44147cad7a75cedd1ad1e5839fecdb6453c8b577564940db3826d0133218a6c7-a b/backend/.cache/go-build/44/44147cad7a75cedd1ad1e5839fecdb6453c8b577564940db3826d0133218a6c7-a new file mode 100644 index 0000000..ca67132 --- /dev/null +++ b/backend/.cache/go-build/44/44147cad7a75cedd1ad1e5839fecdb6453c8b577564940db3826d0133218a6c7-a @@ -0,0 +1 @@ +v1 44147cad7a75cedd1ad1e5839fecdb6453c8b577564940db3826d0133218a6c7 d93352206bc92124f0d9f2ac5dfe24548e892159a5074413a733b962c5432dc9 12 1769060043639179512 diff --git a/backend/.cache/go-build/45/4574e939de0bbf49d50801841dea979ee958b4d82aa8939b5f5a2839bf7ee7e3-a b/backend/.cache/go-build/45/4574e939de0bbf49d50801841dea979ee958b4d82aa8939b5f5a2839bf7ee7e3-a new file mode 100644 index 0000000..5d7c41c --- /dev/null +++ b/backend/.cache/go-build/45/4574e939de0bbf49d50801841dea979ee958b4d82aa8939b5f5a2839bf7ee7e3-a @@ -0,0 +1 @@ +v1 4574e939de0bbf49d50801841dea979ee958b4d82aa8939b5f5a2839bf7ee7e3 fd95595540af5193f84916bf3997c67116fae4b364be60bee5d2f8be84b618b1 3696 1769060041981115972 diff --git a/backend/.cache/go-build/45/45b13feff3521385fa6009728f57422849c9f4a55d14e56a5ad7133887b81101-a b/backend/.cache/go-build/45/45b13feff3521385fa6009728f57422849c9f4a55d14e56a5ad7133887b81101-a new file mode 100644 index 0000000..1d42496 --- /dev/null +++ b/backend/.cache/go-build/45/45b13feff3521385fa6009728f57422849c9f4a55d14e56a5ad7133887b81101-a @@ -0,0 +1 @@ +v1 45b13feff3521385fa6009728f57422849c9f4a55d14e56a5ad7133887b81101 45cda5f1d3313c4c193702a520281ff56ad3131d654c95576c6ca24e90f06b97 258 1769060041893845726 diff --git a/backend/.cache/go-build/45/45cda5f1d3313c4c193702a520281ff56ad3131d654c95576c6ca24e90f06b97-d b/backend/.cache/go-build/45/45cda5f1d3313c4c193702a520281ff56ad3131d654c95576c6ca24e90f06b97-d new file mode 100644 index 0000000..9cc19b7 Binary files /dev/null and b/backend/.cache/go-build/45/45cda5f1d3313c4c193702a520281ff56ad3131d654c95576c6ca24e90f06b97-d differ diff --git a/backend/.cache/go-build/45/45fe8d0defcebcbf30e4b2e2bdae4e207851b50f922ae71355eb0cd525d198c9-d b/backend/.cache/go-build/45/45fe8d0defcebcbf30e4b2e2bdae4e207851b50f922ae71355eb0cd525d198c9-d new file mode 100644 index 0000000..d209d67 Binary files /dev/null and b/backend/.cache/go-build/45/45fe8d0defcebcbf30e4b2e2bdae4e207851b50f922ae71355eb0cd525d198c9-d differ diff --git a/backend/.cache/go-build/47/4786ab2f1ec69e69d5d9180afe74b08238fcb2ea511bfaf11895ed496f899ad4-a b/backend/.cache/go-build/47/4786ab2f1ec69e69d5d9180afe74b08238fcb2ea511bfaf11895ed496f899ad4-a new file mode 100644 index 0000000..f8dd5ba --- /dev/null +++ b/backend/.cache/go-build/47/4786ab2f1ec69e69d5d9180afe74b08238fcb2ea511bfaf11895ed496f899ad4-a @@ -0,0 +1 @@ +v1 4786ab2f1ec69e69d5d9180afe74b08238fcb2ea511bfaf11895ed496f899ad4 58cbbb51367206da22484a348c795c3e2ac13395ed19b478f9b3357032933129 814 1769060041899128484 diff --git a/backend/.cache/go-build/47/47ca5f743267f9ce20acca61d1cef5a2decb9ca3b17d19f59f01a590b70e8b5c-d b/backend/.cache/go-build/47/47ca5f743267f9ce20acca61d1cef5a2decb9ca3b17d19f59f01a590b70e8b5c-d new file mode 100644 index 0000000..a6db68d --- /dev/null +++ b/backend/.cache/go-build/47/47ca5f743267f9ce20acca61d1cef5a2decb9ca3b17d19f59f01a590b70e8b5c-d @@ -0,0 +1 @@ +./sort.go diff --git a/backend/.cache/go-build/47/47e4c22af5bb6cbca2982912871dccb4e04b222b12d4c68a9d37e65c0e72fd61-d b/backend/.cache/go-build/47/47e4c22af5bb6cbca2982912871dccb4e04b222b12d4c68a9d37e65c0e72fd61-d new file mode 100644 index 0000000..631f982 Binary files /dev/null and b/backend/.cache/go-build/47/47e4c22af5bb6cbca2982912871dccb4e04b222b12d4c68a9d37e65c0e72fd61-d differ diff --git a/backend/.cache/go-build/48/4802b87f8875ebb4f260a80314eed8899d7d64fc535b8cb67608b6885a9146f4-a b/backend/.cache/go-build/48/4802b87f8875ebb4f260a80314eed8899d7d64fc535b8cb67608b6885a9146f4-a new file mode 100644 index 0000000..83a41f3 --- /dev/null +++ b/backend/.cache/go-build/48/4802b87f8875ebb4f260a80314eed8899d7d64fc535b8cb67608b6885a9146f4-a @@ -0,0 +1 @@ +v1 4802b87f8875ebb4f260a80314eed8899d7d64fc535b8cb67608b6885a9146f4 b0d36ad56f95415a36ac11fa2470287488dd725288f1ee65f5eb70afac1dceb6 420 1769060043839547018 diff --git a/backend/.cache/go-build/49/49511420d5af12e2c0c9b38167e9210f451eb3c846789d5a7d160b2627766d85-d b/backend/.cache/go-build/49/49511420d5af12e2c0c9b38167e9210f451eb3c846789d5a7d160b2627766d85-d new file mode 100644 index 0000000..b64a69f Binary files /dev/null and b/backend/.cache/go-build/49/49511420d5af12e2c0c9b38167e9210f451eb3c846789d5a7d160b2627766d85-d differ diff --git a/backend/.cache/go-build/49/49cc6dd0a1a54fd91c896de4dda43eb72a84703dc6069ef0374519a2a935b32d-a b/backend/.cache/go-build/49/49cc6dd0a1a54fd91c896de4dda43eb72a84703dc6069ef0374519a2a935b32d-a new file mode 100644 index 0000000..7a0898e --- /dev/null +++ b/backend/.cache/go-build/49/49cc6dd0a1a54fd91c896de4dda43eb72a84703dc6069ef0374519a2a935b32d-a @@ -0,0 +1 @@ +v1 49cc6dd0a1a54fd91c896de4dda43eb72a84703dc6069ef0374519a2a935b32d 8e4d02919b5e65cab23577d52487a152310a9dcb93a74f375d8b731ac0c47f76 19574 1769060042002889490 diff --git a/backend/.cache/go-build/4a/4a2895910f57e0080c9d2801440b220ab3df22a9c23c25f914a5614e1ff913e8-d b/backend/.cache/go-build/4a/4a2895910f57e0080c9d2801440b220ab3df22a9c23c25f914a5614e1ff913e8-d new file mode 100644 index 0000000..8b9aff1 Binary files /dev/null and b/backend/.cache/go-build/4a/4a2895910f57e0080c9d2801440b220ab3df22a9c23c25f914a5614e1ff913e8-d differ diff --git a/backend/.cache/go-build/4a/4a52481a2928635cc52f4f1d8686203df20d793262ce138faa8f0399151e216e-d b/backend/.cache/go-build/4a/4a52481a2928635cc52f4f1d8686203df20d793262ce138faa8f0399151e216e-d new file mode 100644 index 0000000..611fb25 Binary files /dev/null and b/backend/.cache/go-build/4a/4a52481a2928635cc52f4f1d8686203df20d793262ce138faa8f0399151e216e-d differ diff --git a/backend/.cache/go-build/4a/4a918b94175150532899ea44922ab91962d41e63f82c6028d82f3972fc6ebb59-a b/backend/.cache/go-build/4a/4a918b94175150532899ea44922ab91962d41e63f82c6028d82f3972fc6ebb59-a new file mode 100644 index 0000000..3c3c59a --- /dev/null +++ b/backend/.cache/go-build/4a/4a918b94175150532899ea44922ab91962d41e63f82c6028d82f3972fc6ebb59-a @@ -0,0 +1 @@ +v1 4a918b94175150532899ea44922ab91962d41e63f82c6028d82f3972fc6ebb59 8d209fb96d36df2d310945a355d8d8101e39eef228ed331787df33deba286d10 755 1769060041925554536 diff --git a/backend/.cache/go-build/4a/4ac555709dc0b6613d3e5e671678e648f5f2021c0add9ef6a0d63be1c61212fc-a b/backend/.cache/go-build/4a/4ac555709dc0b6613d3e5e671678e648f5f2021c0add9ef6a0d63be1c61212fc-a new file mode 100644 index 0000000..2e190fa --- /dev/null +++ b/backend/.cache/go-build/4a/4ac555709dc0b6613d3e5e671678e648f5f2021c0add9ef6a0d63be1c61212fc-a @@ -0,0 +1 @@ +v1 4ac555709dc0b6613d3e5e671678e648f5f2021c0add9ef6a0d63be1c61212fc ec529c40bf456c05703594ee7559e8f01d04e014a9216c31eaaf26dbfa1808d5 6802 1769060043846335835 diff --git a/backend/.cache/go-build/4b/4b7131d0d5240a5cd12202f023f22e5d19f3e5c09ff2a279c6583df5c7d015d6-d b/backend/.cache/go-build/4b/4b7131d0d5240a5cd12202f023f22e5d19f3e5c09ff2a279c6583df5c7d015d6-d new file mode 100644 index 0000000..1a22455 Binary files /dev/null and b/backend/.cache/go-build/4b/4b7131d0d5240a5cd12202f023f22e5d19f3e5c09ff2a279c6583df5c7d015d6-d differ diff --git a/backend/.cache/go-build/4b/4ba19d65edd724b501cbaa3fd54c80c211761516579a61fcc8cdffd53b3f0870-a b/backend/.cache/go-build/4b/4ba19d65edd724b501cbaa3fd54c80c211761516579a61fcc8cdffd53b3f0870-a new file mode 100644 index 0000000..17a4662 --- /dev/null +++ b/backend/.cache/go-build/4b/4ba19d65edd724b501cbaa3fd54c80c211761516579a61fcc8cdffd53b3f0870-a @@ -0,0 +1 @@ +v1 4ba19d65edd724b501cbaa3fd54c80c211761516579a61fcc8cdffd53b3f0870 38a0285b4078334a8d1c6a928e079b3ee65331a955fae62da547452857e18da5 6668 1769060043656420922 diff --git a/backend/.cache/go-build/4b/4bbae2347825a288c2cb45dda49d24df058e749e9e0fa613e5c1155bbfe2988c-d b/backend/.cache/go-build/4b/4bbae2347825a288c2cb45dda49d24df058e749e9e0fa613e5c1155bbfe2988c-d new file mode 100644 index 0000000..92d96d9 Binary files /dev/null and b/backend/.cache/go-build/4b/4bbae2347825a288c2cb45dda49d24df058e749e9e0fa613e5c1155bbfe2988c-d differ diff --git a/backend/.cache/go-build/4c/4c466a8df2e68a39d66305b7d4ff41470db1ace36be06d279f31134775896206-a b/backend/.cache/go-build/4c/4c466a8df2e68a39d66305b7d4ff41470db1ace36be06d279f31134775896206-a new file mode 100644 index 0000000..32f1674 --- /dev/null +++ b/backend/.cache/go-build/4c/4c466a8df2e68a39d66305b7d4ff41470db1ace36be06d279f31134775896206-a @@ -0,0 +1 @@ +v1 4c466a8df2e68a39d66305b7d4ff41470db1ace36be06d279f31134775896206 6b38e54dce670486a3d378585f517617072f40f0ba40c41a39f15eefb4e7bded 81106 1769060043855304251 diff --git a/backend/.cache/go-build/4c/4c6c412875ab5a5df92522e26ee28b6bde2fbe1c222c04e387187eb75aea49e4-d b/backend/.cache/go-build/4c/4c6c412875ab5a5df92522e26ee28b6bde2fbe1c222c04e387187eb75aea49e4-d new file mode 100644 index 0000000..084801c Binary files /dev/null and b/backend/.cache/go-build/4c/4c6c412875ab5a5df92522e26ee28b6bde2fbe1c222c04e387187eb75aea49e4-d differ diff --git a/backend/.cache/go-build/4c/4c75c95dd387da873157f3053039925d1562df669a0649aa2ad0f701ff8cbb51-a b/backend/.cache/go-build/4c/4c75c95dd387da873157f3053039925d1562df669a0649aa2ad0f701ff8cbb51-a new file mode 100644 index 0000000..df0e486 --- /dev/null +++ b/backend/.cache/go-build/4c/4c75c95dd387da873157f3053039925d1562df669a0649aa2ad0f701ff8cbb51-a @@ -0,0 +1 @@ +v1 4c75c95dd387da873157f3053039925d1562df669a0649aa2ad0f701ff8cbb51 c613b52da5bfe2edf8081bc57ad037bdb7b76c74f2c4727408ab3aef2b6a83b9 159 1769060042095685048 diff --git a/backend/.cache/go-build/4c/4ca251abf699d90ad995f90a7b79bbee8fbad39c51dbcb8e10ff29300ba6d1bb-a b/backend/.cache/go-build/4c/4ca251abf699d90ad995f90a7b79bbee8fbad39c51dbcb8e10ff29300ba6d1bb-a new file mode 100644 index 0000000..209cd09 --- /dev/null +++ b/backend/.cache/go-build/4c/4ca251abf699d90ad995f90a7b79bbee8fbad39c51dbcb8e10ff29300ba6d1bb-a @@ -0,0 +1 @@ +v1 4ca251abf699d90ad995f90a7b79bbee8fbad39c51dbcb8e10ff29300ba6d1bb a631fa318af5ba6c1d0fb48c096ac20a23c8ebeda151a72eee620fd857bbc6c0 218 1769060041945482523 diff --git a/backend/.cache/go-build/4d/4d65e8b72c093cf3b9e230c1b6de9a3cdfd0971d4ed7b24b1bf6088448f80dd7-d b/backend/.cache/go-build/4d/4d65e8b72c093cf3b9e230c1b6de9a3cdfd0971d4ed7b24b1bf6088448f80dd7-d new file mode 100644 index 0000000..4a97013 --- /dev/null +++ b/backend/.cache/go-build/4d/4d65e8b72c093cf3b9e230c1b6de9a3cdfd0971d4ed7b24b1bf6088448f80dd7-d @@ -0,0 +1,184 @@ +./alg.go +./arena.go +./asan0.go +./atomic_pointer.go +./badlinkname.go +./badlinkname_linux.go +./cgo.go +./cgo_mmap.go +./cgo_sigaction.go +./cgocall.go +./cgocallback.go +./cgocheck.go +./chan.go +./checkptr.go +./compiler.go +./complex.go +./coro.go +./covercounter.go +./covermeta.go +./cpuflags.go +./cpuflags_amd64.go +./cpuprof.go +./cputicks.go +./create_file_unix.go +./debug.go +./debugcall.go +./debuglog.go +./debuglog_off.go +./defs_linux_amd64.go +./env_posix.go +./error.go +./extern.go +./fastlog2.go +./fastlog2table.go +./fds_unix.go +./float.go +./hash64.go +./heapdump.go +./histogram.go +./iface.go +./lfstack.go +./linkname.go +./linkname_swiss.go +./linkname_unix.go +./lock_futex.go +./lock_spinbit.go +./lockrank.go +./lockrank_off.go +./malloc.go +./map_fast32_swiss.go +./map_fast64_swiss.go +./map_faststr_swiss.go +./map_swiss.go +./mbarrier.go +./mbitmap.go +./mcache.go +./mcentral.go +./mcheckmark.go +./mcleanup.go +./mem.go +./mem_linux.go +./mem_nonsbrk.go +./metrics.go +./mfinal.go +./mfixalloc.go +./mgc.go +./mgclimit.go +./mgcmark.go +./mgcpacer.go +./mgcscavenge.go +./mgcstack.go +./mgcsweep.go +./mgcwork.go +./mheap.go +./minmax.go +./mpagealloc.go +./mpagealloc_64bit.go +./mpagecache.go +./mpallocbits.go +./mprof.go +./mranges.go +./msan0.go +./msize.go +./mspanset.go +./mstats.go +./mwbbuf.go +./nbpipe_pipe2.go +./netpoll.go +./netpoll_epoll.go +./nonwindows_stub.go +./note_other.go +./os_linux.go +./os_linux_generic.go +./os_linux_noauxv.go +./os_linux_x86.go +./os_nonopenbsd.go +./os_unix.go +./panic.go +./pinner.go +./plugin.go +./preempt.go +./preempt_nonwindows.go +./print.go +./proc.go +./profbuf.go +./proflabel.go +./race0.go +./rand.go +./rdebug.go +./retry.go +./runtime.go +./runtime1.go +./runtime2.go +./runtime_boring.go +./rwmutex.go +./security_linux.go +./security_unix.go +./select.go +./sema.go +./signal_amd64.go +./signal_linux_amd64.go +./signal_unix.go +./sigqueue.go +./sigqueue_note.go +./sigtab_linux_generic.go +./sizeclasses.go +./slice.go +./softfloat64.go +./stack.go +./stkframe.go +./string.go +./stubs.go +./stubs2.go +./stubs3.go +./stubs_amd64.go +./stubs_linux.go +./stubs_nonwasm.go +./symtab.go +./symtabinl.go +./synctest.go +./sys_nonppc64x.go +./sys_x86.go +./tagptr.go +./tagptr_64bit.go +./test_amd64.go +./time.go +./time_nofake.go +./timeasm.go +./tls_stub.go +./trace.go +./traceallocfree.go +./traceback.go +./tracebuf.go +./tracecpu.go +./traceevent.go +./traceexp.go +./tracemap.go +./traceregion.go +./traceruntime.go +./tracestack.go +./tracestatus.go +./tracestring.go +./tracetime.go +./tracetype.go +./type.go +./typekind.go +./unsafe.go +./utf8.go +./vdso_elf64.go +./vdso_linux.go +./vdso_linux_amd64.go +./vgetrandom_linux.go +./write_err.go +./asm.s +./asm_amd64.s +./duff_amd64.s +./ints.s +./memclr_amd64.s +./memmove_amd64.s +./preempt_amd64.s +./rt0_linux_amd64.s +./sys_linux_amd64.s +./test_amd64.s +./time_linux_amd64.s diff --git a/backend/.cache/go-build/4e/4e78112616d3c337c51c24e0d0df51a1bf9050ed3c2bf798030472442d4a83c3-a b/backend/.cache/go-build/4e/4e78112616d3c337c51c24e0d0df51a1bf9050ed3c2bf798030472442d4a83c3-a new file mode 100644 index 0000000..401b050 --- /dev/null +++ b/backend/.cache/go-build/4e/4e78112616d3c337c51c24e0d0df51a1bf9050ed3c2bf798030472442d4a83c3-a @@ -0,0 +1 @@ +v1 4e78112616d3c337c51c24e0d0df51a1bf9050ed3c2bf798030472442d4a83c3 20ea81bf0563c6cf49bb34a416512c9e5fe098c25190e9901abcfbff0294a651 260 1769060041921990102 diff --git a/backend/.cache/go-build/4f/4f6da2e86a477ccae662928bdaac4bea2a571c07b64b9f90d2321ec08b197fd0-a b/backend/.cache/go-build/4f/4f6da2e86a477ccae662928bdaac4bea2a571c07b64b9f90d2321ec08b197fd0-a new file mode 100644 index 0000000..ebf7413 --- /dev/null +++ b/backend/.cache/go-build/4f/4f6da2e86a477ccae662928bdaac4bea2a571c07b64b9f90d2321ec08b197fd0-a @@ -0,0 +1 @@ +v1 4f6da2e86a477ccae662928bdaac4bea2a571c07b64b9f90d2321ec08b197fd0 c0fd8acc60b83d8de2d08932e2b0e8d9c92586a30fbef8bf823462f69e6db00c 2304 1769060041927523492 diff --git a/backend/.cache/go-build/4f/4fad66cbf6ca53c65396fe55fb78aeca1f43809c91bb292c0f97d11efcb0babc-a b/backend/.cache/go-build/4f/4fad66cbf6ca53c65396fe55fb78aeca1f43809c91bb292c0f97d11efcb0babc-a new file mode 100644 index 0000000..ad5e589 --- /dev/null +++ b/backend/.cache/go-build/4f/4fad66cbf6ca53c65396fe55fb78aeca1f43809c91bb292c0f97d11efcb0babc-a @@ -0,0 +1 @@ +v1 4fad66cbf6ca53c65396fe55fb78aeca1f43809c91bb292c0f97d11efcb0babc 2f5758c0bfb3c339bb42c3cdf69caaf16a3d9d5e32726e6706077b0b09b69b93 1630 1769060041906819845 diff --git a/backend/.cache/go-build/4f/4fb2c3052263edb3ffab0920e00ae0b63375d809a66548b33e8c21c365d940b9-a b/backend/.cache/go-build/4f/4fb2c3052263edb3ffab0920e00ae0b63375d809a66548b33e8c21c365d940b9-a new file mode 100644 index 0000000..da326c5 --- /dev/null +++ b/backend/.cache/go-build/4f/4fb2c3052263edb3ffab0920e00ae0b63375d809a66548b33e8c21c365d940b9-a @@ -0,0 +1 @@ +v1 4fb2c3052263edb3ffab0920e00ae0b63375d809a66548b33e8c21c365d940b9 b4f07cd8a0757cae0bc39355ea08c3674801eadcc225b1afdeed0f4dd7e92f82 18 1769060041970029496 diff --git a/backend/.cache/go-build/50/5043d1971327f28f2859d7cc478788a7f97bdd37661f3aa012525b0558e75f65-a b/backend/.cache/go-build/50/5043d1971327f28f2859d7cc478788a7f97bdd37661f3aa012525b0558e75f65-a new file mode 100644 index 0000000..6deb857 --- /dev/null +++ b/backend/.cache/go-build/50/5043d1971327f28f2859d7cc478788a7f97bdd37661f3aa012525b0558e75f65-a @@ -0,0 +1 @@ +v1 5043d1971327f28f2859d7cc478788a7f97bdd37661f3aa012525b0558e75f65 c03800a08c0f3bc37d82cdff25b96202c924ccccb418e728fc17436cfde7aa6f 11 1769060042012205417 diff --git a/backend/.cache/go-build/50/506dd1cc788df3643403cd8276c258944a7fb48de6fd91e97817f411b19670f7-a b/backend/.cache/go-build/50/506dd1cc788df3643403cd8276c258944a7fb48de6fd91e97817f411b19670f7-a new file mode 100644 index 0000000..aa7ee23 --- /dev/null +++ b/backend/.cache/go-build/50/506dd1cc788df3643403cd8276c258944a7fb48de6fd91e97817f411b19670f7-a @@ -0,0 +1 @@ +v1 506dd1cc788df3643403cd8276c258944a7fb48de6fd91e97817f411b19670f7 6005ff8d698ecee737b0d0ec64adb0cc2ca4eaf5c717918d79c9e19e4a281fa4 2328 1769060041927328929 diff --git a/backend/.cache/go-build/50/50a4c521feabf4314b1e293dff7bba5da6c47e28ce974577ada02fbbf3241eff-d b/backend/.cache/go-build/50/50a4c521feabf4314b1e293dff7bba5da6c47e28ce974577ada02fbbf3241eff-d new file mode 100644 index 0000000..0eb4fe3 Binary files /dev/null and b/backend/.cache/go-build/50/50a4c521feabf4314b1e293dff7bba5da6c47e28ce974577ada02fbbf3241eff-d differ diff --git a/backend/.cache/go-build/50/50bed7870f315b90fd5e3e572ba8a23ff46bdf24957bc076998cd53fe85c2e3c-a b/backend/.cache/go-build/50/50bed7870f315b90fd5e3e572ba8a23ff46bdf24957bc076998cd53fe85c2e3c-a new file mode 100644 index 0000000..80bbe56 --- /dev/null +++ b/backend/.cache/go-build/50/50bed7870f315b90fd5e3e572ba8a23ff46bdf24957bc076998cd53fe85c2e3c-a @@ -0,0 +1 @@ +v1 50bed7870f315b90fd5e3e572ba8a23ff46bdf24957bc076998cd53fe85c2e3c ea4c36c6b3a70b3a718c5cfefedca0bdc9f329a9b7e8b7e7897b487a655cfbac 1308 1769060041913844608 diff --git a/backend/.cache/go-build/51/5103dc30cb7030be2d89da4ccf4c95af4d1d0d83afd9afa3f11c720c22d94e07-a b/backend/.cache/go-build/51/5103dc30cb7030be2d89da4ccf4c95af4d1d0d83afd9afa3f11c720c22d94e07-a new file mode 100644 index 0000000..b784bb6 --- /dev/null +++ b/backend/.cache/go-build/51/5103dc30cb7030be2d89da4ccf4c95af4d1d0d83afd9afa3f11c720c22d94e07-a @@ -0,0 +1 @@ +v1 5103dc30cb7030be2d89da4ccf4c95af4d1d0d83afd9afa3f11c720c22d94e07 ebf02fcabdc6901b5885a313d84fff85dc36fd7a26445de2b885a2d67349aa96 404 1769060041916014349 diff --git a/backend/.cache/go-build/51/516c0f36e371fc103e5e31bffc64e8899c256a1d9278377baeaee3c3d67d5990-d b/backend/.cache/go-build/51/516c0f36e371fc103e5e31bffc64e8899c256a1d9278377baeaee3c3d67d5990-d new file mode 100644 index 0000000..df61036 Binary files /dev/null and b/backend/.cache/go-build/51/516c0f36e371fc103e5e31bffc64e8899c256a1d9278377baeaee3c3d67d5990-d differ diff --git a/backend/.cache/go-build/51/519b7c56648427602d25f93c8c39d1697a9bb6db8a74c36f3d55265eacbb7e57-a b/backend/.cache/go-build/51/519b7c56648427602d25f93c8c39d1697a9bb6db8a74c36f3d55265eacbb7e57-a new file mode 100644 index 0000000..04aed78 --- /dev/null +++ b/backend/.cache/go-build/51/519b7c56648427602d25f93c8c39d1697a9bb6db8a74c36f3d55265eacbb7e57-a @@ -0,0 +1 @@ +v1 519b7c56648427602d25f93c8c39d1697a9bb6db8a74c36f3d55265eacbb7e57 82b82894796089eae3add24f8f5e566bf3020c03ba888702518f08921c04c97d 3081 1769060041926365097 diff --git a/backend/.cache/go-build/53/5300561d77706d9248fdc0ef33c4d1b38b83a32ff7bac8d7ec835af6a47474cf-a b/backend/.cache/go-build/53/5300561d77706d9248fdc0ef33c4d1b38b83a32ff7bac8d7ec835af6a47474cf-a new file mode 100644 index 0000000..4821ee1 --- /dev/null +++ b/backend/.cache/go-build/53/5300561d77706d9248fdc0ef33c4d1b38b83a32ff7bac8d7ec835af6a47474cf-a @@ -0,0 +1 @@ +v1 5300561d77706d9248fdc0ef33c4d1b38b83a32ff7bac8d7ec835af6a47474cf 73b02b74b7027cfaa1927871b4b6c28f205efb4a194a7b6fdfdc7f691142e439 1175392 1769060042086631125 diff --git a/backend/.cache/go-build/53/5302704ae92e3c3bf27e622af4a04113018db126e98c6b17def4aa7bc1e7b5a9-d b/backend/.cache/go-build/53/5302704ae92e3c3bf27e622af4a04113018db126e98c6b17def4aa7bc1e7b5a9-d new file mode 100644 index 0000000..c556634 Binary files /dev/null and b/backend/.cache/go-build/53/5302704ae92e3c3bf27e622af4a04113018db126e98c6b17def4aa7bc1e7b5a9-d differ diff --git a/backend/.cache/go-build/53/5374f3493f71491fabe6ffac1769f0ea34dee4027bc5d7799ad7117d2237a9e4-d b/backend/.cache/go-build/53/5374f3493f71491fabe6ffac1769f0ea34dee4027bc5d7799ad7117d2237a9e4-d new file mode 100644 index 0000000..b7a41fc Binary files /dev/null and b/backend/.cache/go-build/53/5374f3493f71491fabe6ffac1769f0ea34dee4027bc5d7799ad7117d2237a9e4-d differ diff --git a/backend/.cache/go-build/53/538356851d3fca635214203af446bd13ba6a6df8eb3be9bfca3c6d73fbd2945a-d b/backend/.cache/go-build/53/538356851d3fca635214203af446bd13ba6a6df8eb3be9bfca3c6d73fbd2945a-d new file mode 100644 index 0000000..08fb06a Binary files /dev/null and b/backend/.cache/go-build/53/538356851d3fca635214203af446bd13ba6a6df8eb3be9bfca3c6d73fbd2945a-d differ diff --git a/backend/.cache/go-build/54/549750384c18e8c486eb3294e500a1b7f0a9a4a79eb456d41fbfb9c661daa686-a b/backend/.cache/go-build/54/549750384c18e8c486eb3294e500a1b7f0a9a4a79eb456d41fbfb9c661daa686-a new file mode 100644 index 0000000..603a9a8 --- /dev/null +++ b/backend/.cache/go-build/54/549750384c18e8c486eb3294e500a1b7f0a9a4a79eb456d41fbfb9c661daa686-a @@ -0,0 +1 @@ +v1 549750384c18e8c486eb3294e500a1b7f0a9a4a79eb456d41fbfb9c661daa686 135885b8a0d2e15b8859cb5956c9baa800578aa91b18e3c9981d8cf1c8dd785d 1573 1769060041917909786 diff --git a/backend/.cache/go-build/54/54f535a102de6e5486a3907dbb3703e9bfa06c0108415349827113bcf8206a34-d b/backend/.cache/go-build/54/54f535a102de6e5486a3907dbb3703e9bfa06c0108415349827113bcf8206a34-d new file mode 100644 index 0000000..a2b7b18 Binary files /dev/null and b/backend/.cache/go-build/54/54f535a102de6e5486a3907dbb3703e9bfa06c0108415349827113bcf8206a34-d differ diff --git a/backend/.cache/go-build/55/5532e6f6328ee940b33b0b200cfcd8ce1bffb92ce9af939105ea23865842620f-d b/backend/.cache/go-build/55/5532e6f6328ee940b33b0b200cfcd8ce1bffb92ce9af939105ea23865842620f-d new file mode 100644 index 0000000..d54d77e Binary files /dev/null and b/backend/.cache/go-build/55/5532e6f6328ee940b33b0b200cfcd8ce1bffb92ce9af939105ea23865842620f-d differ diff --git a/backend/.cache/go-build/55/554ce399193f7f42944d4aee387ef49968e34b4d29bfe5c7e8d4e60bd537a9cf-a b/backend/.cache/go-build/55/554ce399193f7f42944d4aee387ef49968e34b4d29bfe5c7e8d4e60bd537a9cf-a new file mode 100644 index 0000000..96fe68a --- /dev/null +++ b/backend/.cache/go-build/55/554ce399193f7f42944d4aee387ef49968e34b4d29bfe5c7e8d4e60bd537a9cf-a @@ -0,0 +1 @@ +v1 554ce399193f7f42944d4aee387ef49968e34b4d29bfe5c7e8d4e60bd537a9cf 3964fcfaf8bd62489962d92cea3ad79e7542836db2320356ed584ae2e0ccd662 924 1769060041915765179 diff --git a/backend/.cache/go-build/55/5571fb430f4fac1a5edad16d4d773da8a9aea3b111af4a3efa583be1070457f8-d b/backend/.cache/go-build/55/5571fb430f4fac1a5edad16d4d773da8a9aea3b111af4a3efa583be1070457f8-d new file mode 100644 index 0000000..36a09b8 Binary files /dev/null and b/backend/.cache/go-build/55/5571fb430f4fac1a5edad16d4d773da8a9aea3b111af4a3efa583be1070457f8-d differ diff --git a/backend/.cache/go-build/56/5669052246ed2baea9367c2c24138c1f7617e6f59a72c0d8f8837bd360c6d4c2-a b/backend/.cache/go-build/56/5669052246ed2baea9367c2c24138c1f7617e6f59a72c0d8f8837bd360c6d4c2-a new file mode 100644 index 0000000..c053de7 --- /dev/null +++ b/backend/.cache/go-build/56/5669052246ed2baea9367c2c24138c1f7617e6f59a72c0d8f8837bd360c6d4c2-a @@ -0,0 +1 @@ +v1 5669052246ed2baea9367c2c24138c1f7617e6f59a72c0d8f8837bd360c6d4c2 f9b72308826400b740f6da5ead6fcd6bc83aa3788bd2ef35f6a4828149de84e5 27682 1769060042019699079 diff --git a/backend/.cache/go-build/56/566e9ec868ec3b8fb18b415d99c9f1774f7a394fee66bbf51adbbbbf2be57638-a b/backend/.cache/go-build/56/566e9ec868ec3b8fb18b415d99c9f1774f7a394fee66bbf51adbbbbf2be57638-a new file mode 100644 index 0000000..a0d8fbb --- /dev/null +++ b/backend/.cache/go-build/56/566e9ec868ec3b8fb18b415d99c9f1774f7a394fee66bbf51adbbbbf2be57638-a @@ -0,0 +1 @@ +v1 566e9ec868ec3b8fb18b415d99c9f1774f7a394fee66bbf51adbbbbf2be57638 688e962fb0a151d986f249491550f6ce9d57161589d5d9824ca1bb93da4332de 370 1769060041925410561 diff --git a/backend/.cache/go-build/56/56e6a51653f2207ae2de540b8e72e47073c38247374fce78f7bc8be3f1f1b706-d b/backend/.cache/go-build/56/56e6a51653f2207ae2de540b8e72e47073c38247374fce78f7bc8be3f1f1b706-d new file mode 100644 index 0000000..11407c9 Binary files /dev/null and b/backend/.cache/go-build/56/56e6a51653f2207ae2de540b8e72e47073c38247374fce78f7bc8be3f1f1b706-d differ diff --git a/backend/.cache/go-build/57/578e60890871b6c9996ad2ce0e726f7f4ee2317bb71f8dc1d26f9d857751a3b2-a b/backend/.cache/go-build/57/578e60890871b6c9996ad2ce0e726f7f4ee2317bb71f8dc1d26f9d857751a3b2-a new file mode 100644 index 0000000..3572538 --- /dev/null +++ b/backend/.cache/go-build/57/578e60890871b6c9996ad2ce0e726f7f4ee2317bb71f8dc1d26f9d857751a3b2-a @@ -0,0 +1 @@ +v1 578e60890871b6c9996ad2ce0e726f7f4ee2317bb71f8dc1d26f9d857751a3b2 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041980868716 diff --git a/backend/.cache/go-build/57/57ed56ba2494cab500d3139a0ab189e159788fac58edaf3b029e1d907e8dcec2-a b/backend/.cache/go-build/57/57ed56ba2494cab500d3139a0ab189e159788fac58edaf3b029e1d907e8dcec2-a new file mode 100644 index 0000000..6842523 --- /dev/null +++ b/backend/.cache/go-build/57/57ed56ba2494cab500d3139a0ab189e159788fac58edaf3b029e1d907e8dcec2-a @@ -0,0 +1 @@ +v1 57ed56ba2494cab500d3139a0ab189e159788fac58edaf3b029e1d907e8dcec2 1b7b32387457e2ab5b93bf9031696115f42c689637a5dcbaaad6129f649937e6 5230 1769060041905230729 diff --git a/backend/.cache/go-build/58/580c6f5185ba573e8afd9626ae0354b2f47bd260bafbb16d97a18462fb4b2ea1-d b/backend/.cache/go-build/58/580c6f5185ba573e8afd9626ae0354b2f47bd260bafbb16d97a18462fb4b2ea1-d new file mode 100644 index 0000000..24c4884 Binary files /dev/null and b/backend/.cache/go-build/58/580c6f5185ba573e8afd9626ae0354b2f47bd260bafbb16d97a18462fb4b2ea1-d differ diff --git a/backend/.cache/go-build/58/586bc34c4480cf4d1ed10294fa3010efa511489ae2d76ff4a79d828fadd708e9-a b/backend/.cache/go-build/58/586bc34c4480cf4d1ed10294fa3010efa511489ae2d76ff4a79d828fadd708e9-a new file mode 100644 index 0000000..2e5d339 --- /dev/null +++ b/backend/.cache/go-build/58/586bc34c4480cf4d1ed10294fa3010efa511489ae2d76ff4a79d828fadd708e9-a @@ -0,0 +1 @@ +v1 586bc34c4480cf4d1ed10294fa3010efa511489ae2d76ff4a79d828fadd708e9 c4516603841127ea39cbbb7ea1f383c70ad3972fabe04758ee768e76afcbe6a7 2803 1769060041922207846 diff --git a/backend/.cache/go-build/58/5873eecca5c4d04ed9ea1f0a76aa2a71f40dbe57528e429b3cb91ebffe2902ba-a b/backend/.cache/go-build/58/5873eecca5c4d04ed9ea1f0a76aa2a71f40dbe57528e429b3cb91ebffe2902ba-a new file mode 100644 index 0000000..9d64dbd --- /dev/null +++ b/backend/.cache/go-build/58/5873eecca5c4d04ed9ea1f0a76aa2a71f40dbe57528e429b3cb91ebffe2902ba-a @@ -0,0 +1 @@ +v1 5873eecca5c4d04ed9ea1f0a76aa2a71f40dbe57528e429b3cb91ebffe2902ba 6ff4c47e15efa5414822ffbf6b16947999bb2bafe77ae1d581ce10ab19379802 4291 1769060041925321695 diff --git a/backend/.cache/go-build/58/58c0398d2066bdc371330a8df66e47b23c195756a0dc063ab50ad7c25015aca1-d b/backend/.cache/go-build/58/58c0398d2066bdc371330a8df66e47b23c195756a0dc063ab50ad7c25015aca1-d new file mode 100644 index 0000000..05d260c Binary files /dev/null and b/backend/.cache/go-build/58/58c0398d2066bdc371330a8df66e47b23c195756a0dc063ab50ad7c25015aca1-d differ diff --git a/backend/.cache/go-build/58/58cbbb51367206da22484a348c795c3e2ac13395ed19b478f9b3357032933129-d b/backend/.cache/go-build/58/58cbbb51367206da22484a348c795c3e2ac13395ed19b478f9b3357032933129-d new file mode 100644 index 0000000..e191690 Binary files /dev/null and b/backend/.cache/go-build/58/58cbbb51367206da22484a348c795c3e2ac13395ed19b478f9b3357032933129-d differ diff --git a/backend/.cache/go-build/59/59733682e3a4c7bf6a9b3aeee17c27f23f0079b600d5e4ecc05cce387b009de6-a b/backend/.cache/go-build/59/59733682e3a4c7bf6a9b3aeee17c27f23f0079b600d5e4ecc05cce387b009de6-a new file mode 100644 index 0000000..53144c9 --- /dev/null +++ b/backend/.cache/go-build/59/59733682e3a4c7bf6a9b3aeee17c27f23f0079b600d5e4ecc05cce387b009de6-a @@ -0,0 +1 @@ +v1 59733682e3a4c7bf6a9b3aeee17c27f23f0079b600d5e4ecc05cce387b009de6 16654fe8a566f83a166366486e0f25e70d4d5a06ea79e558868479d28ea1f055 68 1769060043579598302 diff --git a/backend/.cache/go-build/5b/5b82e7ee719a9d850c08c245dc296c59bb1568b72ffd5bd968a6d640a753e4ee-a b/backend/.cache/go-build/5b/5b82e7ee719a9d850c08c245dc296c59bb1568b72ffd5bd968a6d640a753e4ee-a new file mode 100644 index 0000000..b06a470 --- /dev/null +++ b/backend/.cache/go-build/5b/5b82e7ee719a9d850c08c245dc296c59bb1568b72ffd5bd968a6d640a753e4ee-a @@ -0,0 +1 @@ +v1 5b82e7ee719a9d850c08c245dc296c59bb1568b72ffd5bd968a6d640a753e4ee 516c0f36e371fc103e5e31bffc64e8899c256a1d9278377baeaee3c3d67d5990 1026504 1769060044362748703 diff --git a/backend/.cache/go-build/5c/5c1bdd3882ba3d6c0528ac75a0638d0368f1e2a0bfc330974c81779a0f701ed7-a b/backend/.cache/go-build/5c/5c1bdd3882ba3d6c0528ac75a0638d0368f1e2a0bfc330974c81779a0f701ed7-a new file mode 100644 index 0000000..41406c3 --- /dev/null +++ b/backend/.cache/go-build/5c/5c1bdd3882ba3d6c0528ac75a0638d0368f1e2a0bfc330974c81779a0f701ed7-a @@ -0,0 +1 @@ +v1 5c1bdd3882ba3d6c0528ac75a0638d0368f1e2a0bfc330974c81779a0f701ed7 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043991549681 diff --git a/backend/.cache/go-build/5c/5c37f7af3a16bd1e81bf20b4972a8514eda2d68d833225e702c65db726ebdaed-d b/backend/.cache/go-build/5c/5c37f7af3a16bd1e81bf20b4972a8514eda2d68d833225e702c65db726ebdaed-d new file mode 100644 index 0000000..0f61b28 Binary files /dev/null and b/backend/.cache/go-build/5c/5c37f7af3a16bd1e81bf20b4972a8514eda2d68d833225e702c65db726ebdaed-d differ diff --git a/backend/.cache/go-build/5e/5e168c948fc4f673c1cab0ac2a20e2705d65cc01d51d2d9aa7a127b2880d5e97-a b/backend/.cache/go-build/5e/5e168c948fc4f673c1cab0ac2a20e2705d65cc01d51d2d9aa7a127b2880d5e97-a new file mode 100644 index 0000000..4e63750 --- /dev/null +++ b/backend/.cache/go-build/5e/5e168c948fc4f673c1cab0ac2a20e2705d65cc01d51d2d9aa7a127b2880d5e97-a @@ -0,0 +1 @@ +v1 5e168c948fc4f673c1cab0ac2a20e2705d65cc01d51d2d9aa7a127b2880d5e97 7b0156a193c38c13e7f024d75ce25d05b749d4e9055469482d6e3f8f52fa6002 6401 1769060041911440774 diff --git a/backend/.cache/go-build/5e/5ec6f55c50ab0b5881539ca28bb8c12a43dab11551682260b540163340ad0d25-a b/backend/.cache/go-build/5e/5ec6f55c50ab0b5881539ca28bb8c12a43dab11551682260b540163340ad0d25-a new file mode 100644 index 0000000..1f806ac --- /dev/null +++ b/backend/.cache/go-build/5e/5ec6f55c50ab0b5881539ca28bb8c12a43dab11551682260b540163340ad0d25-a @@ -0,0 +1 @@ +v1 5ec6f55c50ab0b5881539ca28bb8c12a43dab11551682260b540163340ad0d25 89113f82f8e9bf36164ea2c6dd4cc241ae18e75ac152cc8ab564896f5080f42a 3019 1769060041916718402 diff --git a/backend/.cache/go-build/5e/5eea22ea4a40cab1935ab7e0f64f73a299e9f3af8b42e3e16e7db9b63d76c05a-d b/backend/.cache/go-build/5e/5eea22ea4a40cab1935ab7e0f64f73a299e9f3af8b42e3e16e7db9b63d76c05a-d new file mode 100644 index 0000000..9a5934e Binary files /dev/null and b/backend/.cache/go-build/5e/5eea22ea4a40cab1935ab7e0f64f73a299e9f3af8b42e3e16e7db9b63d76c05a-d differ diff --git a/backend/.cache/go-build/5f/5f00ccaafe80e5b9e0636080dbec6d06635106543d3778c99997fef8b003cd7b-d b/backend/.cache/go-build/5f/5f00ccaafe80e5b9e0636080dbec6d06635106543d3778c99997fef8b003cd7b-d new file mode 100644 index 0000000..40ddba7 Binary files /dev/null and b/backend/.cache/go-build/5f/5f00ccaafe80e5b9e0636080dbec6d06635106543d3778c99997fef8b003cd7b-d differ diff --git a/backend/.cache/go-build/5f/5f5b24da751966d07435990f9e11860b13c3c2fbb05621342859a3eaff6d4d58-a b/backend/.cache/go-build/5f/5f5b24da751966d07435990f9e11860b13c3c2fbb05621342859a3eaff6d4d58-a new file mode 100644 index 0000000..6bf774d --- /dev/null +++ b/backend/.cache/go-build/5f/5f5b24da751966d07435990f9e11860b13c3c2fbb05621342859a3eaff6d4d58-a @@ -0,0 +1 @@ +v1 5f5b24da751966d07435990f9e11860b13c3c2fbb05621342859a3eaff6d4d58 5571fb430f4fac1a5edad16d4d773da8a9aea3b111af4a3efa583be1070457f8 1391 1769060041922909586 diff --git a/backend/.cache/go-build/5f/5f70fe6bff6d81c33b3622811229e829b28e5326cc8424467592ba4872949e6f-d b/backend/.cache/go-build/5f/5f70fe6bff6d81c33b3622811229e829b28e5326cc8424467592ba4872949e6f-d new file mode 100644 index 0000000..0f5fd0c Binary files /dev/null and b/backend/.cache/go-build/5f/5f70fe6bff6d81c33b3622811229e829b28e5326cc8424467592ba4872949e6f-d differ diff --git a/backend/.cache/go-build/5f/5f92fe075de9e839c9b482ad657215aad6326aef26a8493bee8dc9d9539ef8f1-d b/backend/.cache/go-build/5f/5f92fe075de9e839c9b482ad657215aad6326aef26a8493bee8dc9d9539ef8f1-d new file mode 100644 index 0000000..2c77a35 --- /dev/null +++ b/backend/.cache/go-build/5f/5f92fe075de9e839c9b482ad657215aad6326aef26a8493bee8dc9d9539ef8f1-d @@ -0,0 +1,5 @@ +./doc.go +./doc_64.go +./type.go +./value.go +./asm.s diff --git a/backend/.cache/go-build/60/6005ff8d698ecee737b0d0ec64adb0cc2ca4eaf5c717918d79c9e19e4a281fa4-d b/backend/.cache/go-build/60/6005ff8d698ecee737b0d0ec64adb0cc2ca4eaf5c717918d79c9e19e4a281fa4-d new file mode 100644 index 0000000..d71bb95 Binary files /dev/null and b/backend/.cache/go-build/60/6005ff8d698ecee737b0d0ec64adb0cc2ca4eaf5c717918d79c9e19e4a281fa4-d differ diff --git a/backend/.cache/go-build/60/60271d3be78f5b8cd182d5fb92f7b9a1f19321cab27f8476dcff2824ef0f7cd6-a b/backend/.cache/go-build/60/60271d3be78f5b8cd182d5fb92f7b9a1f19321cab27f8476dcff2824ef0f7cd6-a new file mode 100644 index 0000000..a4bca49 --- /dev/null +++ b/backend/.cache/go-build/60/60271d3be78f5b8cd182d5fb92f7b9a1f19321cab27f8476dcff2824ef0f7cd6-a @@ -0,0 +1 @@ +v1 60271d3be78f5b8cd182d5fb92f7b9a1f19321cab27f8476dcff2824ef0f7cd6 58c0398d2066bdc371330a8df66e47b23c195756a0dc063ab50ad7c25015aca1 505 1769060041909787064 diff --git a/backend/.cache/go-build/61/6108a65a8a22a4978cd3c1f7d61f73a2944db05d66c5410e550498023ca203fd-d b/backend/.cache/go-build/61/6108a65a8a22a4978cd3c1f7d61f73a2944db05d66c5410e550498023ca203fd-d new file mode 100644 index 0000000..15496a2 --- /dev/null +++ b/backend/.cache/go-build/61/6108a65a8a22a4978cd3c1f7d61f73a2944db05d66c5410e550498023ca203fd-d @@ -0,0 +1 @@ +./execenv_default.go diff --git a/backend/.cache/go-build/61/6113943587d3a68becf61fffb636a02798f36933b532f163d4d4987ce3069acd-a b/backend/.cache/go-build/61/6113943587d3a68becf61fffb636a02798f36933b532f163d4d4987ce3069acd-a new file mode 100644 index 0000000..a680ead --- /dev/null +++ b/backend/.cache/go-build/61/6113943587d3a68becf61fffb636a02798f36933b532f163d4d4987ce3069acd-a @@ -0,0 +1 @@ +v1 6113943587d3a68becf61fffb636a02798f36933b532f163d4d4987ce3069acd b3e4c1bba24b94364a6d9ab8840c354ebcaa7cf224f1346b71c160233f95e0d3 13 1769060041970048930 diff --git a/backend/.cache/go-build/61/61ecfccab18f92559026c78374884912aa1bcea2449a2a6d9ef7060f89c1890a-a b/backend/.cache/go-build/61/61ecfccab18f92559026c78374884912aa1bcea2449a2a6d9ef7060f89c1890a-a new file mode 100644 index 0000000..19a19ab --- /dev/null +++ b/backend/.cache/go-build/61/61ecfccab18f92559026c78374884912aa1bcea2449a2a6d9ef7060f89c1890a-a @@ -0,0 +1 @@ +v1 61ecfccab18f92559026c78374884912aa1bcea2449a2a6d9ef7060f89c1890a b561124ca562dd27d245cb6e21dbee815e5c043038d77b6f74dd35edd23edb86 583 1769060041919916279 diff --git a/backend/.cache/go-build/62/625805a31307076e3fdcce1a65bae30875130a3ba83a891ee98f336ece834a79-a b/backend/.cache/go-build/62/625805a31307076e3fdcce1a65bae30875130a3ba83a891ee98f336ece834a79-a new file mode 100644 index 0000000..ca899ab --- /dev/null +++ b/backend/.cache/go-build/62/625805a31307076e3fdcce1a65bae30875130a3ba83a891ee98f336ece834a79-a @@ -0,0 +1 @@ +v1 625805a31307076e3fdcce1a65bae30875130a3ba83a891ee98f336ece834a79 4d65e8b72c093cf3b9e230c1b6de9a3cdfd0971d4ed7b24b1bf6088448f80dd7 2758 1769060042174273377 diff --git a/backend/.cache/go-build/62/628a0439ba15485ecc210a57e3faeeb191bf64feffe74800c8fd9cd25f9e98d7-a b/backend/.cache/go-build/62/628a0439ba15485ecc210a57e3faeeb191bf64feffe74800c8fd9cd25f9e98d7-a new file mode 100644 index 0000000..d7dad01 --- /dev/null +++ b/backend/.cache/go-build/62/628a0439ba15485ecc210a57e3faeeb191bf64feffe74800c8fd9cd25f9e98d7-a @@ -0,0 +1 @@ +v1 628a0439ba15485ecc210a57e3faeeb191bf64feffe74800c8fd9cd25f9e98d7 3dd5b6f115339f726c2eca63877c4ba1ac2c7d99a71c8b129c5c3e42ee4e6b53 320 1769060041919344429 diff --git a/backend/.cache/go-build/63/6328c2c02879bf30ba69a337a0a20881c346c0268cb1c2bf56f19787b1513fbe-d b/backend/.cache/go-build/63/6328c2c02879bf30ba69a337a0a20881c346c0268cb1c2bf56f19787b1513fbe-d new file mode 100644 index 0000000..f88e4ce Binary files /dev/null and b/backend/.cache/go-build/63/6328c2c02879bf30ba69a337a0a20881c346c0268cb1c2bf56f19787b1513fbe-d differ diff --git a/backend/.cache/go-build/63/63473cb29e0aed6de7dc5a20a2ab4888924f98bd21d74c51c989a96935352e07-a b/backend/.cache/go-build/63/63473cb29e0aed6de7dc5a20a2ab4888924f98bd21d74c51c989a96935352e07-a new file mode 100644 index 0000000..b317b8a --- /dev/null +++ b/backend/.cache/go-build/63/63473cb29e0aed6de7dc5a20a2ab4888924f98bd21d74c51c989a96935352e07-a @@ -0,0 +1 @@ +v1 63473cb29e0aed6de7dc5a20a2ab4888924f98bd21d74c51c989a96935352e07 a5deefd80222499440d615998dbaf2a2ec795a426e5d8b62fad7e2a0c9421de7 3410 1769060041978424430 diff --git a/backend/.cache/go-build/64/64197fd76f590fb7a56afce675ee9e35d2c23d6b994d0730e861f751a50e2277-d b/backend/.cache/go-build/64/64197fd76f590fb7a56afce675ee9e35d2c23d6b994d0730e861f751a50e2277-d new file mode 100644 index 0000000..10a145d Binary files /dev/null and b/backend/.cache/go-build/64/64197fd76f590fb7a56afce675ee9e35d2c23d6b994d0730e861f751a50e2277-d differ diff --git a/backend/.cache/go-build/64/643a241aad704964ab797f92ae0b5ffb70d727dee6c13e059be7d7dac8260ef2-d b/backend/.cache/go-build/64/643a241aad704964ab797f92ae0b5ffb70d727dee6c13e059be7d7dac8260ef2-d new file mode 100644 index 0000000..4423b10 Binary files /dev/null and b/backend/.cache/go-build/64/643a241aad704964ab797f92ae0b5ffb70d727dee6c13e059be7d7dac8260ef2-d differ diff --git a/backend/.cache/go-build/64/645aa647e7a00d9dff6af4adf3c8a86bc72c6aab7ad81025ed871addf5c9a0c2-a b/backend/.cache/go-build/64/645aa647e7a00d9dff6af4adf3c8a86bc72c6aab7ad81025ed871addf5c9a0c2-a new file mode 100644 index 0000000..850eecd --- /dev/null +++ b/backend/.cache/go-build/64/645aa647e7a00d9dff6af4adf3c8a86bc72c6aab7ad81025ed871addf5c9a0c2-a @@ -0,0 +1 @@ +v1 645aa647e7a00d9dff6af4adf3c8a86bc72c6aab7ad81025ed871addf5c9a0c2 70a98688e57dbde3ff5bc617905d8763180b12c5ad2005f3ace9900e178e5302 1336 1769060041923523930 diff --git a/backend/.cache/go-build/65/655366a07d99fa4dbccefbe9eb255748d7a39e2e6ca1a246853ee09bccd0ed92-a b/backend/.cache/go-build/65/655366a07d99fa4dbccefbe9eb255748d7a39e2e6ca1a246853ee09bccd0ed92-a new file mode 100644 index 0000000..0912489 --- /dev/null +++ b/backend/.cache/go-build/65/655366a07d99fa4dbccefbe9eb255748d7a39e2e6ca1a246853ee09bccd0ed92-a @@ -0,0 +1 @@ +v1 655366a07d99fa4dbccefbe9eb255748d7a39e2e6ca1a246853ee09bccd0ed92 ae478b0ce3bf55b23e9695235dd247302b8a18de14584b35a142ad91750bfc31 554 1769060041926677068 diff --git a/backend/.cache/go-build/65/65d27b2c4332601668b9e21273b422988a28bcf3275f4dcdf4cc1252c1fda55b-d b/backend/.cache/go-build/65/65d27b2c4332601668b9e21273b422988a28bcf3275f4dcdf4cc1252c1fda55b-d new file mode 100644 index 0000000..8b2b7c0 Binary files /dev/null and b/backend/.cache/go-build/65/65d27b2c4332601668b9e21273b422988a28bcf3275f4dcdf4cc1252c1fda55b-d differ diff --git a/backend/.cache/go-build/65/65ea327f2f15cbbc327dbfcdf368e240ac4403dc6f91da00ba0ab6e4dabd55ef-d b/backend/.cache/go-build/65/65ea327f2f15cbbc327dbfcdf368e240ac4403dc6f91da00ba0ab6e4dabd55ef-d new file mode 100644 index 0000000..874bdaa Binary files /dev/null and b/backend/.cache/go-build/65/65ea327f2f15cbbc327dbfcdf368e240ac4403dc6f91da00ba0ab6e4dabd55ef-d differ diff --git a/backend/.cache/go-build/67/670c81db1b68ac74da78adbe0747ec16c63ed7057b46fe396aa7096609d7e5c6-d b/backend/.cache/go-build/67/670c81db1b68ac74da78adbe0747ec16c63ed7057b46fe396aa7096609d7e5c6-d new file mode 100644 index 0000000..37291b1 Binary files /dev/null and b/backend/.cache/go-build/67/670c81db1b68ac74da78adbe0747ec16c63ed7057b46fe396aa7096609d7e5c6-d differ diff --git a/backend/.cache/go-build/67/6723f8b676e52a4ed42c3eb9297024600bd5b71ca5be8ea9d49d16f22ab9964e-a b/backend/.cache/go-build/67/6723f8b676e52a4ed42c3eb9297024600bd5b71ca5be8ea9d49d16f22ab9964e-a new file mode 100644 index 0000000..b5f6683 --- /dev/null +++ b/backend/.cache/go-build/67/6723f8b676e52a4ed42c3eb9297024600bd5b71ca5be8ea9d49d16f22ab9964e-a @@ -0,0 +1 @@ +v1 6723f8b676e52a4ed42c3eb9297024600bd5b71ca5be8ea9d49d16f22ab9964e 3431583540a0bb5e7730885fd33366b6d26c152dc1d2b909952f1add7e817cc6 3392 1769060041917975722 diff --git a/backend/.cache/go-build/67/672cf239b196b73f18c00bab99ee4e7e36b89e42973c81cbc819931053bc8e10-a b/backend/.cache/go-build/67/672cf239b196b73f18c00bab99ee4e7e36b89e42973c81cbc819931053bc8e10-a new file mode 100644 index 0000000..52efeb6 --- /dev/null +++ b/backend/.cache/go-build/67/672cf239b196b73f18c00bab99ee4e7e36b89e42973c81cbc819931053bc8e10-a @@ -0,0 +1 @@ +v1 672cf239b196b73f18c00bab99ee4e7e36b89e42973c81cbc819931053bc8e10 65d27b2c4332601668b9e21273b422988a28bcf3275f4dcdf4cc1252c1fda55b 278 1769060041926281018 diff --git a/backend/.cache/go-build/67/677060482b03caef4c3518dfec09b9b477e96b4b845858db63fc2e0a018531d2-a b/backend/.cache/go-build/67/677060482b03caef4c3518dfec09b9b477e96b4b845858db63fc2e0a018531d2-a new file mode 100644 index 0000000..286df04 --- /dev/null +++ b/backend/.cache/go-build/67/677060482b03caef4c3518dfec09b9b477e96b4b845858db63fc2e0a018531d2-a @@ -0,0 +1 @@ +v1 677060482b03caef4c3518dfec09b9b477e96b4b845858db63fc2e0a018531d2 395728dbddcf9fcca86fbf7917c36d6494e8ab12101913ddd7e3b152a42039b2 496 1769060041914616381 diff --git a/backend/.cache/go-build/67/67a557448c19164bc05070d132db609cbbaf38d5299f0c6526e34193646ac224-d b/backend/.cache/go-build/67/67a557448c19164bc05070d132db609cbbaf38d5299f0c6526e34193646ac224-d new file mode 100644 index 0000000..aa05731 --- /dev/null +++ b/backend/.cache/go-build/67/67a557448c19164bc05070d132db609cbbaf38d5299f0c6526e34193646ac224-d @@ -0,0 +1,17 @@ +./abi.go +./abi_amd64.go +./compiletype.go +./escape.go +./funcpc.go +./iface.go +./map_noswiss.go +./map_select_swiss.go +./map_swiss.go +./rangefuncconsts.go +./runtime.go +./stack.go +./switch.go +./symtab.go +./type.go +./abi_test.s +./stub.s diff --git a/backend/.cache/go-build/67/67f18130c6430a2548635a445a3160d614d23e7b897d17f43864ebc2afb05020-d b/backend/.cache/go-build/67/67f18130c6430a2548635a445a3160d614d23e7b897d17f43864ebc2afb05020-d new file mode 100644 index 0000000..4d0a55a Binary files /dev/null and b/backend/.cache/go-build/67/67f18130c6430a2548635a445a3160d614d23e7b897d17f43864ebc2afb05020-d differ diff --git a/backend/.cache/go-build/68/688e962fb0a151d986f249491550f6ce9d57161589d5d9824ca1bb93da4332de-d b/backend/.cache/go-build/68/688e962fb0a151d986f249491550f6ce9d57161589d5d9824ca1bb93da4332de-d new file mode 100644 index 0000000..6656167 Binary files /dev/null and b/backend/.cache/go-build/68/688e962fb0a151d986f249491550f6ce9d57161589d5d9824ca1bb93da4332de-d differ diff --git a/backend/.cache/go-build/68/68edb706e1dbdd3d932af9b5147eb68a06af0e8c64b0e05611c31b5b5a94599d-d b/backend/.cache/go-build/68/68edb706e1dbdd3d932af9b5147eb68a06af0e8c64b0e05611c31b5b5a94599d-d new file mode 100644 index 0000000..c127574 Binary files /dev/null and b/backend/.cache/go-build/68/68edb706e1dbdd3d932af9b5147eb68a06af0e8c64b0e05611c31b5b5a94599d-d differ diff --git a/backend/.cache/go-build/69/6903aa6dac9a131d4b0aeaa98991360254d8bd4ab8c843403d6408e79aeb7d0a-a b/backend/.cache/go-build/69/6903aa6dac9a131d4b0aeaa98991360254d8bd4ab8c843403d6408e79aeb7d0a-a new file mode 100644 index 0000000..5fd0d1d --- /dev/null +++ b/backend/.cache/go-build/69/6903aa6dac9a131d4b0aeaa98991360254d8bd4ab8c843403d6408e79aeb7d0a-a @@ -0,0 +1 @@ +v1 6903aa6dac9a131d4b0aeaa98991360254d8bd4ab8c843403d6408e79aeb7d0a 45fe8d0defcebcbf30e4b2e2bdae4e207851b50f922ae71355eb0cd525d198c9 658 1769060041899565696 diff --git a/backend/.cache/go-build/69/6987ad732dc545294ec9b2bdcd612632334c101cd4d3dd2852a9e11b967bf7e0-a b/backend/.cache/go-build/69/6987ad732dc545294ec9b2bdcd612632334c101cd4d3dd2852a9e11b967bf7e0-a new file mode 100644 index 0000000..e270cea --- /dev/null +++ b/backend/.cache/go-build/69/6987ad732dc545294ec9b2bdcd612632334c101cd4d3dd2852a9e11b967bf7e0-a @@ -0,0 +1 @@ +v1 6987ad732dc545294ec9b2bdcd612632334c101cd4d3dd2852a9e11b967bf7e0 fb0af4b39d3d21faae58a3a63daa10b03012802f1fa1a685aa30eacd1f0a3644 386406 1769060044038555007 diff --git a/backend/.cache/go-build/69/698bc8e634894a49aff6746a00e8bc6d5c075fd370760484daae37a00af3e09d-a b/backend/.cache/go-build/69/698bc8e634894a49aff6746a00e8bc6d5c075fd370760484daae37a00af3e09d-a new file mode 100644 index 0000000..43e8026 --- /dev/null +++ b/backend/.cache/go-build/69/698bc8e634894a49aff6746a00e8bc6d5c075fd370760484daae37a00af3e09d-a @@ -0,0 +1 @@ +v1 698bc8e634894a49aff6746a00e8bc6d5c075fd370760484daae37a00af3e09d c4b6537a0406799381975cb30a6a83fbbb3b5356712f1453ff26ceef81c507cd 798 1769060041924627128 diff --git a/backend/.cache/go-build/6a/6afeb81fdc5761b8194235de9f45258381c6aaa353e617ec67d8dfc919d75089-d b/backend/.cache/go-build/6a/6afeb81fdc5761b8194235de9f45258381c6aaa353e617ec67d8dfc919d75089-d new file mode 100644 index 0000000..f34c3dc Binary files /dev/null and b/backend/.cache/go-build/6a/6afeb81fdc5761b8194235de9f45258381c6aaa353e617ec67d8dfc919d75089-d differ diff --git a/backend/.cache/go-build/6b/6b38e54dce670486a3d378585f517617072f40f0ba40c41a39f15eefb4e7bded-d b/backend/.cache/go-build/6b/6b38e54dce670486a3d378585f517617072f40f0ba40c41a39f15eefb4e7bded-d new file mode 100644 index 0000000..48a627a Binary files /dev/null and b/backend/.cache/go-build/6b/6b38e54dce670486a3d378585f517617072f40f0ba40c41a39f15eefb4e7bded-d differ diff --git a/backend/.cache/go-build/6b/6bd129fe34098ea42aea0962860c1c9d37c0e9f08d482a5dcdf10ac7936acee7-d b/backend/.cache/go-build/6b/6bd129fe34098ea42aea0962860c1c9d37c0e9f08d482a5dcdf10ac7936acee7-d new file mode 100644 index 0000000..d2d7692 --- /dev/null +++ b/backend/.cache/go-build/6b/6bd129fe34098ea42aea0962860c1c9d37c0e9f08d482a5dcdf10ac7936acee7-d @@ -0,0 +1,4 @@ +./defs_linux.go +./defs_linux_amd64.go +./syscall_linux.go +./asm_linux_amd64.s diff --git a/backend/.cache/go-build/6c/6c3b79403f0cb3097802cc59d725e5d82f9462e3c488946b2619ab2e89b7a713-d b/backend/.cache/go-build/6c/6c3b79403f0cb3097802cc59d725e5d82f9462e3c488946b2619ab2e89b7a713-d new file mode 100644 index 0000000..06f4737 Binary files /dev/null and b/backend/.cache/go-build/6c/6c3b79403f0cb3097802cc59d725e5d82f9462e3c488946b2619ab2e89b7a713-d differ diff --git a/backend/.cache/go-build/6c/6c597a24cd397e474130d66343bcc5c9e0ae249c10cca40a99fb3ef5387cc5e4-d b/backend/.cache/go-build/6c/6c597a24cd397e474130d66343bcc5c9e0ae249c10cca40a99fb3ef5387cc5e4-d new file mode 100644 index 0000000..502b123 Binary files /dev/null and b/backend/.cache/go-build/6c/6c597a24cd397e474130d66343bcc5c9e0ae249c10cca40a99fb3ef5387cc5e4-d differ diff --git a/backend/.cache/go-build/6c/6c6e967eb5775df010a076ad58e9cb5db0566d05d58b31ea9d1d5bb0b8c1082b-d b/backend/.cache/go-build/6c/6c6e967eb5775df010a076ad58e9cb5db0566d05d58b31ea9d1d5bb0b8c1082b-d new file mode 100644 index 0000000..8354737 Binary files /dev/null and b/backend/.cache/go-build/6c/6c6e967eb5775df010a076ad58e9cb5db0566d05d58b31ea9d1d5bb0b8c1082b-d differ diff --git a/backend/.cache/go-build/6d/6d35b4cfd8a5f0875704b8d4d151752b7c510bfaacff49e9e7340e436afd6f8d-a b/backend/.cache/go-build/6d/6d35b4cfd8a5f0875704b8d4d151752b7c510bfaacff49e9e7340e436afd6f8d-a new file mode 100644 index 0000000..c664a6b --- /dev/null +++ b/backend/.cache/go-build/6d/6d35b4cfd8a5f0875704b8d4d151752b7c510bfaacff49e9e7340e436afd6f8d-a @@ -0,0 +1 @@ +v1 6d35b4cfd8a5f0875704b8d4d151752b7c510bfaacff49e9e7340e436afd6f8d ce5affb00f4cab90b3877828d896e84fdc1195ded3626dd16e4ea36e84542ddf 621 1769060041911125778 diff --git a/backend/.cache/go-build/6e/6ea68d4b44ec2b89f98f2e5d7f274bcc25cde99d820d4cde3532972778838c1a-a b/backend/.cache/go-build/6e/6ea68d4b44ec2b89f98f2e5d7f274bcc25cde99d820d4cde3532972778838c1a-a new file mode 100644 index 0000000..6a5a979 --- /dev/null +++ b/backend/.cache/go-build/6e/6ea68d4b44ec2b89f98f2e5d7f274bcc25cde99d820d4cde3532972778838c1a-a @@ -0,0 +1 @@ +v1 6ea68d4b44ec2b89f98f2e5d7f274bcc25cde99d820d4cde3532972778838c1a 6ed95d2d4ebad37869017f625516ee2a3ae28dfbdcfded5e717dd940604fb76b 628 1769060041908595911 diff --git a/backend/.cache/go-build/6e/6eab771aaa6c247ce8eb1dae6c60ddd1120170677f6d53fad7f3ccab6b08d7cc-a b/backend/.cache/go-build/6e/6eab771aaa6c247ce8eb1dae6c60ddd1120170677f6d53fad7f3ccab6b08d7cc-a new file mode 100644 index 0000000..ad1b53e --- /dev/null +++ b/backend/.cache/go-build/6e/6eab771aaa6c247ce8eb1dae6c60ddd1120170677f6d53fad7f3ccab6b08d7cc-a @@ -0,0 +1 @@ +v1 6eab771aaa6c247ce8eb1dae6c60ddd1120170677f6d53fad7f3ccab6b08d7cc d6b173af4b10fe2c63da2f1d93ea14b817c13d3aca7d6b1b833c3b016fddd697 937 1769060041925821798 diff --git a/backend/.cache/go-build/6e/6eb6ebcf621b782f055565070a4f3c965cdaad2c2cf446a327b61a6989996359-d b/backend/.cache/go-build/6e/6eb6ebcf621b782f055565070a4f3c965cdaad2c2cf446a327b61a6989996359-d new file mode 100644 index 0000000..5ee39e7 Binary files /dev/null and b/backend/.cache/go-build/6e/6eb6ebcf621b782f055565070a4f3c965cdaad2c2cf446a327b61a6989996359-d differ diff --git a/backend/.cache/go-build/6e/6ed95d2d4ebad37869017f625516ee2a3ae28dfbdcfded5e717dd940604fb76b-d b/backend/.cache/go-build/6e/6ed95d2d4ebad37869017f625516ee2a3ae28dfbdcfded5e717dd940604fb76b-d new file mode 100644 index 0000000..b50177f Binary files /dev/null and b/backend/.cache/go-build/6e/6ed95d2d4ebad37869017f625516ee2a3ae28dfbdcfded5e717dd940604fb76b-d differ diff --git a/backend/.cache/go-build/6e/6eebf8957957e5ef5042569694d194de7b0cb40c977959263821086a2baf9415-d b/backend/.cache/go-build/6e/6eebf8957957e5ef5042569694d194de7b0cb40c977959263821086a2baf9415-d new file mode 100644 index 0000000..29a85e5 Binary files /dev/null and b/backend/.cache/go-build/6e/6eebf8957957e5ef5042569694d194de7b0cb40c977959263821086a2baf9415-d differ diff --git a/backend/.cache/go-build/6f/6ff4c47e15efa5414822ffbf6b16947999bb2bafe77ae1d581ce10ab19379802-d b/backend/.cache/go-build/6f/6ff4c47e15efa5414822ffbf6b16947999bb2bafe77ae1d581ce10ab19379802-d new file mode 100644 index 0000000..16c6f9f Binary files /dev/null and b/backend/.cache/go-build/6f/6ff4c47e15efa5414822ffbf6b16947999bb2bafe77ae1d581ce10ab19379802-d differ diff --git a/backend/.cache/go-build/70/7038b919ab493ee3c5223bb361ebc616be661b0740f54a80249ecdbd616e4ed1-d b/backend/.cache/go-build/70/7038b919ab493ee3c5223bb361ebc616be661b0740f54a80249ecdbd616e4ed1-d new file mode 100644 index 0000000..ca00afe Binary files /dev/null and b/backend/.cache/go-build/70/7038b919ab493ee3c5223bb361ebc616be661b0740f54a80249ecdbd616e4ed1-d differ diff --git a/backend/.cache/go-build/70/704cd4b6348a76be744fa2e9d4f017a48bfc0111fe9bf62fba2f23b1ab5566ed-d b/backend/.cache/go-build/70/704cd4b6348a76be744fa2e9d4f017a48bfc0111fe9bf62fba2f23b1ab5566ed-d new file mode 100644 index 0000000..da38da1 --- /dev/null +++ b/backend/.cache/go-build/70/704cd4b6348a76be744fa2e9d4f017a48bfc0111fe9bf62fba2f23b1ab5566ed-d @@ -0,0 +1,7 @@ +./atomic_amd64.go +./doc.go +./stubs.go +./types.go +./types_64bit.go +./unaligned.go +./atomic_amd64.s diff --git a/backend/.cache/go-build/70/70a98688e57dbde3ff5bc617905d8763180b12c5ad2005f3ace9900e178e5302-d b/backend/.cache/go-build/70/70a98688e57dbde3ff5bc617905d8763180b12c5ad2005f3ace9900e178e5302-d new file mode 100644 index 0000000..4dabd7b Binary files /dev/null and b/backend/.cache/go-build/70/70a98688e57dbde3ff5bc617905d8763180b12c5ad2005f3ace9900e178e5302-d differ diff --git a/backend/.cache/go-build/70/70f151d81cbcb174462a1ba23a1d589199c671a3fa5cd3c5ad3f9c6ffb520344-a b/backend/.cache/go-build/70/70f151d81cbcb174462a1ba23a1d589199c671a3fa5cd3c5ad3f9c6ffb520344-a new file mode 100644 index 0000000..d448479 --- /dev/null +++ b/backend/.cache/go-build/70/70f151d81cbcb174462a1ba23a1d589199c671a3fa5cd3c5ad3f9c6ffb520344-a @@ -0,0 +1 @@ +v1 70f151d81cbcb174462a1ba23a1d589199c671a3fa5cd3c5ad3f9c6ffb520344 c7e6c8af5d2d999c37415c85557dfb19e69e724b80c1bde9346e52f35f901e0e 282938 1769060042012058166 diff --git a/backend/.cache/go-build/71/713918d37d4df4ffec6331100e318927100d2ce7436cc10dc558cae333128940-a b/backend/.cache/go-build/71/713918d37d4df4ffec6331100e318927100d2ce7436cc10dc558cae333128940-a new file mode 100644 index 0000000..a34e18d --- /dev/null +++ b/backend/.cache/go-build/71/713918d37d4df4ffec6331100e318927100d2ce7436cc10dc558cae333128940-a @@ -0,0 +1 @@ +v1 713918d37d4df4ffec6331100e318927100d2ce7436cc10dc558cae333128940 5f70fe6bff6d81c33b3622811229e829b28e5326cc8424467592ba4872949e6f 536 1769060041908106828 diff --git a/backend/.cache/go-build/71/71a5f5053b62f15a8b48ce007835c213b0f989fbb3af89ccff73aa5a883d36b2-a b/backend/.cache/go-build/71/71a5f5053b62f15a8b48ce007835c213b0f989fbb3af89ccff73aa5a883d36b2-a new file mode 100644 index 0000000..4940796 --- /dev/null +++ b/backend/.cache/go-build/71/71a5f5053b62f15a8b48ce007835c213b0f989fbb3af89ccff73aa5a883d36b2-a @@ -0,0 +1 @@ +v1 71a5f5053b62f15a8b48ce007835c213b0f989fbb3af89ccff73aa5a883d36b2 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041980162909 diff --git a/backend/.cache/go-build/71/71f6a755d706bbd4c817bd4f03fe9ea08e59dd804552bcf51219305420aebde2-d b/backend/.cache/go-build/71/71f6a755d706bbd4c817bd4f03fe9ea08e59dd804552bcf51219305420aebde2-d new file mode 100644 index 0000000..7e1b0de Binary files /dev/null and b/backend/.cache/go-build/71/71f6a755d706bbd4c817bd4f03fe9ea08e59dd804552bcf51219305420aebde2-d differ diff --git a/backend/.cache/go-build/71/71fd34c83df7f33039ae943e0a98aa74d025d9711c02532c6ab1dd120dec5ddc-d b/backend/.cache/go-build/71/71fd34c83df7f33039ae943e0a98aa74d025d9711c02532c6ab1dd120dec5ddc-d new file mode 100644 index 0000000..1f21c26 Binary files /dev/null and b/backend/.cache/go-build/71/71fd34c83df7f33039ae943e0a98aa74d025d9711c02532c6ab1dd120dec5ddc-d differ diff --git a/backend/.cache/go-build/72/72859f1b45db304cc7987d3478a9645a5cd767f44434bbc30bcb7f6aa39843dd-d b/backend/.cache/go-build/72/72859f1b45db304cc7987d3478a9645a5cd767f44434bbc30bcb7f6aa39843dd-d new file mode 100644 index 0000000..f1234c4 --- /dev/null +++ b/backend/.cache/go-build/72/72859f1b45db304cc7987d3478a9645a5cd767f44434bbc30bcb7f6aa39843dd-d @@ -0,0 +1,59 @@ +./abs.go +./acosh.go +./asin.go +./asinh.go +./atan.go +./atan2.go +./atanh.go +./bits.go +./cbrt.go +./const.go +./copysign.go +./dim.go +./dim_asm.go +./erf.go +./erfinv.go +./exp.go +./exp2_noasm.go +./exp_amd64.go +./exp_asm.go +./expm1.go +./floor.go +./floor_asm.go +./fma.go +./frexp.go +./gamma.go +./hypot.go +./hypot_asm.go +./j0.go +./j1.go +./jn.go +./ldexp.go +./lgamma.go +./log.go +./log10.go +./log1p.go +./log_asm.go +./logb.go +./mod.go +./modf.go +./modf_noasm.go +./nextafter.go +./pow.go +./pow10.go +./remainder.go +./signbit.go +./sin.go +./sincos.go +./sinh.go +./sqrt.go +./stubs.go +./tan.go +./tanh.go +./trig_reduce.go +./unsafe.go +./dim_amd64.s +./exp_amd64.s +./floor_amd64.s +./hypot_amd64.s +./log_amd64.s diff --git a/backend/.cache/go-build/72/728a186b36ad21b0583afbbc5a2a389e6d4962f4028c3a56bba3f220c9674ba7-d b/backend/.cache/go-build/72/728a186b36ad21b0583afbbc5a2a389e6d4962f4028c3a56bba3f220c9674ba7-d new file mode 100644 index 0000000..3264565 Binary files /dev/null and b/backend/.cache/go-build/72/728a186b36ad21b0583afbbc5a2a389e6d4962f4028c3a56bba3f220c9674ba7-d differ diff --git a/backend/.cache/go-build/72/72a7cccd84ece8eed3a46ff813d4fc37918fd3ffcc665000985cb7dd636265b8-d b/backend/.cache/go-build/72/72a7cccd84ece8eed3a46ff813d4fc37918fd3ffcc665000985cb7dd636265b8-d new file mode 100644 index 0000000..37d09e8 Binary files /dev/null and b/backend/.cache/go-build/72/72a7cccd84ece8eed3a46ff813d4fc37918fd3ffcc665000985cb7dd636265b8-d differ diff --git a/backend/.cache/go-build/72/72c981fba3a74f376d45d5f98ed1b7affa0e4bf673ff17f209119c17beac6f12-a b/backend/.cache/go-build/72/72c981fba3a74f376d45d5f98ed1b7affa0e4bf673ff17f209119c17beac6f12-a new file mode 100644 index 0000000..b6d1fc1 --- /dev/null +++ b/backend/.cache/go-build/72/72c981fba3a74f376d45d5f98ed1b7affa0e4bf673ff17f209119c17beac6f12-a @@ -0,0 +1 @@ +v1 72c981fba3a74f376d45d5f98ed1b7affa0e4bf673ff17f209119c17beac6f12 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043635983968 diff --git a/backend/.cache/go-build/72/72ef89b3ce28a9268d8494dc995a7076208c0c137424834b70b1e2f63b2bd849-a b/backend/.cache/go-build/72/72ef89b3ce28a9268d8494dc995a7076208c0c137424834b70b1e2f63b2bd849-a new file mode 100644 index 0000000..4a89324 --- /dev/null +++ b/backend/.cache/go-build/72/72ef89b3ce28a9268d8494dc995a7076208c0c137424834b70b1e2f63b2bd849-a @@ -0,0 +1 @@ +v1 72ef89b3ce28a9268d8494dc995a7076208c0c137424834b70b1e2f63b2bd849 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044037082736 diff --git a/backend/.cache/go-build/73/73a29754e29b037c346386597529ca7ff2b16cb6404f321e07da19a78e1de457-a b/backend/.cache/go-build/73/73a29754e29b037c346386597529ca7ff2b16cb6404f321e07da19a78e1de457-a new file mode 100644 index 0000000..1483aaf --- /dev/null +++ b/backend/.cache/go-build/73/73a29754e29b037c346386597529ca7ff2b16cb6404f321e07da19a78e1de457-a @@ -0,0 +1 @@ +v1 73a29754e29b037c346386597529ca7ff2b16cb6404f321e07da19a78e1de457 b63afbe88fe9459dd9bb6a533be16e9e0602a34fdc757da21e9c925a0b09b046 609 1769060041931983276 diff --git a/backend/.cache/go-build/73/73b02b74b7027cfaa1927871b4b6c28f205efb4a194a7b6fdfdc7f691142e439-d b/backend/.cache/go-build/73/73b02b74b7027cfaa1927871b4b6c28f205efb4a194a7b6fdfdc7f691142e439-d new file mode 100644 index 0000000..060ee15 Binary files /dev/null and b/backend/.cache/go-build/73/73b02b74b7027cfaa1927871b4b6c28f205efb4a194a7b6fdfdc7f691142e439-d differ diff --git a/backend/.cache/go-build/73/73da4db3a27e0f68902f139a590f8484b0a39682f98c26cb13b262f49474eeb8-d b/backend/.cache/go-build/73/73da4db3a27e0f68902f139a590f8484b0a39682f98c26cb13b262f49474eeb8-d new file mode 100644 index 0000000..2a974c9 --- /dev/null +++ b/backend/.cache/go-build/73/73da4db3a27e0f68902f139a590f8484b0a39682f98c26cb13b262f49474eeb8-d @@ -0,0 +1 @@ +./itoa.go diff --git a/backend/.cache/go-build/73/73eb93b21a0fc8d93a4dc54d1182a87a44ed4646ccf69cedab4f2045f9684a66-a b/backend/.cache/go-build/73/73eb93b21a0fc8d93a4dc54d1182a87a44ed4646ccf69cedab4f2045f9684a66-a new file mode 100644 index 0000000..e875a4f --- /dev/null +++ b/backend/.cache/go-build/73/73eb93b21a0fc8d93a4dc54d1182a87a44ed4646ccf69cedab4f2045f9684a66-a @@ -0,0 +1 @@ +v1 73eb93b21a0fc8d93a4dc54d1182a87a44ed4646ccf69cedab4f2045f9684a66 07c6a801052f3d210740a7f6a495649cbc25fb9c57f1885d4c44b4d1d96a2a1d 3010 1769060041922616358 diff --git a/backend/.cache/go-build/74/74d0648dd8a9c6b191f609c0515ecfff5096809866878ee7c4384436fc27f7ab-a b/backend/.cache/go-build/74/74d0648dd8a9c6b191f609c0515ecfff5096809866878ee7c4384436fc27f7ab-a new file mode 100644 index 0000000..0ec40cc --- /dev/null +++ b/backend/.cache/go-build/74/74d0648dd8a9c6b191f609c0515ecfff5096809866878ee7c4384436fc27f7ab-a @@ -0,0 +1 @@ +v1 74d0648dd8a9c6b191f609c0515ecfff5096809866878ee7c4384436fc27f7ab 0f57dbda1867ab405271f7a2b18db01bffe943f8f007122f0f9f13f5e7615bb6 19 1769060043639447418 diff --git a/backend/.cache/go-build/75/7559dc8d1bf0b63491badc8babfcc0ec73fc6850a4d5077d0b9686b0eed48f21-d b/backend/.cache/go-build/75/7559dc8d1bf0b63491badc8babfcc0ec73fc6850a4d5077d0b9686b0eed48f21-d new file mode 100644 index 0000000..21fe82a Binary files /dev/null and b/backend/.cache/go-build/75/7559dc8d1bf0b63491badc8babfcc0ec73fc6850a4d5077d0b9686b0eed48f21-d differ diff --git a/backend/.cache/go-build/75/75b0abea11d520f51d55b0c21303455855eb71cc0cb6a7eb073335fe8a929cd4-a b/backend/.cache/go-build/75/75b0abea11d520f51d55b0c21303455855eb71cc0cb6a7eb073335fe8a929cd4-a new file mode 100644 index 0000000..8296ac8 --- /dev/null +++ b/backend/.cache/go-build/75/75b0abea11d520f51d55b0c21303455855eb71cc0cb6a7eb073335fe8a929cd4-a @@ -0,0 +1 @@ +v1 75b0abea11d520f51d55b0c21303455855eb71cc0cb6a7eb073335fe8a929cd4 026ea4421214fcc424b21d42ac4a27aa52dcc9a54b0a628bf2df751e6f46bc81 150 1769060043838819396 diff --git a/backend/.cache/go-build/75/75d456e6054d5e975f77f0d78ea157815aa844d02f2250116d425703a64e0bd4-a b/backend/.cache/go-build/75/75d456e6054d5e975f77f0d78ea157815aa844d02f2250116d425703a64e0bd4-a new file mode 100644 index 0000000..4c5a373 --- /dev/null +++ b/backend/.cache/go-build/75/75d456e6054d5e975f77f0d78ea157815aa844d02f2250116d425703a64e0bd4-a @@ -0,0 +1 @@ +v1 75d456e6054d5e975f77f0d78ea157815aa844d02f2250116d425703a64e0bd4 e7dfd029f604a5821d79efea2094aaded4132d8e4f83ffa451ea91a8d15d05fd 2762 1769060041917786188 diff --git a/backend/.cache/go-build/76/7677161302c2447605879677263d57bc135f5df41bf8b8818c0c1cfd3f29dd55-d b/backend/.cache/go-build/76/7677161302c2447605879677263d57bc135f5df41bf8b8818c0c1cfd3f29dd55-d new file mode 100644 index 0000000..023c185 Binary files /dev/null and b/backend/.cache/go-build/76/7677161302c2447605879677263d57bc135f5df41bf8b8818c0c1cfd3f29dd55-d differ diff --git a/backend/.cache/go-build/76/76774c577f22c2f00095cc113bbc95194bb01620602ded2cda8da8513556b55d-a b/backend/.cache/go-build/76/76774c577f22c2f00095cc113bbc95194bb01620602ded2cda8da8513556b55d-a new file mode 100644 index 0000000..6d131f0 --- /dev/null +++ b/backend/.cache/go-build/76/76774c577f22c2f00095cc113bbc95194bb01620602ded2cda8da8513556b55d-a @@ -0,0 +1 @@ +v1 76774c577f22c2f00095cc113bbc95194bb01620602ded2cda8da8513556b55d 168bf4843c17caca6099ee6ad58f20ef6183009d7193c1980f4fdaf660dfe990 293 1769060041925605716 diff --git a/backend/.cache/go-build/76/7687cb6d855791664e6e8de17ba210cb6f5dea4b339915529e0c24fded470023-d b/backend/.cache/go-build/76/7687cb6d855791664e6e8de17ba210cb6f5dea4b339915529e0c24fded470023-d new file mode 100644 index 0000000..6718924 Binary files /dev/null and b/backend/.cache/go-build/76/7687cb6d855791664e6e8de17ba210cb6f5dea4b339915529e0c24fded470023-d differ diff --git a/backend/.cache/go-build/76/769ea666927f67b7be912a409f1456998accc617aabbca70511dd4b31646c0bb-a b/backend/.cache/go-build/76/769ea666927f67b7be912a409f1456998accc617aabbca70511dd4b31646c0bb-a new file mode 100644 index 0000000..5a6da55 --- /dev/null +++ b/backend/.cache/go-build/76/769ea666927f67b7be912a409f1456998accc617aabbca70511dd4b31646c0bb-a @@ -0,0 +1 @@ +v1 769ea666927f67b7be912a409f1456998accc617aabbca70511dd4b31646c0bb 71fd34c83df7f33039ae943e0a98aa74d025d9711c02532c6ab1dd120dec5ddc 270 1769060041925897491 diff --git a/backend/.cache/go-build/77/770a23ddc0d337a61735f153f37cff036a28a4ae6d3afbac307b855c20887d46-a b/backend/.cache/go-build/77/770a23ddc0d337a61735f153f37cff036a28a4ae6d3afbac307b855c20887d46-a new file mode 100644 index 0000000..8461552 --- /dev/null +++ b/backend/.cache/go-build/77/770a23ddc0d337a61735f153f37cff036a28a4ae6d3afbac307b855c20887d46-a @@ -0,0 +1 @@ +v1 770a23ddc0d337a61735f153f37cff036a28a4ae6d3afbac307b855c20887d46 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043649547967 diff --git a/backend/.cache/go-build/79/7906afa857a1fc068646a74caeb774bce6f90dd972ecf159999cf46078068406-a b/backend/.cache/go-build/79/7906afa857a1fc068646a74caeb774bce6f90dd972ecf159999cf46078068406-a new file mode 100644 index 0000000..561ca7e --- /dev/null +++ b/backend/.cache/go-build/79/7906afa857a1fc068646a74caeb774bce6f90dd972ecf159999cf46078068406-a @@ -0,0 +1 @@ +v1 7906afa857a1fc068646a74caeb774bce6f90dd972ecf159999cf46078068406 09800796d556365f71504e01cfca9afbe7a96de3fba63931e5cc649e87f02ebb 5056 1769060041912416898 diff --git a/backend/.cache/go-build/79/7951e538f1d4e7a386c85bf87877ec3824ff526bf84ffc2831e7d736c7e32326-a b/backend/.cache/go-build/79/7951e538f1d4e7a386c85bf87877ec3824ff526bf84ffc2831e7d736c7e32326-a new file mode 100644 index 0000000..d644fec --- /dev/null +++ b/backend/.cache/go-build/79/7951e538f1d4e7a386c85bf87877ec3824ff526bf84ffc2831e7d736c7e32326-a @@ -0,0 +1 @@ +v1 7951e538f1d4e7a386c85bf87877ec3824ff526bf84ffc2831e7d736c7e32326 6c597a24cd397e474130d66343bcc5c9e0ae249c10cca40a99fb3ef5387cc5e4 57486 1769060042002620734 diff --git a/backend/.cache/go-build/79/7972c5d1e232db247241d2d162ac54526db1a723c12b703cb9885a9025e49a50-a b/backend/.cache/go-build/79/7972c5d1e232db247241d2d162ac54526db1a723c12b703cb9885a9025e49a50-a new file mode 100644 index 0000000..117c198 --- /dev/null +++ b/backend/.cache/go-build/79/7972c5d1e232db247241d2d162ac54526db1a723c12b703cb9885a9025e49a50-a @@ -0,0 +1 @@ +v1 7972c5d1e232db247241d2d162ac54526db1a723c12b703cb9885a9025e49a50 3ec496f7e72d60d66b2915f3cf8975bb94b79c4d57e08c3f65fedf46eb5d0339 428 1769060041922669412 diff --git a/backend/.cache/go-build/79/79928469d39df8edd401c7d967bd52370c8ad557d9b7873f9de8bf5187dbd96f-d b/backend/.cache/go-build/79/79928469d39df8edd401c7d967bd52370c8ad557d9b7873f9de8bf5187dbd96f-d new file mode 100644 index 0000000..5ffc950 Binary files /dev/null and b/backend/.cache/go-build/79/79928469d39df8edd401c7d967bd52370c8ad557d9b7873f9de8bf5187dbd96f-d differ diff --git a/backend/.cache/go-build/79/79b74b0b80aced2ba209b8cc32acb04adc5857e31c9842b58ed067d2fedac221-a b/backend/.cache/go-build/79/79b74b0b80aced2ba209b8cc32acb04adc5857e31c9842b58ed067d2fedac221-a new file mode 100644 index 0000000..ab4db44 --- /dev/null +++ b/backend/.cache/go-build/79/79b74b0b80aced2ba209b8cc32acb04adc5857e31c9842b58ed067d2fedac221-a @@ -0,0 +1 @@ +v1 79b74b0b80aced2ba209b8cc32acb04adc5857e31c9842b58ed067d2fedac221 a84639538038346c553f9a183741ed3bae4c719e5222444eb3560f1c6804c8af 3499222 1769060044112367933 diff --git a/backend/.cache/go-build/79/79b8ab85e84eedcc9397b03b95357f10c29e44a261ad2863a41c2994c3c501c9-a b/backend/.cache/go-build/79/79b8ab85e84eedcc9397b03b95357f10c29e44a261ad2863a41c2994c3c501c9-a new file mode 100644 index 0000000..85e2c05 --- /dev/null +++ b/backend/.cache/go-build/79/79b8ab85e84eedcc9397b03b95357f10c29e44a261ad2863a41c2994c3c501c9-a @@ -0,0 +1 @@ +v1 79b8ab85e84eedcc9397b03b95357f10c29e44a261ad2863a41c2994c3c501c9 b9d5089e2539c218912dfc8feb44569aa220a5c0a0dd7b0752384cb443971010 490 1769060041971180298 diff --git a/backend/.cache/go-build/7a/7a1c44a11969b2cde317a86d8fd7d7c53d1a5e460fc5c40662561c747e816144-d b/backend/.cache/go-build/7a/7a1c44a11969b2cde317a86d8fd7d7c53d1a5e460fc5c40662561c747e816144-d new file mode 100644 index 0000000..f4a0db0 --- /dev/null +++ b/backend/.cache/go-build/7a/7a1c44a11969b2cde317a86d8fd7d7c53d1a5e460fc5c40662561c747e816144-d @@ -0,0 +1 @@ +./rtcov.go diff --git a/backend/.cache/go-build/7b/7b0156a193c38c13e7f024d75ce25d05b749d4e9055469482d6e3f8f52fa6002-d b/backend/.cache/go-build/7b/7b0156a193c38c13e7f024d75ce25d05b749d4e9055469482d6e3f8f52fa6002-d new file mode 100644 index 0000000..2ca84c8 Binary files /dev/null and b/backend/.cache/go-build/7b/7b0156a193c38c13e7f024d75ce25d05b749d4e9055469482d6e3f8f52fa6002-d differ diff --git a/backend/.cache/go-build/7b/7bca446a2f1f134ba12856db1c7690b5f4e9072275758379feac72e2785408c2-a b/backend/.cache/go-build/7b/7bca446a2f1f134ba12856db1c7690b5f4e9072275758379feac72e2785408c2-a new file mode 100644 index 0000000..03fea90 --- /dev/null +++ b/backend/.cache/go-build/7b/7bca446a2f1f134ba12856db1c7690b5f4e9072275758379feac72e2785408c2-a @@ -0,0 +1 @@ +v1 7bca446a2f1f134ba12856db1c7690b5f4e9072275758379feac72e2785408c2 dc5ae82c64ff95f0096d9b31f55433f7b27bb383e323d3e4be60d02b04d3f4ee 2473 1769060041932719707 diff --git a/backend/.cache/go-build/7c/7c0d8174ca922d4dbe00af71f04c4ea60cc2451cc21b37ed8dce7adefef8da0b-a b/backend/.cache/go-build/7c/7c0d8174ca922d4dbe00af71f04c4ea60cc2451cc21b37ed8dce7adefef8da0b-a new file mode 100644 index 0000000..bf0005b --- /dev/null +++ b/backend/.cache/go-build/7c/7c0d8174ca922d4dbe00af71f04c4ea60cc2451cc21b37ed8dce7adefef8da0b-a @@ -0,0 +1 @@ +v1 7c0d8174ca922d4dbe00af71f04c4ea60cc2451cc21b37ed8dce7adefef8da0b 29b051b653a394836f379f6d79fca8395d130465de3003fbacf8d3cf9396f976 32 1769060043636253827 diff --git a/backend/.cache/go-build/7c/7c17e595255eddb328cfd00c6fcc484d96260bd916d34585e21c15deecff7c63-d b/backend/.cache/go-build/7c/7c17e595255eddb328cfd00c6fcc484d96260bd916d34585e21c15deecff7c63-d new file mode 100644 index 0000000..45a19fc Binary files /dev/null and b/backend/.cache/go-build/7c/7c17e595255eddb328cfd00c6fcc484d96260bd916d34585e21c15deecff7c63-d differ diff --git a/backend/.cache/go-build/7c/7cccf0c80dd0006a54500c467a2017bb000bc8e633d2d728e9e956f8ef7be046-a b/backend/.cache/go-build/7c/7cccf0c80dd0006a54500c467a2017bb000bc8e633d2d728e9e956f8ef7be046-a new file mode 100644 index 0000000..fd8e933 --- /dev/null +++ b/backend/.cache/go-build/7c/7cccf0c80dd0006a54500c467a2017bb000bc8e633d2d728e9e956f8ef7be046-a @@ -0,0 +1 @@ +v1 7cccf0c80dd0006a54500c467a2017bb000bc8e633d2d728e9e956f8ef7be046 6eb6ebcf621b782f055565070a4f3c965cdaad2c2cf446a327b61a6989996359 2275 1769060041907727879 diff --git a/backend/.cache/go-build/7d/7d51dbe7df251c6fd071ebbe775f1ee34178ecc6e24e9a52b0806c34dbba2e47-d b/backend/.cache/go-build/7d/7d51dbe7df251c6fd071ebbe775f1ee34178ecc6e24e9a52b0806c34dbba2e47-d new file mode 100644 index 0000000..07ad59d Binary files /dev/null and b/backend/.cache/go-build/7d/7d51dbe7df251c6fd071ebbe775f1ee34178ecc6e24e9a52b0806c34dbba2e47-d differ diff --git a/backend/.cache/go-build/7d/7d91de2ca6eaebaf2a4e30ed41d4d34bc5aaf4b5bb1c5e64f1737356bef8d7ed-a b/backend/.cache/go-build/7d/7d91de2ca6eaebaf2a4e30ed41d4d34bc5aaf4b5bb1c5e64f1737356bef8d7ed-a new file mode 100644 index 0000000..9a3fb06 --- /dev/null +++ b/backend/.cache/go-build/7d/7d91de2ca6eaebaf2a4e30ed41d4d34bc5aaf4b5bb1c5e64f1737356bef8d7ed-a @@ -0,0 +1 @@ +v1 7d91de2ca6eaebaf2a4e30ed41d4d34bc5aaf4b5bb1c5e64f1737356bef8d7ed 7c17e595255eddb328cfd00c6fcc484d96260bd916d34585e21c15deecff7c63 1554 1769060041923396736 diff --git a/backend/.cache/go-build/7d/7dee88d5698bac64109eb5394eac3ef7399e35670289bdeaeb67e61d03957e22-a b/backend/.cache/go-build/7d/7dee88d5698bac64109eb5394eac3ef7399e35670289bdeaeb67e61d03957e22-a new file mode 100644 index 0000000..8b5ea5c --- /dev/null +++ b/backend/.cache/go-build/7d/7dee88d5698bac64109eb5394eac3ef7399e35670289bdeaeb67e61d03957e22-a @@ -0,0 +1 @@ +v1 7dee88d5698bac64109eb5394eac3ef7399e35670289bdeaeb67e61d03957e22 a240561f41fcf3a8ce04b3c2199f6d18cb3053bc37588c5609b6075cd85b6e58 558 1769060041926339061 diff --git a/backend/.cache/go-build/7e/7eee3228f332b1a10c65ef6f9239fdb70ebe8a71f5e4723aed8fc230e2d16e95-d b/backend/.cache/go-build/7e/7eee3228f332b1a10c65ef6f9239fdb70ebe8a71f5e4723aed8fc230e2d16e95-d new file mode 100644 index 0000000..be14e66 Binary files /dev/null and b/backend/.cache/go-build/7e/7eee3228f332b1a10c65ef6f9239fdb70ebe8a71f5e4723aed8fc230e2d16e95-d differ diff --git a/backend/.cache/go-build/7f/7fa9852d62d05370536f734ef048b6a4b902231988e18236b5d20fcb6909b2bd-a b/backend/.cache/go-build/7f/7fa9852d62d05370536f734ef048b6a4b902231988e18236b5d20fcb6909b2bd-a new file mode 100644 index 0000000..a5ab26f --- /dev/null +++ b/backend/.cache/go-build/7f/7fa9852d62d05370536f734ef048b6a4b902231988e18236b5d20fcb6909b2bd-a @@ -0,0 +1 @@ +v1 7fa9852d62d05370536f734ef048b6a4b902231988e18236b5d20fcb6909b2bd 8dee99f7780eb1d2751fee7554fec8345e620bd7f269b55af1dff13dea702e33 630 1769060041915046280 diff --git a/backend/.cache/go-build/80/80def79be339fe0c38629bb0575f6dbc83c49eaeb56b0ef37c0aabcbe0c165a1-a b/backend/.cache/go-build/80/80def79be339fe0c38629bb0575f6dbc83c49eaeb56b0ef37c0aabcbe0c165a1-a new file mode 100644 index 0000000..a3883e7 --- /dev/null +++ b/backend/.cache/go-build/80/80def79be339fe0c38629bb0575f6dbc83c49eaeb56b0ef37c0aabcbe0c165a1-a @@ -0,0 +1 @@ +v1 80def79be339fe0c38629bb0575f6dbc83c49eaeb56b0ef37c0aabcbe0c165a1 c9be72cc93c49bc0ee603a20e5684aba73b3e458cd6191365ee31d21e3785b9e 605 1769060041928012355 diff --git a/backend/.cache/go-build/80/80f03e2ab4ff75f971e50d716875894a88b718aa3e430672d367def4f2b87a77-d b/backend/.cache/go-build/80/80f03e2ab4ff75f971e50d716875894a88b718aa3e430672d367def4f2b87a77-d new file mode 100644 index 0000000..e07596d Binary files /dev/null and b/backend/.cache/go-build/80/80f03e2ab4ff75f971e50d716875894a88b718aa3e430672d367def4f2b87a77-d differ diff --git a/backend/.cache/go-build/81/816270dd1b32af0b5332007a781a93d5fdb19db299da9d5365a41462239bf596-d b/backend/.cache/go-build/81/816270dd1b32af0b5332007a781a93d5fdb19db299da9d5365a41462239bf596-d new file mode 100644 index 0000000..f6ac3f9 Binary files /dev/null and b/backend/.cache/go-build/81/816270dd1b32af0b5332007a781a93d5fdb19db299da9d5365a41462239bf596-d differ diff --git a/backend/.cache/go-build/81/818efc3bbbf0c8ed55a3d710939eeb933cc2f2dd6eb281f4ba9be786b9d4cd92-a b/backend/.cache/go-build/81/818efc3bbbf0c8ed55a3d710939eeb933cc2f2dd6eb281f4ba9be786b9d4cd92-a new file mode 100644 index 0000000..b0dd018 --- /dev/null +++ b/backend/.cache/go-build/81/818efc3bbbf0c8ed55a3d710939eeb933cc2f2dd6eb281f4ba9be786b9d4cd92-a @@ -0,0 +1 @@ +v1 818efc3bbbf0c8ed55a3d710939eeb933cc2f2dd6eb281f4ba9be786b9d4cd92 23446b7fe0929eafcf3aab1786c53dfb76840f440b877bffe98127556087c416 101 1769060041982131265 diff --git a/backend/.cache/go-build/81/819efba4a0d5f3c7d10da57039bfcea24ad2c77c1949ec44a817b2cb1a7496d1-a b/backend/.cache/go-build/81/819efba4a0d5f3c7d10da57039bfcea24ad2c77c1949ec44a817b2cb1a7496d1-a new file mode 100644 index 0000000..bc39e6c --- /dev/null +++ b/backend/.cache/go-build/81/819efba4a0d5f3c7d10da57039bfcea24ad2c77c1949ec44a817b2cb1a7496d1-a @@ -0,0 +1 @@ +v1 819efba4a0d5f3c7d10da57039bfcea24ad2c77c1949ec44a817b2cb1a7496d1 c57be060ec648dd4a30517536339520007a04ce752b67b40b55f54a1a7df76b5 10 1769060041981564123 diff --git a/backend/.cache/go-build/81/81c093a3ce9994a090846bb9cff2e80219a88564bf6296e0ba325383f7ed4e89-a b/backend/.cache/go-build/81/81c093a3ce9994a090846bb9cff2e80219a88564bf6296e0ba325383f7ed4e89-a new file mode 100644 index 0000000..21643cb --- /dev/null +++ b/backend/.cache/go-build/81/81c093a3ce9994a090846bb9cff2e80219a88564bf6296e0ba325383f7ed4e89-a @@ -0,0 +1 @@ +v1 81c093a3ce9994a090846bb9cff2e80219a88564bf6296e0ba325383f7ed4e89 ac57ad19089928936b519b340b504b628916d3245e6c56ce97a3e6c30680463a 1946 1769060041912373832 diff --git a/backend/.cache/go-build/81/81efa17e46780d467364fae0f2fd75dc66ec2652b4d38e7b3bfc50a19b6bf9e3-a b/backend/.cache/go-build/81/81efa17e46780d467364fae0f2fd75dc66ec2652b4d38e7b3bfc50a19b6bf9e3-a new file mode 100644 index 0000000..24fb70b --- /dev/null +++ b/backend/.cache/go-build/81/81efa17e46780d467364fae0f2fd75dc66ec2652b4d38e7b3bfc50a19b6bf9e3-a @@ -0,0 +1 @@ +v1 81efa17e46780d467364fae0f2fd75dc66ec2652b4d38e7b3bfc50a19b6bf9e3 d6a214d3dca72e3657a986fb59ab4dc30769cc4cbaf3f2d9591d1e22545b7d98 345 1769060041898264788 diff --git a/backend/.cache/go-build/82/82b82894796089eae3add24f8f5e566bf3020c03ba888702518f08921c04c97d-d b/backend/.cache/go-build/82/82b82894796089eae3add24f8f5e566bf3020c03ba888702518f08921c04c97d-d new file mode 100644 index 0000000..9bc1f3a Binary files /dev/null and b/backend/.cache/go-build/82/82b82894796089eae3add24f8f5e566bf3020c03ba888702518f08921c04c97d-d differ diff --git a/backend/.cache/go-build/83/834cdeb5efd07a986c1412a7307d9e36c25f66fea30634435e3effc9d633278c-a b/backend/.cache/go-build/83/834cdeb5efd07a986c1412a7307d9e36c25f66fea30634435e3effc9d633278c-a new file mode 100644 index 0000000..ffedad6 --- /dev/null +++ b/backend/.cache/go-build/83/834cdeb5efd07a986c1412a7307d9e36c25f66fea30634435e3effc9d633278c-a @@ -0,0 +1 @@ +v1 834cdeb5efd07a986c1412a7307d9e36c25f66fea30634435e3effc9d633278c 3ac02d0fc03ffb7f337c31d885ff93620ffb317b8ee8c99e8c5d6f86b9c77824 4234 1769060041926343799 diff --git a/backend/.cache/go-build/83/83d585be08eeb4609886111e6db22301da723c7135dbb1c908dbf19786214ea5-a b/backend/.cache/go-build/83/83d585be08eeb4609886111e6db22301da723c7135dbb1c908dbf19786214ea5-a new file mode 100644 index 0000000..80374df --- /dev/null +++ b/backend/.cache/go-build/83/83d585be08eeb4609886111e6db22301da723c7135dbb1c908dbf19786214ea5-a @@ -0,0 +1 @@ +v1 83d585be08eeb4609886111e6db22301da723c7135dbb1c908dbf19786214ea5 643a241aad704964ab797f92ae0b5ffb70d727dee6c13e059be7d7dac8260ef2 1774 1769060041911021243 diff --git a/backend/.cache/go-build/84/84f13dc9bd20d3388b4f60bf98ba697b516003393f6ff3efa2335a2f76494bfa-a b/backend/.cache/go-build/84/84f13dc9bd20d3388b4f60bf98ba697b516003393f6ff3efa2335a2f76494bfa-a new file mode 100644 index 0000000..a23834b --- /dev/null +++ b/backend/.cache/go-build/84/84f13dc9bd20d3388b4f60bf98ba697b516003393f6ff3efa2335a2f76494bfa-a @@ -0,0 +1 @@ +v1 84f13dc9bd20d3388b4f60bf98ba697b516003393f6ff3efa2335a2f76494bfa c530829087b560bc7d13e1a37079d0d52b1163c983ae901b07ae9752e2fae944 660 1769060041923053680 diff --git a/backend/.cache/go-build/85/856a594a5ff33a98f97d7a1df62e8525a16603e41efb6aeb4c65080c98b36866-d b/backend/.cache/go-build/85/856a594a5ff33a98f97d7a1df62e8525a16603e41efb6aeb4c65080c98b36866-d new file mode 100644 index 0000000..88909da Binary files /dev/null and b/backend/.cache/go-build/85/856a594a5ff33a98f97d7a1df62e8525a16603e41efb6aeb4c65080c98b36866-d differ diff --git a/backend/.cache/go-build/85/85965298f4ed575b49321c23126ac30af4071e8e6389cfe123bad19324666c31-d b/backend/.cache/go-build/85/85965298f4ed575b49321c23126ac30af4071e8e6389cfe123bad19324666c31-d new file mode 100644 index 0000000..a3c651d Binary files /dev/null and b/backend/.cache/go-build/85/85965298f4ed575b49321c23126ac30af4071e8e6389cfe123bad19324666c31-d differ diff --git a/backend/.cache/go-build/86/861586773a505817adbf9a6a4ee6d7e40b41e59a7d00ce7e36f129c96c425f3f-d b/backend/.cache/go-build/86/861586773a505817adbf9a6a4ee6d7e40b41e59a7d00ce7e36f129c96c425f3f-d new file mode 100644 index 0000000..870622d Binary files /dev/null and b/backend/.cache/go-build/86/861586773a505817adbf9a6a4ee6d7e40b41e59a7d00ce7e36f129c96c425f3f-d differ diff --git a/backend/.cache/go-build/86/8661b61cb0dd8483007b0e132ab3db06c9244f108a8971b33c686c449a479626-a b/backend/.cache/go-build/86/8661b61cb0dd8483007b0e132ab3db06c9244f108a8971b33c686c449a479626-a new file mode 100644 index 0000000..5ad57ba --- /dev/null +++ b/backend/.cache/go-build/86/8661b61cb0dd8483007b0e132ab3db06c9244f108a8971b33c686c449a479626-a @@ -0,0 +1 @@ +v1 8661b61cb0dd8483007b0e132ab3db06c9244f108a8971b33c686c449a479626 eac7e7da15a37795425fcc6752205fc450b442725b2fbffa54d67d68922a1aae 10 1769060043572337036 diff --git a/backend/.cache/go-build/87/87bfd0d96055ebb74d7e55c30790487f5c60f19c6e1e141b424442e9e42c92ed-d b/backend/.cache/go-build/87/87bfd0d96055ebb74d7e55c30790487f5c60f19c6e1e141b424442e9e42c92ed-d new file mode 100644 index 0000000..888aa86 Binary files /dev/null and b/backend/.cache/go-build/87/87bfd0d96055ebb74d7e55c30790487f5c60f19c6e1e141b424442e9e42c92ed-d differ diff --git a/backend/.cache/go-build/88/8833a0a44a99d3afd5bf24d72be49941594241d7f34d7165742892d4210eb5ab-a b/backend/.cache/go-build/88/8833a0a44a99d3afd5bf24d72be49941594241d7f34d7165742892d4210eb5ab-a new file mode 100644 index 0000000..26a7d0e --- /dev/null +++ b/backend/.cache/go-build/88/8833a0a44a99d3afd5bf24d72be49941594241d7f34d7165742892d4210eb5ab-a @@ -0,0 +1 @@ +v1 8833a0a44a99d3afd5bf24d72be49941594241d7f34d7165742892d4210eb5ab 18fcbb5e7732e82716fb7616178bb43c1424d0407228d3d5c6991de0cc4f6446 664 1769060041923261237 diff --git a/backend/.cache/go-build/88/88bae129dbd84efaff771d3f0a6c89ba766d9ad5031ff9bed836cd959f9324c7-a b/backend/.cache/go-build/88/88bae129dbd84efaff771d3f0a6c89ba766d9ad5031ff9bed836cd959f9324c7-a new file mode 100644 index 0000000..5c895b3 --- /dev/null +++ b/backend/.cache/go-build/88/88bae129dbd84efaff771d3f0a6c89ba766d9ad5031ff9bed836cd959f9324c7-a @@ -0,0 +1 @@ +v1 88bae129dbd84efaff771d3f0a6c89ba766d9ad5031ff9bed836cd959f9324c7 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042006476421 diff --git a/backend/.cache/go-build/88/88ff1992f7ea5697a97f06676e1be0806ef92a6ad27744eb0db3d32b035f1615-d b/backend/.cache/go-build/88/88ff1992f7ea5697a97f06676e1be0806ef92a6ad27744eb0db3d32b035f1615-d new file mode 100644 index 0000000..60c2fdb Binary files /dev/null and b/backend/.cache/go-build/88/88ff1992f7ea5697a97f06676e1be0806ef92a6ad27744eb0db3d32b035f1615-d differ diff --git a/backend/.cache/go-build/89/89113f82f8e9bf36164ea2c6dd4cc241ae18e75ac152cc8ab564896f5080f42a-d b/backend/.cache/go-build/89/89113f82f8e9bf36164ea2c6dd4cc241ae18e75ac152cc8ab564896f5080f42a-d new file mode 100644 index 0000000..526261d Binary files /dev/null and b/backend/.cache/go-build/89/89113f82f8e9bf36164ea2c6dd4cc241ae18e75ac152cc8ab564896f5080f42a-d differ diff --git a/backend/.cache/go-build/89/8929bc32c0797c8e5c643d7041c3e141fb2cff260187d75abbe70eac36828fa2-a b/backend/.cache/go-build/89/8929bc32c0797c8e5c643d7041c3e141fb2cff260187d75abbe70eac36828fa2-a new file mode 100644 index 0000000..dad5e81 --- /dev/null +++ b/backend/.cache/go-build/89/8929bc32c0797c8e5c643d7041c3e141fb2cff260187d75abbe70eac36828fa2-a @@ -0,0 +1 @@ +v1 8929bc32c0797c8e5c643d7041c3e141fb2cff260187d75abbe70eac36828fa2 d5b2d136421672d995e3b55d22c79976e7cf00eacc43c6644dd915da2b507d24 929246 1769060043639004962 diff --git a/backend/.cache/go-build/89/895c7c399c09275d4166da8db975662c97b79ba5589b846c2145b4c46763a941-a b/backend/.cache/go-build/89/895c7c399c09275d4166da8db975662c97b79ba5589b846c2145b4c46763a941-a new file mode 100644 index 0000000..eeefa67 --- /dev/null +++ b/backend/.cache/go-build/89/895c7c399c09275d4166da8db975662c97b79ba5589b846c2145b4c46763a941-a @@ -0,0 +1 @@ +v1 895c7c399c09275d4166da8db975662c97b79ba5589b846c2145b4c46763a941 7d51dbe7df251c6fd071ebbe775f1ee34178ecc6e24e9a52b0806c34dbba2e47 4520 1769060041982682769 diff --git a/backend/.cache/go-build/8a/8a2d8552af925dbc658cd2e8445cd3be744d26d8fcca384b84306aa91704ee81-a b/backend/.cache/go-build/8a/8a2d8552af925dbc658cd2e8445cd3be744d26d8fcca384b84306aa91704ee81-a new file mode 100644 index 0000000..c868e60 --- /dev/null +++ b/backend/.cache/go-build/8a/8a2d8552af925dbc658cd2e8445cd3be744d26d8fcca384b84306aa91704ee81-a @@ -0,0 +1 @@ +v1 8a2d8552af925dbc658cd2e8445cd3be744d26d8fcca384b84306aa91704ee81 dabca84c9c1374e4b7f01a2bb0c4015b47c5eb7a98c879876f625c50eea41c16 609 1769060041911341198 diff --git a/backend/.cache/go-build/8a/8a954e626e68cf399572a192a674bdf3b9ead6a5cb742bd4ded3632d8850b7a6-a b/backend/.cache/go-build/8a/8a954e626e68cf399572a192a674bdf3b9ead6a5cb742bd4ded3632d8850b7a6-a new file mode 100644 index 0000000..2a93378 --- /dev/null +++ b/backend/.cache/go-build/8a/8a954e626e68cf399572a192a674bdf3b9ead6a5cb742bd4ded3632d8850b7a6-a @@ -0,0 +1 @@ +v1 8a954e626e68cf399572a192a674bdf3b9ead6a5cb742bd4ded3632d8850b7a6 7eee3228f332b1a10c65ef6f9239fdb70ebe8a71f5e4723aed8fc230e2d16e95 945 1769060041916333272 diff --git a/backend/.cache/go-build/8b/8b013e6673f615f9811951b432d6b3d241ef8b1a2374b634f654d8fe84d897a3-d b/backend/.cache/go-build/8b/8b013e6673f615f9811951b432d6b3d241ef8b1a2374b634f654d8fe84d897a3-d new file mode 100644 index 0000000..ab338d8 Binary files /dev/null and b/backend/.cache/go-build/8b/8b013e6673f615f9811951b432d6b3d241ef8b1a2374b634f654d8fe84d897a3-d differ diff --git a/backend/.cache/go-build/8b/8b2d4ddbb255086264e484470253fb500a01bdc02a2afccabc8fb160129c0687-a b/backend/.cache/go-build/8b/8b2d4ddbb255086264e484470253fb500a01bdc02a2afccabc8fb160129c0687-a new file mode 100644 index 0000000..521f0ef --- /dev/null +++ b/backend/.cache/go-build/8b/8b2d4ddbb255086264e484470253fb500a01bdc02a2afccabc8fb160129c0687-a @@ -0,0 +1 @@ +v1 8b2d4ddbb255086264e484470253fb500a01bdc02a2afccabc8fb160129c0687 e2ec53a179588dc1a7612c70b7076cb39784510d89d9bf57ba256c48bd643ccc 13351 1769060041896221000 diff --git a/backend/.cache/go-build/8c/8c2e2d2d393048797bd5252eee7da921dd2237eea47ae836d082baff92d3caac-a b/backend/.cache/go-build/8c/8c2e2d2d393048797bd5252eee7da921dd2237eea47ae836d082baff92d3caac-a new file mode 100644 index 0000000..19abeaa --- /dev/null +++ b/backend/.cache/go-build/8c/8c2e2d2d393048797bd5252eee7da921dd2237eea47ae836d082baff92d3caac-a @@ -0,0 +1 @@ +v1 8c2e2d2d393048797bd5252eee7da921dd2237eea47ae836d082baff92d3caac 5532e6f6328ee940b33b0b200cfcd8ce1bffb92ce9af939105ea23865842620f 2347 1769060041926551536 diff --git a/backend/.cache/go-build/8c/8c634d0f01177bebe80d8ed882e3d149781ceb987d736ae9fa2f150ca4afa286-d b/backend/.cache/go-build/8c/8c634d0f01177bebe80d8ed882e3d149781ceb987d736ae9fa2f150ca4afa286-d new file mode 100644 index 0000000..3a9aa60 Binary files /dev/null and b/backend/.cache/go-build/8c/8c634d0f01177bebe80d8ed882e3d149781ceb987d736ae9fa2f150ca4afa286-d differ diff --git a/backend/.cache/go-build/8c/8c775b7dae9b8d3e47ed7f9dbc14bc43502c58fd9c71e87016ff38bd4a759edd-a b/backend/.cache/go-build/8c/8c775b7dae9b8d3e47ed7f9dbc14bc43502c58fd9c71e87016ff38bd4a759edd-a new file mode 100644 index 0000000..613e1c5 --- /dev/null +++ b/backend/.cache/go-build/8c/8c775b7dae9b8d3e47ed7f9dbc14bc43502c58fd9c71e87016ff38bd4a759edd-a @@ -0,0 +1 @@ +v1 8c775b7dae9b8d3e47ed7f9dbc14bc43502c58fd9c71e87016ff38bd4a759edd f4c0102a61d71623377babf3d0a4f4af574879443bdea50d0ad96d1e9a4f9ce8 920 1769060041915982373 diff --git a/backend/.cache/go-build/8c/8c881b9abf84ab67289d846ca8085f38dd7799875e198970ceda070818ebaf2e-d b/backend/.cache/go-build/8c/8c881b9abf84ab67289d846ca8085f38dd7799875e198970ceda070818ebaf2e-d new file mode 100644 index 0000000..50e630a Binary files /dev/null and b/backend/.cache/go-build/8c/8c881b9abf84ab67289d846ca8085f38dd7799875e198970ceda070818ebaf2e-d differ diff --git a/backend/.cache/go-build/8d/8d10e44c0fa9cbdebfbd8e01bae68d9a7242b716d1b231580fc45e83276f33b7-a b/backend/.cache/go-build/8d/8d10e44c0fa9cbdebfbd8e01bae68d9a7242b716d1b231580fc45e83276f33b7-a new file mode 100644 index 0000000..e526ad8 --- /dev/null +++ b/backend/.cache/go-build/8d/8d10e44c0fa9cbdebfbd8e01bae68d9a7242b716d1b231580fc45e83276f33b7-a @@ -0,0 +1 @@ +v1 8d10e44c0fa9cbdebfbd8e01bae68d9a7242b716d1b231580fc45e83276f33b7 b5d6aacd1e642a3fe1a395ea3d73d9706cd724d034b25cb8558ad2a5970ad235 270 1769060041916470725 diff --git a/backend/.cache/go-build/8d/8d209fb96d36df2d310945a355d8d8101e39eef228ed331787df33deba286d10-d b/backend/.cache/go-build/8d/8d209fb96d36df2d310945a355d8d8101e39eef228ed331787df33deba286d10-d new file mode 100644 index 0000000..bd849f8 Binary files /dev/null and b/backend/.cache/go-build/8d/8d209fb96d36df2d310945a355d8d8101e39eef228ed331787df33deba286d10-d differ diff --git a/backend/.cache/go-build/8d/8d85db46f8f571f3e84b874490d4bd5a861726e2b0dbf69b54cc7c1c1682a9b1-d b/backend/.cache/go-build/8d/8d85db46f8f571f3e84b874490d4bd5a861726e2b0dbf69b54cc7c1c1682a9b1-d new file mode 100644 index 0000000..d36533e Binary files /dev/null and b/backend/.cache/go-build/8d/8d85db46f8f571f3e84b874490d4bd5a861726e2b0dbf69b54cc7c1c1682a9b1-d differ diff --git a/backend/.cache/go-build/8d/8dac10de1bef16d32a18c3aa5d373986f47fbceb7b5526decbcc564d7378ea38-a b/backend/.cache/go-build/8d/8dac10de1bef16d32a18c3aa5d373986f47fbceb7b5526decbcc564d7378ea38-a new file mode 100644 index 0000000..8898b85 --- /dev/null +++ b/backend/.cache/go-build/8d/8dac10de1bef16d32a18c3aa5d373986f47fbceb7b5526decbcc564d7378ea38-a @@ -0,0 +1 @@ +v1 8dac10de1bef16d32a18c3aa5d373986f47fbceb7b5526decbcc564d7378ea38 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042082867640 diff --git a/backend/.cache/go-build/8d/8dee99f7780eb1d2751fee7554fec8345e620bd7f269b55af1dff13dea702e33-d b/backend/.cache/go-build/8d/8dee99f7780eb1d2751fee7554fec8345e620bd7f269b55af1dff13dea702e33-d new file mode 100644 index 0000000..30eb1bb Binary files /dev/null and b/backend/.cache/go-build/8d/8dee99f7780eb1d2751fee7554fec8345e620bd7f269b55af1dff13dea702e33-d differ diff --git a/backend/.cache/go-build/8e/8e4d02919b5e65cab23577d52487a152310a9dcb93a74f375d8b731ac0c47f76-d b/backend/.cache/go-build/8e/8e4d02919b5e65cab23577d52487a152310a9dcb93a74f375d8b731ac0c47f76-d new file mode 100644 index 0000000..28af819 Binary files /dev/null and b/backend/.cache/go-build/8e/8e4d02919b5e65cab23577d52487a152310a9dcb93a74f375d8b731ac0c47f76-d differ diff --git a/backend/.cache/go-build/8e/8ef0d44de81df1bb496d6f999c005ebfe9127b0168111ad6cefa690896674334-a b/backend/.cache/go-build/8e/8ef0d44de81df1bb496d6f999c005ebfe9127b0168111ad6cefa690896674334-a new file mode 100644 index 0000000..0fc2431 --- /dev/null +++ b/backend/.cache/go-build/8e/8ef0d44de81df1bb496d6f999c005ebfe9127b0168111ad6cefa690896674334-a @@ -0,0 +1 @@ +v1 8ef0d44de81df1bb496d6f999c005ebfe9127b0168111ad6cefa690896674334 c21c44e86262809cbece8652cc385f33e9e8a259951b0719743691a7ec80a9b8 456122 1769060042066686963 diff --git a/backend/.cache/go-build/8f/8f06fd66756cee763e2edae8cefb552928216c3f0f0acdeb03188a7e9382dc8e-a b/backend/.cache/go-build/8f/8f06fd66756cee763e2edae8cefb552928216c3f0f0acdeb03188a7e9382dc8e-a new file mode 100644 index 0000000..9a55a21 --- /dev/null +++ b/backend/.cache/go-build/8f/8f06fd66756cee763e2edae8cefb552928216c3f0f0acdeb03188a7e9382dc8e-a @@ -0,0 +1 @@ +v1 8f06fd66756cee763e2edae8cefb552928216c3f0f0acdeb03188a7e9382dc8e 8c881b9abf84ab67289d846ca8085f38dd7799875e198970ceda070818ebaf2e 70446 1769060043595159157 diff --git a/backend/.cache/go-build/8f/8fe921b6b0f2f1bf95e386c571af716e54aade4ff9784351c2b62de429e48720-a b/backend/.cache/go-build/8f/8fe921b6b0f2f1bf95e386c571af716e54aade4ff9784351c2b62de429e48720-a new file mode 100644 index 0000000..8a95bd7 --- /dev/null +++ b/backend/.cache/go-build/8f/8fe921b6b0f2f1bf95e386c571af716e54aade4ff9784351c2b62de429e48720-a @@ -0,0 +1 @@ +v1 8fe921b6b0f2f1bf95e386c571af716e54aade4ff9784351c2b62de429e48720 b6c52172db8c61e7b50bff25d1fd1c5e584958e065e5a85ffc4438c33e194a2d 583752 1769060043636057619 diff --git a/backend/.cache/go-build/90/9015523ea515d1ad270025b90fca3cff5543080db4b7c85c8dbea5945b22b9c0-d b/backend/.cache/go-build/90/9015523ea515d1ad270025b90fca3cff5543080db4b7c85c8dbea5945b22b9c0-d new file mode 100644 index 0000000..a795e95 Binary files /dev/null and b/backend/.cache/go-build/90/9015523ea515d1ad270025b90fca3cff5543080db4b7c85c8dbea5945b22b9c0-d differ diff --git a/backend/.cache/go-build/90/901a115bbb89bb5c3042c15bebc8ae38a3ab053486a8bface4a3aff532db432a-d b/backend/.cache/go-build/90/901a115bbb89bb5c3042c15bebc8ae38a3ab053486a8bface4a3aff532db432a-d new file mode 100644 index 0000000..45a7d56 --- /dev/null +++ b/backend/.cache/go-build/90/901a115bbb89bb5c3042c15bebc8ae38a3ab053486a8bface4a3aff532db432a-d @@ -0,0 +1,5 @@ +./casetables.go +./digit.go +./graphic.go +./letter.go +./tables.go diff --git a/backend/.cache/go-build/90/905730550d6b59781ea2b4d064bef77a1b14411c7eb6d0fda3e0a369b6593046-d b/backend/.cache/go-build/90/905730550d6b59781ea2b4d064bef77a1b14411c7eb6d0fda3e0a369b6593046-d new file mode 100644 index 0000000..c55e4b5 Binary files /dev/null and b/backend/.cache/go-build/90/905730550d6b59781ea2b4d064bef77a1b14411c7eb6d0fda3e0a369b6593046-d differ diff --git a/backend/.cache/go-build/91/913561aad2a24af3c08b2982ba5aa0edaff00d59a6edab084c4b272a1d789c7c-a b/backend/.cache/go-build/91/913561aad2a24af3c08b2982ba5aa0edaff00d59a6edab084c4b272a1d789c7c-a new file mode 100644 index 0000000..dac8725 --- /dev/null +++ b/backend/.cache/go-build/91/913561aad2a24af3c08b2982ba5aa0edaff00d59a6edab084c4b272a1d789c7c-a @@ -0,0 +1 @@ +v1 913561aad2a24af3c08b2982ba5aa0edaff00d59a6edab084c4b272a1d789c7c bdd04e3a366e629cb5ed4390fb3f578821197ee148d9d1d5886652f85119322f 336 1769060041925549336 diff --git a/backend/.cache/go-build/91/9187723088bfa0a5164105e8b3118d8a97b82620e98b599312567f97c7daf79e-d b/backend/.cache/go-build/91/9187723088bfa0a5164105e8b3118d8a97b82620e98b599312567f97c7daf79e-d new file mode 100644 index 0000000..6c505b6 Binary files /dev/null and b/backend/.cache/go-build/91/9187723088bfa0a5164105e8b3118d8a97b82620e98b599312567f97c7daf79e-d differ diff --git a/backend/.cache/go-build/92/9241a3ff73c970f690294ef21f4a0f4363873d369312cb683fc4763f2b3326ba-d b/backend/.cache/go-build/92/9241a3ff73c970f690294ef21f4a0f4363873d369312cb683fc4763f2b3326ba-d new file mode 100644 index 0000000..5570b07 Binary files /dev/null and b/backend/.cache/go-build/92/9241a3ff73c970f690294ef21f4a0f4363873d369312cb683fc4763f2b3326ba-d differ diff --git a/backend/.cache/go-build/92/927082ad8c2b91a6388f261b3cafa0624a29bdff0121077281a06bc4298e80d9-d b/backend/.cache/go-build/92/927082ad8c2b91a6388f261b3cafa0624a29bdff0121077281a06bc4298e80d9-d new file mode 100644 index 0000000..33f6908 Binary files /dev/null and b/backend/.cache/go-build/92/927082ad8c2b91a6388f261b3cafa0624a29bdff0121077281a06bc4298e80d9-d differ diff --git a/backend/.cache/go-build/92/9283a666b64a670d71ee0e5bf895b369abfd02ab60b1ea809c3ea93df8f986ad-a b/backend/.cache/go-build/92/9283a666b64a670d71ee0e5bf895b369abfd02ab60b1ea809c3ea93df8f986ad-a new file mode 100644 index 0000000..cf83328 --- /dev/null +++ b/backend/.cache/go-build/92/9283a666b64a670d71ee0e5bf895b369abfd02ab60b1ea809c3ea93df8f986ad-a @@ -0,0 +1 @@ +v1 9283a666b64a670d71ee0e5bf895b369abfd02ab60b1ea809c3ea93df8f986ad 5f92fe075de9e839c9b482ad657215aad6326aef26a8493bee8dc9d9539ef8f1 50 1769060041982166587 diff --git a/backend/.cache/go-build/92/92b7c93c47d6f34284cc25e36e966a5abd3e8db0a3127dd1694a5ae1811036e9-a b/backend/.cache/go-build/92/92b7c93c47d6f34284cc25e36e966a5abd3e8db0a3127dd1694a5ae1811036e9-a new file mode 100644 index 0000000..4a29aca --- /dev/null +++ b/backend/.cache/go-build/92/92b7c93c47d6f34284cc25e36e966a5abd3e8db0a3127dd1694a5ae1811036e9-a @@ -0,0 +1 @@ +v1 92b7c93c47d6f34284cc25e36e966a5abd3e8db0a3127dd1694a5ae1811036e9 64197fd76f590fb7a56afce675ee9e35d2c23d6b994d0730e861f751a50e2277 2778 1769060041916275320 diff --git a/backend/.cache/go-build/93/9308bcfe12c46f8dca691d4990134eec7d00eeabf310eb38b1ec94c75bf3c140-a b/backend/.cache/go-build/93/9308bcfe12c46f8dca691d4990134eec7d00eeabf310eb38b1ec94c75bf3c140-a new file mode 100644 index 0000000..3f713ed --- /dev/null +++ b/backend/.cache/go-build/93/9308bcfe12c46f8dca691d4990134eec7d00eeabf310eb38b1ec94c75bf3c140-a @@ -0,0 +1 @@ +v1 9308bcfe12c46f8dca691d4990134eec7d00eeabf310eb38b1ec94c75bf3c140 126fc5a5a9d1abf7cdc238fdc029424d0e65105122bc2824cb5d120a05688e32 846 1769060041922298787 diff --git a/backend/.cache/go-build/94/94bf59a866ee93a98ab996ecd325c22da17dd9046bcc7b35050be58a65109a01-d b/backend/.cache/go-build/94/94bf59a866ee93a98ab996ecd325c22da17dd9046bcc7b35050be58a65109a01-d new file mode 100644 index 0000000..b690e94 Binary files /dev/null and b/backend/.cache/go-build/94/94bf59a866ee93a98ab996ecd325c22da17dd9046bcc7b35050be58a65109a01-d differ diff --git a/backend/.cache/go-build/94/94c8898a0afe701ff2458b8b85f3b8cfcb04dfd31b4df95f815d80500b2cd1d1-a b/backend/.cache/go-build/94/94c8898a0afe701ff2458b8b85f3b8cfcb04dfd31b4df95f815d80500b2cd1d1-a new file mode 100644 index 0000000..fbbf5f9 --- /dev/null +++ b/backend/.cache/go-build/94/94c8898a0afe701ff2458b8b85f3b8cfcb04dfd31b4df95f815d80500b2cd1d1-a @@ -0,0 +1 @@ +v1 94c8898a0afe701ff2458b8b85f3b8cfcb04dfd31b4df95f815d80500b2cd1d1 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041985685140 diff --git a/backend/.cache/go-build/94/94e00f95f4ae850bf396e18feea5266f611c0f8d19c35fe7fbd5ffe9e3a1ffdc-a b/backend/.cache/go-build/94/94e00f95f4ae850bf396e18feea5266f611c0f8d19c35fe7fbd5ffe9e3a1ffdc-a new file mode 100644 index 0000000..c84f149 --- /dev/null +++ b/backend/.cache/go-build/94/94e00f95f4ae850bf396e18feea5266f611c0f8d19c35fe7fbd5ffe9e3a1ffdc-a @@ -0,0 +1 @@ +v1 94e00f95f4ae850bf396e18feea5266f611c0f8d19c35fe7fbd5ffe9e3a1ffdc 8c634d0f01177bebe80d8ed882e3d149781ceb987d736ae9fa2f150ca4afa286 1780718 1769060043838359439 diff --git a/backend/.cache/go-build/95/9586863457df78f922359f2a23d219bd979989ca92239ea2ec3a8d1c042d4706-a b/backend/.cache/go-build/95/9586863457df78f922359f2a23d219bd979989ca92239ea2ec3a8d1c042d4706-a new file mode 100644 index 0000000..6df79f6 --- /dev/null +++ b/backend/.cache/go-build/95/9586863457df78f922359f2a23d219bd979989ca92239ea2ec3a8d1c042d4706-a @@ -0,0 +1 @@ +v1 9586863457df78f922359f2a23d219bd979989ca92239ea2ec3a8d1c042d4706 f83e6ca56311abd625491eb27a8343230b53038f64897ef76a1fd42a3df6a883 2024 1769060041901070183 diff --git a/backend/.cache/go-build/95/95d49a012efaaddda40a5a003dd7691941aba50033bf7d6c5ff6a3315b890308-d b/backend/.cache/go-build/95/95d49a012efaaddda40a5a003dd7691941aba50033bf7d6c5ff6a3315b890308-d new file mode 100644 index 0000000..7da9ff8 --- /dev/null +++ b/backend/.cache/go-build/95/95d49a012efaaddda40a5a003dd7691941aba50033bf7d6c5ff6a3315b890308-d @@ -0,0 +1,14 @@ +./atob.go +./atoc.go +./atof.go +./atoi.go +./bytealg.go +./ctoa.go +./decimal.go +./doc.go +./eisel_lemire.go +./ftoa.go +./ftoaryu.go +./isprint.go +./itoa.go +./quote.go diff --git a/backend/.cache/go-build/96/9602c1a26bb99e9f96c6d891d477eec7cf2ea2aa75b0c8dbe503c5c07065f3f9-a b/backend/.cache/go-build/96/9602c1a26bb99e9f96c6d891d477eec7cf2ea2aa75b0c8dbe503c5c07065f3f9-a new file mode 100644 index 0000000..4d3337a --- /dev/null +++ b/backend/.cache/go-build/96/9602c1a26bb99e9f96c6d891d477eec7cf2ea2aa75b0c8dbe503c5c07065f3f9-a @@ -0,0 +1 @@ +v1 9602c1a26bb99e9f96c6d891d477eec7cf2ea2aa75b0c8dbe503c5c07065f3f9 21179484af6877add9aad95064538f4706f7c6239f693236a875838ed689c483 4834 1769060041925281684 diff --git a/backend/.cache/go-build/96/967fb408048b4fdbd0ccf387aabf3f907ea4e65450afd0bf7822c01f40a04aec-a b/backend/.cache/go-build/96/967fb408048b4fdbd0ccf387aabf3f907ea4e65450afd0bf7822c01f40a04aec-a new file mode 100644 index 0000000..bb93a4b --- /dev/null +++ b/backend/.cache/go-build/96/967fb408048b4fdbd0ccf387aabf3f907ea4e65450afd0bf7822c01f40a04aec-a @@ -0,0 +1 @@ +v1 967fb408048b4fdbd0ccf387aabf3f907ea4e65450afd0bf7822c01f40a04aec 0228e8c8f89db1a322d617e46969cef886b9a0ebea8b462907df092f9339a73c 251 1769060041909841270 diff --git a/backend/.cache/go-build/96/96f116f5818b98c70f2b5d06b77215d8dea8d4381cb293fba1f474f8c3871226-d b/backend/.cache/go-build/96/96f116f5818b98c70f2b5d06b77215d8dea8d4381cb293fba1f474f8c3871226-d new file mode 100644 index 0000000..b6dc19f Binary files /dev/null and b/backend/.cache/go-build/96/96f116f5818b98c70f2b5d06b77215d8dea8d4381cb293fba1f474f8c3871226-d differ diff --git a/backend/.cache/go-build/97/9717610ded7a7cbfe3dc3e894b78ff7cc8adb53492929eeeb478313c9a22bdec-d b/backend/.cache/go-build/97/9717610ded7a7cbfe3dc3e894b78ff7cc8adb53492929eeeb478313c9a22bdec-d new file mode 100644 index 0000000..c44a72f Binary files /dev/null and b/backend/.cache/go-build/97/9717610ded7a7cbfe3dc3e894b78ff7cc8adb53492929eeeb478313c9a22bdec-d differ diff --git a/backend/.cache/go-build/97/97e54257bef342dbe39619e0b8251975507a78512ae14bed4b653fdeb19b58e0-d b/backend/.cache/go-build/97/97e54257bef342dbe39619e0b8251975507a78512ae14bed4b653fdeb19b58e0-d new file mode 100644 index 0000000..37527d8 Binary files /dev/null and b/backend/.cache/go-build/97/97e54257bef342dbe39619e0b8251975507a78512ae14bed4b653fdeb19b58e0-d differ diff --git a/backend/.cache/go-build/98/98b8ab8430a6d18b6f0a0d3a7261266c00fa4a8d06119ee1c9f6a125ff3cf4a8-d b/backend/.cache/go-build/98/98b8ab8430a6d18b6f0a0d3a7261266c00fa4a8d06119ee1c9f6a125ff3cf4a8-d new file mode 100644 index 0000000..77d323a --- /dev/null +++ b/backend/.cache/go-build/98/98b8ab8430a6d18b6f0a0d3a7261266c00fa4a8d06119ee1c9f6a125ff3cf4a8-d @@ -0,0 +1,3 @@ +./hashtriemap.go +./mutex.go +./runtime.go diff --git a/backend/.cache/go-build/99/99c903c63f181be2f81fca671e7349d486e8b0ba974047127cef052d14cbb942-a b/backend/.cache/go-build/99/99c903c63f181be2f81fca671e7349d486e8b0ba974047127cef052d14cbb942-a new file mode 100644 index 0000000..4f5fc35 --- /dev/null +++ b/backend/.cache/go-build/99/99c903c63f181be2f81fca671e7349d486e8b0ba974047127cef052d14cbb942-a @@ -0,0 +1 @@ +v1 99c903c63f181be2f81fca671e7349d486e8b0ba974047127cef052d14cbb942 0f4d21393f4fd62b245bb23b43dfb311a4aa4f422a501da78fce8db721267ebd 839 1769060041918815926 diff --git a/backend/.cache/go-build/9b/9b906cdd5e22f6f9810746e3352813eb3a68b00d8b6a889eb1fd8ba9042f1c74-d b/backend/.cache/go-build/9b/9b906cdd5e22f6f9810746e3352813eb3a68b00d8b6a889eb1fd8ba9042f1c74-d new file mode 100644 index 0000000..23d7517 Binary files /dev/null and b/backend/.cache/go-build/9b/9b906cdd5e22f6f9810746e3352813eb3a68b00d8b6a889eb1fd8ba9042f1c74-d differ diff --git a/backend/.cache/go-build/9b/9bed7a4cbd6441d68028c94bb035ef7804014885fc7ad37a12525d67185842ba-a b/backend/.cache/go-build/9b/9bed7a4cbd6441d68028c94bb035ef7804014885fc7ad37a12525d67185842ba-a new file mode 100644 index 0000000..60e5059 --- /dev/null +++ b/backend/.cache/go-build/9b/9bed7a4cbd6441d68028c94bb035ef7804014885fc7ad37a12525d67185842ba-a @@ -0,0 +1 @@ +v1 9bed7a4cbd6441d68028c94bb035ef7804014885fc7ad37a12525d67185842ba b7071d99471aa835fe2ac8d33e8e89155704523838bc741a6ac7ff53281d43e4 8691 1769060041959528875 diff --git a/backend/.cache/go-build/9c/9cb59405682d185cb85345fff7383c4ef1537f57ddd5fb205cc7f201f57e424f-a b/backend/.cache/go-build/9c/9cb59405682d185cb85345fff7383c4ef1537f57ddd5fb205cc7f201f57e424f-a new file mode 100644 index 0000000..3ec61d7 --- /dev/null +++ b/backend/.cache/go-build/9c/9cb59405682d185cb85345fff7383c4ef1537f57ddd5fb205cc7f201f57e424f-a @@ -0,0 +1 @@ +v1 9cb59405682d185cb85345fff7383c4ef1537f57ddd5fb205cc7f201f57e424f 538356851d3fca635214203af446bd13ba6a6df8eb3be9bfca3c6d73fbd2945a 5001 1769060041915549158 diff --git a/backend/.cache/go-build/9c/9cde27f37a0d2dda83cce3a97ead1e2e5ff7ec3c5b011152a814beed2e66386b-a b/backend/.cache/go-build/9c/9cde27f37a0d2dda83cce3a97ead1e2e5ff7ec3c5b011152a814beed2e66386b-a new file mode 100644 index 0000000..f545dc0 --- /dev/null +++ b/backend/.cache/go-build/9c/9cde27f37a0d2dda83cce3a97ead1e2e5ff7ec3c5b011152a814beed2e66386b-a @@ -0,0 +1 @@ +v1 9cde27f37a0d2dda83cce3a97ead1e2e5ff7ec3c5b011152a814beed2e66386b 0969d8a7c6f4d18a09aa8fa2a34cde32eeb019a2cdab351553ffe93555424591 2565 1769060041918498656 diff --git a/backend/.cache/go-build/9d/9d695f1bf2e0e08463e1c5c8a312e8cbfa78ec2fd2f4c1cdd8ab694a4ed0ff35-a b/backend/.cache/go-build/9d/9d695f1bf2e0e08463e1c5c8a312e8cbfa78ec2fd2f4c1cdd8ab694a4ed0ff35-a new file mode 100644 index 0000000..f95c54c --- /dev/null +++ b/backend/.cache/go-build/9d/9d695f1bf2e0e08463e1c5c8a312e8cbfa78ec2fd2f4c1cdd8ab694a4ed0ff35-a @@ -0,0 +1 @@ +v1 9d695f1bf2e0e08463e1c5c8a312e8cbfa78ec2fd2f4c1cdd8ab694a4ed0ff35 6328c2c02879bf30ba69a337a0a20881c346c0268cb1c2bf56f19787b1513fbe 1616 1769060041906715772 diff --git a/backend/.cache/go-build/9e/9e068d52fbdd3fb259810d8c9f38db53ef7a18d2a11dab5bfea542b354a1a4b2-a b/backend/.cache/go-build/9e/9e068d52fbdd3fb259810d8c9f38db53ef7a18d2a11dab5bfea542b354a1a4b2-a new file mode 100644 index 0000000..d86b7be --- /dev/null +++ b/backend/.cache/go-build/9e/9e068d52fbdd3fb259810d8c9f38db53ef7a18d2a11dab5bfea542b354a1a4b2-a @@ -0,0 +1 @@ +v1 9e068d52fbdd3fb259810d8c9f38db53ef7a18d2a11dab5bfea542b354a1a4b2 f502da81ad708823cb5ea6c61b7f07f3b49cd9d264dff170551d11c9c7f2f4bb 21 1769060041970538915 diff --git a/backend/.cache/go-build/9e/9e1bee65f89a698fc16682af3859e63594ace3bb1c3359dd69f54430b6acb1ab-d b/backend/.cache/go-build/9e/9e1bee65f89a698fc16682af3859e63594ace3bb1c3359dd69f54430b6acb1ab-d new file mode 100644 index 0000000..d833c18 Binary files /dev/null and b/backend/.cache/go-build/9e/9e1bee65f89a698fc16682af3859e63594ace3bb1c3359dd69f54430b6acb1ab-d differ diff --git a/backend/.cache/go-build/9e/9e3c9ea7d4b3e29203d82d2cc78d0af25928ae463e624b13d4b085aee1b3169c-a b/backend/.cache/go-build/9e/9e3c9ea7d4b3e29203d82d2cc78d0af25928ae463e624b13d4b085aee1b3169c-a new file mode 100644 index 0000000..59f627e --- /dev/null +++ b/backend/.cache/go-build/9e/9e3c9ea7d4b3e29203d82d2cc78d0af25928ae463e624b13d4b085aee1b3169c-a @@ -0,0 +1 @@ +v1 9e3c9ea7d4b3e29203d82d2cc78d0af25928ae463e624b13d4b085aee1b3169c 17a678fa7e0d1624a6c02dd3ded8901328144219dbbc15abaf150fec4c173d6b 49 1769060041968149737 diff --git a/backend/.cache/go-build/9f/9f5dcfcb91b1c4fde9f85c7b0535b94ad2e019ffea5de6c9dd0c8c5096d34ea9-a b/backend/.cache/go-build/9f/9f5dcfcb91b1c4fde9f85c7b0535b94ad2e019ffea5de6c9dd0c8c5096d34ea9-a new file mode 100644 index 0000000..7f4f290 --- /dev/null +++ b/backend/.cache/go-build/9f/9f5dcfcb91b1c4fde9f85c7b0535b94ad2e019ffea5de6c9dd0c8c5096d34ea9-a @@ -0,0 +1 @@ +v1 9f5dcfcb91b1c4fde9f85c7b0535b94ad2e019ffea5de6c9dd0c8c5096d34ea9 9b906cdd5e22f6f9810746e3352813eb3a68b00d8b6a889eb1fd8ba9042f1c74 105858 1769060042011647088 diff --git a/backend/.cache/go-build/9f/9f6bae96ff420e0414228e695fc8cc7a71addbe4e7958bebad3d1cc2ad4d089f-d b/backend/.cache/go-build/9f/9f6bae96ff420e0414228e695fc8cc7a71addbe4e7958bebad3d1cc2ad4d089f-d new file mode 100644 index 0000000..d146457 Binary files /dev/null and b/backend/.cache/go-build/9f/9f6bae96ff420e0414228e695fc8cc7a71addbe4e7958bebad3d1cc2ad4d089f-d differ diff --git a/backend/.cache/go-build/9f/9f6cda848201048a380ec8aa12dbd80e9eef5c29d3d5a1af6bbb7fa6117d2559-a b/backend/.cache/go-build/9f/9f6cda848201048a380ec8aa12dbd80e9eef5c29d3d5a1af6bbb7fa6117d2559-a new file mode 100644 index 0000000..86a054d --- /dev/null +++ b/backend/.cache/go-build/9f/9f6cda848201048a380ec8aa12dbd80e9eef5c29d3d5a1af6bbb7fa6117d2559-a @@ -0,0 +1 @@ +v1 9f6cda848201048a380ec8aa12dbd80e9eef5c29d3d5a1af6bbb7fa6117d2559 05f5e6492430b00f807e4629c6e4a53f3948fc9382f19898d1cc361b3b99ff9b 54 1769060044254919200 diff --git a/backend/.cache/go-build/9f/9f779a3323e24dbb7e9c921004e3c18331be8cdd62ffd014a03aa9040c032b1f-a b/backend/.cache/go-build/9f/9f779a3323e24dbb7e9c921004e3c18331be8cdd62ffd014a03aa9040c032b1f-a new file mode 100644 index 0000000..8e412bc --- /dev/null +++ b/backend/.cache/go-build/9f/9f779a3323e24dbb7e9c921004e3c18331be8cdd62ffd014a03aa9040c032b1f-a @@ -0,0 +1 @@ +v1 9f779a3323e24dbb7e9c921004e3c18331be8cdd62ffd014a03aa9040c032b1f fa8c5c0121a0d086f77f17c71f77f9cbba01c0c26a4cee67a6f50766ff26af2c 3068 1769060041918323226 diff --git a/backend/.cache/go-build/9f/9f91580bae48f50eb2b69fb587fbe1034bfaad61ebb2c8ab2a8a456f7a07b9e8-a b/backend/.cache/go-build/9f/9f91580bae48f50eb2b69fb587fbe1034bfaad61ebb2c8ab2a8a456f7a07b9e8-a new file mode 100644 index 0000000..b27ad62 --- /dev/null +++ b/backend/.cache/go-build/9f/9f91580bae48f50eb2b69fb587fbe1034bfaad61ebb2c8ab2a8a456f7a07b9e8-a @@ -0,0 +1 @@ +v1 9f91580bae48f50eb2b69fb587fbe1034bfaad61ebb2c8ab2a8a456f7a07b9e8 dc8e0c3746cf518e85b491a0845d62485f8a9e32caa8c091ec19b226a1868acd 389 1769060043996913677 diff --git a/backend/.cache/go-build/9f/9fc175f289e9c70943173d4ddeabf8022631ef0af91dc7113b936a10cf5a96e4-a b/backend/.cache/go-build/9f/9fc175f289e9c70943173d4ddeabf8022631ef0af91dc7113b936a10cf5a96e4-a new file mode 100644 index 0000000..3f92410 --- /dev/null +++ b/backend/.cache/go-build/9f/9fc175f289e9c70943173d4ddeabf8022631ef0af91dc7113b936a10cf5a96e4-a @@ -0,0 +1 @@ +v1 9fc175f289e9c70943173d4ddeabf8022631ef0af91dc7113b936a10cf5a96e4 082eb74b349a643ae6ab4cadd76b7f13638ec3009fbf8666ac6b813fe06d5acb 1386 1769060041921762961 diff --git a/backend/.cache/go-build/README b/backend/.cache/go-build/README new file mode 100644 index 0000000..a59d0c9 --- /dev/null +++ b/backend/.cache/go-build/README @@ -0,0 +1,4 @@ +This directory holds cached build artifacts from the Go build system. +Run "go clean -cache" if the directory is getting too large. +Run "go clean -fuzzcache" to delete the fuzz cache. +See golang.org to learn more about Go. diff --git a/backend/.cache/go-build/a0/a0011780ccb4bc457bf0e6a19be6ecb69907bae514ace220f4bebdfabd465dad-a b/backend/.cache/go-build/a0/a0011780ccb4bc457bf0e6a19be6ecb69907bae514ace220f4bebdfabd465dad-a new file mode 100644 index 0000000..a56c44f --- /dev/null +++ b/backend/.cache/go-build/a0/a0011780ccb4bc457bf0e6a19be6ecb69907bae514ace220f4bebdfabd465dad-a @@ -0,0 +1 @@ +v1 a0011780ccb4bc457bf0e6a19be6ecb69907bae514ace220f4bebdfabd465dad 41385865fa4633776b5558c3faf2e5fbde2cb4c74115286789472c23a4befbce 736 1769060041897203975 diff --git a/backend/.cache/go-build/a1/a1b27a06dde351088cd231bbd80a6a8b250718636a86ebc5e8285f7171134a5f-d b/backend/.cache/go-build/a1/a1b27a06dde351088cd231bbd80a6a8b250718636a86ebc5e8285f7171134a5f-d new file mode 100644 index 0000000..85a6075 Binary files /dev/null and b/backend/.cache/go-build/a1/a1b27a06dde351088cd231bbd80a6a8b250718636a86ebc5e8285f7171134a5f-d differ diff --git a/backend/.cache/go-build/a1/a1d098e2286b82f3f062095b96c5cf4bd81153ad313bdc00268847ca9d5118be-a b/backend/.cache/go-build/a1/a1d098e2286b82f3f062095b96c5cf4bd81153ad313bdc00268847ca9d5118be-a new file mode 100644 index 0000000..60206c9 --- /dev/null +++ b/backend/.cache/go-build/a1/a1d098e2286b82f3f062095b96c5cf4bd81153ad313bdc00268847ca9d5118be-a @@ -0,0 +1 @@ +v1 a1d098e2286b82f3f062095b96c5cf4bd81153ad313bdc00268847ca9d5118be 109aafda193edc9c763d2a20815470bb64cd47c4b744a4ab4cd05afc7501fff6 47149 1769060041931281758 diff --git a/backend/.cache/go-build/a1/a1ece7b908bc884923d81cab14dfcf98ba552486a9c9dfea49c359e3a9158af8-a b/backend/.cache/go-build/a1/a1ece7b908bc884923d81cab14dfcf98ba552486a9c9dfea49c359e3a9158af8-a new file mode 100644 index 0000000..1de5681 --- /dev/null +++ b/backend/.cache/go-build/a1/a1ece7b908bc884923d81cab14dfcf98ba552486a9c9dfea49c359e3a9158af8-a @@ -0,0 +1 @@ +v1 a1ece7b908bc884923d81cab14dfcf98ba552486a9c9dfea49c359e3a9158af8 79928469d39df8edd401c7d967bd52370c8ad557d9b7873f9de8bf5187dbd96f 40480 1769060041986045837 diff --git a/backend/.cache/go-build/a2/a23d16100c8a8ab1700cd4692d8d14b11eeb7e357b66fda9f291e424afed647f-a b/backend/.cache/go-build/a2/a23d16100c8a8ab1700cd4692d8d14b11eeb7e357b66fda9f291e424afed647f-a new file mode 100644 index 0000000..eabb959 --- /dev/null +++ b/backend/.cache/go-build/a2/a23d16100c8a8ab1700cd4692d8d14b11eeb7e357b66fda9f291e424afed647f-a @@ -0,0 +1 @@ +v1 a23d16100c8a8ab1700cd4692d8d14b11eeb7e357b66fda9f291e424afed647f f051f3ea915373110be0f7ba7a45321f7c0989c22ff981987c2b57e7ff71988e 559 1769060041918500639 diff --git a/backend/.cache/go-build/a2/a240561f41fcf3a8ce04b3c2199f6d18cb3053bc37588c5609b6075cd85b6e58-d b/backend/.cache/go-build/a2/a240561f41fcf3a8ce04b3c2199f6d18cb3053bc37588c5609b6075cd85b6e58-d new file mode 100644 index 0000000..77d8be0 Binary files /dev/null and b/backend/.cache/go-build/a2/a240561f41fcf3a8ce04b3c2199f6d18cb3053bc37588c5609b6075cd85b6e58-d differ diff --git a/backend/.cache/go-build/a3/a311b4ec8659205cbb6f81fb091dc35bcb0041f81d4599324d80c64ad6fd453f-a b/backend/.cache/go-build/a3/a311b4ec8659205cbb6f81fb091dc35bcb0041f81d4599324d80c64ad6fd453f-a new file mode 100644 index 0000000..c5b3039 --- /dev/null +++ b/backend/.cache/go-build/a3/a311b4ec8659205cbb6f81fb091dc35bcb0041f81d4599324d80c64ad6fd453f-a @@ -0,0 +1 @@ +v1 a311b4ec8659205cbb6f81fb091dc35bcb0041f81d4599324d80c64ad6fd453f e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042011162129 diff --git a/backend/.cache/go-build/a3/a38c6354871956c122ff4e9162656403456d381a8eb6356a09a2d059a46a41d6-a b/backend/.cache/go-build/a3/a38c6354871956c122ff4e9162656403456d381a8eb6356a09a2d059a46a41d6-a new file mode 100644 index 0000000..ea4514c --- /dev/null +++ b/backend/.cache/go-build/a3/a38c6354871956c122ff4e9162656403456d381a8eb6356a09a2d059a46a41d6-a @@ -0,0 +1 @@ +v1 a38c6354871956c122ff4e9162656403456d381a8eb6356a09a2d059a46a41d6 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044136239437 diff --git a/backend/.cache/go-build/a3/a3c1c10efb3f8b2ab3f079d4c2762f8ef7adafdefb13257e4ddf68526f64bd3c-a b/backend/.cache/go-build/a3/a3c1c10efb3f8b2ab3f079d4c2762f8ef7adafdefb13257e4ddf68526f64bd3c-a new file mode 100644 index 0000000..e764010 --- /dev/null +++ b/backend/.cache/go-build/a3/a3c1c10efb3f8b2ab3f079d4c2762f8ef7adafdefb13257e4ddf68526f64bd3c-a @@ -0,0 +1 @@ +v1 a3c1c10efb3f8b2ab3f079d4c2762f8ef7adafdefb13257e4ddf68526f64bd3c 194b5134c5519d2a2b6f06af04f52b7b69ddc382461e2117df103813a8ea7372 10058 1769060041922163338 diff --git a/backend/.cache/go-build/a3/a3c5ac32e2207b5e11b45eb04a1fee12b7eb56e6f8442a4d4d4b825ba5417d47-a b/backend/.cache/go-build/a3/a3c5ac32e2207b5e11b45eb04a1fee12b7eb56e6f8442a4d4d4b825ba5417d47-a new file mode 100644 index 0000000..d7ca133 --- /dev/null +++ b/backend/.cache/go-build/a3/a3c5ac32e2207b5e11b45eb04a1fee12b7eb56e6f8442a4d4d4b825ba5417d47-a @@ -0,0 +1 @@ +v1 a3c5ac32e2207b5e11b45eb04a1fee12b7eb56e6f8442a4d4d4b825ba5417d47 22e9c935db51d7211f3ae6845f212d1a3a3ed7cc665a333e6313885584b1b5dd 42 1769060043572349438 diff --git a/backend/.cache/go-build/a4/a45411c2e38cc1ceb19b059a59030a6cb55ed8edbe45f89db52e478546cfc32d-a b/backend/.cache/go-build/a4/a45411c2e38cc1ceb19b059a59030a6cb55ed8edbe45f89db52e478546cfc32d-a new file mode 100644 index 0000000..abb38db --- /dev/null +++ b/backend/.cache/go-build/a4/a45411c2e38cc1ceb19b059a59030a6cb55ed8edbe45f89db52e478546cfc32d-a @@ -0,0 +1 @@ +v1 a45411c2e38cc1ceb19b059a59030a6cb55ed8edbe45f89db52e478546cfc32d 20a27e58f9592158cbddb96ea694c62a164cb5dbe0d8fcb12388c0a25d387d74 3354 1769060041907781303 diff --git a/backend/.cache/go-build/a4/a48f660df771ff4a1082861c083218df9f32f0b4f996ef685900c1a5ef5f2954-a b/backend/.cache/go-build/a4/a48f660df771ff4a1082861c083218df9f32f0b4f996ef685900c1a5ef5f2954-a new file mode 100644 index 0000000..b3290c7 --- /dev/null +++ b/backend/.cache/go-build/a4/a48f660df771ff4a1082861c083218df9f32f0b4f996ef685900c1a5ef5f2954-a @@ -0,0 +1 @@ +v1 a48f660df771ff4a1082861c083218df9f32f0b4f996ef685900c1a5ef5f2954 b48741b8a15ceff088cd60a5c707ef3e374bb7f012069cc28576ed274969a53e 42 1769060041970370778 diff --git a/backend/.cache/go-build/a5/a53898471dc155bb5aa67d494b90c682c591482dd1c517930c2e43e0ba8a2ca6-a b/backend/.cache/go-build/a5/a53898471dc155bb5aa67d494b90c682c591482dd1c517930c2e43e0ba8a2ca6-a new file mode 100644 index 0000000..3a75710 --- /dev/null +++ b/backend/.cache/go-build/a5/a53898471dc155bb5aa67d494b90c682c591482dd1c517930c2e43e0ba8a2ca6-a @@ -0,0 +1 @@ +v1 a53898471dc155bb5aa67d494b90c682c591482dd1c517930c2e43e0ba8a2ca6 816270dd1b32af0b5332007a781a93d5fdb19db299da9d5365a41462239bf596 21353 1769060041912924504 diff --git a/backend/.cache/go-build/a5/a5deefd80222499440d615998dbaf2a2ec795a426e5d8b62fad7e2a0c9421de7-d b/backend/.cache/go-build/a5/a5deefd80222499440d615998dbaf2a2ec795a426e5d8b62fad7e2a0c9421de7-d new file mode 100644 index 0000000..4c111e4 Binary files /dev/null and b/backend/.cache/go-build/a5/a5deefd80222499440d615998dbaf2a2ec795a426e5d8b62fad7e2a0c9421de7-d differ diff --git a/backend/.cache/go-build/a6/a631fa318af5ba6c1d0fb48c096ac20a23c8ebeda151a72eee620fd857bbc6c0-d b/backend/.cache/go-build/a6/a631fa318af5ba6c1d0fb48c096ac20a23c8ebeda151a72eee620fd857bbc6c0-d new file mode 100644 index 0000000..edcd94f Binary files /dev/null and b/backend/.cache/go-build/a6/a631fa318af5ba6c1d0fb48c096ac20a23c8ebeda151a72eee620fd857bbc6c0-d differ diff --git a/backend/.cache/go-build/a6/a63bf7f12fa4d94f6d21bec64108f11c079534afe36aa5055b61638f48eb6aac-d b/backend/.cache/go-build/a6/a63bf7f12fa4d94f6d21bec64108f11c079534afe36aa5055b61638f48eb6aac-d new file mode 100644 index 0000000..a243398 Binary files /dev/null and b/backend/.cache/go-build/a6/a63bf7f12fa4d94f6d21bec64108f11c079534afe36aa5055b61638f48eb6aac-d differ diff --git a/backend/.cache/go-build/a6/a6ccfa9cf62f78128ad1143b961a0edadcabba78923ec0a0c716b3faeaccb0be-a b/backend/.cache/go-build/a6/a6ccfa9cf62f78128ad1143b961a0edadcabba78923ec0a0c716b3faeaccb0be-a new file mode 100644 index 0000000..8125885 --- /dev/null +++ b/backend/.cache/go-build/a6/a6ccfa9cf62f78128ad1143b961a0edadcabba78923ec0a0c716b3faeaccb0be-a @@ -0,0 +1 @@ +v1 a6ccfa9cf62f78128ad1143b961a0edadcabba78923ec0a0c716b3faeaccb0be e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043667488437 diff --git a/backend/.cache/go-build/a7/a73964690e1c8ab580ce79a5459f08e6762d1c8d46af917a47110c2d949a1cc2-a b/backend/.cache/go-build/a7/a73964690e1c8ab580ce79a5459f08e6762d1c8d46af917a47110c2d949a1cc2-a new file mode 100644 index 0000000..4fdad3b --- /dev/null +++ b/backend/.cache/go-build/a7/a73964690e1c8ab580ce79a5459f08e6762d1c8d46af917a47110c2d949a1cc2-a @@ -0,0 +1 @@ +v1 a73964690e1c8ab580ce79a5459f08e6762d1c8d46af917a47110c2d949a1cc2 2ba963660e1b7abf46deaef03614f8cce1f6230e971041e2f60a9b8b5bca5326 1316596 1769060043995487905 diff --git a/backend/.cache/go-build/a7/a770b56fcc08c0feb4cf210a2324627c41484c18d05cc0850ffe5df944881669-a b/backend/.cache/go-build/a7/a770b56fcc08c0feb4cf210a2324627c41484c18d05cc0850ffe5df944881669-a new file mode 100644 index 0000000..e7703fb --- /dev/null +++ b/backend/.cache/go-build/a7/a770b56fcc08c0feb4cf210a2324627c41484c18d05cc0850ffe5df944881669-a @@ -0,0 +1 @@ +v1 a770b56fcc08c0feb4cf210a2324627c41484c18d05cc0850ffe5df944881669 3b57f165d68330743e54e5facc4c942fc632fc61f07d3d4fc66ef00f35a11ae8 2350 1769060041909218330 diff --git a/backend/.cache/go-build/a7/a7896cbe20a11bfde470535786e8a2b39683cdf6bf8cbb3904cfbef93ccba299-d b/backend/.cache/go-build/a7/a7896cbe20a11bfde470535786e8a2b39683cdf6bf8cbb3904cfbef93ccba299-d new file mode 100644 index 0000000..0ca4842 Binary files /dev/null and b/backend/.cache/go-build/a7/a7896cbe20a11bfde470535786e8a2b39683cdf6bf8cbb3904cfbef93ccba299-d differ diff --git a/backend/.cache/go-build/a7/a7c8372f2b95ed5fa065c4bee8e17a32b2a0ebecdd296f83c0d68bf688a5785b-d b/backend/.cache/go-build/a7/a7c8372f2b95ed5fa065c4bee8e17a32b2a0ebecdd296f83c0d68bf688a5785b-d new file mode 100644 index 0000000..3419d74 Binary files /dev/null and b/backend/.cache/go-build/a7/a7c8372f2b95ed5fa065c4bee8e17a32b2a0ebecdd296f83c0d68bf688a5785b-d differ diff --git a/backend/.cache/go-build/a8/a84639538038346c553f9a183741ed3bae4c719e5222444eb3560f1c6804c8af-d b/backend/.cache/go-build/a8/a84639538038346c553f9a183741ed3bae4c719e5222444eb3560f1c6804c8af-d new file mode 100644 index 0000000..8958751 Binary files /dev/null and b/backend/.cache/go-build/a8/a84639538038346c553f9a183741ed3bae4c719e5222444eb3560f1c6804c8af-d differ diff --git a/backend/.cache/go-build/a8/a8d8d62ae4cfbc4076aa8209a7ece91696a14cbc33c93c6643d385daa8f56003-a b/backend/.cache/go-build/a8/a8d8d62ae4cfbc4076aa8209a7ece91696a14cbc33c93c6643d385daa8f56003-a new file mode 100644 index 0000000..2982e84 --- /dev/null +++ b/backend/.cache/go-build/a8/a8d8d62ae4cfbc4076aa8209a7ece91696a14cbc33c93c6643d385daa8f56003-a @@ -0,0 +1 @@ +v1 a8d8d62ae4cfbc4076aa8209a7ece91696a14cbc33c93c6643d385daa8f56003 0277f9ef8eccea33058f04acb74a79c67b9662c58b219538b7b5190e0e6508aa 724 1769060041899836754 diff --git a/backend/.cache/go-build/a9/a981679cca91e5850f4b8df9b3831022a0a55a3a3831fcbd16efb38744236667-d b/backend/.cache/go-build/a9/a981679cca91e5850f4b8df9b3831022a0a55a3a3831fcbd16efb38744236667-d new file mode 100644 index 0000000..fd83118 Binary files /dev/null and b/backend/.cache/go-build/a9/a981679cca91e5850f4b8df9b3831022a0a55a3a3831fcbd16efb38744236667-d differ diff --git a/backend/.cache/go-build/aa/aa2a5a01b2b02142637c0e5a8e6452da1f201c9facffbd73b2b512c3ae0fbbed-a b/backend/.cache/go-build/aa/aa2a5a01b2b02142637c0e5a8e6452da1f201c9facffbd73b2b512c3ae0fbbed-a new file mode 100644 index 0000000..51de1e8 --- /dev/null +++ b/backend/.cache/go-build/aa/aa2a5a01b2b02142637c0e5a8e6452da1f201c9facffbd73b2b512c3ae0fbbed-a @@ -0,0 +1 @@ +v1 aa2a5a01b2b02142637c0e5a8e6452da1f201c9facffbd73b2b512c3ae0fbbed 4bbae2347825a288c2cb45dda49d24df058e749e9e0fa613e5c1155bbfe2988c 2055 1769060041922018883 diff --git a/backend/.cache/go-build/aa/aa38b37340a42d22d8834f7535d445a39e5b420817a64b2057ec7025d7a86bf0-a b/backend/.cache/go-build/aa/aa38b37340a42d22d8834f7535d445a39e5b420817a64b2057ec7025d7a86bf0-a new file mode 100644 index 0000000..0961732 --- /dev/null +++ b/backend/.cache/go-build/aa/aa38b37340a42d22d8834f7535d445a39e5b420817a64b2057ec7025d7a86bf0-a @@ -0,0 +1 @@ +v1 aa38b37340a42d22d8834f7535d445a39e5b420817a64b2057ec7025d7a86bf0 238de56daaad95b8d54ffef3eeba76ab4c4948a52a9caf317a9d90f416762915 566 1769060041897426568 diff --git a/backend/.cache/go-build/aa/aaab9e3fcc37e337125e506da5c02a3c4c757d4e06ed3f3d1b548c6661caf683-d b/backend/.cache/go-build/aa/aaab9e3fcc37e337125e506da5c02a3c4c757d4e06ed3f3d1b548c6661caf683-d new file mode 100644 index 0000000..9866c99 Binary files /dev/null and b/backend/.cache/go-build/aa/aaab9e3fcc37e337125e506da5c02a3c4c757d4e06ed3f3d1b548c6661caf683-d differ diff --git a/backend/.cache/go-build/ab/ab097bfaa926dd696def3644d7d69333fba4ce1637ac2cf6aa9d646737514cee-a b/backend/.cache/go-build/ab/ab097bfaa926dd696def3644d7d69333fba4ce1637ac2cf6aa9d646737514cee-a new file mode 100644 index 0000000..c094fbe --- /dev/null +++ b/backend/.cache/go-build/ab/ab097bfaa926dd696def3644d7d69333fba4ce1637ac2cf6aa9d646737514cee-a @@ -0,0 +1 @@ +v1 ab097bfaa926dd696def3644d7d69333fba4ce1637ac2cf6aa9d646737514cee 28ea1f1635c9d2ad84e64ad5b86b489887892525356e3869ffe3ea0273007fdb 623 1769060044083603017 diff --git a/backend/.cache/go-build/ab/aba61a85177c760644afe612ac65939553076b5e0e44ccf371b80ba9cbdc7a2a-a b/backend/.cache/go-build/ab/aba61a85177c760644afe612ac65939553076b5e0e44ccf371b80ba9cbdc7a2a-a new file mode 100644 index 0000000..ab2d61c --- /dev/null +++ b/backend/.cache/go-build/ab/aba61a85177c760644afe612ac65939553076b5e0e44ccf371b80ba9cbdc7a2a-a @@ -0,0 +1 @@ +v1 aba61a85177c760644afe612ac65939553076b5e0e44ccf371b80ba9cbdc7a2a 54f535a102de6e5486a3907dbb3703e9bfa06c0108415349827113bcf8206a34 1023 1769060041917616308 diff --git a/backend/.cache/go-build/ab/abf820ec3c50985289a8d9adc965804ffd4bd5d633f76dbcbdfde9b0cecb1cf8-a b/backend/.cache/go-build/ab/abf820ec3c50985289a8d9adc965804ffd4bd5d633f76dbcbdfde9b0cecb1cf8-a new file mode 100644 index 0000000..3a3150f --- /dev/null +++ b/backend/.cache/go-build/ab/abf820ec3c50985289a8d9adc965804ffd4bd5d633f76dbcbdfde9b0cecb1cf8-a @@ -0,0 +1 @@ +v1 abf820ec3c50985289a8d9adc965804ffd4bd5d633f76dbcbdfde9b0cecb1cf8 b406bd24f06bc237572c6b064654a64dccfd0ccd546735b24191b79d4508271a 4397 1769060041901935451 diff --git a/backend/.cache/go-build/ac/ac46e465a116e4cf2281e4344fa3f451f8fb73f41f0794ac93c6f2b0af2b972b-a b/backend/.cache/go-build/ac/ac46e465a116e4cf2281e4344fa3f451f8fb73f41f0794ac93c6f2b0af2b972b-a new file mode 100644 index 0000000..1df8872 --- /dev/null +++ b/backend/.cache/go-build/ac/ac46e465a116e4cf2281e4344fa3f451f8fb73f41f0794ac93c6f2b0af2b972b-a @@ -0,0 +1 @@ +v1 ac46e465a116e4cf2281e4344fa3f451f8fb73f41f0794ac93c6f2b0af2b972b 88ff1992f7ea5697a97f06676e1be0806ef92a6ad27744eb0db3d32b035f1615 5377 1769060041915283709 diff --git a/backend/.cache/go-build/ac/ac57ad19089928936b519b340b504b628916d3245e6c56ce97a3e6c30680463a-d b/backend/.cache/go-build/ac/ac57ad19089928936b519b340b504b628916d3245e6c56ce97a3e6c30680463a-d new file mode 100644 index 0000000..a0c6d22 Binary files /dev/null and b/backend/.cache/go-build/ac/ac57ad19089928936b519b340b504b628916d3245e6c56ce97a3e6c30680463a-d differ diff --git a/backend/.cache/go-build/ad/ad38f6e2b28ea68354a7072d13501c3861b275a006433ac3ae5602997803feab-d b/backend/.cache/go-build/ad/ad38f6e2b28ea68354a7072d13501c3861b275a006433ac3ae5602997803feab-d new file mode 100644 index 0000000..e837129 --- /dev/null +++ b/backend/.cache/go-build/ad/ad38f6e2b28ea68354a7072d13501c3861b275a006433ac3ae5602997803feab-d @@ -0,0 +1 @@ +./strings.go diff --git a/backend/.cache/go-build/ad/adb8c49ec69e490853083970d7c68285550b3fbc403a1c121d9b2862c7a6dddd-d b/backend/.cache/go-build/ad/adb8c49ec69e490853083970d7c68285550b3fbc403a1c121d9b2862c7a6dddd-d new file mode 100644 index 0000000..b57fcec Binary files /dev/null and b/backend/.cache/go-build/ad/adb8c49ec69e490853083970d7c68285550b3fbc403a1c121d9b2862c7a6dddd-d differ diff --git a/backend/.cache/go-build/ae/ae478b0ce3bf55b23e9695235dd247302b8a18de14584b35a142ad91750bfc31-d b/backend/.cache/go-build/ae/ae478b0ce3bf55b23e9695235dd247302b8a18de14584b35a142ad91750bfc31-d new file mode 100644 index 0000000..625dcc8 Binary files /dev/null and b/backend/.cache/go-build/ae/ae478b0ce3bf55b23e9695235dd247302b8a18de14584b35a142ad91750bfc31-d differ diff --git a/backend/.cache/go-build/ae/ae7214cda9bfe8a3183a8eb71672acd60169b2872af17ce727fe428d5efd011e-d b/backend/.cache/go-build/ae/ae7214cda9bfe8a3183a8eb71672acd60169b2872af17ce727fe428d5efd011e-d new file mode 100644 index 0000000..8e55f4d Binary files /dev/null and b/backend/.cache/go-build/ae/ae7214cda9bfe8a3183a8eb71672acd60169b2872af17ce727fe428d5efd011e-d differ diff --git a/backend/.cache/go-build/af/af7596798af44560b558dcc77ef87c4bcd57b4bac140b0cba2e6fc2dcf072558-a b/backend/.cache/go-build/af/af7596798af44560b558dcc77ef87c4bcd57b4bac140b0cba2e6fc2dcf072558-a new file mode 100644 index 0000000..0ddb6f4 --- /dev/null +++ b/backend/.cache/go-build/af/af7596798af44560b558dcc77ef87c4bcd57b4bac140b0cba2e6fc2dcf072558-a @@ -0,0 +1 @@ +v1 af7596798af44560b558dcc77ef87c4bcd57b4bac140b0cba2e6fc2dcf072558 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041976817302 diff --git a/backend/.cache/go-build/af/af8890d0697237af0d3fd31ee2daa73bc3a35bc1ae8f12bf48db340c4b9b6ed7-d b/backend/.cache/go-build/af/af8890d0697237af0d3fd31ee2daa73bc3a35bc1ae8f12bf48db340c4b9b6ed7-d new file mode 100644 index 0000000..85168ff Binary files /dev/null and b/backend/.cache/go-build/af/af8890d0697237af0d3fd31ee2daa73bc3a35bc1ae8f12bf48db340c4b9b6ed7-d differ diff --git a/backend/.cache/go-build/b0/b00fe6e8b4cb47b265c1c2e29d1be6adba42c77c5ad2d24b54ac8d25e1f8a693-a b/backend/.cache/go-build/b0/b00fe6e8b4cb47b265c1c2e29d1be6adba42c77c5ad2d24b54ac8d25e1f8a693-a new file mode 100644 index 0000000..d848d20 --- /dev/null +++ b/backend/.cache/go-build/b0/b00fe6e8b4cb47b265c1c2e29d1be6adba42c77c5ad2d24b54ac8d25e1f8a693-a @@ -0,0 +1 @@ +v1 b00fe6e8b4cb47b265c1c2e29d1be6adba42c77c5ad2d24b54ac8d25e1f8a693 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041981229072 diff --git a/backend/.cache/go-build/b0/b0d36ad56f95415a36ac11fa2470287488dd725288f1ee65f5eb70afac1dceb6-d b/backend/.cache/go-build/b0/b0d36ad56f95415a36ac11fa2470287488dd725288f1ee65f5eb70afac1dceb6-d new file mode 100644 index 0000000..8b6322e --- /dev/null +++ b/backend/.cache/go-build/b0/b0d36ad56f95415a36ac11fa2470287488dd725288f1ee65f5eb70afac1dceb6-d @@ -0,0 +1,22 @@ +./at.go +./at_fstatat.go +./at_sysnum_linux.go +./at_sysnum_newfstatat_linux.go +./constants.go +./copy_file_range_unix.go +./eaccess.go +./faccessat_syscall.go +./fcntl_unix.go +./getrandom.go +./getrandom_linux.go +./kernel_version_linux.go +./net.go +./nofollow_posix.go +./nonblocking_unix.go +./pidfd_linux.go +./siginfo_linux.go +./siginfo_linux_other.go +./syscall.go +./sysnum_linux_amd64.go +./tcsetpgrp_linux.go +./waitid_linux.go diff --git a/backend/.cache/go-build/b1/b10a379224d689c13c9b3466ace8eca201587f94514a009a64fcf72cd8b344f5-a b/backend/.cache/go-build/b1/b10a379224d689c13c9b3466ace8eca201587f94514a009a64fcf72cd8b344f5-a new file mode 100644 index 0000000..bb82ac8 --- /dev/null +++ b/backend/.cache/go-build/b1/b10a379224d689c13c9b3466ace8eca201587f94514a009a64fcf72cd8b344f5-a @@ -0,0 +1 @@ +v1 b10a379224d689c13c9b3466ace8eca201587f94514a009a64fcf72cd8b344f5 333b19aa08d78b5a0cd7addcf50135072b0d0d7fa7e7d13b93e89ee90bf65c67 10722 1769060041927511391 diff --git a/backend/.cache/go-build/b1/b135c973b51c32ff7c35009ad00f191fc7d93090e3da1928c5558e872d0d1b34-d b/backend/.cache/go-build/b1/b135c973b51c32ff7c35009ad00f191fc7d93090e3da1928c5558e872d0d1b34-d new file mode 100644 index 0000000..f4a6821 Binary files /dev/null and b/backend/.cache/go-build/b1/b135c973b51c32ff7c35009ad00f191fc7d93090e3da1928c5558e872d0d1b34-d differ diff --git a/backend/.cache/go-build/b1/b15e495d936953e1dbd92d2ae211c977af4f2edb8ddd8ba1710a3c8fde9035a9-a b/backend/.cache/go-build/b1/b15e495d936953e1dbd92d2ae211c977af4f2edb8ddd8ba1710a3c8fde9035a9-a new file mode 100644 index 0000000..ab42b3f --- /dev/null +++ b/backend/.cache/go-build/b1/b15e495d936953e1dbd92d2ae211c977af4f2edb8ddd8ba1710a3c8fde9035a9-a @@ -0,0 +1 @@ +v1 b15e495d936953e1dbd92d2ae211c977af4f2edb8ddd8ba1710a3c8fde9035a9 856a594a5ff33a98f97d7a1df62e8525a16603e41efb6aeb4c65080c98b36866 1804 1769060041915279893 diff --git a/backend/.cache/go-build/b2/b2beffee11527ac64e77cea332cb1c8ec070057dabf145efc5f7cea7ee136ee7-d b/backend/.cache/go-build/b2/b2beffee11527ac64e77cea332cb1c8ec070057dabf145efc5f7cea7ee136ee7-d new file mode 100644 index 0000000..7e29298 Binary files /dev/null and b/backend/.cache/go-build/b2/b2beffee11527ac64e77cea332cb1c8ec070057dabf145efc5f7cea7ee136ee7-d differ diff --git a/backend/.cache/go-build/b2/b2de41ed3249518c875eb2b8800c65559d88975dd1c653ae6ec14fbedb701dbb-a b/backend/.cache/go-build/b2/b2de41ed3249518c875eb2b8800c65559d88975dd1c653ae6ec14fbedb701dbb-a new file mode 100644 index 0000000..048a547 --- /dev/null +++ b/backend/.cache/go-build/b2/b2de41ed3249518c875eb2b8800c65559d88975dd1c653ae6ec14fbedb701dbb-a @@ -0,0 +1 @@ +v1 b2de41ed3249518c875eb2b8800c65559d88975dd1c653ae6ec14fbedb701dbb 43c4af69dd2bd389aaaaeac1f3b9e24a849a2d0ab7c7f16dfbfad17ddf53d486 44 1769060041978960496 diff --git a/backend/.cache/go-build/b2/b2de4e450eac2f1f1507df92de4783c433014286490ccdd891b22a42d95f53f7-d b/backend/.cache/go-build/b2/b2de4e450eac2f1f1507df92de4783c433014286490ccdd891b22a42d95f53f7-d new file mode 100644 index 0000000..40ea3c8 Binary files /dev/null and b/backend/.cache/go-build/b2/b2de4e450eac2f1f1507df92de4783c433014286490ccdd891b22a42d95f53f7-d differ diff --git a/backend/.cache/go-build/b3/b32fe335720a2a07ef3a4f4f1df21aee45d905768699623fc312959ea5fe7309-a b/backend/.cache/go-build/b3/b32fe335720a2a07ef3a4f4f1df21aee45d905768699623fc312959ea5fe7309-a new file mode 100644 index 0000000..4bd2a67 --- /dev/null +++ b/backend/.cache/go-build/b3/b32fe335720a2a07ef3a4f4f1df21aee45d905768699623fc312959ea5fe7309-a @@ -0,0 +1 @@ +v1 b32fe335720a2a07ef3a4f4f1df21aee45d905768699623fc312959ea5fe7309 67a557448c19164bc05070d132db609cbbaf38d5299f0c6526e34193646ac224 231 1769060041983294779 diff --git a/backend/.cache/go-build/b3/b376b3fdb258f96f99935da1862be08caa5958d1d19a63b9d886c15d1c552e25-a b/backend/.cache/go-build/b3/b376b3fdb258f96f99935da1862be08caa5958d1d19a63b9d886c15d1c552e25-a new file mode 100644 index 0000000..e62ff5a --- /dev/null +++ b/backend/.cache/go-build/b3/b376b3fdb258f96f99935da1862be08caa5958d1d19a63b9d886c15d1c552e25-a @@ -0,0 +1 @@ +v1 b376b3fdb258f96f99935da1862be08caa5958d1d19a63b9d886c15d1c552e25 25cc3eb697808e962150312a12c90286e71772822eca2c5717ea75b4fa57cfbc 258 1769060042012131146 diff --git a/backend/.cache/go-build/b3/b3ad53c02968682d2e1b154c700553e9f97393bbce2523f2924f7d353845c67b-d b/backend/.cache/go-build/b3/b3ad53c02968682d2e1b154c700553e9f97393bbce2523f2924f7d353845c67b-d new file mode 100644 index 0000000..43dce14 Binary files /dev/null and b/backend/.cache/go-build/b3/b3ad53c02968682d2e1b154c700553e9f97393bbce2523f2924f7d353845c67b-d differ diff --git a/backend/.cache/go-build/b3/b3e4c1bba24b94364a6d9ab8840c354ebcaa7cf224f1346b71c160233f95e0d3-d b/backend/.cache/go-build/b3/b3e4c1bba24b94364a6d9ab8840c354ebcaa7cf224f1346b71c160233f95e0d3-d new file mode 100644 index 0000000..325fbae --- /dev/null +++ b/backend/.cache/go-build/b3/b3e4c1bba24b94364a6d9ab8840c354ebcaa7cf224f1346b71c160233f95e0d3-d @@ -0,0 +1 @@ +./runtime.go diff --git a/backend/.cache/go-build/b4/b406bd24f06bc237572c6b064654a64dccfd0ccd546735b24191b79d4508271a-d b/backend/.cache/go-build/b4/b406bd24f06bc237572c6b064654a64dccfd0ccd546735b24191b79d4508271a-d new file mode 100644 index 0000000..ddd5b57 Binary files /dev/null and b/backend/.cache/go-build/b4/b406bd24f06bc237572c6b064654a64dccfd0ccd546735b24191b79d4508271a-d differ diff --git a/backend/.cache/go-build/b4/b44afd3445284d18b3f52b80f70aeb654c7828d4e04b35a87bf79bf7c0f8ba79-a b/backend/.cache/go-build/b4/b44afd3445284d18b3f52b80f70aeb654c7828d4e04b35a87bf79bf7c0f8ba79-a new file mode 100644 index 0000000..02517b3 --- /dev/null +++ b/backend/.cache/go-build/b4/b44afd3445284d18b3f52b80f70aeb654c7828d4e04b35a87bf79bf7c0f8ba79-a @@ -0,0 +1 @@ +v1 b44afd3445284d18b3f52b80f70aeb654c7828d4e04b35a87bf79bf7c0f8ba79 f060418c3caca4b99db704a70445ea61479292d4b7debe5dced73619dce5526a 7266 1769060041912485629 diff --git a/backend/.cache/go-build/b4/b48741b8a15ceff088cd60a5c707ef3e374bb7f012069cc28576ed274969a53e-d b/backend/.cache/go-build/b4/b48741b8a15ceff088cd60a5c707ef3e374bb7f012069cc28576ed274969a53e-d new file mode 100644 index 0000000..5df01e6 --- /dev/null +++ b/backend/.cache/go-build/b4/b48741b8a15ceff088cd60a5c707ef3e374bb7f012069cc28576ed274969a53e-d @@ -0,0 +1,4 @@ +./cpu.go +./cpu_x86.go +./cpu.s +./cpu_x86.s diff --git a/backend/.cache/go-build/b4/b4f07cd8a0757cae0bc39355ea08c3674801eadcc225b1afdeed0f4dd7e92f82-d b/backend/.cache/go-build/b4/b4f07cd8a0757cae0bc39355ea08c3674801eadcc225b1afdeed0f4dd7e92f82-d new file mode 100644 index 0000000..12461c5 --- /dev/null +++ b/backend/.cache/go-build/b4/b4f07cd8a0757cae0bc39355ea08c3674801eadcc225b1afdeed0f4dd7e92f82-d @@ -0,0 +1 @@ +./unsafeheader.go diff --git a/backend/.cache/go-build/b5/b561124ca562dd27d245cb6e21dbee815e5c043038d77b6f74dd35edd23edb86-d b/backend/.cache/go-build/b5/b561124ca562dd27d245cb6e21dbee815e5c043038d77b6f74dd35edd23edb86-d new file mode 100644 index 0000000..d997aca Binary files /dev/null and b/backend/.cache/go-build/b5/b561124ca562dd27d245cb6e21dbee815e5c043038d77b6f74dd35edd23edb86-d differ diff --git a/backend/.cache/go-build/b5/b59719b52600dd22f4b877161fb3d4073adb83c4af160b6d3ca4ceff84e70ab7-a b/backend/.cache/go-build/b5/b59719b52600dd22f4b877161fb3d4073adb83c4af160b6d3ca4ceff84e70ab7-a new file mode 100644 index 0000000..a483360 --- /dev/null +++ b/backend/.cache/go-build/b5/b59719b52600dd22f4b877161fb3d4073adb83c4af160b6d3ca4ceff84e70ab7-a @@ -0,0 +1 @@ +v1 b59719b52600dd22f4b877161fb3d4073adb83c4af160b6d3ca4ceff84e70ab7 b2de4e450eac2f1f1507df92de4783c433014286490ccdd891b22a42d95f53f7 14926 1769060041928895434 diff --git a/backend/.cache/go-build/b5/b5a455ae8a9de475b9e3132231b95b39fc3376765cbd792be44768452a3ce38f-a b/backend/.cache/go-build/b5/b5a455ae8a9de475b9e3132231b95b39fc3376765cbd792be44768452a3ce38f-a new file mode 100644 index 0000000..d615018 --- /dev/null +++ b/backend/.cache/go-build/b5/b5a455ae8a9de475b9e3132231b95b39fc3376765cbd792be44768452a3ce38f-a @@ -0,0 +1 @@ +v1 b5a455ae8a9de475b9e3132231b95b39fc3376765cbd792be44768452a3ce38f 6c6e967eb5775df010a076ad58e9cb5db0566d05d58b31ea9d1d5bb0b8c1082b 1183 1769060041917704714 diff --git a/backend/.cache/go-build/b5/b5c5a24e7e715a8d4d80ab9fc6a65e798e7be9081bc252aea4d1f6663f879330-d b/backend/.cache/go-build/b5/b5c5a24e7e715a8d4d80ab9fc6a65e798e7be9081bc252aea4d1f6663f879330-d new file mode 100644 index 0000000..0c8a6e7 Binary files /dev/null and b/backend/.cache/go-build/b5/b5c5a24e7e715a8d4d80ab9fc6a65e798e7be9081bc252aea4d1f6663f879330-d differ diff --git a/backend/.cache/go-build/b5/b5d6aacd1e642a3fe1a395ea3d73d9706cd724d034b25cb8558ad2a5970ad235-d b/backend/.cache/go-build/b5/b5d6aacd1e642a3fe1a395ea3d73d9706cd724d034b25cb8558ad2a5970ad235-d new file mode 100644 index 0000000..7539eca Binary files /dev/null and b/backend/.cache/go-build/b5/b5d6aacd1e642a3fe1a395ea3d73d9706cd724d034b25cb8558ad2a5970ad235-d differ diff --git a/backend/.cache/go-build/b5/b5f5a72838499e3dea5c1a6176ffbef0255adc339c42f88b2beaf66e1d3aa089-a b/backend/.cache/go-build/b5/b5f5a72838499e3dea5c1a6176ffbef0255adc339c42f88b2beaf66e1d3aa089-a new file mode 100644 index 0000000..f94e791 --- /dev/null +++ b/backend/.cache/go-build/b5/b5f5a72838499e3dea5c1a6176ffbef0255adc339c42f88b2beaf66e1d3aa089-a @@ -0,0 +1 @@ +v1 b5f5a72838499e3dea5c1a6176ffbef0255adc339c42f88b2beaf66e1d3aa089 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042049737196 diff --git a/backend/.cache/go-build/b6/b617b4bbf827d050dda9d45790f69491a7fabf35fe12de2501f0948b39371ad3-a b/backend/.cache/go-build/b6/b617b4bbf827d050dda9d45790f69491a7fabf35fe12de2501f0948b39371ad3-a new file mode 100644 index 0000000..66b7c6e --- /dev/null +++ b/backend/.cache/go-build/b6/b617b4bbf827d050dda9d45790f69491a7fabf35fe12de2501f0948b39371ad3-a @@ -0,0 +1 @@ +v1 b617b4bbf827d050dda9d45790f69491a7fabf35fe12de2501f0948b39371ad3 f0ee9d7b8fbb0afac809cb6c46cee7fd3a68befdf643ccdd00533820a8926177 10 1769060041980877922 diff --git a/backend/.cache/go-build/b6/b63afbe88fe9459dd9bb6a533be16e9e0602a34fdc757da21e9c925a0b09b046-d b/backend/.cache/go-build/b6/b63afbe88fe9459dd9bb6a533be16e9e0602a34fdc757da21e9c925a0b09b046-d new file mode 100644 index 0000000..f12cb36 Binary files /dev/null and b/backend/.cache/go-build/b6/b63afbe88fe9459dd9bb6a533be16e9e0602a34fdc757da21e9c925a0b09b046-d differ diff --git a/backend/.cache/go-build/b6/b64acecd2193ab11f51a6f9c10dc6157718e848b928b63ba5f4b6008777bc906-a b/backend/.cache/go-build/b6/b64acecd2193ab11f51a6f9c10dc6157718e848b928b63ba5f4b6008777bc906-a new file mode 100644 index 0000000..9f626f9 --- /dev/null +++ b/backend/.cache/go-build/b6/b64acecd2193ab11f51a6f9c10dc6157718e848b928b63ba5f4b6008777bc906-a @@ -0,0 +1 @@ +v1 b64acecd2193ab11f51a6f9c10dc6157718e848b928b63ba5f4b6008777bc906 95d49a012efaaddda40a5a003dd7691941aba50033bf7d6c5ff6a3315b890308 160 1769060043650561066 diff --git a/backend/.cache/go-build/b6/b694cc685e0ee914385cbfc920ed2c51615313ca0cb52d57de1f1a364a8fa6d0-a b/backend/.cache/go-build/b6/b694cc685e0ee914385cbfc920ed2c51615313ca0cb52d57de1f1a364a8fa6d0-a new file mode 100644 index 0000000..99e79ed --- /dev/null +++ b/backend/.cache/go-build/b6/b694cc685e0ee914385cbfc920ed2c51615313ca0cb52d57de1f1a364a8fa6d0-a @@ -0,0 +1 @@ +v1 b694cc685e0ee914385cbfc920ed2c51615313ca0cb52d57de1f1a364a8fa6d0 c0186c5c1cc7997bd991a93523a0e2e1f1b8877ee1293ddf86de14ba7569b32d 537 1769060041926715986 diff --git a/backend/.cache/go-build/b6/b6c52172db8c61e7b50bff25d1fd1c5e584958e065e5a85ffc4438c33e194a2d-d b/backend/.cache/go-build/b6/b6c52172db8c61e7b50bff25d1fd1c5e584958e065e5a85ffc4438c33e194a2d-d new file mode 100644 index 0000000..0f981ba Binary files /dev/null and b/backend/.cache/go-build/b6/b6c52172db8c61e7b50bff25d1fd1c5e584958e065e5a85ffc4438c33e194a2d-d differ diff --git a/backend/.cache/go-build/b6/b6c61528f74b0282877b74a63607dc4e6d9cd19178f99318256eeafb2718f1f3-a b/backend/.cache/go-build/b6/b6c61528f74b0282877b74a63607dc4e6d9cd19178f99318256eeafb2718f1f3-a new file mode 100644 index 0000000..76b62e7 --- /dev/null +++ b/backend/.cache/go-build/b6/b6c61528f74b0282877b74a63607dc4e6d9cd19178f99318256eeafb2718f1f3-a @@ -0,0 +1 @@ +v1 b6c61528f74b0282877b74a63607dc4e6d9cd19178f99318256eeafb2718f1f3 72a7cccd84ece8eed3a46ff813d4fc37918fd3ffcc665000985cb7dd636265b8 735 1769060041925558703 diff --git a/backend/.cache/go-build/b7/b7071d99471aa835fe2ac8d33e8e89155704523838bc741a6ac7ff53281d43e4-d b/backend/.cache/go-build/b7/b7071d99471aa835fe2ac8d33e8e89155704523838bc741a6ac7ff53281d43e4-d new file mode 100644 index 0000000..38f41b3 Binary files /dev/null and b/backend/.cache/go-build/b7/b7071d99471aa835fe2ac8d33e8e89155704523838bc741a6ac7ff53281d43e4-d differ diff --git a/backend/.cache/go-build/b7/b759ca81372e99326638eac38bc2ff3cfc3962b0e656a68bcf230130af7aabbb-a b/backend/.cache/go-build/b7/b759ca81372e99326638eac38bc2ff3cfc3962b0e656a68bcf230130af7aabbb-a new file mode 100644 index 0000000..c2865f7 --- /dev/null +++ b/backend/.cache/go-build/b7/b759ca81372e99326638eac38bc2ff3cfc3962b0e656a68bcf230130af7aabbb-a @@ -0,0 +1 @@ +v1 b759ca81372e99326638eac38bc2ff3cfc3962b0e656a68bcf230130af7aabbb 1466a72743cdca8860f375a6bb952d71769f810d995c48bd6fbac364b3bc0552 675 1769060041923700282 diff --git a/backend/.cache/go-build/b7/b7c6524d694433b7761e123c6773955040fd3e67b7a20b91c89f3ada44d2a9e9-a b/backend/.cache/go-build/b7/b7c6524d694433b7761e123c6773955040fd3e67b7a20b91c89f3ada44d2a9e9-a new file mode 100644 index 0000000..9b927ba --- /dev/null +++ b/backend/.cache/go-build/b7/b7c6524d694433b7761e123c6773955040fd3e67b7a20b91c89f3ada44d2a9e9-a @@ -0,0 +1 @@ +v1 b7c6524d694433b7761e123c6773955040fd3e67b7a20b91c89f3ada44d2a9e9 1722e39b2eec812fae3b211d6e60f4a433f0d07a5be681d4de36532e00aac03c 21 1769060042086884915 diff --git a/backend/.cache/go-build/b9/b93ca2bd903ad2ab56b13c34d44e99d858e7d7fb73aed97dadf20c62f4972e27-a b/backend/.cache/go-build/b9/b93ca2bd903ad2ab56b13c34d44e99d858e7d7fb73aed97dadf20c62f4972e27-a new file mode 100644 index 0000000..17c8bd7 --- /dev/null +++ b/backend/.cache/go-build/b9/b93ca2bd903ad2ab56b13c34d44e99d858e7d7fb73aed97dadf20c62f4972e27-a @@ -0,0 +1 @@ +v1 b93ca2bd903ad2ab56b13c34d44e99d858e7d7fb73aed97dadf20c62f4972e27 0a234f678fd7f1766d5e7cb09d25966eb7de04d49c2e11264184932f48414ed3 1799 1769060041902470286 diff --git a/backend/.cache/go-build/b9/b943ff8c88b96748db361833b8252e492b5ae24e17936e9765c338e41bb25c8a-d b/backend/.cache/go-build/b9/b943ff8c88b96748db361833b8252e492b5ae24e17936e9765c338e41bb25c8a-d new file mode 100644 index 0000000..d09d503 Binary files /dev/null and b/backend/.cache/go-build/b9/b943ff8c88b96748db361833b8252e492b5ae24e17936e9765c338e41bb25c8a-d differ diff --git a/backend/.cache/go-build/b9/b9b5b41981c49bc8d5797f4bddaf0f56f4ebfe9a770e8ee519264a9cc343c330-a b/backend/.cache/go-build/b9/b9b5b41981c49bc8d5797f4bddaf0f56f4ebfe9a770e8ee519264a9cc343c330-a new file mode 100644 index 0000000..361e858 --- /dev/null +++ b/backend/.cache/go-build/b9/b9b5b41981c49bc8d5797f4bddaf0f56f4ebfe9a770e8ee519264a9cc343c330-a @@ -0,0 +1 @@ +v1 b9b5b41981c49bc8d5797f4bddaf0f56f4ebfe9a770e8ee519264a9cc343c330 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043721202188 diff --git a/backend/.cache/go-build/b9/b9d5089e2539c218912dfc8feb44569aa220a5c0a0dd7b0752384cb443971010-d b/backend/.cache/go-build/b9/b9d5089e2539c218912dfc8feb44569aa220a5c0a0dd7b0752384cb443971010-d new file mode 100644 index 0000000..82c4551 --- /dev/null +++ b/backend/.cache/go-build/b9/b9d5089e2539c218912dfc8feb44569aa220a5c0a0dd7b0752384cb443971010-d @@ -0,0 +1,20 @@ +./exp_aliastypeparams_on.go +./exp_arenas_off.go +./exp_boringcrypto_off.go +./exp_cacheprog_off.go +./exp_cgocheck2_off.go +./exp_coverageredesign_on.go +./exp_fieldtrack_off.go +./exp_heapminimum512kib_off.go +./exp_loopvar_off.go +./exp_newinliner_off.go +./exp_preemptibleloops_off.go +./exp_rangefunc_off.go +./exp_regabiargs_on.go +./exp_regabiwrappers_on.go +./exp_spinbitmutex_on.go +./exp_staticlockranking_off.go +./exp_swissmap_on.go +./exp_synchashtriemap_on.go +./exp_synctest_off.go +./flags.go diff --git a/backend/.cache/go-build/b9/b9da47e63696ba396739c2a8e72aebde53e4ae22a67919862f9cd8ae53069eac-d b/backend/.cache/go-build/b9/b9da47e63696ba396739c2a8e72aebde53e4ae22a67919862f9cd8ae53069eac-d new file mode 100644 index 0000000..7a97bca Binary files /dev/null and b/backend/.cache/go-build/b9/b9da47e63696ba396739c2a8e72aebde53e4ae22a67919862f9cd8ae53069eac-d differ diff --git a/backend/.cache/go-build/ba/ba9280b2dd910f8309c29602488afbbf2e9c19dc33f910851fa567c7461df950-a b/backend/.cache/go-build/ba/ba9280b2dd910f8309c29602488afbbf2e9c19dc33f910851fa567c7461df950-a new file mode 100644 index 0000000..71fe3d1 --- /dev/null +++ b/backend/.cache/go-build/ba/ba9280b2dd910f8309c29602488afbbf2e9c19dc33f910851fa567c7461df950-a @@ -0,0 +1 @@ +v1 ba9280b2dd910f8309c29602488afbbf2e9c19dc33f910851fa567c7461df950 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043535354699 diff --git a/backend/.cache/go-build/bb/bb0d291df98b682c1e95faa052ebf85a2d87ba99919d2322ae7d2021b9015650-a b/backend/.cache/go-build/bb/bb0d291df98b682c1e95faa052ebf85a2d87ba99919d2322ae7d2021b9015650-a new file mode 100644 index 0000000..6cd085e --- /dev/null +++ b/backend/.cache/go-build/bb/bb0d291df98b682c1e95faa052ebf85a2d87ba99919d2322ae7d2021b9015650-a @@ -0,0 +1 @@ +v1 bb0d291df98b682c1e95faa052ebf85a2d87ba99919d2322ae7d2021b9015650 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043854425541 diff --git a/backend/.cache/go-build/bb/bb27c0363df1d5172ab5db462eca82860318d9abf21339343ea9903e42356401-a b/backend/.cache/go-build/bb/bb27c0363df1d5172ab5db462eca82860318d9abf21339343ea9903e42356401-a new file mode 100644 index 0000000..89dd67b --- /dev/null +++ b/backend/.cache/go-build/bb/bb27c0363df1d5172ab5db462eca82860318d9abf21339343ea9903e42356401-a @@ -0,0 +1 @@ +v1 bb27c0363df1d5172ab5db462eca82860318d9abf21339343ea9903e42356401 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041982401692 diff --git a/backend/.cache/go-build/bb/bb2b6ea8cc44fffe6558ff42f1a957c9434ce8a6637654a903c2bb12e679c42e-d b/backend/.cache/go-build/bb/bb2b6ea8cc44fffe6558ff42f1a957c9434ce8a6637654a903c2bb12e679c42e-d new file mode 100644 index 0000000..d9c0231 Binary files /dev/null and b/backend/.cache/go-build/bb/bb2b6ea8cc44fffe6558ff42f1a957c9434ce8a6637654a903c2bb12e679c42e-d differ diff --git a/backend/.cache/go-build/bb/bb44f3488bfea5428da41c79974e7502f90ad4d882ddf05d22f5b01e6c5d5624-a b/backend/.cache/go-build/bb/bb44f3488bfea5428da41c79974e7502f90ad4d882ddf05d22f5b01e6c5d5624-a new file mode 100644 index 0000000..a421961 --- /dev/null +++ b/backend/.cache/go-build/bb/bb44f3488bfea5428da41c79974e7502f90ad4d882ddf05d22f5b01e6c5d5624-a @@ -0,0 +1 @@ +v1 bb44f3488bfea5428da41c79974e7502f90ad4d882ddf05d22f5b01e6c5d5624 b3ad53c02968682d2e1b154c700553e9f97393bbce2523f2924f7d353845c67b 1842 1769060041926705237 diff --git a/backend/.cache/go-build/bb/bbbd9331590c4e6e845fcfb1d227cabfd6a5b8297877b24302a0f02cc2fce2e3-a b/backend/.cache/go-build/bb/bbbd9331590c4e6e845fcfb1d227cabfd6a5b8297877b24302a0f02cc2fce2e3-a new file mode 100644 index 0000000..350fa27 --- /dev/null +++ b/backend/.cache/go-build/bb/bbbd9331590c4e6e845fcfb1d227cabfd6a5b8297877b24302a0f02cc2fce2e3-a @@ -0,0 +1 @@ +v1 bbbd9331590c4e6e845fcfb1d227cabfd6a5b8297877b24302a0f02cc2fce2e3 901a115bbb89bb5c3042c15bebc8ae38a3ab053486a8bface4a3aff532db432a 64 1769060041982413203 diff --git a/backend/.cache/go-build/bc/bc114dc300d50a8aff2d52ab8f48488e71d94cbf8e52242ade837c4e1da9fa43-d b/backend/.cache/go-build/bc/bc114dc300d50a8aff2d52ab8f48488e71d94cbf8e52242ade837c4e1da9fa43-d new file mode 100644 index 0000000..35fddae Binary files /dev/null and b/backend/.cache/go-build/bc/bc114dc300d50a8aff2d52ab8f48488e71d94cbf8e52242ade837c4e1da9fa43-d differ diff --git a/backend/.cache/go-build/bc/bc37c960192c4dad7cb8dc5ddaa2e02289ca9c8dae22b099b8032b35058f4fec-d b/backend/.cache/go-build/bc/bc37c960192c4dad7cb8dc5ddaa2e02289ca9c8dae22b099b8032b35058f4fec-d new file mode 100644 index 0000000..6c5de94 Binary files /dev/null and b/backend/.cache/go-build/bc/bc37c960192c4dad7cb8dc5ddaa2e02289ca9c8dae22b099b8032b35058f4fec-d differ diff --git a/backend/.cache/go-build/bc/bca17dbea43d6eca9ac89df84ef4312e196d0c0bb5b55b6a094bcff3032d633d-a b/backend/.cache/go-build/bc/bca17dbea43d6eca9ac89df84ef4312e196d0c0bb5b55b6a094bcff3032d633d-a new file mode 100644 index 0000000..8ab005e --- /dev/null +++ b/backend/.cache/go-build/bc/bca17dbea43d6eca9ac89df84ef4312e196d0c0bb5b55b6a094bcff3032d633d-a @@ -0,0 +1 @@ +v1 bca17dbea43d6eca9ac89df84ef4312e196d0c0bb5b55b6a094bcff3032d633d e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042002303203 diff --git a/backend/.cache/go-build/bc/bce68eb158489b7e8e3d73683043dc1baa1625205eb8bfe62749dd4382e421d2-a b/backend/.cache/go-build/bc/bce68eb158489b7e8e3d73683043dc1baa1625205eb8bfe62749dd4382e421d2-a new file mode 100644 index 0000000..4d151ee --- /dev/null +++ b/backend/.cache/go-build/bc/bce68eb158489b7e8e3d73683043dc1baa1625205eb8bfe62749dd4382e421d2-a @@ -0,0 +1 @@ +v1 bce68eb158489b7e8e3d73683043dc1baa1625205eb8bfe62749dd4382e421d2 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043667727602 diff --git a/backend/.cache/go-build/bc/bcf29f6696231d1e1c8c8b0791eafd5bacf6da6e7a083c9856295fe87385b569-a b/backend/.cache/go-build/bc/bcf29f6696231d1e1c8c8b0791eafd5bacf6da6e7a083c9856295fe87385b569-a new file mode 100644 index 0000000..8e12441 --- /dev/null +++ b/backend/.cache/go-build/bc/bcf29f6696231d1e1c8c8b0791eafd5bacf6da6e7a083c9856295fe87385b569-a @@ -0,0 +1 @@ +v1 bcf29f6696231d1e1c8c8b0791eafd5bacf6da6e7a083c9856295fe87385b569 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043634346540 diff --git a/backend/.cache/go-build/bd/bdd04e3a366e629cb5ed4390fb3f578821197ee148d9d1d5886652f85119322f-d b/backend/.cache/go-build/bd/bdd04e3a366e629cb5ed4390fb3f578821197ee148d9d1d5886652f85119322f-d new file mode 100644 index 0000000..2cbacf1 Binary files /dev/null and b/backend/.cache/go-build/bd/bdd04e3a366e629cb5ed4390fb3f578821197ee148d9d1d5886652f85119322f-d differ diff --git a/backend/.cache/go-build/be/be460cd25f2d74eda37618f3aa72da901b04a412deda83aad0f39ea19ddc936c-a b/backend/.cache/go-build/be/be460cd25f2d74eda37618f3aa72da901b04a412deda83aad0f39ea19ddc936c-a new file mode 100644 index 0000000..0ddadb0 --- /dev/null +++ b/backend/.cache/go-build/be/be460cd25f2d74eda37618f3aa72da901b04a412deda83aad0f39ea19ddc936c-a @@ -0,0 +1 @@ +v1 be460cd25f2d74eda37618f3aa72da901b04a412deda83aad0f39ea19ddc936c e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042065081550 diff --git a/backend/.cache/go-build/be/be4b731ea2049f699b9e4ffd17776d9aa99a67b842304c6926771f5f3f9b2c8c-a b/backend/.cache/go-build/be/be4b731ea2049f699b9e4ffd17776d9aa99a67b842304c6926771f5f3f9b2c8c-a new file mode 100644 index 0000000..b142bdc --- /dev/null +++ b/backend/.cache/go-build/be/be4b731ea2049f699b9e4ffd17776d9aa99a67b842304c6926771f5f3f9b2c8c-a @@ -0,0 +1 @@ +v1 be4b731ea2049f699b9e4ffd17776d9aa99a67b842304c6926771f5f3f9b2c8c e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041988997799 diff --git a/backend/.cache/go-build/bf/bf25dcddd4eeede643ac6e1f87a91f723518188b5791d345005d628ba14178f6-a b/backend/.cache/go-build/bf/bf25dcddd4eeede643ac6e1f87a91f723518188b5791d345005d628ba14178f6-a new file mode 100644 index 0000000..9b0fa6b --- /dev/null +++ b/backend/.cache/go-build/bf/bf25dcddd4eeede643ac6e1f87a91f723518188b5791d345005d628ba14178f6-a @@ -0,0 +1 @@ +v1 bf25dcddd4eeede643ac6e1f87a91f723518188b5791d345005d628ba14178f6 a1b27a06dde351088cd231bbd80a6a8b250718636a86ebc5e8285f7171134a5f 201 1769060041908736940 diff --git a/backend/.cache/go-build/c0/c0186c5c1cc7997bd991a93523a0e2e1f1b8877ee1293ddf86de14ba7569b32d-d b/backend/.cache/go-build/c0/c0186c5c1cc7997bd991a93523a0e2e1f1b8877ee1293ddf86de14ba7569b32d-d new file mode 100644 index 0000000..3d94911 Binary files /dev/null and b/backend/.cache/go-build/c0/c0186c5c1cc7997bd991a93523a0e2e1f1b8877ee1293ddf86de14ba7569b32d-d differ diff --git a/backend/.cache/go-build/c0/c02d820f4e49ca5c082a5f5f519390221e1551433112a02258ea45db78cd261f-a b/backend/.cache/go-build/c0/c02d820f4e49ca5c082a5f5f519390221e1551433112a02258ea45db78cd261f-a new file mode 100644 index 0000000..0a36f4b --- /dev/null +++ b/backend/.cache/go-build/c0/c02d820f4e49ca5c082a5f5f519390221e1551433112a02258ea45db78cd261f-a @@ -0,0 +1 @@ +v1 c02d820f4e49ca5c082a5f5f519390221e1551433112a02258ea45db78cd261f e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041983633137 diff --git a/backend/.cache/go-build/c0/c03800a08c0f3bc37d82cdff25b96202c924ccccb418e728fc17436cfde7aa6f-d b/backend/.cache/go-build/c0/c03800a08c0f3bc37d82cdff25b96202c924ccccb418e728fc17436cfde7aa6f-d new file mode 100644 index 0000000..cde55ad --- /dev/null +++ b/backend/.cache/go-build/c0/c03800a08c0f3bc37d82cdff25b96202c924ccccb418e728fc17436cfde7aa6f-d @@ -0,0 +1 @@ +./hooks.go diff --git a/backend/.cache/go-build/c0/c03db0060749795c85ba4d6d15620e0a5e0af453dd292d63abd9234265fee9b7-a b/backend/.cache/go-build/c0/c03db0060749795c85ba4d6d15620e0a5e0af453dd292d63abd9234265fee9b7-a new file mode 100644 index 0000000..328e278 --- /dev/null +++ b/backend/.cache/go-build/c0/c03db0060749795c85ba4d6d15620e0a5e0af453dd292d63abd9234265fee9b7-a @@ -0,0 +1 @@ +v1 c03db0060749795c85ba4d6d15620e0a5e0af453dd292d63abd9234265fee9b7 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041981109711 diff --git a/backend/.cache/go-build/c0/c05b6642b42d3572fd9b706932b484d1ce974576e2716430c90a0b7577419dec-a b/backend/.cache/go-build/c0/c05b6642b42d3572fd9b706932b484d1ce974576e2716430c90a0b7577419dec-a new file mode 100644 index 0000000..b61267b --- /dev/null +++ b/backend/.cache/go-build/c0/c05b6642b42d3572fd9b706932b484d1ce974576e2716430c90a0b7577419dec-a @@ -0,0 +1 @@ +v1 c05b6642b42d3572fd9b706932b484d1ce974576e2716430c90a0b7577419dec db08b6b92a82b49d2f27b7c7c3c05500c9181adbf0d0dab9b589a7466ce8e339 515 1769060043657989858 diff --git a/backend/.cache/go-build/c0/c0e676b4ca85d2e55ee16f87ce23c3b50b469c11466bc4a49b2fcf7dc767b643-a b/backend/.cache/go-build/c0/c0e676b4ca85d2e55ee16f87ce23c3b50b469c11466bc4a49b2fcf7dc767b643-a new file mode 100644 index 0000000..b88bb49 --- /dev/null +++ b/backend/.cache/go-build/c0/c0e676b4ca85d2e55ee16f87ce23c3b50b469c11466bc4a49b2fcf7dc767b643-a @@ -0,0 +1 @@ +v1 c0e676b4ca85d2e55ee16f87ce23c3b50b469c11466bc4a49b2fcf7dc767b643 47e4c22af5bb6cbca2982912871dccb4e04b222b12d4c68a9d37e65c0e72fd61 59754 1769060042039005049 diff --git a/backend/.cache/go-build/c0/c0e717e73762b033eba50afb9b45688b4bc0c6635b2d1fb40e2e7c0aacabadcc-d b/backend/.cache/go-build/c0/c0e717e73762b033eba50afb9b45688b4bc0c6635b2d1fb40e2e7c0aacabadcc-d new file mode 100644 index 0000000..c3d5a5e Binary files /dev/null and b/backend/.cache/go-build/c0/c0e717e73762b033eba50afb9b45688b4bc0c6635b2d1fb40e2e7c0aacabadcc-d differ diff --git a/backend/.cache/go-build/c0/c0edc07ba809e91c5e7cc5c56dc3a70c23f23a9ed872aac994cc75043403eb2c-a b/backend/.cache/go-build/c0/c0edc07ba809e91c5e7cc5c56dc3a70c23f23a9ed872aac994cc75043403eb2c-a new file mode 100644 index 0000000..c1ffadb --- /dev/null +++ b/backend/.cache/go-build/c0/c0edc07ba809e91c5e7cc5c56dc3a70c23f23a9ed872aac994cc75043403eb2c-a @@ -0,0 +1 @@ +v1 c0edc07ba809e91c5e7cc5c56dc3a70c23f23a9ed872aac994cc75043403eb2c 9187723088bfa0a5164105e8b3118d8a97b82620e98b599312567f97c7daf79e 2186 1769060041914153073 diff --git a/backend/.cache/go-build/c0/c0fd8acc60b83d8de2d08932e2b0e8d9c92586a30fbef8bf823462f69e6db00c-d b/backend/.cache/go-build/c0/c0fd8acc60b83d8de2d08932e2b0e8d9c92586a30fbef8bf823462f69e6db00c-d new file mode 100644 index 0000000..290322d Binary files /dev/null and b/backend/.cache/go-build/c0/c0fd8acc60b83d8de2d08932e2b0e8d9c92586a30fbef8bf823462f69e6db00c-d differ diff --git a/backend/.cache/go-build/c2/c214b10a3cb26da72cfc6f4f936e45669aa4fe677b9988e2a644ac8bb28d780a-a b/backend/.cache/go-build/c2/c214b10a3cb26da72cfc6f4f936e45669aa4fe677b9988e2a644ac8bb28d780a-a new file mode 100644 index 0000000..fd607b2 --- /dev/null +++ b/backend/.cache/go-build/c2/c214b10a3cb26da72cfc6f4f936e45669aa4fe677b9988e2a644ac8bb28d780a-a @@ -0,0 +1 @@ +v1 c214b10a3cb26da72cfc6f4f936e45669aa4fe677b9988e2a644ac8bb28d780a e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044100459851 diff --git a/backend/.cache/go-build/c2/c21c44e86262809cbece8652cc385f33e9e8a259951b0719743691a7ec80a9b8-d b/backend/.cache/go-build/c2/c21c44e86262809cbece8652cc385f33e9e8a259951b0719743691a7ec80a9b8-d new file mode 100644 index 0000000..261226d Binary files /dev/null and b/backend/.cache/go-build/c2/c21c44e86262809cbece8652cc385f33e9e8a259951b0719743691a7ec80a9b8-d differ diff --git a/backend/.cache/go-build/c2/c220a1633b34bf6ca6bf4187c3a963c07116f18bd72a35485eb81a41f5b62b67-a b/backend/.cache/go-build/c2/c220a1633b34bf6ca6bf4187c3a963c07116f18bd72a35485eb81a41f5b62b67-a new file mode 100644 index 0000000..ddf1952 --- /dev/null +++ b/backend/.cache/go-build/c2/c220a1633b34bf6ca6bf4187c3a963c07116f18bd72a35485eb81a41f5b62b67-a @@ -0,0 +1 @@ +v1 c220a1633b34bf6ca6bf4187c3a963c07116f18bd72a35485eb81a41f5b62b67 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041985415333 diff --git a/backend/.cache/go-build/c2/c28b470feb5334df0bf9ca084cae48f03efe0d326991b48168fd05f0b7de7c9d-a b/backend/.cache/go-build/c2/c28b470feb5334df0bf9ca084cae48f03efe0d326991b48168fd05f0b7de7c9d-a new file mode 100644 index 0000000..9d0be5e --- /dev/null +++ b/backend/.cache/go-build/c2/c28b470feb5334df0bf9ca084cae48f03efe0d326991b48168fd05f0b7de7c9d-a @@ -0,0 +1 @@ +v1 c28b470feb5334df0bf9ca084cae48f03efe0d326991b48168fd05f0b7de7c9d b135c973b51c32ff7c35009ad00f191fc7d93090e3da1928c5558e872d0d1b34 664 1769060041923586821 diff --git a/backend/.cache/go-build/c2/c2968022285a686abaa75baf3067f31a15b434d7b864ab721c48c9874763794f-a b/backend/.cache/go-build/c2/c2968022285a686abaa75baf3067f31a15b434d7b864ab721c48c9874763794f-a new file mode 100644 index 0000000..b08cb5a --- /dev/null +++ b/backend/.cache/go-build/c2/c2968022285a686abaa75baf3067f31a15b434d7b864ab721c48c9874763794f-a @@ -0,0 +1 @@ +v1 c2968022285a686abaa75baf3067f31a15b434d7b864ab721c48c9874763794f e9a6c4f580e23933f9f266916ce23c0c2ea40c086ba9d86ebea1759f30ae68ca 6689 1769060041946207533 diff --git a/backend/.cache/go-build/c3/c30c7406e98f2b98b3e0d2e9bdad052573865dd01ac197bbf000000e00d4f781-d b/backend/.cache/go-build/c3/c30c7406e98f2b98b3e0d2e9bdad052573865dd01ac197bbf000000e00d4f781-d new file mode 100644 index 0000000..5fcf742 Binary files /dev/null and b/backend/.cache/go-build/c3/c30c7406e98f2b98b3e0d2e9bdad052573865dd01ac197bbf000000e00d4f781-d differ diff --git a/backend/.cache/go-build/c3/c3de07f1a9824f754f9632842a7b73ecf48dcb1b363bc699bfa54fcdb28ec363-d b/backend/.cache/go-build/c3/c3de07f1a9824f754f9632842a7b73ecf48dcb1b363bc699bfa54fcdb28ec363-d new file mode 100644 index 0000000..2142b8e Binary files /dev/null and b/backend/.cache/go-build/c3/c3de07f1a9824f754f9632842a7b73ecf48dcb1b363bc699bfa54fcdb28ec363-d differ diff --git a/backend/.cache/go-build/c4/c423bb4a77f3ccb2690de4857f381c6ee619118025bf79938f1fef8b5c8a805c-a b/backend/.cache/go-build/c4/c423bb4a77f3ccb2690de4857f381c6ee619118025bf79938f1fef8b5c8a805c-a new file mode 100644 index 0000000..d68fe33 --- /dev/null +++ b/backend/.cache/go-build/c4/c423bb4a77f3ccb2690de4857f381c6ee619118025bf79938f1fef8b5c8a805c-a @@ -0,0 +1 @@ +v1 c423bb4a77f3ccb2690de4857f381c6ee619118025bf79938f1fef8b5c8a805c b9da47e63696ba396739c2a8e72aebde53e4ae22a67919862f9cd8ae53069eac 1493 1769060041925600266 diff --git a/backend/.cache/go-build/c4/c4516603841127ea39cbbb7ea1f383c70ad3972fabe04758ee768e76afcbe6a7-d b/backend/.cache/go-build/c4/c4516603841127ea39cbbb7ea1f383c70ad3972fabe04758ee768e76afcbe6a7-d new file mode 100644 index 0000000..09416fd Binary files /dev/null and b/backend/.cache/go-build/c4/c4516603841127ea39cbbb7ea1f383c70ad3972fabe04758ee768e76afcbe6a7-d differ diff --git a/backend/.cache/go-build/c4/c46261742e71155cc0411ad6ea8582d8e1d54af737554767b06e6818a04d28a4-a b/backend/.cache/go-build/c4/c46261742e71155cc0411ad6ea8582d8e1d54af737554767b06e6818a04d28a4-a new file mode 100644 index 0000000..61d4304 --- /dev/null +++ b/backend/.cache/go-build/c4/c46261742e71155cc0411ad6ea8582d8e1d54af737554767b06e6818a04d28a4-a @@ -0,0 +1 @@ +v1 c46261742e71155cc0411ad6ea8582d8e1d54af737554767b06e6818a04d28a4 317534f8ea017922fa3dbda21dc4192b09ab8c5a48ad5631999702f18f5ceb54 37 1769060041967965542 diff --git a/backend/.cache/go-build/c4/c4b6537a0406799381975cb30a6a83fbbb3b5356712f1453ff26ceef81c507cd-d b/backend/.cache/go-build/c4/c4b6537a0406799381975cb30a6a83fbbb3b5356712f1453ff26ceef81c507cd-d new file mode 100644 index 0000000..f4dd8be Binary files /dev/null and b/backend/.cache/go-build/c4/c4b6537a0406799381975cb30a6a83fbbb3b5356712f1453ff26ceef81c507cd-d differ diff --git a/backend/.cache/go-build/c4/c4f803d612cab4b1158e9929ef96fcd9b868550f8088cabe9ea6edaab4273915-a b/backend/.cache/go-build/c4/c4f803d612cab4b1158e9929ef96fcd9b868550f8088cabe9ea6edaab4273915-a new file mode 100644 index 0000000..76f1d8e --- /dev/null +++ b/backend/.cache/go-build/c4/c4f803d612cab4b1158e9929ef96fcd9b868550f8088cabe9ea6edaab4273915-a @@ -0,0 +1 @@ +v1 c4f803d612cab4b1158e9929ef96fcd9b868550f8088cabe9ea6edaab4273915 9241a3ff73c970f690294ef21f4a0f4363873d369312cb683fc4763f2b3326ba 47566 1769060041931878361 diff --git a/backend/.cache/go-build/c5/c530829087b560bc7d13e1a37079d0d52b1163c983ae901b07ae9752e2fae944-d b/backend/.cache/go-build/c5/c530829087b560bc7d13e1a37079d0d52b1163c983ae901b07ae9752e2fae944-d new file mode 100644 index 0000000..3e6ce49 Binary files /dev/null and b/backend/.cache/go-build/c5/c530829087b560bc7d13e1a37079d0d52b1163c983ae901b07ae9752e2fae944-d differ diff --git a/backend/.cache/go-build/c5/c57be060ec648dd4a30517536339520007a04ce752b67b40b55f54a1a7df76b5-d b/backend/.cache/go-build/c5/c57be060ec648dd4a30517536339520007a04ce752b67b40b55f54a1a7df76b5-d new file mode 100644 index 0000000..e20c519 --- /dev/null +++ b/backend/.cache/go-build/c5/c57be060ec648dd4a30517536339520007a04ce752b67b40b55f54a1a7df76b5-d @@ -0,0 +1 @@ +./utf8.go diff --git a/backend/.cache/go-build/c5/c58da937644cf6cdabd9df277177736b269e5ceae19ef7a158c50668ee4a7928-a b/backend/.cache/go-build/c5/c58da937644cf6cdabd9df277177736b269e5ceae19ef7a158c50668ee4a7928-a new file mode 100644 index 0000000..73b83f0 --- /dev/null +++ b/backend/.cache/go-build/c5/c58da937644cf6cdabd9df277177736b269e5ceae19ef7a158c50668ee4a7928-a @@ -0,0 +1 @@ +v1 c58da937644cf6cdabd9df277177736b269e5ceae19ef7a158c50668ee4a7928 6eebf8957957e5ef5042569694d194de7b0cb40c977959263821086a2baf9415 2002 1769060041912001404 diff --git a/backend/.cache/go-build/c5/c5dcd428aa9690b4fab2484059a7416f541dc091bec2af440c8796deb4c83781-d b/backend/.cache/go-build/c5/c5dcd428aa9690b4fab2484059a7416f541dc091bec2af440c8796deb4c83781-d new file mode 100644 index 0000000..14d39c1 Binary files /dev/null and b/backend/.cache/go-build/c5/c5dcd428aa9690b4fab2484059a7416f541dc091bec2af440c8796deb4c83781-d differ diff --git a/backend/.cache/go-build/c6/c613b52da5bfe2edf8081bc57ad037bdb7b76c74f2c4727408ab3aef2b6a83b9-d b/backend/.cache/go-build/c6/c613b52da5bfe2edf8081bc57ad037bdb7b76c74f2c4727408ab3aef2b6a83b9-d new file mode 100644 index 0000000..b45da12 --- /dev/null +++ b/backend/.cache/go-build/c6/c613b52da5bfe2edf8081bc57ad037bdb7b76c74f2c4727408ab3aef2b6a83b9-d @@ -0,0 +1,9 @@ +./group.go +./map.go +./runtime.go +./runtime_fast32_swiss.go +./runtime_fast64_swiss.go +./runtime_faststr_swiss.go +./runtime_swiss.go +./table.go +./table_debug.go diff --git a/backend/.cache/go-build/c6/c65fb8bf57a1e0df963979f0f59714c5af14f7a3a987e8688a934f0f38c18af2-d b/backend/.cache/go-build/c6/c65fb8bf57a1e0df963979f0f59714c5af14f7a3a987e8688a934f0f38c18af2-d new file mode 100644 index 0000000..bcbb1c6 --- /dev/null +++ b/backend/.cache/go-build/c6/c65fb8bf57a1e0df963979f0f59714c5af14f7a3a987e8688a934f0f38c18af2-d @@ -0,0 +1,2 @@ +./doc.go +./noasan.go diff --git a/backend/.cache/go-build/c7/c73b7bda241ddaff4e0789c7e43616cac2565fda883a8afea3496263ee1969a3-a b/backend/.cache/go-build/c7/c73b7bda241ddaff4e0789c7e43616cac2565fda883a8afea3496263ee1969a3-a new file mode 100644 index 0000000..557b6af --- /dev/null +++ b/backend/.cache/go-build/c7/c73b7bda241ddaff4e0789c7e43616cac2565fda883a8afea3496263ee1969a3-a @@ -0,0 +1 @@ +v1 c73b7bda241ddaff4e0789c7e43616cac2565fda883a8afea3496263ee1969a3 b5c5a24e7e715a8d4d80ab9fc6a65e798e7be9081bc252aea4d1f6663f879330 893 1769060041910429258 diff --git a/backend/.cache/go-build/c7/c79f569a46bc1930d06266f69f95b8399d50e179fdb1b4c84a7df3dc71a1e3d4-a b/backend/.cache/go-build/c7/c79f569a46bc1930d06266f69f95b8399d50e179fdb1b4c84a7df3dc71a1e3d4-a new file mode 100644 index 0000000..6ceb449 --- /dev/null +++ b/backend/.cache/go-build/c7/c79f569a46bc1930d06266f69f95b8399d50e179fdb1b4c84a7df3dc71a1e3d4-a @@ -0,0 +1 @@ +v1 c79f569a46bc1930d06266f69f95b8399d50e179fdb1b4c84a7df3dc71a1e3d4 72859f1b45db304cc7987d3478a9645a5cd767f44434bbc30bcb7f6aa39843dd 681 1769060042013271485 diff --git a/backend/.cache/go-build/c7/c7a0f6e4a704ab9033096faeb982a00576bb83b4b603192a9e3a019735ef6fdb-a b/backend/.cache/go-build/c7/c7a0f6e4a704ab9033096faeb982a00576bb83b4b603192a9e3a019735ef6fdb-a new file mode 100644 index 0000000..b4b95ad --- /dev/null +++ b/backend/.cache/go-build/c7/c7a0f6e4a704ab9033096faeb982a00576bb83b4b603192a9e3a019735ef6fdb-a @@ -0,0 +1 @@ +v1 c7a0f6e4a704ab9033096faeb982a00576bb83b4b603192a9e3a019735ef6fdb e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041987340322 diff --git a/backend/.cache/go-build/c7/c7e6c8af5d2d999c37415c85557dfb19e69e724b80c1bde9346e52f35f901e0e-d b/backend/.cache/go-build/c7/c7e6c8af5d2d999c37415c85557dfb19e69e724b80c1bde9346e52f35f901e0e-d new file mode 100644 index 0000000..1c02ab1 Binary files /dev/null and b/backend/.cache/go-build/c7/c7e6c8af5d2d999c37415c85557dfb19e69e724b80c1bde9346e52f35f901e0e-d differ diff --git a/backend/.cache/go-build/c8/c80c995fbe28830ce7fab3eeb651f9b50202114b0fd33c2f8ce4fee9bb635448-a b/backend/.cache/go-build/c8/c80c995fbe28830ce7fab3eeb651f9b50202114b0fd33c2f8ce4fee9bb635448-a new file mode 100644 index 0000000..059d72b --- /dev/null +++ b/backend/.cache/go-build/c8/c80c995fbe28830ce7fab3eeb651f9b50202114b0fd33c2f8ce4fee9bb635448-a @@ -0,0 +1 @@ +v1 c80c995fbe28830ce7fab3eeb651f9b50202114b0fd33c2f8ce4fee9bb635448 adb8c49ec69e490853083970d7c68285550b3fbc403a1c121d9b2862c7a6dddd 2546 1769060041980519419 diff --git a/backend/.cache/go-build/c8/c86663e8305c8f44b1fc529f98b433300ee55c9dfe618d092d2ee43eef2d9ab3-d b/backend/.cache/go-build/c8/c86663e8305c8f44b1fc529f98b433300ee55c9dfe618d092d2ee43eef2d9ab3-d new file mode 100644 index 0000000..5529450 Binary files /dev/null and b/backend/.cache/go-build/c8/c86663e8305c8f44b1fc529f98b433300ee55c9dfe618d092d2ee43eef2d9ab3-d differ diff --git a/backend/.cache/go-build/c8/c8b8178911c0b5aa92fe78396684a02182f890f4cbade4c15598063ef093ea63-d b/backend/.cache/go-build/c8/c8b8178911c0b5aa92fe78396684a02182f890f4cbade4c15598063ef093ea63-d new file mode 100644 index 0000000..90b3c66 Binary files /dev/null and b/backend/.cache/go-build/c8/c8b8178911c0b5aa92fe78396684a02182f890f4cbade4c15598063ef093ea63-d differ diff --git a/backend/.cache/go-build/c9/c90f727b3df4d03f1e4cc72163e1ce9d79a10ff77a1ca2b8308ef07120b9920e-d b/backend/.cache/go-build/c9/c90f727b3df4d03f1e4cc72163e1ce9d79a10ff77a1ca2b8308ef07120b9920e-d new file mode 100644 index 0000000..2bc5a86 --- /dev/null +++ b/backend/.cache/go-build/c9/c90f727b3df4d03f1e4cc72163e1ce9d79a10ff77a1ca2b8308ef07120b9920e-d @@ -0,0 +1 @@ +./profilerecord.go diff --git a/backend/.cache/go-build/c9/c95bae93c2f31b907fd744a185b489929e7262a638216fe4e5c4918c2cc866ba-a b/backend/.cache/go-build/c9/c95bae93c2f31b907fd744a185b489929e7262a638216fe4e5c4918c2cc866ba-a new file mode 100644 index 0000000..8fb01cd --- /dev/null +++ b/backend/.cache/go-build/c9/c95bae93c2f31b907fd744a185b489929e7262a638216fe4e5c4918c2cc866ba-a @@ -0,0 +1 @@ +v1 c95bae93c2f31b907fd744a185b489929e7262a638216fe4e5c4918c2cc866ba 5eea22ea4a40cab1935ab7e0f64f73a299e9f3af8b42e3e16e7db9b63d76c05a 796 1769060041928077029 diff --git a/backend/.cache/go-build/c9/c9809e85f9f8193d62c621346479c4e575c3d53133c11574ba010ef130bad309-a b/backend/.cache/go-build/c9/c9809e85f9f8193d62c621346479c4e575c3d53133c11574ba010ef130bad309-a new file mode 100644 index 0000000..d5920bf --- /dev/null +++ b/backend/.cache/go-build/c9/c9809e85f9f8193d62c621346479c4e575c3d53133c11574ba010ef130bad309-a @@ -0,0 +1 @@ +v1 c9809e85f9f8193d62c621346479c4e575c3d53133c11574ba010ef130bad309 2f76b95f37081777d61bb14ba7071cdf8ee9dfe1a8a6982d790c89f29b3af5a2 13912 1769060041918852200 diff --git a/backend/.cache/go-build/c9/c9be72cc93c49bc0ee603a20e5684aba73b3e458cd6191365ee31d21e3785b9e-d b/backend/.cache/go-build/c9/c9be72cc93c49bc0ee603a20e5684aba73b3e458cd6191365ee31d21e3785b9e-d new file mode 100644 index 0000000..86d64c0 Binary files /dev/null and b/backend/.cache/go-build/c9/c9be72cc93c49bc0ee603a20e5684aba73b3e458cd6191365ee31d21e3785b9e-d differ diff --git a/backend/.cache/go-build/c9/c9df6ee467d47a30fe66f070e71511cd4ed4e0c8007a33d86e05445c5b35b403-a b/backend/.cache/go-build/c9/c9df6ee467d47a30fe66f070e71511cd4ed4e0c8007a33d86e05445c5b35b403-a new file mode 100644 index 0000000..25440ed --- /dev/null +++ b/backend/.cache/go-build/c9/c9df6ee467d47a30fe66f070e71511cd4ed4e0c8007a33d86e05445c5b35b403-a @@ -0,0 +1 @@ +v1 c9df6ee467d47a30fe66f070e71511cd4ed4e0c8007a33d86e05445c5b35b403 5c37f7af3a16bd1e81bf20b4972a8514eda2d68d833225e702c65db726ebdaed 9402 1769060041981540281 diff --git a/backend/.cache/go-build/cb/cb03cf752f4bd22fc19cb8550be454fba61297f17b7956b8ec1f00e6e28b1d0c-a b/backend/.cache/go-build/cb/cb03cf752f4bd22fc19cb8550be454fba61297f17b7956b8ec1f00e6e28b1d0c-a new file mode 100644 index 0000000..729dcad --- /dev/null +++ b/backend/.cache/go-build/cb/cb03cf752f4bd22fc19cb8550be454fba61297f17b7956b8ec1f00e6e28b1d0c-a @@ -0,0 +1 @@ +v1 cb03cf752f4bd22fc19cb8550be454fba61297f17b7956b8ec1f00e6e28b1d0c 8d85db46f8f571f3e84b874490d4bd5a861726e2b0dbf69b54cc7c1c1682a9b1 6513 1769060041912237000 diff --git a/backend/.cache/go-build/cb/cb7f7d9b3fa115e1cabeb415887d1e436d7d88ead9a8942f8f6bf69e7869db3e-d b/backend/.cache/go-build/cb/cb7f7d9b3fa115e1cabeb415887d1e436d7d88ead9a8942f8f6bf69e7869db3e-d new file mode 100644 index 0000000..863ebde Binary files /dev/null and b/backend/.cache/go-build/cb/cb7f7d9b3fa115e1cabeb415887d1e436d7d88ead9a8942f8f6bf69e7869db3e-d differ diff --git a/backend/.cache/go-build/cb/cbf5439bf12daf7a7b066b26071d3b52f197ac01f2308e17b2bcb6095b533cc0-d b/backend/.cache/go-build/cb/cbf5439bf12daf7a7b066b26071d3b52f197ac01f2308e17b2bcb6095b533cc0-d new file mode 100644 index 0000000..376a4d4 Binary files /dev/null and b/backend/.cache/go-build/cb/cbf5439bf12daf7a7b066b26071d3b52f197ac01f2308e17b2bcb6095b533cc0-d differ diff --git a/backend/.cache/go-build/cc/cc7091fa7cba549f80433158076f78e7c0b9060cc56e6bc76eb7e8c3f7538a8f-d b/backend/.cache/go-build/cc/cc7091fa7cba549f80433158076f78e7c0b9060cc56e6bc76eb7e8c3f7538a8f-d new file mode 100644 index 0000000..7c808f3 Binary files /dev/null and b/backend/.cache/go-build/cc/cc7091fa7cba549f80433158076f78e7c0b9060cc56e6bc76eb7e8c3f7538a8f-d differ diff --git a/backend/.cache/go-build/cc/ccab6b74de50345e795c950a5a944954c33bd453dfda16cec4434ef405725e37-a b/backend/.cache/go-build/cc/ccab6b74de50345e795c950a5a944954c33bd453dfda16cec4434ef405725e37-a new file mode 100644 index 0000000..e62d17f --- /dev/null +++ b/backend/.cache/go-build/cc/ccab6b74de50345e795c950a5a944954c33bd453dfda16cec4434ef405725e37-a @@ -0,0 +1 @@ +v1 ccab6b74de50345e795c950a5a944954c33bd453dfda16cec4434ef405725e37 04e346f3fc12daee822cdfb24425ad23187f6df0087dec7582431a18b4763be6 4053 1769060041927253305 diff --git a/backend/.cache/go-build/cd/cdb96c94cad395968f3bc804c8af7a043cd2e204600296aff32aeaec2a5913e0-a b/backend/.cache/go-build/cd/cdb96c94cad395968f3bc804c8af7a043cd2e204600296aff32aeaec2a5913e0-a new file mode 100644 index 0000000..170393e --- /dev/null +++ b/backend/.cache/go-build/cd/cdb96c94cad395968f3bc804c8af7a043cd2e204600296aff32aeaec2a5913e0-a @@ -0,0 +1 @@ +v1 cdb96c94cad395968f3bc804c8af7a043cd2e204600296aff32aeaec2a5913e0 01532ba7b1702ae7b6f550acefc167b07b043bad6ae8f25bf363c35c487ff536 560 1769060041918514844 diff --git a/backend/.cache/go-build/ce/ce5affb00f4cab90b3877828d896e84fdc1195ded3626dd16e4ea36e84542ddf-d b/backend/.cache/go-build/ce/ce5affb00f4cab90b3877828d896e84fdc1195ded3626dd16e4ea36e84542ddf-d new file mode 100644 index 0000000..f1b4daa Binary files /dev/null and b/backend/.cache/go-build/ce/ce5affb00f4cab90b3877828d896e84fdc1195ded3626dd16e4ea36e84542ddf-d differ diff --git a/backend/.cache/go-build/cf/cf47e2727df712e82653056eed5d36c24263f463218482733aa4952587482841-a b/backend/.cache/go-build/cf/cf47e2727df712e82653056eed5d36c24263f463218482733aa4952587482841-a new file mode 100644 index 0000000..5b29b93 --- /dev/null +++ b/backend/.cache/go-build/cf/cf47e2727df712e82653056eed5d36c24263f463218482733aa4952587482841-a @@ -0,0 +1 @@ +v1 cf47e2727df712e82653056eed5d36c24263f463218482733aa4952587482841 0993086301f36b5c9352e6621f1debca8f7cddd16fe4cebb6ad4d229f9b60123 403 1769060041918635698 diff --git a/backend/.cache/go-build/cf/cf959b0ecc1123dbfd2dd49b56897538be809c504e4efc8cceb12a71f9d79ec6-a b/backend/.cache/go-build/cf/cf959b0ecc1123dbfd2dd49b56897538be809c504e4efc8cceb12a71f9d79ec6-a new file mode 100644 index 0000000..693cf37 --- /dev/null +++ b/backend/.cache/go-build/cf/cf959b0ecc1123dbfd2dd49b56897538be809c504e4efc8cceb12a71f9d79ec6-a @@ -0,0 +1 @@ +v1 cf959b0ecc1123dbfd2dd49b56897538be809c504e4efc8cceb12a71f9d79ec6 bc37c960192c4dad7cb8dc5ddaa2e02289ca9c8dae22b099b8032b35058f4fec 958 1769060041921778929 diff --git a/backend/.cache/go-build/cf/cfb352fa37fa048c9a2178a9478c3bad50bdb08d5a04f22a45ed9435c1112d5b-a b/backend/.cache/go-build/cf/cfb352fa37fa048c9a2178a9478c3bad50bdb08d5a04f22a45ed9435c1112d5b-a new file mode 100644 index 0000000..ead1996 --- /dev/null +++ b/backend/.cache/go-build/cf/cfb352fa37fa048c9a2178a9478c3bad50bdb08d5a04f22a45ed9435c1112d5b-a @@ -0,0 +1 @@ +v1 cfb352fa37fa048c9a2178a9478c3bad50bdb08d5a04f22a45ed9435c1112d5b e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042109673362 diff --git a/backend/.cache/go-build/cf/cfb4655c3d352242ec3ecad34e60ed8c0e6333d93b45b184ba4005873578ad13-a b/backend/.cache/go-build/cf/cfb4655c3d352242ec3ecad34e60ed8c0e6333d93b45b184ba4005873578ad13-a new file mode 100644 index 0000000..92aceb1 --- /dev/null +++ b/backend/.cache/go-build/cf/cfb4655c3d352242ec3ecad34e60ed8c0e6333d93b45b184ba4005873578ad13-a @@ -0,0 +1 @@ +v1 cfb4655c3d352242ec3ecad34e60ed8c0e6333d93b45b184ba4005873578ad13 38daf23669fef3521eabe8dedadf1619da0b766bb6a19503d2c9398cb3e3a192 2858 1769060041922269896 diff --git a/backend/.cache/go-build/cf/cfb7ccd2b83b15206777ab39945b7e4b56e694229545eb14affee554ed772047-a b/backend/.cache/go-build/cf/cfb7ccd2b83b15206777ab39945b7e4b56e694229545eb14affee554ed772047-a new file mode 100644 index 0000000..ebe6a0b --- /dev/null +++ b/backend/.cache/go-build/cf/cfb7ccd2b83b15206777ab39945b7e4b56e694229545eb14affee554ed772047-a @@ -0,0 +1 @@ +v1 cfb7ccd2b83b15206777ab39945b7e4b56e694229545eb14affee554ed772047 68edb706e1dbdd3d932af9b5147eb68a06af0e8c64b0e05611c31b5b5a94599d 2767 1769060041902670860 diff --git a/backend/.cache/go-build/d0/d07d078b5c329c3c597f1ad96145eb985634282340d756bd0265873a87ef87b5-a b/backend/.cache/go-build/d0/d07d078b5c329c3c597f1ad96145eb985634282340d756bd0265873a87ef87b5-a new file mode 100644 index 0000000..2b65df6 --- /dev/null +++ b/backend/.cache/go-build/d0/d07d078b5c329c3c597f1ad96145eb985634282340d756bd0265873a87ef87b5-a @@ -0,0 +1 @@ +v1 d07d078b5c329c3c597f1ad96145eb985634282340d756bd0265873a87ef87b5 0289a68aec35641edec2a3467ea9287c673ab1ee36b13d73f820fcb65bf602af 115376 1769060041944824691 diff --git a/backend/.cache/go-build/d0/d0d73639d105368cea84af1c62f2ff92279db0adb5596df112842aea85e00e6c-a b/backend/.cache/go-build/d0/d0d73639d105368cea84af1c62f2ff92279db0adb5596df112842aea85e00e6c-a new file mode 100644 index 0000000..06acfd5 --- /dev/null +++ b/backend/.cache/go-build/d0/d0d73639d105368cea84af1c62f2ff92279db0adb5596df112842aea85e00e6c-a @@ -0,0 +1 @@ +v1 d0d73639d105368cea84af1c62f2ff92279db0adb5596df112842aea85e00e6c e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042001558458 diff --git a/backend/.cache/go-build/d3/d3470e81d7d820ed6544fe7b5e8dab220e69671b383b7e1a09a4acaf0de9175c-a b/backend/.cache/go-build/d3/d3470e81d7d820ed6544fe7b5e8dab220e69671b383b7e1a09a4acaf0de9175c-a new file mode 100644 index 0000000..dc08e34 --- /dev/null +++ b/backend/.cache/go-build/d3/d3470e81d7d820ed6544fe7b5e8dab220e69671b383b7e1a09a4acaf0de9175c-a @@ -0,0 +1 @@ +v1 d3470e81d7d820ed6544fe7b5e8dab220e69671b383b7e1a09a4acaf0de9175c 50a4c521feabf4314b1e293dff7bba5da6c47e28ce974577ada02fbbf3241eff 101086 1769060044065487061 diff --git a/backend/.cache/go-build/d3/d3544e9c56d3ca5a8df115e3c2efbe82cede1bbf8f9f0e238c2f4c851d6c51c3-d b/backend/.cache/go-build/d3/d3544e9c56d3ca5a8df115e3c2efbe82cede1bbf8f9f0e238c2f4c851d6c51c3-d new file mode 100644 index 0000000..c91e0da Binary files /dev/null and b/backend/.cache/go-build/d3/d3544e9c56d3ca5a8df115e3c2efbe82cede1bbf8f9f0e238c2f4c851d6c51c3-d differ diff --git a/backend/.cache/go-build/d3/d365430bc6b36ee1c8e62614563f13b6738d5a3ce6b660a7d4167249da87a666-a b/backend/.cache/go-build/d3/d365430bc6b36ee1c8e62614563f13b6738d5a3ce6b660a7d4167249da87a666-a new file mode 100644 index 0000000..900f8b5 --- /dev/null +++ b/backend/.cache/go-build/d3/d365430bc6b36ee1c8e62614563f13b6738d5a3ce6b660a7d4167249da87a666-a @@ -0,0 +1 @@ +v1 d365430bc6b36ee1c8e62614563f13b6738d5a3ce6b660a7d4167249da87a666 b943ff8c88b96748db361833b8252e492b5ae24e17936e9765c338e41bb25c8a 502 1769060041917684689 diff --git a/backend/.cache/go-build/d4/d4568a012369b73724e528deafc90563fd7045cad0a54d164b5333fefdf611c5-a b/backend/.cache/go-build/d4/d4568a012369b73724e528deafc90563fd7045cad0a54d164b5333fefdf611c5-a new file mode 100644 index 0000000..63592a1 --- /dev/null +++ b/backend/.cache/go-build/d4/d4568a012369b73724e528deafc90563fd7045cad0a54d164b5333fefdf611c5-a @@ -0,0 +1 @@ +v1 d4568a012369b73724e528deafc90563fd7045cad0a54d164b5333fefdf611c5 21faa15c5febcadadca5225fffd0292072de38e138bf5fe2ff635cc6450d7c4e 52 1769060041986318107 diff --git a/backend/.cache/go-build/d5/d5ab4266d0ffcdddd60ae7f69adbca0b12ea85d9d054bea41e534f3f4634f4e5-d b/backend/.cache/go-build/d5/d5ab4266d0ffcdddd60ae7f69adbca0b12ea85d9d054bea41e534f3f4634f4e5-d new file mode 100644 index 0000000..e1f23f4 --- /dev/null +++ b/backend/.cache/go-build/d5/d5ab4266d0ffcdddd60ae7f69adbca0b12ea85d9d054bea41e534f3f4634f4e5-d @@ -0,0 +1,3 @@ +./path.go +./path_nonwindows.go +./path_unix.go diff --git a/backend/.cache/go-build/d5/d5b2d136421672d995e3b55d22c79976e7cf00eacc43c6644dd915da2b507d24-d b/backend/.cache/go-build/d5/d5b2d136421672d995e3b55d22c79976e7cf00eacc43c6644dd915da2b507d24-d new file mode 100644 index 0000000..37c5bd6 Binary files /dev/null and b/backend/.cache/go-build/d5/d5b2d136421672d995e3b55d22c79976e7cf00eacc43c6644dd915da2b507d24-d differ diff --git a/backend/.cache/go-build/d6/d6a214d3dca72e3657a986fb59ab4dc30769cc4cbaf3f2d9591d1e22545b7d98-d b/backend/.cache/go-build/d6/d6a214d3dca72e3657a986fb59ab4dc30769cc4cbaf3f2d9591d1e22545b7d98-d new file mode 100644 index 0000000..28b3daa Binary files /dev/null and b/backend/.cache/go-build/d6/d6a214d3dca72e3657a986fb59ab4dc30769cc4cbaf3f2d9591d1e22545b7d98-d differ diff --git a/backend/.cache/go-build/d6/d6b173af4b10fe2c63da2f1d93ea14b817c13d3aca7d6b1b833c3b016fddd697-d b/backend/.cache/go-build/d6/d6b173af4b10fe2c63da2f1d93ea14b817c13d3aca7d6b1b833c3b016fddd697-d new file mode 100644 index 0000000..263b43a Binary files /dev/null and b/backend/.cache/go-build/d6/d6b173af4b10fe2c63da2f1d93ea14b817c13d3aca7d6b1b833c3b016fddd697-d differ diff --git a/backend/.cache/go-build/d7/d7229f4f01e28c61d9d18c1a16a36517d2d7250ed70c922e0acb3d8207a803ae-d b/backend/.cache/go-build/d7/d7229f4f01e28c61d9d18c1a16a36517d2d7250ed70c922e0acb3d8207a803ae-d new file mode 100644 index 0000000..8cc1c37 Binary files /dev/null and b/backend/.cache/go-build/d7/d7229f4f01e28c61d9d18c1a16a36517d2d7250ed70c922e0acb3d8207a803ae-d differ diff --git a/backend/.cache/go-build/d8/d8ad540ca31f3f21a092f088bbbe92515af622c266edeaa3e15e17ebbba192b9-d b/backend/.cache/go-build/d8/d8ad540ca31f3f21a092f088bbbe92515af622c266edeaa3e15e17ebbba192b9-d new file mode 100644 index 0000000..4dbf0cb Binary files /dev/null and b/backend/.cache/go-build/d8/d8ad540ca31f3f21a092f088bbbe92515af622c266edeaa3e15e17ebbba192b9-d differ diff --git a/backend/.cache/go-build/d9/d93352206bc92124f0d9f2ac5dfe24548e892159a5074413a733b962c5432dc9-d b/backend/.cache/go-build/d9/d93352206bc92124f0d9f2ac5dfe24548e892159a5074413a733b962c5432dc9-d new file mode 100644 index 0000000..975507b --- /dev/null +++ b/backend/.cache/go-build/d9/d93352206bc92124f0d9f2ac5dfe24548e892159a5074413a733b962c5432dc9-d @@ -0,0 +1 @@ +./bisect.go diff --git a/backend/.cache/go-build/d9/d9b6ad3204dc7b030e8da5de0da8d4dca83c4ac764d1715744af16b9877250a0-d b/backend/.cache/go-build/d9/d9b6ad3204dc7b030e8da5de0da8d4dca83c4ac764d1715744af16b9877250a0-d new file mode 100644 index 0000000..67ad7a0 Binary files /dev/null and b/backend/.cache/go-build/d9/d9b6ad3204dc7b030e8da5de0da8d4dca83c4ac764d1715744af16b9877250a0-d differ diff --git a/backend/.cache/go-build/da/da42154e0c00c72deb3b7aebf2865fd59f926a321ff20702ab3e2afb608e30ee-d b/backend/.cache/go-build/da/da42154e0c00c72deb3b7aebf2865fd59f926a321ff20702ab3e2afb608e30ee-d new file mode 100644 index 0000000..1f94bd0 Binary files /dev/null and b/backend/.cache/go-build/da/da42154e0c00c72deb3b7aebf2865fd59f926a321ff20702ab3e2afb608e30ee-d differ diff --git a/backend/.cache/go-build/da/dabca84c9c1374e4b7f01a2bb0c4015b47c5eb7a98c879876f625c50eea41c16-d b/backend/.cache/go-build/da/dabca84c9c1374e4b7f01a2bb0c4015b47c5eb7a98c879876f625c50eea41c16-d new file mode 100644 index 0000000..8a204a9 Binary files /dev/null and b/backend/.cache/go-build/da/dabca84c9c1374e4b7f01a2bb0c4015b47c5eb7a98c879876f625c50eea41c16-d differ diff --git a/backend/.cache/go-build/db/db08b6b92a82b49d2f27b7c7c3c05500c9181adbf0d0dab9b589a7466ce8e339-d b/backend/.cache/go-build/db/db08b6b92a82b49d2f27b7c7c3c05500c9181adbf0d0dab9b589a7466ce8e339-d new file mode 100644 index 0000000..8478bd7 --- /dev/null +++ b/backend/.cache/go-build/db/db08b6b92a82b49d2f27b7c7c3c05500c9181adbf0d0dab9b589a7466ce8e339-d @@ -0,0 +1,28 @@ +./badlinkname_unix.go +./dirent.go +./env_unix.go +./exec_linux.go +./exec_unix.go +./flock_linux.go +./forkpipe2.go +./linkname_unix.go +./lsf_linux.go +./net.go +./netlink_linux.go +./rlimit.go +./rlimit_stub.go +./setuidgid_linux.go +./sockcmsg_linux.go +./sockcmsg_unix.go +./sockcmsg_unix_other.go +./syscall.go +./syscall_linux.go +./syscall_linux_amd64.go +./syscall_unix.go +./time_nofake.go +./timestruct.go +./zerrors_linux_amd64.go +./zsyscall_linux_amd64.go +./zsysnum_linux_amd64.go +./ztypes_linux_amd64.go +./asm_linux_amd64.s diff --git a/backend/.cache/go-build/db/db1b0a48e2f577e24b8c7f398d3cdfea4585f2a433c1dbe2f474a6ffa9fe89ef-a b/backend/.cache/go-build/db/db1b0a48e2f577e24b8c7f398d3cdfea4585f2a433c1dbe2f474a6ffa9fe89ef-a new file mode 100644 index 0000000..0e66e03 --- /dev/null +++ b/backend/.cache/go-build/db/db1b0a48e2f577e24b8c7f398d3cdfea4585f2a433c1dbe2f474a6ffa9fe89ef-a @@ -0,0 +1 @@ +v1 db1b0a48e2f577e24b8c7f398d3cdfea4585f2a433c1dbe2f474a6ffa9fe89ef a63bf7f12fa4d94f6d21bec64108f11c079534afe36aa5055b61638f48eb6aac 282 1769060041900364286 diff --git a/backend/.cache/go-build/db/db9304f69e362b096cb93e4fe02c34dbe0f3b6076a19c69cdf6dce0946534e55-a b/backend/.cache/go-build/db/db9304f69e362b096cb93e4fe02c34dbe0f3b6076a19c69cdf6dce0946534e55-a new file mode 100644 index 0000000..1154681 --- /dev/null +++ b/backend/.cache/go-build/db/db9304f69e362b096cb93e4fe02c34dbe0f3b6076a19c69cdf6dce0946534e55-a @@ -0,0 +1 @@ +v1 db9304f69e362b096cb93e4fe02c34dbe0f3b6076a19c69cdf6dce0946534e55 aaab9e3fcc37e337125e506da5c02a3c4c757d4e06ed3f3d1b548c6661caf683 772714 1769060044082770725 diff --git a/backend/.cache/go-build/dc/dc5ae82c64ff95f0096d9b31f55433f7b27bb383e323d3e4be60d02b04d3f4ee-d b/backend/.cache/go-build/dc/dc5ae82c64ff95f0096d9b31f55433f7b27bb383e323d3e4be60d02b04d3f4ee-d new file mode 100644 index 0000000..57486b9 Binary files /dev/null and b/backend/.cache/go-build/dc/dc5ae82c64ff95f0096d9b31f55433f7b27bb383e323d3e4be60d02b04d3f4ee-d differ diff --git a/backend/.cache/go-build/dc/dc8e0c3746cf518e85b491a0845d62485f8a9e32caa8c091ec19b226a1868acd-d b/backend/.cache/go-build/dc/dc8e0c3746cf518e85b491a0845d62485f8a9e32caa8c091ec19b226a1868acd-d new file mode 100644 index 0000000..4400e3e --- /dev/null +++ b/backend/.cache/go-build/dc/dc8e0c3746cf518e85b491a0845d62485f8a9e32caa8c091ec19b226a1868acd-d @@ -0,0 +1,23 @@ +./copy_file_range_linux.go +./copy_file_range_unix.go +./errno_unix.go +./fd.go +./fd_fsync_posix.go +./fd_mutex.go +./fd_poll_runtime.go +./fd_posix.go +./fd_unix.go +./fd_unixjs.go +./fd_writev_unix.go +./hook_cloexec.go +./hook_unix.go +./iovec_unix.go +./sendfile.go +./sendfile_unix.go +./sock_cloexec.go +./sockopt.go +./sockopt_linux.go +./sockopt_unix.go +./sockoptip.go +./splice_linux.go +./writev.go diff --git a/backend/.cache/go-build/dc/dc97d279910434b4eda1afeb5a71b644f2c435b435437b8d6d2c8f065eea35fc-a b/backend/.cache/go-build/dc/dc97d279910434b4eda1afeb5a71b644f2c435b435437b8d6d2c8f065eea35fc-a new file mode 100644 index 0000000..a3c3430 --- /dev/null +++ b/backend/.cache/go-build/dc/dc97d279910434b4eda1afeb5a71b644f2c435b435437b8d6d2c8f065eea35fc-a @@ -0,0 +1 @@ +v1 dc97d279910434b4eda1afeb5a71b644f2c435b435437b8d6d2c8f065eea35fc 9015523ea515d1ad270025b90fca3cff5543080db4b7c85c8dbea5945b22b9c0 919 1769060041903514389 diff --git a/backend/.cache/go-build/dd/dd47c96b54cb9786c35adcfbd89428461168d0f474b4434ffe31541e534e5fa3-a b/backend/.cache/go-build/dd/dd47c96b54cb9786c35adcfbd89428461168d0f474b4434ffe31541e534e5fa3-a new file mode 100644 index 0000000..072e359 --- /dev/null +++ b/backend/.cache/go-build/dd/dd47c96b54cb9786c35adcfbd89428461168d0f474b4434ffe31541e534e5fa3-a @@ -0,0 +1 @@ +v1 dd47c96b54cb9786c35adcfbd89428461168d0f474b4434ffe31541e534e5fa3 c90f727b3df4d03f1e4cc72163e1ce9d79a10ff77a1ca2b8308ef07120b9920e 19 1769060041970542592 diff --git a/backend/.cache/go-build/dd/ddb382d59367dbb6941955226621a1992bf46a67db48650d80a4068b0de6cb54-a b/backend/.cache/go-build/dd/ddb382d59367dbb6941955226621a1992bf46a67db48650d80a4068b0de6cb54-a new file mode 100644 index 0000000..601468d --- /dev/null +++ b/backend/.cache/go-build/dd/ddb382d59367dbb6941955226621a1992bf46a67db48650d80a4068b0de6cb54-a @@ -0,0 +1 @@ +v1 ddb382d59367dbb6941955226621a1992bf46a67db48650d80a4068b0de6cb54 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060041980703053 diff --git a/backend/.cache/go-build/dd/ddfa6f6398c1047e3128606e18daad17c587f0013a98cec7af5eef61f9b8401a-d b/backend/.cache/go-build/dd/ddfa6f6398c1047e3128606e18daad17c587f0013a98cec7af5eef61f9b8401a-d new file mode 100644 index 0000000..801cbe4 --- /dev/null +++ b/backend/.cache/go-build/dd/ddfa6f6398c1047e3128606e18daad17c587f0013a98cec7af5eef61f9b8401a-d @@ -0,0 +1,12 @@ +./abi.go +./badlinkname.go +./deepequal.go +./float32reg_generic.go +./iter.go +./makefunc.go +./map_swiss.go +./swapper.go +./type.go +./value.go +./visiblefields.go +./asm_amd64.s diff --git a/backend/.cache/go-build/de/de7bdec5586e997d4e7b28ba30d98cd81bee877b16bb2c65376a1c4b4c479c3e-a b/backend/.cache/go-build/de/de7bdec5586e997d4e7b28ba30d98cd81bee877b16bb2c65376a1c4b4c479c3e-a new file mode 100644 index 0000000..bc7569c --- /dev/null +++ b/backend/.cache/go-build/de/de7bdec5586e997d4e7b28ba30d98cd81bee877b16bb2c65376a1c4b4c479c3e-a @@ -0,0 +1 @@ +v1 de7bdec5586e997d4e7b28ba30d98cd81bee877b16bb2c65376a1c4b4c479c3e bb2b6ea8cc44fffe6558ff42f1a957c9434ce8a6637654a903c2bb12e679c42e 449 1769060041927956176 diff --git a/backend/.cache/go-build/df/df41fa0f1ecd8a6e480ac2339c01773b344cff5c8dddf3f670abd8989b5d5766-d b/backend/.cache/go-build/df/df41fa0f1ecd8a6e480ac2339c01773b344cff5c8dddf3f670abd8989b5d5766-d new file mode 100644 index 0000000..bec7877 Binary files /dev/null and b/backend/.cache/go-build/df/df41fa0f1ecd8a6e480ac2339c01773b344cff5c8dddf3f670abd8989b5d5766-d differ diff --git a/backend/.cache/go-build/df/df64bf42114cc5efbd6f05896c32992af4f5974fb3a2ef955e6863792b6e18d4-d b/backend/.cache/go-build/df/df64bf42114cc5efbd6f05896c32992af4f5974fb3a2ef955e6863792b6e18d4-d new file mode 100644 index 0000000..0c479a5 Binary files /dev/null and b/backend/.cache/go-build/df/df64bf42114cc5efbd6f05896c32992af4f5974fb3a2ef955e6863792b6e18d4-d differ diff --git a/backend/.cache/go-build/e1/e1062e7c604d70d86f1f72c1cf6447cd9c17e53c285bff5110c242a7dbdd6141-a b/backend/.cache/go-build/e1/e1062e7c604d70d86f1f72c1cf6447cd9c17e53c285bff5110c242a7dbdd6141-a new file mode 100644 index 0000000..706ca22 --- /dev/null +++ b/backend/.cache/go-build/e1/e1062e7c604d70d86f1f72c1cf6447cd9c17e53c285bff5110c242a7dbdd6141-a @@ -0,0 +1 @@ +v1 e1062e7c604d70d86f1f72c1cf6447cd9c17e53c285bff5110c242a7dbdd6141 38a449cd4c6ca2f086c8a095cc84a618341c80a47f65863520e74dfedbff319f 2893 1769060041904993250 diff --git a/backend/.cache/go-build/e1/e1d2a244d98b1fe62eb4a87c8192a83ba8510ff5839f3933b3d2984f8138b55d-a b/backend/.cache/go-build/e1/e1d2a244d98b1fe62eb4a87c8192a83ba8510ff5839f3933b3d2984f8138b55d-a new file mode 100644 index 0000000..992b76b --- /dev/null +++ b/backend/.cache/go-build/e1/e1d2a244d98b1fe62eb4a87c8192a83ba8510ff5839f3933b3d2984f8138b55d-a @@ -0,0 +1 @@ +v1 e1d2a244d98b1fe62eb4a87c8192a83ba8510ff5839f3933b3d2984f8138b55d fbd3f0a0b1bcb06b94a210547b346183455be303d482240b6e3b775ad91141c1 29 1769060043650348078 diff --git a/backend/.cache/go-build/e2/e20d58b9337fadef08448391db10960891c9d1b46ad8da3506308bd37f430b5e-a b/backend/.cache/go-build/e2/e20d58b9337fadef08448391db10960891c9d1b46ad8da3506308bd37f430b5e-a new file mode 100644 index 0000000..534110a --- /dev/null +++ b/backend/.cache/go-build/e2/e20d58b9337fadef08448391db10960891c9d1b46ad8da3506308bd37f430b5e-a @@ -0,0 +1 @@ +v1 e20d58b9337fadef08448391db10960891c9d1b46ad8da3506308bd37f430b5e 9f6bae96ff420e0414228e695fc8cc7a71addbe4e7958bebad3d1cc2ad4d089f 3393 1769060041926324104 diff --git a/backend/.cache/go-build/e2/e2ec53a179588dc1a7612c70b7076cb39784510d89d9bf57ba256c48bd643ccc-d b/backend/.cache/go-build/e2/e2ec53a179588dc1a7612c70b7076cb39784510d89d9bf57ba256c48bd643ccc-d new file mode 100644 index 0000000..b3ed577 Binary files /dev/null and b/backend/.cache/go-build/e2/e2ec53a179588dc1a7612c70b7076cb39784510d89d9bf57ba256c48bd643ccc-d differ diff --git a/backend/.cache/go-build/e3/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-d b/backend/.cache/go-build/e3/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-d new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-build/e4/e4d6982c39895dd5f4ec8b0e35de0c1961b00939d0dbeb8e6690b51976312e65-a b/backend/.cache/go-build/e4/e4d6982c39895dd5f4ec8b0e35de0c1961b00939d0dbeb8e6690b51976312e65-a new file mode 100644 index 0000000..24e19c6 --- /dev/null +++ b/backend/.cache/go-build/e4/e4d6982c39895dd5f4ec8b0e35de0c1961b00939d0dbeb8e6690b51976312e65-a @@ -0,0 +1 @@ +v1 e4d6982c39895dd5f4ec8b0e35de0c1961b00939d0dbeb8e6690b51976312e65 28808926d7a9ed294211d91bc8214691ddc0c6865d52adf9ae176f6c0dfb9524 3030 1769060041916289185 diff --git a/backend/.cache/go-build/e6/e66dae5b1f32151eb06bdc964eac821e88c5659f92fb42ad54ac10338fb24fd7-a b/backend/.cache/go-build/e6/e66dae5b1f32151eb06bdc964eac821e88c5659f92fb42ad54ac10338fb24fd7-a new file mode 100644 index 0000000..6f56250 --- /dev/null +++ b/backend/.cache/go-build/e6/e66dae5b1f32151eb06bdc964eac821e88c5659f92fb42ad54ac10338fb24fd7-a @@ -0,0 +1 @@ +v1 e66dae5b1f32151eb06bdc964eac821e88c5659f92fb42ad54ac10338fb24fd7 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044248609365 diff --git a/backend/.cache/go-build/e7/e7dfd029f604a5821d79efea2094aaded4132d8e4f83ffa451ea91a8d15d05fd-d b/backend/.cache/go-build/e7/e7dfd029f604a5821d79efea2094aaded4132d8e4f83ffa451ea91a8d15d05fd-d new file mode 100644 index 0000000..d0ddf79 Binary files /dev/null and b/backend/.cache/go-build/e7/e7dfd029f604a5821d79efea2094aaded4132d8e4f83ffa451ea91a8d15d05fd-d differ diff --git a/backend/.cache/go-build/e8/e84e34ccc2d0470ccaaac587cf13cc522e4a883cdf087f5b68e76797e9075c2f-a b/backend/.cache/go-build/e8/e84e34ccc2d0470ccaaac587cf13cc522e4a883cdf087f5b68e76797e9075c2f-a new file mode 100644 index 0000000..03c485e --- /dev/null +++ b/backend/.cache/go-build/e8/e84e34ccc2d0470ccaaac587cf13cc522e4a883cdf087f5b68e76797e9075c2f-a @@ -0,0 +1 @@ +v1 e84e34ccc2d0470ccaaac587cf13cc522e4a883cdf087f5b68e76797e9075c2f 3a2247463477d7161e05902eae24cac571de58aeebaebc346c2861e077ee233c 9 1769060041970732066 diff --git a/backend/.cache/go-build/e8/e8539f6010c7e9aeebe2a54f0a020147f48b74f47d76e719aaea65f7f5127c49-d b/backend/.cache/go-build/e8/e8539f6010c7e9aeebe2a54f0a020147f48b74f47d76e719aaea65f7f5127c49-d new file mode 100644 index 0000000..768c26d Binary files /dev/null and b/backend/.cache/go-build/e8/e8539f6010c7e9aeebe2a54f0a020147f48b74f47d76e719aaea65f7f5127c49-d differ diff --git a/backend/.cache/go-build/e8/e8c7c93f8f45adc887e8a0a49d233bab9753b0cf2ee23832146c7a0acf800918-d b/backend/.cache/go-build/e8/e8c7c93f8f45adc887e8a0a49d233bab9753b0cf2ee23832146c7a0acf800918-d new file mode 100644 index 0000000..cd74d33 Binary files /dev/null and b/backend/.cache/go-build/e8/e8c7c93f8f45adc887e8a0a49d233bab9753b0cf2ee23832146c7a0acf800918-d differ diff --git a/backend/.cache/go-build/e8/e8eacc67b5efc20dcb6aa80deee906f06769969a0492b51fca0f2fa5413ba18b-a b/backend/.cache/go-build/e8/e8eacc67b5efc20dcb6aa80deee906f06769969a0492b51fca0f2fa5413ba18b-a new file mode 100644 index 0000000..9975a67 --- /dev/null +++ b/backend/.cache/go-build/e8/e8eacc67b5efc20dcb6aa80deee906f06769969a0492b51fca0f2fa5413ba18b-a @@ -0,0 +1 @@ +v1 e8eacc67b5efc20dcb6aa80deee906f06769969a0492b51fca0f2fa5413ba18b 10600bbd154a179c863608a64b7a43c5ff40de0fdb44fc38948867a8e456f706 68006 1769060042110029864 diff --git a/backend/.cache/go-build/e9/e95a5e57d414aeb188a919eada64a70a3ed4b35e4869046ec5362d848cf5c1a6-a b/backend/.cache/go-build/e9/e95a5e57d414aeb188a919eada64a70a3ed4b35e4869046ec5362d848cf5c1a6-a new file mode 100644 index 0000000..fcd8f5e --- /dev/null +++ b/backend/.cache/go-build/e9/e95a5e57d414aeb188a919eada64a70a3ed4b35e4869046ec5362d848cf5c1a6-a @@ -0,0 +1 @@ +v1 e95a5e57d414aeb188a919eada64a70a3ed4b35e4869046ec5362d848cf5c1a6 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044080211318 diff --git a/backend/.cache/go-build/e9/e9a6c4f580e23933f9f266916ce23c0c2ea40c086ba9d86ebea1759f30ae68ca-d b/backend/.cache/go-build/e9/e9a6c4f580e23933f9f266916ce23c0c2ea40c086ba9d86ebea1759f30ae68ca-d new file mode 100644 index 0000000..c6ce915 Binary files /dev/null and b/backend/.cache/go-build/e9/e9a6c4f580e23933f9f266916ce23c0c2ea40c086ba9d86ebea1759f30ae68ca-d differ diff --git a/backend/.cache/go-build/e9/e9b6ea016cbc9e483596c17d8e226fc33691ef4e0039ad19173acea65e6406ed-d b/backend/.cache/go-build/e9/e9b6ea016cbc9e483596c17d8e226fc33691ef4e0039ad19173acea65e6406ed-d new file mode 100644 index 0000000..20ae1b2 Binary files /dev/null and b/backend/.cache/go-build/e9/e9b6ea016cbc9e483596c17d8e226fc33691ef4e0039ad19173acea65e6406ed-d differ diff --git a/backend/.cache/go-build/e9/e9bc37fe19604b6f9d42a619bb7a82076fb0951fe99b95f9e7efe5dd7d823108-d b/backend/.cache/go-build/e9/e9bc37fe19604b6f9d42a619bb7a82076fb0951fe99b95f9e7efe5dd7d823108-d new file mode 100644 index 0000000..9d683a1 Binary files /dev/null and b/backend/.cache/go-build/e9/e9bc37fe19604b6f9d42a619bb7a82076fb0951fe99b95f9e7efe5dd7d823108-d differ diff --git a/backend/.cache/go-build/e9/e9e79682b810ebd3285a28d22545b9788f349ad4ae64712d8965baf2a9711a6b-a b/backend/.cache/go-build/e9/e9e79682b810ebd3285a28d22545b9788f349ad4ae64712d8965baf2a9711a6b-a new file mode 100644 index 0000000..0c0e0ff --- /dev/null +++ b/backend/.cache/go-build/e9/e9e79682b810ebd3285a28d22545b9788f349ad4ae64712d8965baf2a9711a6b-a @@ -0,0 +1 @@ +v1 e9e79682b810ebd3285a28d22545b9788f349ad4ae64712d8965baf2a9711a6b 4a2895910f57e0080c9d2801440b220ab3df22a9c23c25f914a5614e1ff913e8 745184 1769060043724042242 diff --git a/backend/.cache/go-build/e9/e9efca5a603dcbbb347002a8e11a76434fbbeb0a84b712dd1874dd0f8a47144a-a b/backend/.cache/go-build/e9/e9efca5a603dcbbb347002a8e11a76434fbbeb0a84b712dd1874dd0f8a47144a-a new file mode 100644 index 0000000..ba29d12 --- /dev/null +++ b/backend/.cache/go-build/e9/e9efca5a603dcbbb347002a8e11a76434fbbeb0a84b712dd1874dd0f8a47144a-a @@ -0,0 +1 @@ +v1 e9efca5a603dcbbb347002a8e11a76434fbbeb0a84b712dd1874dd0f8a47144a e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042014126189 diff --git a/backend/.cache/go-build/e9/e9f80c5ee21f7e430db7d08e5ac22bf6ce532bf1908068c66868be03508e7d7e-a b/backend/.cache/go-build/e9/e9f80c5ee21f7e430db7d08e5ac22bf6ce532bf1908068c66868be03508e7d7e-a new file mode 100644 index 0000000..c901cd2 --- /dev/null +++ b/backend/.cache/go-build/e9/e9f80c5ee21f7e430db7d08e5ac22bf6ce532bf1908068c66868be03508e7d7e-a @@ -0,0 +1 @@ +v1 e9f80c5ee21f7e430db7d08e5ac22bf6ce532bf1908068c66868be03508e7d7e 16bde8e6d314ebaf43f14ccfbe8f757ee55e1869c5c6652561338b5b6e87c24c 2049054 1769060044254619747 diff --git a/backend/.cache/go-build/ea/ea194f56d314a0d1cf2ed71c1509fee18deb07bf190eb352b5233cf2aa2e9e47-a b/backend/.cache/go-build/ea/ea194f56d314a0d1cf2ed71c1509fee18deb07bf190eb352b5233cf2aa2e9e47-a new file mode 100644 index 0000000..3262b39 --- /dev/null +++ b/backend/.cache/go-build/ea/ea194f56d314a0d1cf2ed71c1509fee18deb07bf190eb352b5233cf2aa2e9e47-a @@ -0,0 +1 @@ +v1 ea194f56d314a0d1cf2ed71c1509fee18deb07bf190eb352b5233cf2aa2e9e47 af8890d0697237af0d3fd31ee2daa73bc3a35bc1ae8f12bf48db340c4b9b6ed7 9262 1769060041929323520 diff --git a/backend/.cache/go-build/ea/ea4c36c6b3a70b3a718c5cfefedca0bdc9f329a9b7e8b7e7897b487a655cfbac-d b/backend/.cache/go-build/ea/ea4c36c6b3a70b3a718c5cfefedca0bdc9f329a9b7e8b7e7897b487a655cfbac-d new file mode 100644 index 0000000..db9d82d Binary files /dev/null and b/backend/.cache/go-build/ea/ea4c36c6b3a70b3a718c5cfefedca0bdc9f329a9b7e8b7e7897b487a655cfbac-d differ diff --git a/backend/.cache/go-build/ea/eac7e7da15a37795425fcc6752205fc450b442725b2fbffa54d67d68922a1aae-d b/backend/.cache/go-build/ea/eac7e7da15a37795425fcc6752205fc450b442725b2fbffa54d67d68922a1aae-d new file mode 100644 index 0000000..4cc1656 --- /dev/null +++ b/backend/.cache/go-build/ea/eac7e7da15a37795425fcc6752205fc450b442725b2fbffa54d67d68922a1aae-d @@ -0,0 +1 @@ +./iter.go diff --git a/backend/.cache/go-build/ea/eaf03f03b44dcfd198067825b9c9d6dec017d4d8d1215d1b2b7864ffa32bc417-a b/backend/.cache/go-build/ea/eaf03f03b44dcfd198067825b9c9d6dec017d4d8d1215d1b2b7864ffa32bc417-a new file mode 100644 index 0000000..5aaa80e --- /dev/null +++ b/backend/.cache/go-build/ea/eaf03f03b44dcfd198067825b9c9d6dec017d4d8d1215d1b2b7864ffa32bc417-a @@ -0,0 +1 @@ +v1 eaf03f03b44dcfd198067825b9c9d6dec017d4d8d1215d1b2b7864ffa32bc417 94bf59a866ee93a98ab996ecd325c22da17dd9046bcc7b35050be58a65109a01 466 1769060041923007669 diff --git a/backend/.cache/go-build/eb/eb05f63ac31bb3e1015900bffa842a75e042f41f0802391dcaf92f2015e4705b-a b/backend/.cache/go-build/eb/eb05f63ac31bb3e1015900bffa842a75e042f41f0802391dcaf92f2015e4705b-a new file mode 100644 index 0000000..3d780e6 --- /dev/null +++ b/backend/.cache/go-build/eb/eb05f63ac31bb3e1015900bffa842a75e042f41f0802391dcaf92f2015e4705b-a @@ -0,0 +1 @@ +v1 eb05f63ac31bb3e1015900bffa842a75e042f41f0802391dcaf92f2015e4705b faa5c5128da98a5481224a6c08b4317b436f243936780e9d3a3be9264763d616 3153 1769060041913920933 diff --git a/backend/.cache/go-build/eb/eb0bdccad3dd58699ef33666bf5afae9a96c80082806e7f88ea02484033812f8-a b/backend/.cache/go-build/eb/eb0bdccad3dd58699ef33666bf5afae9a96c80082806e7f88ea02484033812f8-a new file mode 100644 index 0000000..ed2e78b --- /dev/null +++ b/backend/.cache/go-build/eb/eb0bdccad3dd58699ef33666bf5afae9a96c80082806e7f88ea02484033812f8-a @@ -0,0 +1 @@ +v1 eb0bdccad3dd58699ef33666bf5afae9a96c80082806e7f88ea02484033812f8 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042011119955 diff --git a/backend/.cache/go-build/eb/eb155a715b74b336f2c5d7b52391e9c46fac42792770d1125ad202a8ca719197-d b/backend/.cache/go-build/eb/eb155a715b74b336f2c5d7b52391e9c46fac42792770d1125ad202a8ca719197-d new file mode 100644 index 0000000..3fea18e Binary files /dev/null and b/backend/.cache/go-build/eb/eb155a715b74b336f2c5d7b52391e9c46fac42792770d1125ad202a8ca719197-d differ diff --git a/backend/.cache/go-build/eb/eb36e8c1a978c07bc140e2da19c8f15ce017ef9f5b8c01bad9d9c0bb8dfdcdfa-d b/backend/.cache/go-build/eb/eb36e8c1a978c07bc140e2da19c8f15ce017ef9f5b8c01bad9d9c0bb8dfdcdfa-d new file mode 100644 index 0000000..48beead Binary files /dev/null and b/backend/.cache/go-build/eb/eb36e8c1a978c07bc140e2da19c8f15ce017ef9f5b8c01bad9d9c0bb8dfdcdfa-d differ diff --git a/backend/.cache/go-build/eb/eb6ad73089cefe49a5013afdc69c804f4f2faf1b9b40a7014e2a8b4f0daa86e7-a b/backend/.cache/go-build/eb/eb6ad73089cefe49a5013afdc69c804f4f2faf1b9b40a7014e2a8b4f0daa86e7-a new file mode 100644 index 0000000..5251d1a --- /dev/null +++ b/backend/.cache/go-build/eb/eb6ad73089cefe49a5013afdc69c804f4f2faf1b9b40a7014e2a8b4f0daa86e7-a @@ -0,0 +1 @@ +v1 eb6ad73089cefe49a5013afdc69c804f4f2faf1b9b40a7014e2a8b4f0daa86e7 c5dcd428aa9690b4fab2484059a7416f541dc091bec2af440c8796deb4c83781 1404 1769060041909415037 diff --git a/backend/.cache/go-build/eb/ebafb0491b09f687519dc690387aecb43c2b7c5fb6f15ae215c2e591d6b003ad-a b/backend/.cache/go-build/eb/ebafb0491b09f687519dc690387aecb43c2b7c5fb6f15ae215c2e591d6b003ad-a new file mode 100644 index 0000000..b7da394 --- /dev/null +++ b/backend/.cache/go-build/eb/ebafb0491b09f687519dc690387aecb43c2b7c5fb6f15ae215c2e591d6b003ad-a @@ -0,0 +1 @@ +v1 ebafb0491b09f687519dc690387aecb43c2b7c5fb6f15ae215c2e591d6b003ad 71f6a755d706bbd4c817bd4f03fe9ea08e59dd804552bcf51219305420aebde2 1628 1769060041926845886 diff --git a/backend/.cache/go-build/eb/ebb21f30502ce62886470d293454ea523c74c4c752886bb3b05503d5c5b72da2-a b/backend/.cache/go-build/eb/ebb21f30502ce62886470d293454ea523c74c4c752886bb3b05503d5c5b72da2-a new file mode 100644 index 0000000..ab643d6 --- /dev/null +++ b/backend/.cache/go-build/eb/ebb21f30502ce62886470d293454ea523c74c4c752886bb3b05503d5c5b72da2-a @@ -0,0 +1 @@ +v1 ebb21f30502ce62886470d293454ea523c74c4c752886bb3b05503d5c5b72da2 4a52481a2928635cc52f4f1d8686203df20d793262ce138faa8f0399151e216e 37234 1769060042006948878 diff --git a/backend/.cache/go-build/eb/ebf02fcabdc6901b5885a313d84fff85dc36fd7a26445de2b885a2d67349aa96-d b/backend/.cache/go-build/eb/ebf02fcabdc6901b5885a313d84fff85dc36fd7a26445de2b885a2d67349aa96-d new file mode 100644 index 0000000..d90d6fe Binary files /dev/null and b/backend/.cache/go-build/eb/ebf02fcabdc6901b5885a313d84fff85dc36fd7a26445de2b885a2d67349aa96-d differ diff --git a/backend/.cache/go-build/eb/ebf79ff363765950dda1e28aba21336a31e70dce40e2f3bad377918e03c7fd42-a b/backend/.cache/go-build/eb/ebf79ff363765950dda1e28aba21336a31e70dce40e2f3bad377918e03c7fd42-a new file mode 100644 index 0000000..0083135 --- /dev/null +++ b/backend/.cache/go-build/eb/ebf79ff363765950dda1e28aba21336a31e70dce40e2f3bad377918e03c7fd42-a @@ -0,0 +1 @@ +v1 ebf79ff363765950dda1e28aba21336a31e70dce40e2f3bad377918e03c7fd42 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060044359116757 diff --git a/backend/.cache/go-build/ec/ec529c40bf456c05703594ee7559e8f01d04e014a9216c31eaaf26dbfa1808d5-d b/backend/.cache/go-build/ec/ec529c40bf456c05703594ee7559e8f01d04e014a9216c31eaaf26dbfa1808d5-d new file mode 100644 index 0000000..c5ee487 Binary files /dev/null and b/backend/.cache/go-build/ec/ec529c40bf456c05703594ee7559e8f01d04e014a9216c31eaaf26dbfa1808d5-d differ diff --git a/backend/.cache/go-build/ed/ed68bc1130b54b5fbe5984fd4b9a01237f33232d17268b5e6512c55148b9d07f-a b/backend/.cache/go-build/ed/ed68bc1130b54b5fbe5984fd4b9a01237f33232d17268b5e6512c55148b9d07f-a new file mode 100644 index 0000000..5716bcd --- /dev/null +++ b/backend/.cache/go-build/ed/ed68bc1130b54b5fbe5984fd4b9a01237f33232d17268b5e6512c55148b9d07f-a @@ -0,0 +1 @@ +v1 ed68bc1130b54b5fbe5984fd4b9a01237f33232d17268b5e6512c55148b9d07f 3f1f7a1999a07a8c85d74be12a086d5732df86e4e4e1cb8dc0865e8edf889ded 142 1769060043572497782 diff --git a/backend/.cache/go-build/ed/edb3789cfcb05b235540efae8e18ce4ab68450f91276300d2baa5cc170d787cb-d b/backend/.cache/go-build/ed/edb3789cfcb05b235540efae8e18ce4ab68450f91276300d2baa5cc170d787cb-d new file mode 100644 index 0000000..7f16f58 Binary files /dev/null and b/backend/.cache/go-build/ed/edb3789cfcb05b235540efae8e18ce4ab68450f91276300d2baa5cc170d787cb-d differ diff --git a/backend/.cache/go-build/ee/ee6bf6b9010d2db4f46169594c86b561f0a6ebdc14c2f2c5985db00b278e836e-d b/backend/.cache/go-build/ee/ee6bf6b9010d2db4f46169594c86b561f0a6ebdc14c2f2c5985db00b278e836e-d new file mode 100644 index 0000000..d4794ac Binary files /dev/null and b/backend/.cache/go-build/ee/ee6bf6b9010d2db4f46169594c86b561f0a6ebdc14c2f2c5985db00b278e836e-d differ diff --git a/backend/.cache/go-build/ef/ef18eed2a748094e1b649f5ee94516fa088495e4873869e8377ab95233d10986-d b/backend/.cache/go-build/ef/ef18eed2a748094e1b649f5ee94516fa088495e4873869e8377ab95233d10986-d new file mode 100644 index 0000000..baf80f7 Binary files /dev/null and b/backend/.cache/go-build/ef/ef18eed2a748094e1b649f5ee94516fa088495e4873869e8377ab95233d10986-d differ diff --git a/backend/.cache/go-build/ef/ef22a8c548ff45a1c75dde31001f92e54e2d96bfddfd773761c87a37135eff03-a b/backend/.cache/go-build/ef/ef22a8c548ff45a1c75dde31001f92e54e2d96bfddfd773761c87a37135eff03-a new file mode 100644 index 0000000..d23c860 --- /dev/null +++ b/backend/.cache/go-build/ef/ef22a8c548ff45a1c75dde31001f92e54e2d96bfddfd773761c87a37135eff03-a @@ -0,0 +1 @@ +v1 ef22a8c548ff45a1c75dde31001f92e54e2d96bfddfd773761c87a37135eff03 e8c7c93f8f45adc887e8a0a49d233bab9753b0cf2ee23832146c7a0acf800918 332 1769060041945482523 diff --git a/backend/.cache/go-build/ef/ef2501c3b46de272cb7fc673feec5afbcaa66f1da493d9e898c4d262f71db085-a b/backend/.cache/go-build/ef/ef2501c3b46de272cb7fc673feec5afbcaa66f1da493d9e898c4d262f71db085-a new file mode 100644 index 0000000..04e2204 --- /dev/null +++ b/backend/.cache/go-build/ef/ef2501c3b46de272cb7fc673feec5afbcaa66f1da493d9e898c4d262f71db085-a @@ -0,0 +1 @@ +v1 ef2501c3b46de272cb7fc673feec5afbcaa66f1da493d9e898c4d262f71db085 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060043845952324 diff --git a/backend/.cache/go-build/ef/ef3779c4b905b31863853c48afc4f35ac04ebe63365a59cfbe8229ffb96f8e47-a b/backend/.cache/go-build/ef/ef3779c4b905b31863853c48afc4f35ac04ebe63365a59cfbe8229ffb96f8e47-a new file mode 100644 index 0000000..2de9122 --- /dev/null +++ b/backend/.cache/go-build/ef/ef3779c4b905b31863853c48afc4f35ac04ebe63365a59cfbe8229ffb96f8e47-a @@ -0,0 +1 @@ +v1 ef3779c4b905b31863853c48afc4f35ac04ebe63365a59cfbe8229ffb96f8e47 fa886cd6246eb490b93e4a980da344f72688d269582141d8fb53b4b88916a877 2235 1769060041910485007 diff --git a/backend/.cache/go-build/ef/efef87f529604c02602d08fb41eae2348608fefa2542d438591966bacba9976c-a b/backend/.cache/go-build/ef/efef87f529604c02602d08fb41eae2348608fefa2542d438591966bacba9976c-a new file mode 100644 index 0000000..e69c6ab --- /dev/null +++ b/backend/.cache/go-build/ef/efef87f529604c02602d08fb41eae2348608fefa2542d438591966bacba9976c-a @@ -0,0 +1 @@ +v1 efef87f529604c02602d08fb41eae2348608fefa2542d438591966bacba9976c 419148a852af62b4c65ecc58358d69cad457afa9c58a31ec51205b61329141ab 374 1769060041917949115 diff --git a/backend/.cache/go-build/f0/f04b3b97b611e09ffbc00f175cb235c4d11e618d1d896d48dfaa8a8b47bba14b-a b/backend/.cache/go-build/f0/f04b3b97b611e09ffbc00f175cb235c4d11e618d1d896d48dfaa8a8b47bba14b-a new file mode 100644 index 0000000..13649b9 --- /dev/null +++ b/backend/.cache/go-build/f0/f04b3b97b611e09ffbc00f175cb235c4d11e618d1d896d48dfaa8a8b47bba14b-a @@ -0,0 +1 @@ +v1 f04b3b97b611e09ffbc00f175cb235c4d11e618d1d896d48dfaa8a8b47bba14b 7687cb6d855791664e6e8de17ba210cb6f5dea4b339915529e0c24fded470023 1690 1769060041926944630 diff --git a/backend/.cache/go-build/f0/f051f3ea915373110be0f7ba7a45321f7c0989c22ff981987c2b57e7ff71988e-d b/backend/.cache/go-build/f0/f051f3ea915373110be0f7ba7a45321f7c0989c22ff981987c2b57e7ff71988e-d new file mode 100644 index 0000000..158a9ac Binary files /dev/null and b/backend/.cache/go-build/f0/f051f3ea915373110be0f7ba7a45321f7c0989c22ff981987c2b57e7ff71988e-d differ diff --git a/backend/.cache/go-build/f0/f060418c3caca4b99db704a70445ea61479292d4b7debe5dced73619dce5526a-d b/backend/.cache/go-build/f0/f060418c3caca4b99db704a70445ea61479292d4b7debe5dced73619dce5526a-d new file mode 100644 index 0000000..9f51fce Binary files /dev/null and b/backend/.cache/go-build/f0/f060418c3caca4b99db704a70445ea61479292d4b7debe5dced73619dce5526a-d differ diff --git a/backend/.cache/go-build/f0/f06adb18ae07f37980996a92cea8d0f62dbf7b7d114972887eb3b94b8e68fa7a-a b/backend/.cache/go-build/f0/f06adb18ae07f37980996a92cea8d0f62dbf7b7d114972887eb3b94b8e68fa7a-a new file mode 100644 index 0000000..db013ff --- /dev/null +++ b/backend/.cache/go-build/f0/f06adb18ae07f37980996a92cea8d0f62dbf7b7d114972887eb3b94b8e68fa7a-a @@ -0,0 +1 @@ +v1 f06adb18ae07f37980996a92cea8d0f62dbf7b7d114972887eb3b94b8e68fa7a 5374f3493f71491fabe6ffac1769f0ea34dee4027bc5d7799ad7117d2237a9e4 3925 1769060041909363987 diff --git a/backend/.cache/go-build/f0/f09fa4ced4d67a86c477e2daecfaf39fccd7d0cb936478c5d73427221189029e-d b/backend/.cache/go-build/f0/f09fa4ced4d67a86c477e2daecfaf39fccd7d0cb936478c5d73427221189029e-d new file mode 100644 index 0000000..2077dd8 Binary files /dev/null and b/backend/.cache/go-build/f0/f09fa4ced4d67a86c477e2daecfaf39fccd7d0cb936478c5d73427221189029e-d differ diff --git a/backend/.cache/go-build/f0/f0e04167a4663a7177f37c7105722e7e71f94b52c2196a297bccd517329a1e8e-a b/backend/.cache/go-build/f0/f0e04167a4663a7177f37c7105722e7e71f94b52c2196a297bccd517329a1e8e-a new file mode 100644 index 0000000..27f1fc2 --- /dev/null +++ b/backend/.cache/go-build/f0/f0e04167a4663a7177f37c7105722e7e71f94b52c2196a297bccd517329a1e8e-a @@ -0,0 +1 @@ +v1 f0e04167a4663a7177f37c7105722e7e71f94b52c2196a297bccd517329a1e8e 08b5e0dab7d3087a33f63125a3e698d348aea5d157f099d2a4a331dccc410266 86 1769060043996073846 diff --git a/backend/.cache/go-build/f0/f0ee9d7b8fbb0afac809cb6c46cee7fd3a68befdf643ccdd00533820a8926177-d b/backend/.cache/go-build/f0/f0ee9d7b8fbb0afac809cb6c46cee7fd3a68befdf643ccdd00533820a8926177-d new file mode 100644 index 0000000..1cdaa62 --- /dev/null +++ b/backend/.cache/go-build/f0/f0ee9d7b8fbb0afac809cb6c46cee7fd3a68befdf643ccdd00533820a8926177-d @@ -0,0 +1 @@ +./math.go diff --git a/backend/.cache/go-build/f1/f13079d853cade3d9e1c200f7b7be508b74c60f3bbea8fb7fb13aed01faedf18-d b/backend/.cache/go-build/f1/f13079d853cade3d9e1c200f7b7be508b74c60f3bbea8fb7fb13aed01faedf18-d new file mode 100644 index 0000000..f518e88 Binary files /dev/null and b/backend/.cache/go-build/f1/f13079d853cade3d9e1c200f7b7be508b74c60f3bbea8fb7fb13aed01faedf18-d differ diff --git a/backend/.cache/go-build/f1/f1944a355faff81399ea9206a748d78b23365bc5a6c443bdf7c5828488f8b9bf-a b/backend/.cache/go-build/f1/f1944a355faff81399ea9206a748d78b23365bc5a6c443bdf7c5828488f8b9bf-a new file mode 100644 index 0000000..c9c86aa --- /dev/null +++ b/backend/.cache/go-build/f1/f1944a355faff81399ea9206a748d78b23365bc5a6c443bdf7c5828488f8b9bf-a @@ -0,0 +1 @@ +v1 f1944a355faff81399ea9206a748d78b23365bc5a6c443bdf7c5828488f8b9bf e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042013090615 diff --git a/backend/.cache/go-build/f2/f21ad81558eb78e4f137d445146c83285960667c5eb131e6a921ced6730b1363-d b/backend/.cache/go-build/f2/f21ad81558eb78e4f137d445146c83285960667c5eb131e6a921ced6730b1363-d new file mode 100644 index 0000000..7ec35e9 Binary files /dev/null and b/backend/.cache/go-build/f2/f21ad81558eb78e4f137d445146c83285960667c5eb131e6a921ced6730b1363-d differ diff --git a/backend/.cache/go-build/f2/f237775fa2f6a4b128c24c80f96d524ec01839e987a7c7459ddd0e3c7a93a5a9-a b/backend/.cache/go-build/f2/f237775fa2f6a4b128c24c80f96d524ec01839e987a7c7459ddd0e3c7a93a5a9-a new file mode 100644 index 0000000..dce621d --- /dev/null +++ b/backend/.cache/go-build/f2/f237775fa2f6a4b128c24c80f96d524ec01839e987a7c7459ddd0e3c7a93a5a9-a @@ -0,0 +1 @@ +v1 f237775fa2f6a4b128c24c80f96d524ec01839e987a7c7459ddd0e3c7a93a5a9 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 1769060042165053259 diff --git a/backend/.cache/go-build/f2/f271add9a887ea62365f520dd72ac763b3678c7a02cff4839e6af456a846ed05-a b/backend/.cache/go-build/f2/f271add9a887ea62365f520dd72ac763b3678c7a02cff4839e6af456a846ed05-a new file mode 100644 index 0000000..ff90a37 --- /dev/null +++ b/backend/.cache/go-build/f2/f271add9a887ea62365f520dd72ac763b3678c7a02cff4839e6af456a846ed05-a @@ -0,0 +1 @@ +v1 f271add9a887ea62365f520dd72ac763b3678c7a02cff4839e6af456a846ed05 25f804cac3391e8f63da8896443f6d90f11d69d674eb82c4228aa60dc0f90139 1569 1769060041923600145 diff --git a/backend/.cache/go-build/f2/f2a32d31b6aaaf1e30a73e09c96de3318677efe515df04861cf8b2a523604f40-d b/backend/.cache/go-build/f2/f2a32d31b6aaaf1e30a73e09c96de3318677efe515df04861cf8b2a523604f40-d new file mode 100644 index 0000000..dff20ca Binary files /dev/null and b/backend/.cache/go-build/f2/f2a32d31b6aaaf1e30a73e09c96de3318677efe515df04861cf8b2a523604f40-d differ diff --git a/backend/.cache/go-build/f4/f4a0e9d5a02987f933bfddf61f0da03479ba95cdfd8c1e5235dfca204e55406a-d b/backend/.cache/go-build/f4/f4a0e9d5a02987f933bfddf61f0da03479ba95cdfd8c1e5235dfca204e55406a-d new file mode 100644 index 0000000..22be22e Binary files /dev/null and b/backend/.cache/go-build/f4/f4a0e9d5a02987f933bfddf61f0da03479ba95cdfd8c1e5235dfca204e55406a-d differ diff --git a/backend/.cache/go-build/f4/f4c0102a61d71623377babf3d0a4f4af574879443bdea50d0ad96d1e9a4f9ce8-d b/backend/.cache/go-build/f4/f4c0102a61d71623377babf3d0a4f4af574879443bdea50d0ad96d1e9a4f9ce8-d new file mode 100644 index 0000000..5237272 Binary files /dev/null and b/backend/.cache/go-build/f4/f4c0102a61d71623377babf3d0a4f4af574879443bdea50d0ad96d1e9a4f9ce8-d differ diff --git a/backend/.cache/go-build/f4/f4d7702e21aac5ea61c5b7d83c3513dcba844985b63de3aeaa4da690525f2a68-a b/backend/.cache/go-build/f4/f4d7702e21aac5ea61c5b7d83c3513dcba844985b63de3aeaa4da690525f2a68-a new file mode 100644 index 0000000..942ef7c --- /dev/null +++ b/backend/.cache/go-build/f4/f4d7702e21aac5ea61c5b7d83c3513dcba844985b63de3aeaa4da690525f2a68-a @@ -0,0 +1 @@ +v1 f4d7702e21aac5ea61c5b7d83c3513dcba844985b63de3aeaa4da690525f2a68 5f00ccaafe80e5b9e0636080dbec6d06635106543d3778c99997fef8b003cd7b 2497 1769060041928656703 diff --git a/backend/.cache/go-build/f5/f502da81ad708823cb5ea6c61b7f07f3b49cd9d264dff170551d11c9c7f2f4bb-d b/backend/.cache/go-build/f5/f502da81ad708823cb5ea6c61b7f07f3b49cd9d264dff170551d11c9c7f2f4bb-d new file mode 100644 index 0000000..d01e8d5 --- /dev/null +++ b/backend/.cache/go-build/f5/f502da81ad708823cb5ea6c61b7f07f3b49cd9d264dff170551d11c9c7f2f4bb-d @@ -0,0 +1,2 @@ +./doc.go +./nomsan.go diff --git a/backend/.cache/go-build/f6/f6039f43e4b175f551353af0321e5575e1116253f0eaf8d576d192f7f513ad3d-a b/backend/.cache/go-build/f6/f6039f43e4b175f551353af0321e5575e1116253f0eaf8d576d192f7f513ad3d-a new file mode 100644 index 0000000..185e999 --- /dev/null +++ b/backend/.cache/go-build/f6/f6039f43e4b175f551353af0321e5575e1116253f0eaf8d576d192f7f513ad3d-a @@ -0,0 +1 @@ +v1 f6039f43e4b175f551353af0321e5575e1116253f0eaf8d576d192f7f513ad3d 80f03e2ab4ff75f971e50d716875894a88b718aa3e430672d367def4f2b87a77 693 1769060041917429177 diff --git a/backend/.cache/go-build/f6/f606fb302ebcd39ebeba53a342ea7155e230ab2a0538a80d320520a5505620aa-a b/backend/.cache/go-build/f6/f606fb302ebcd39ebeba53a342ea7155e230ab2a0538a80d320520a5505620aa-a new file mode 100644 index 0000000..07bf890 --- /dev/null +++ b/backend/.cache/go-build/f6/f606fb302ebcd39ebeba53a342ea7155e230ab2a0538a80d320520a5505620aa-a @@ -0,0 +1 @@ +v1 f606fb302ebcd39ebeba53a342ea7155e230ab2a0538a80d320520a5505620aa a981679cca91e5850f4b8df9b3831022a0a55a3a3831fcbd16efb38744236667 760 1769060041900136384 diff --git a/backend/.cache/go-build/f6/f6ea8c73e81bedf17f95701810aa642e9760d539f3c024a349471b13cdb2c229-d b/backend/.cache/go-build/f6/f6ea8c73e81bedf17f95701810aa642e9760d539f3c024a349471b13cdb2c229-d new file mode 100644 index 0000000..b14173f Binary files /dev/null and b/backend/.cache/go-build/f6/f6ea8c73e81bedf17f95701810aa642e9760d539f3c024a349471b13cdb2c229-d differ diff --git a/backend/.cache/go-build/f8/f82269c6bb938bc1eaaa02bb2361f5b34179617d99075802805935a6ee13de39-a b/backend/.cache/go-build/f8/f82269c6bb938bc1eaaa02bb2361f5b34179617d99075802805935a6ee13de39-a new file mode 100644 index 0000000..55ea0a5 --- /dev/null +++ b/backend/.cache/go-build/f8/f82269c6bb938bc1eaaa02bb2361f5b34179617d99075802805935a6ee13de39-a @@ -0,0 +1 @@ +v1 f82269c6bb938bc1eaaa02bb2361f5b34179617d99075802805935a6ee13de39 022d688962c1d03025c706b6551125efee80a0dc76d5d42f4a15896e7685240e 952 1769060041923608149 diff --git a/backend/.cache/go-build/f8/f831a9523c66216ce8e4c9d5ce228c14962e2b54c4e719134b1b7e0c1c1d7e90-d b/backend/.cache/go-build/f8/f831a9523c66216ce8e4c9d5ce228c14962e2b54c4e719134b1b7e0c1c1d7e90-d new file mode 100644 index 0000000..708aa44 Binary files /dev/null and b/backend/.cache/go-build/f8/f831a9523c66216ce8e4c9d5ce228c14962e2b54c4e719134b1b7e0c1c1d7e90-d differ diff --git a/backend/.cache/go-build/f8/f83e6ca56311abd625491eb27a8343230b53038f64897ef76a1fd42a3df6a883-d b/backend/.cache/go-build/f8/f83e6ca56311abd625491eb27a8343230b53038f64897ef76a1fd42a3df6a883-d new file mode 100644 index 0000000..7aa572f Binary files /dev/null and b/backend/.cache/go-build/f8/f83e6ca56311abd625491eb27a8343230b53038f64897ef76a1fd42a3df6a883-d differ diff --git a/backend/.cache/go-build/f8/f8a86fd9e5f1a05b490079fddad7415c0c3d095da5585f20b82a4865f52ecd2a-a b/backend/.cache/go-build/f8/f8a86fd9e5f1a05b490079fddad7415c0c3d095da5585f20b82a4865f52ecd2a-a new file mode 100644 index 0000000..26c5b04 --- /dev/null +++ b/backend/.cache/go-build/f8/f8a86fd9e5f1a05b490079fddad7415c0c3d095da5585f20b82a4865f52ecd2a-a @@ -0,0 +1 @@ +v1 f8a86fd9e5f1a05b490079fddad7415c0c3d095da5585f20b82a4865f52ecd2a f9a54b1a11b1d8f3e178ed6a0145ebfa6fd9dd0f37e85de796e4f433fe7d558f 343 1769060041917749403 diff --git a/backend/.cache/go-build/f8/f8c4651a485fa29efdffd0fb5367034f714813dae844fdff2265087c0c31ef1b-a b/backend/.cache/go-build/f8/f8c4651a485fa29efdffd0fb5367034f714813dae844fdff2265087c0c31ef1b-a new file mode 100644 index 0000000..59bb0e0 --- /dev/null +++ b/backend/.cache/go-build/f8/f8c4651a485fa29efdffd0fb5367034f714813dae844fdff2265087c0c31ef1b-a @@ -0,0 +1 @@ +v1 f8c4651a485fa29efdffd0fb5367034f714813dae844fdff2265087c0c31ef1b 6afeb81fdc5761b8194235de9f45258381c6aaa353e617ec67d8dfc919d75089 2741 1769060041922273032 diff --git a/backend/.cache/go-build/f9/f949d2835b13c30cc4903b8ecf02f98ea352fec95142e0f6a4b22da46dfd5a41-a b/backend/.cache/go-build/f9/f949d2835b13c30cc4903b8ecf02f98ea352fec95142e0f6a4b22da46dfd5a41-a new file mode 100644 index 0000000..a5b708f --- /dev/null +++ b/backend/.cache/go-build/f9/f949d2835b13c30cc4903b8ecf02f98ea352fec95142e0f6a4b22da46dfd5a41-a @@ -0,0 +1 @@ +v1 f949d2835b13c30cc4903b8ecf02f98ea352fec95142e0f6a4b22da46dfd5a41 19d4c7f12c8d5fc4ca336e2c7e4da5b3098cb70d2ec7020a418286e082e93792 1703 1769060041924345842 diff --git a/backend/.cache/go-build/f9/f97f18d23f6d1fa22b8d04f8a41aaac179dcb69bca638f69158663081f1b119d-a b/backend/.cache/go-build/f9/f97f18d23f6d1fa22b8d04f8a41aaac179dcb69bca638f69158663081f1b119d-a new file mode 100644 index 0000000..8fa42eb --- /dev/null +++ b/backend/.cache/go-build/f9/f97f18d23f6d1fa22b8d04f8a41aaac179dcb69bca638f69158663081f1b119d-a @@ -0,0 +1 @@ +v1 f97f18d23f6d1fa22b8d04f8a41aaac179dcb69bca638f69158663081f1b119d 6108a65a8a22a4978cd3c1f7d61f73a2944db05d66c5410e550498023ca203fd 21 1769060043838897635 diff --git a/backend/.cache/go-build/f9/f9a54b1a11b1d8f3e178ed6a0145ebfa6fd9dd0f37e85de796e4f433fe7d558f-d b/backend/.cache/go-build/f9/f9a54b1a11b1d8f3e178ed6a0145ebfa6fd9dd0f37e85de796e4f433fe7d558f-d new file mode 100644 index 0000000..0f8d197 Binary files /dev/null and b/backend/.cache/go-build/f9/f9a54b1a11b1d8f3e178ed6a0145ebfa6fd9dd0f37e85de796e4f433fe7d558f-d differ diff --git a/backend/.cache/go-build/f9/f9b72308826400b740f6da5ead6fcd6bc83aa3788bd2ef35f6a4828149de84e5-d b/backend/.cache/go-build/f9/f9b72308826400b740f6da5ead6fcd6bc83aa3788bd2ef35f6a4828149de84e5-d new file mode 100644 index 0000000..1b6b7bf Binary files /dev/null and b/backend/.cache/go-build/f9/f9b72308826400b740f6da5ead6fcd6bc83aa3788bd2ef35f6a4828149de84e5-d differ diff --git a/backend/.cache/go-build/fa/fa886cd6246eb490b93e4a980da344f72688d269582141d8fb53b4b88916a877-d b/backend/.cache/go-build/fa/fa886cd6246eb490b93e4a980da344f72688d269582141d8fb53b4b88916a877-d new file mode 100644 index 0000000..f21e1a5 Binary files /dev/null and b/backend/.cache/go-build/fa/fa886cd6246eb490b93e4a980da344f72688d269582141d8fb53b4b88916a877-d differ diff --git a/backend/.cache/go-build/fa/fa8c5c0121a0d086f77f17c71f77f9cbba01c0c26a4cee67a6f50766ff26af2c-d b/backend/.cache/go-build/fa/fa8c5c0121a0d086f77f17c71f77f9cbba01c0c26a4cee67a6f50766ff26af2c-d new file mode 100644 index 0000000..3a7d4f2 Binary files /dev/null and b/backend/.cache/go-build/fa/fa8c5c0121a0d086f77f17c71f77f9cbba01c0c26a4cee67a6f50766ff26af2c-d differ diff --git a/backend/.cache/go-build/fa/faa5c5128da98a5481224a6c08b4317b436f243936780e9d3a3be9264763d616-d b/backend/.cache/go-build/fa/faa5c5128da98a5481224a6c08b4317b436f243936780e9d3a3be9264763d616-d new file mode 100644 index 0000000..9d0fdb3 Binary files /dev/null and b/backend/.cache/go-build/fa/faa5c5128da98a5481224a6c08b4317b436f243936780e9d3a3be9264763d616-d differ diff --git a/backend/.cache/go-build/fa/fac55453a72ef24bc0048a60aa71dcf723f51b3419a68da982ce886acc125c22-a b/backend/.cache/go-build/fa/fac55453a72ef24bc0048a60aa71dcf723f51b3419a68da982ce886acc125c22-a new file mode 100644 index 0000000..7a57cf1 --- /dev/null +++ b/backend/.cache/go-build/fa/fac55453a72ef24bc0048a60aa71dcf723f51b3419a68da982ce886acc125c22-a @@ -0,0 +1 @@ +v1 fac55453a72ef24bc0048a60aa71dcf723f51b3419a68da982ce886acc125c22 87bfd0d96055ebb74d7e55c30790487f5c60f19c6e1e141b424442e9e42c92ed 280724 1769060042015207414 diff --git a/backend/.cache/go-build/fb/fb0af4b39d3d21faae58a3a63daa10b03012802f1fa1a685aa30eacd1f0a3644-d b/backend/.cache/go-build/fb/fb0af4b39d3d21faae58a3a63daa10b03012802f1fa1a685aa30eacd1f0a3644-d new file mode 100644 index 0000000..1b853b5 Binary files /dev/null and b/backend/.cache/go-build/fb/fb0af4b39d3d21faae58a3a63daa10b03012802f1fa1a685aa30eacd1f0a3644-d differ diff --git a/backend/.cache/go-build/fb/fbd3f0a0b1bcb06b94a210547b346183455be303d482240b6e3b775ad91141c1-d b/backend/.cache/go-build/fb/fbd3f0a0b1bcb06b94a210547b346183455be303d482240b6e3b775ad91141c1-d new file mode 100644 index 0000000..84f6434 --- /dev/null +++ b/backend/.cache/go-build/fb/fbd3f0a0b1bcb06b94a210547b346183455be303d482240b6e3b775ad91141c1-d @@ -0,0 +1,3 @@ +./io.go +./multi.go +./pipe.go diff --git a/backend/.cache/go-build/fc/fc2482b707dee3eea1e2fec0bde7e421d8db0da4e425c0a07534bc89e28d7fa9-a b/backend/.cache/go-build/fc/fc2482b707dee3eea1e2fec0bde7e421d8db0da4e425c0a07534bc89e28d7fa9-a new file mode 100644 index 0000000..a1cc206 --- /dev/null +++ b/backend/.cache/go-build/fc/fc2482b707dee3eea1e2fec0bde7e421d8db0da4e425c0a07534bc89e28d7fa9-a @@ -0,0 +1 @@ +v1 fc2482b707dee3eea1e2fec0bde7e421d8db0da4e425c0a07534bc89e28d7fa9 f6ea8c73e81bedf17f95701810aa642e9760d539f3c024a349471b13cdb2c229 106120 1769060042002037874 diff --git a/backend/.cache/go-build/fc/fc40abd0343f9a80c5b3dab549574858d22f9d70262ed2d3a847fdb54e3e303e-d b/backend/.cache/go-build/fc/fc40abd0343f9a80c5b3dab549574858d22f9d70262ed2d3a847fdb54e3e303e-d new file mode 100644 index 0000000..007e739 --- /dev/null +++ b/backend/.cache/go-build/fc/fc40abd0343f9a80c5b3dab549574858d22f9d70262ed2d3a847fdb54e3e303e-d @@ -0,0 +1 @@ +./errors.go diff --git a/backend/.cache/go-build/fc/fc9fe66f1d6f449cc478156f794dc0173a84c7e21f1a22c6dcda27bfcb5255fa-d b/backend/.cache/go-build/fc/fc9fe66f1d6f449cc478156f794dc0173a84c7e21f1a22c6dcda27bfcb5255fa-d new file mode 100644 index 0000000..cbecb9e Binary files /dev/null and b/backend/.cache/go-build/fc/fc9fe66f1d6f449cc478156f794dc0173a84c7e21f1a22c6dcda27bfcb5255fa-d differ diff --git a/backend/.cache/go-build/fd/fd6a1ae0dbce9a45a8725c7738b817d96ce6de88113c5817d4e7417496936d99-a b/backend/.cache/go-build/fd/fd6a1ae0dbce9a45a8725c7738b817d96ce6de88113c5817d4e7417496936d99-a new file mode 100644 index 0000000..232881c --- /dev/null +++ b/backend/.cache/go-build/fd/fd6a1ae0dbce9a45a8725c7738b817d96ce6de88113c5817d4e7417496936d99-a @@ -0,0 +1 @@ +v1 fd6a1ae0dbce9a45a8725c7738b817d96ce6de88113c5817d4e7417496936d99 49511420d5af12e2c0c9b38167e9210f451eb3c846789d5a7d160b2627766d85 1860 1769060041908333688 diff --git a/backend/.cache/go-build/fd/fd95595540af5193f84916bf3997c67116fae4b364be60bee5d2f8be84b618b1-d b/backend/.cache/go-build/fd/fd95595540af5193f84916bf3997c67116fae4b364be60bee5d2f8be84b618b1-d new file mode 100644 index 0000000..5a55643 Binary files /dev/null and b/backend/.cache/go-build/fd/fd95595540af5193f84916bf3997c67116fae4b364be60bee5d2f8be84b618b1-d differ diff --git a/backend/.cache/go-build/fd/fda85f8a98bba29c9bfeb243785885e561311c3d7c151a31ec4f8d3a65d9ea00-a b/backend/.cache/go-build/fd/fda85f8a98bba29c9bfeb243785885e561311c3d7c151a31ec4f8d3a65d9ea00-a new file mode 100644 index 0000000..9ee6338 --- /dev/null +++ b/backend/.cache/go-build/fd/fda85f8a98bba29c9bfeb243785885e561311c3d7c151a31ec4f8d3a65d9ea00-a @@ -0,0 +1 @@ +v1 fda85f8a98bba29c9bfeb243785885e561311c3d7c151a31ec4f8d3a65d9ea00 d3544e9c56d3ca5a8df115e3c2efbe82cede1bbf8f9f0e238c2f4c851d6c51c3 10915 1769060041922069582 diff --git a/backend/.cache/go-build/fd/fdc088b0aba849debb6c3f549a7c5d158dec37b63524fad8ed10bcfa399f380a-a b/backend/.cache/go-build/fd/fdc088b0aba849debb6c3f549a7c5d158dec37b63524fad8ed10bcfa399f380a-a new file mode 100644 index 0000000..193c16f --- /dev/null +++ b/backend/.cache/go-build/fd/fdc088b0aba849debb6c3f549a7c5d158dec37b63524fad8ed10bcfa399f380a-a @@ -0,0 +1 @@ +v1 fdc088b0aba849debb6c3f549a7c5d158dec37b63524fad8ed10bcfa399f380a 14500628b9407c03a97a414e28b3aea830ba02448949cc38ae31e6b9f470aa1c 1632 1769060041912431093 diff --git a/backend/.cache/go-build/fe/fe8fed20c9ca60625ec5860c45ec21d6cbef77e325f1628a511163477e8bb7a9-a b/backend/.cache/go-build/fe/fe8fed20c9ca60625ec5860c45ec21d6cbef77e325f1628a511163477e8bb7a9-a new file mode 100644 index 0000000..c315f78 --- /dev/null +++ b/backend/.cache/go-build/fe/fe8fed20c9ca60625ec5860c45ec21d6cbef77e325f1628a511163477e8bb7a9-a @@ -0,0 +1 @@ +v1 fe8fed20c9ca60625ec5860c45ec21d6cbef77e325f1628a511163477e8bb7a9 728a186b36ad21b0583afbbc5a2a389e6d4962f4028c3a56bba3f220c9674ba7 87468 1769060043649998477 diff --git a/backend/.cache/go-build/ff/ff8d57ec2548d5d84b16244a8c7afbf0087bc19ad80e03c4c60abf6e76975bab-a b/backend/.cache/go-build/ff/ff8d57ec2548d5d84b16244a8c7afbf0087bc19ad80e03c4c60abf6e76975bab-a new file mode 100644 index 0000000..41aab0a --- /dev/null +++ b/backend/.cache/go-build/ff/ff8d57ec2548d5d84b16244a8c7afbf0087bc19ad80e03c4c60abf6e76975bab-a @@ -0,0 +1 @@ +v1 ff8d57ec2548d5d84b16244a8c7afbf0087bc19ad80e03c4c60abf6e76975bab 3023bfabceccd317773876c3539058cdfdb3c4e7bcf00f34a3c03ed48e730366 809 1769060041927194181 diff --git a/backend/.cache/go-build/trim.txt b/backend/.cache/go-build/trim.txt new file mode 100644 index 0000000..86c5a5c --- /dev/null +++ b/backend/.cache/go-build/trim.txt @@ -0,0 +1 @@ +1769060044 \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/download/entgo.io/ent/@v/v0.14.5.lock b/backend/.cache/go-mod/cache/download/entgo.io/ent/@v/v0.14.5.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/download/github.com/gin-gonic/gin/@v/v1.10.0.lock b/backend/.cache/go-mod/cache/download/github.com/gin-gonic/gin/@v/v1.10.0.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/download/github.com/google/uuid/@v/v1.6.0.lock b/backend/.cache/go-mod/cache/download/github.com/google/uuid/@v/v1.6.0.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/download/github.com/mattn/go-sqlite3/@v/v1.14.22.lock b/backend/.cache/go-mod/cache/download/github.com/mattn/go-sqlite3/@v/v1.14.22.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/download/github.com/swaggo/files/@v/v1.0.1.lock b/backend/.cache/go-mod/cache/download/github.com/swaggo/files/@v/v1.0.1.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/download/github.com/swaggo/gin-swagger/@v/v1.6.0.lock b/backend/.cache/go-mod/cache/download/github.com/swaggo/gin-swagger/@v/v1.6.0.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/download/github.com/swaggo/swag/@v/v1.8.12.lock b/backend/.cache/go-mod/cache/download/github.com/swaggo/swag/@v/v1.8.12.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6.info b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6.info new file mode 100644 index 0000000..42a168a --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6.info @@ -0,0 +1 @@ +git3:https://github.com/PuerkitoBio/purell \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6.lock b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/HEAD b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/config b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/config new file mode 100644 index 0000000..37a63ff --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/PuerkitoBio/purell + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/description b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/info/exclude b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/12b31e375c995228b320c433d09fe2d58945a0b4a8eb6e37842d4c548b8a7fe6/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc.info b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc.info new file mode 100644 index 0000000..984ed29 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc.info @@ -0,0 +1 @@ +git3:https://github.com/cloudwego/base64x \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc.lock b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/HEAD b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/config b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/config new file mode 100644 index 0000000..8a7db78 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/cloudwego/base64x + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/description b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/info/exclude b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/17fcea4b802f41a9367c8d7df9d73e87ad63638357e3d969436eeff933e9a2cc/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4.info b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4.info new file mode 100644 index 0000000..652e0c7 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4.info @@ -0,0 +1 @@ +git3:https://github.com/swaggo/files \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4.lock b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/HEAD b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/config b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/config new file mode 100644 index 0000000..9dc35d2 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/swaggo/files + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/description b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/info/exclude b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/193b025afaddaca3959d92ca02b913a1bd8f5c9cc479611660713783c0f01af4/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3.info b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3.info new file mode 100644 index 0000000..34270a6 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3.info @@ -0,0 +1 @@ +git3:https://github.com/rogpeppe/go-internal \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3.lock b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/HEAD b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/config b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/config new file mode 100644 index 0000000..c73e9bb --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/rogpeppe/go-internal + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/description b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/info/exclude b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2748cdc3579c291426b74c0778ff15c077e673e2fbd64695d2750934ef55a1b3/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1.info b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1.info new file mode 100644 index 0000000..38754dd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1.info @@ -0,0 +1 @@ +git3:https://github.com/modern-go/concurrent \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1.lock b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/HEAD b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/config b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/config new file mode 100644 index 0000000..5b600f9 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/modern-go/concurrent + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/description b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/info/exclude b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2bbaef4ca36d318537e094eacdf225814414e9ca2dad5524ac4250db46b127b1/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7.info b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7.info new file mode 100644 index 0000000..59abf42 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7.info @@ -0,0 +1 @@ +git3:https://github.com/go-openapi/jsonreference \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7.lock b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/HEAD b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/config b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/config new file mode 100644 index 0000000..2b3124f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-openapi/jsonreference + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/description b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/info/exclude b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2d19bf8ff4176d0e4798ec11fe331c0dafea624bd5977a8d48a38636bef1dde7/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3.info b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3.info new file mode 100644 index 0000000..1e4aee3 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3.info @@ -0,0 +1 @@ +git3:https://github.com/bmatcuk/doublestar \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3.lock b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/HEAD b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/config b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/config new file mode 100644 index 0000000..96c5118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/bmatcuk/doublestar + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/description b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/info/exclude b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/2fe9d6aeff2c8cbf19569a25aa39236e106b5ceef5785c91cf56a6da578cc1f3/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29.info b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29.info new file mode 100644 index 0000000..3c130f1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29.info @@ -0,0 +1 @@ +git3:https://github.com/cloudwego/iasm \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29.lock b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/HEAD b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/config b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/config new file mode 100644 index 0000000..7409bd7 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/cloudwego/iasm + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/description b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/info/exclude b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3554e884eef189dcfb7259e62ec0fe5f16063b4570774a7fd41d8062ea31eb29/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0.info b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0.info new file mode 100644 index 0000000..509f092 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0.info @@ -0,0 +1 @@ +git3:https://github.com/go-playground/universal-translator \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0.lock b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/HEAD b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/config b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/config new file mode 100644 index 0000000..c44c7a7 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-playground/universal-translator + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/description b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/info/exclude b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3b8bf5384d3ed6838bfcbd5af1d390dd5a6b5e0c3c4eedf0eb7ff518135abad0/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4.info b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4.info new file mode 100644 index 0000000..2b2f470 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4.info @@ -0,0 +1 @@ +git3:https://github.com/bytedance/sonic \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4.lock b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/HEAD b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/config b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/config new file mode 100644 index 0000000..0665b63 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/bytedance/sonic + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/description b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/info/exclude b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/3ff8138fc39bf87d29917f4bb322596072be0258d31f36e6aeb0c03f124f66f4/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05.info b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05.info new file mode 100644 index 0000000..2d14eb0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05.info @@ -0,0 +1 @@ +git3:https://github.com/mailru/easyjson \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05.lock b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/HEAD b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/config b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/config new file mode 100644 index 0000000..cff9de1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/mailru/easyjson + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/description b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/info/exclude b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4620abf9c4ca1cb32217db14c56d0e097993222781d01fb05bca035945036c05/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b.info b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b.info new file mode 100644 index 0000000..4d64d66 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b.info @@ -0,0 +1 @@ +git3:https://github.com/KyleBanks/depth \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b.lock b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/HEAD b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/config b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/config new file mode 100644 index 0000000..f274b3a --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/KyleBanks/depth + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/description b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/info/exclude b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/4e839902d3a9753b98a9f41c46f515b651fb53cd223717fd6932b291afcc8d2b/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be.info b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be.info new file mode 100644 index 0000000..4cd7e10 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be.info @@ -0,0 +1 @@ +git3:https://github.com/leodido/go-urn \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be.lock b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/HEAD b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/config b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/config new file mode 100644 index 0000000..c44894e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/leodido/go-urn + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/description b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/info/exclude b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5778908f877cd631c1c47046f52bcb0897d7db2e02df72dfc3555bfeea19a6be/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e.info b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e.info new file mode 100644 index 0000000..1ff8cbe --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e.info @@ -0,0 +1 @@ +git3:https://github.com/swaggo/gin-swagger \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e.lock b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/HEAD b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/config b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/config new file mode 100644 index 0000000..a20f0e2 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/swaggo/gin-swagger + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/description b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/info/exclude b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/584a52bd53f55745fd3e181e18990eed3c1226b6b54d2752e39abda6dd4c726e/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd.info b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd.info new file mode 100644 index 0000000..2081021 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd.info @@ -0,0 +1 @@ +git3:https://github.com/goccy/go-json \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd.lock b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/HEAD b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/config b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/config new file mode 100644 index 0000000..b36b261 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/goccy/go-json + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/description b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/info/exclude b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/58b9fee8e62e776c02c9f199a3a0fd89ae24cd139854d69cb277f8e8cdf7dffd/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa.info b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa.info new file mode 100644 index 0000000..a53e5d6 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa.info @@ -0,0 +1 @@ +git3:https://github.com/pelletier/go-toml \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa.lock b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/HEAD b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/config b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/config new file mode 100644 index 0000000..057f17b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/pelletier/go-toml + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/description b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/info/exclude b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5fc8a6833fc262d7a365ce89f874516d37470daefa52149126edb8776dd883fa/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9.info b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9.info new file mode 100644 index 0000000..f89b66d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9.info @@ -0,0 +1 @@ +git3:https://github.com/zclconf/go-cty \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9.lock b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/HEAD b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/config b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/config new file mode 100644 index 0000000..4dfcd76 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/zclconf/go-cty + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/description b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/info/exclude b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/5ffc57d2aa6361bee5ed3c28967675d7b546118cf15cd569bb6eca5d5a933cc9/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6.info b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6.info new file mode 100644 index 0000000..0d06ddc --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6.info @@ -0,0 +1 @@ +git3:https://github.com/json-iterator/go \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6.lock b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/HEAD b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/config b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/config new file mode 100644 index 0000000..4a8d4d6 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/json-iterator/go + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/description b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/info/exclude b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/61c80dd4bcd9f00e64953f9ac3a79e47a5642f2d20f1f4637da034d9234877a6/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e.info b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e.info new file mode 100644 index 0000000..f0b135d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e.info @@ -0,0 +1 @@ +git3:https://github.com/zclconf/go-cty-yaml \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e.lock b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/HEAD b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/config b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/config new file mode 100644 index 0000000..0b1137e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/zclconf/go-cty-yaml + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/description b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/info/exclude b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/653203340be6c458133962b7f8ce9dfda95d557cee82c892f1d2f3f5e202720e/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783.info b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783.info new file mode 100644 index 0000000..5444e15 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783.info @@ -0,0 +1 @@ +git3:https://github.com/agext/levenshtein \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783.lock b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/HEAD b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/config b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/config new file mode 100644 index 0000000..d789f6d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/agext/levenshtein + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/description b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/info/exclude b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/67b51d8070fa05777e857b67eaeeefe0d49ee44fb6ba6867e9ee28ee07ba5783/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5.info b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5.info new file mode 100644 index 0000000..44fd960 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5.info @@ -0,0 +1 @@ +git3:https://github.com/PuerkitoBio/urlesc \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5.lock b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/HEAD b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/config b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/config new file mode 100644 index 0000000..f5b851e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/PuerkitoBio/urlesc + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/description b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/info/exclude b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6c5823ff18037af8f5ffddfb18612d6ba78f621c03baae5e80bd1c1f94601eb5/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b.info b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b.info new file mode 100644 index 0000000..abb696a --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b.info @@ -0,0 +1 @@ +git3:https://github.com/gabriel-vasile/mimetype \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b.lock b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/HEAD b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/config b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/config new file mode 100644 index 0000000..41c5cbe --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/gabriel-vasile/mimetype + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/description b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/info/exclude b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/6ec51d1696872e86a415f878175aaf18346e1ffb76059081ecc8042e84c8522b/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17.info b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17.info new file mode 100644 index 0000000..5b601f9 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17.info @@ -0,0 +1 @@ +git3:https://github.com/klauspost/cpuid \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17.lock b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/HEAD b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/config b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/config new file mode 100644 index 0000000..2abfb4c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/klauspost/cpuid + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/description b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/info/exclude b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/7d314923ef34c8dcc5ae2aed0a0aa313627e4cf88db142be752f8f42a2dd7b17/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4.info b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4.info new file mode 100644 index 0000000..5dec4e7 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4.info @@ -0,0 +1 @@ +git3:https://github.com/apparentlymart/go-textseg \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4.lock b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/HEAD b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/config b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/config new file mode 100644 index 0000000..0713a71 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/apparentlymart/go-textseg + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/description b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/info/exclude b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/81a615986b1fdc5c56218b5adbb915f3acbf730c355a4392f3040910b8ea2da4/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf.info b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf.info new file mode 100644 index 0000000..4be7998 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf.info @@ -0,0 +1 @@ +git3:https://github.com/google/go-cmp \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf.lock b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/HEAD b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/config b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/config new file mode 100644 index 0000000..c4ea999 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/google/go-cmp + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/description b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/info/exclude b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8726c33a34f2c7112ff9a550395685eb57f08c9388dac85bc9e0dd90c8cb37bf/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208.info b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208.info new file mode 100644 index 0000000..483577e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208.info @@ -0,0 +1 @@ +git3:https://github.com/go-openapi/swag \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208.lock b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/HEAD b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/config b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/config new file mode 100644 index 0000000..cf31822 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-openapi/swag + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/description b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/info/exclude b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/8c33ed8ba3fe100a840021f3b841829ae93264aefbf411de9ad9f7d7ebb07208/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7.info b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7.info new file mode 100644 index 0000000..b55c002 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7.info @@ -0,0 +1 @@ +git3:https://github.com/go-playground/locales \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7.lock b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/HEAD b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/config b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/config new file mode 100644 index 0000000..fd2cc48 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-playground/locales + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/description b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/info/exclude b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/966e23ab8d87e153abe171d04270ec0a6ce87555589f1b6ff7d068ff92a44fb7/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1.info b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1.info new file mode 100644 index 0000000..ed173b1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1.info @@ -0,0 +1 @@ +git3:https://github.com/swaggo/swag \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1.lock b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/HEAD b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/config b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/config new file mode 100644 index 0000000..e85aa5d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/swaggo/swag + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/description b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/info/exclude b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/97119de6332aeb3463a8e6d16a7a972177fa429f44615dd5013a6de2f3809cf1/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974.info b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974.info new file mode 100644 index 0000000..79b2b73 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974.info @@ -0,0 +1 @@ +git3:https://github.com/modern-go/reflect2 \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974.lock b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/HEAD b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/config b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/config new file mode 100644 index 0000000..e4bf1f3 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/modern-go/reflect2 + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/description b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/info/exclude b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/975c3d3f6d8a014d3fd7270eb0524c62b85af1a0157bacb77ce476f8e6145974/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7.info b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7.info new file mode 100644 index 0000000..b4f5729 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7.info @@ -0,0 +1 @@ +git3:https://github.com/go-openapi/jsonpointer \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7.lock b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/HEAD b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/config b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/config new file mode 100644 index 0000000..b7f6cb6 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-openapi/jsonpointer + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/description b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/info/exclude b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a3358edaa0410f6589a68105419a2e9a909bedc0965d11239b88793a8d20bbf7/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3.info b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3.info new file mode 100644 index 0000000..30d8fb8 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3.info @@ -0,0 +1 @@ +git3:https://github.com/gin-gonic/gin \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3.lock b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/HEAD b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/config b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/config new file mode 100644 index 0000000..028a71a --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/gin-gonic/gin + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/description b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/info/exclude b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/a923aa3ae357f66c754ef34c3358c689f5d969293b012aef737373496ea3eef3/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe.info b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe.info new file mode 100644 index 0000000..69a078a --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe.info @@ -0,0 +1 @@ +git3:https://github.com/gin-contrib/sse \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe.lock b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/HEAD b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/config b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/config new file mode 100644 index 0000000..06d6db4 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/gin-contrib/sse + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/description b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/info/exclude b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b0928045bfdb6e6c472dc73da435398b12a8d33301d14003674ca0559038b3fe/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7.info b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7.info new file mode 100644 index 0000000..a41c04e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7.info @@ -0,0 +1 @@ +git3:https://github.com/go-openapi/inflect \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7.lock b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/HEAD b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/config b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/config new file mode 100644 index 0000000..3c1ac5e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-openapi/inflect + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/description b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/info/exclude b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/b31893e4211cc1d9a4efd6ead1999ae356f8317f5668d3781e42befe32df3ab7/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a.info b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a.info new file mode 100644 index 0000000..1aee87c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a.info @@ -0,0 +1 @@ +git3:https://github.com/mitchellh/go-wordwrap \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a.lock b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/HEAD b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/config b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/config new file mode 100644 index 0000000..f73402d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/mitchellh/go-wordwrap + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/description b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/info/exclude b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bad0582b4668ea9646f6e4d6d658d0c655c8257e76415bb113ea7efdd112016a/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1.info b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1.info new file mode 100644 index 0000000..16444c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1.info @@ -0,0 +1 @@ +git3:https://github.com/mattn/go-isatty \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1.lock b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/HEAD b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/config b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/config new file mode 100644 index 0000000..fe0e0fc --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/mattn/go-isatty + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/description b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/info/exclude b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/bdb8c6288a8e64a77296034f2952a351f8e87de621b3ba63a03bc5f4151e39b1/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4.info b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4.info new file mode 100644 index 0000000..622d3ba --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4.info @@ -0,0 +1 @@ +git3:https://github.com/google/uuid \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4.lock b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/HEAD b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/config b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/config new file mode 100644 index 0000000..2fe15fa --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/google/uuid + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/description b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/info/exclude b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c3a7687c436b44e1c0c389b1d5515300d44b6949685144fd082c00abc5f758a4/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67.info b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67.info new file mode 100644 index 0000000..ea600dd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67.info @@ -0,0 +1 @@ +git3:https://github.com/ugorji/go \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67.lock b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/HEAD b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/config b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/config new file mode 100644 index 0000000..b4c1c7d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/ugorji/go + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/description b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/info/exclude b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/c611ea937cd7e23704fbd7846bdbea395b1ab1f4af0bb177a0f6b0e4625bbc67/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06.info b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06.info new file mode 100644 index 0000000..f7d54d4 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06.info @@ -0,0 +1 @@ +git3:https://github.com/go-playground/validator \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06.lock b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/HEAD b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/config b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/config new file mode 100644 index 0000000..9247dfb --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-playground/validator + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/description b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/info/exclude b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/ca4bb9542e40a5ddddc812ff9b387ad6d6bd1fdbc8152d231638800c95956c06/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9.info b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9.info new file mode 100644 index 0000000..c3f7031 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9.info @@ -0,0 +1 @@ +git3:https://github.com/mattn/go-sqlite3 \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9.lock b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/HEAD b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/config b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/config new file mode 100644 index 0000000..816b346 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/mattn/go-sqlite3 + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/description b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/info/exclude b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e0a410bfa1f8edcbd94bed4e5ed7a4f0c7cf6a85143cece235ecd416b8380cb9/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717.info b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717.info new file mode 100644 index 0000000..0ead201 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717.info @@ -0,0 +1 @@ +git3:https://github.com/hashicorp/hcl \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717.lock b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/HEAD b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/config b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/config new file mode 100644 index 0000000..a4f2054 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/hashicorp/hcl + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/description b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/info/exclude b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e2b5d849fbf2e1dca82960529a3f0e2fd4bdbfde08f02412c392cfedc3e1b717/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae.info b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae.info new file mode 100644 index 0000000..eb665ed --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae.info @@ -0,0 +1 @@ +git3:https://github.com/go-openapi/spec \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae.lock b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/HEAD b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/config b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/config new file mode 100644 index 0000000..2123c86 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/go-openapi/spec + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/description b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/info/exclude b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/e4b4df8f4413c30cbea67d5d8d4df9b1748bbec542175d562d4573d390efb1ae/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8.info b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8.info new file mode 100644 index 0000000..b727351 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8.info @@ -0,0 +1 @@ +git3:https://github.com/josharian/intern \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8.lock b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/HEAD b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/config b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/config new file mode 100644 index 0000000..d918c11 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/josharian/intern + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/description b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/info/exclude b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/eb6bc1bfa080591d5c70f29cb5aeb49055e01c9269c158982b71f43de767eff8/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b.info b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b.info new file mode 100644 index 0000000..62a4d5d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b.info @@ -0,0 +1 @@ +git3:https://github.com/twitchyliquid64/golang-asm \ No newline at end of file diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b.lock b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b.lock new file mode 100644 index 0000000..e69de29 diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/HEAD b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/config b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/config new file mode 100644 index 0000000..aca889e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://github.com/twitchyliquid64/golang-asm + fetch = +refs/heads/*:refs/remotes/origin/* diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/description b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/applypatch-msg.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/commit-msg.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/fsmonitor-watchman.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/post-update.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-applypatch.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-commit.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-commit.sample new file mode 100755 index 0000000..29ed5ee --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff-index --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-merge-commit.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-push.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-rebase.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-receive.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/prepare-commit-msg.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/push-to-checkout.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/update.sample b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/info/exclude b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/backend/.cache/go-mod/cache/vcs/fb6d15abddd77fe23c33c6d6a33d1d1d4410ff1225e45c4a1f6e55b03e455b2b/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~