add testdata with git-bug issues
Add support for generating static issue pages from git-bug data: - New --issues flag to enable issue generation - Individual issue pages at /issues/{id}.html - List pages for open/closed issues at /issues/open/ and /issues/closed/ - Label filter pages at /issues/label/{label}/ - Issues link in site navigation - Gracefully skips when no git-bug data exists New files: - issues.go: issue data structures and generation logic - html/issues_list.page.tmpl: issue list template - html/issue_detail.page.tmpl: issue detail template fix: update Makefile to compile all Go files Change 'go run main.go' to 'go run .' and 'go build -o pgit ./main.go' to 'go build -o pgit .' to include issues.go in the build. fix: correct issue status and template errors - Use Status.String() instead of string(Status) to get proper status text - Add missing meta template blocks to issue templates - Fix template to use URL fields instead of method calls
36 files changed,  +10, -0
A testdata/cache/bugs
+0, -0
A testdata/cache/identities
+0, -0
A testdata/clocks/bugs-create
+1, -0
1@@ -0,0 +1 @@
2+3
A testdata/clocks/bugs-edit
+1, -0
1@@ -0,0 +1 @@
2+8
A testdata/indexes/bugs/index_meta.json
+1, -0
1@@ -0,0 +1 @@
2+{"storage":"boltdb","index_type":"upside_down"}
A testdata/indexes/bugs/store
+0, -0
A testdata/indexes/identities/index_meta.json
+1, -0
1@@ -0,0 +1 @@
2+{"storage":"boltdb","index_type":"upside_down"}
A testdata/indexes/identities/store
+0, -0
A testdata/objects/12/902080e19c5b8dd346e77d96ab30982457e1d2
+0, -0
A testdata/objects/3a/2e74a39caacee6610381c6de17a3a8ebada53c
+0, -0
A testdata/objects/40/54d3b1f833234869dcb9e7c4ee78d1e8669447
+0, -0
A testdata/objects/44/1fa49d4a02768764c5d95ac7e09588409914bf
+0, -0
A testdata/objects/4b/11d491fc63f36328f9d7b7e78b75b5868e871f
+0, -0
A testdata/objects/54/7abb0a0c04bc832bbfe997c378495fee3495d6
+0, -0
A testdata/objects/62/339ff8e0933fa371f818559954038b9e2e7716
+0, -0
A testdata/objects/66/33e5ca5f9b48528d1ac3cfc601159f6c500d10
+0, -0
A testdata/objects/74/92461d34602c32adcccfcdf1f1bee1f8fa9dbe
+0, -0
A testdata/objects/79/d41965378ab60aa024f2ee4965c860d5259175
+0, -0
A testdata/objects/80/e705c49df8f6ba5602145388bfe9097255cbdd
+0, -0
A testdata/objects/85/4bbf0e1489f819b8f7455bce2c9a8a4b9517c8
+2, -0
1@@ -0,0 +1,2 @@
2+xK��OR056f�VJ,-��/R��V�LQ�RJ2IK6NINIM6K3J2O1IJ3OMM�H27I60M1I6M2OMJ437�L2H3074HJL�0N�40�0K1JS��Q�/(V���V*�,HU�2�Q*��M-.I�-P�2477555535�Q���KNU�R*�N�����2J	(������v�0O�5�U�Q*.I,)-V�2��!`�9�LCהL�JG�� �c�ǐ��H�
3+˼Pd3
4	�i�03���02��%-�ȣ�+$�H�$-?71;� �L���D�Y�b�c�UᑑSd^Q��_d�k`�����l&�;M���9��+���*��r+L�M�ML�K�����ʝL@f&����(YE+��&g+��(��旁��Jsrjck֥�
A testdata/objects/89/4f3801a8d25d03cfcbd6ba0fc168fcff9c0663
+0, -0
A testdata/objects/8e/bab68d83b785c3939432e56403b2227cb6d578
+0, -0
A testdata/objects/96/869ac5083d9429b64536ac6edb36757e6351c9
+0, -0
A testdata/objects/a9/ee9584cea49f2ffd983a93082b1277b5da71d6
+0, -0
A testdata/objects/aa/df4031b20cbb0adf1ce72da239da75ffa031af
+0, -0
A testdata/objects/cb/c7122f8f8633d5db72ae9566f236f584728375
+0, -0
A testdata/objects/dd/90c7dc43a29feb53e2878f1b640fed4b70e501
+0, -0
A testdata/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
+0, -0
A testdata/objects/f1/7d099831db7e45101dc2b308008fa1f032819b
+1, -0
1@@ -0,0 +1 @@
2+xK��OR02�`�VJ,-��/R��V�LQ�RJ2IK6NINIM6K3J2O1IJ3OMM�H27I60M1I6M2OMJ437�L2H3074HJL�0N�40�0K1JS��Q�/(V���V*�,HU�2�Q*��M-.I�-P�247755�421�Q���KNU�R�-��+��Է��u�.Mu1q���301�0�U�.�)I-.QH*MW�Q�M-.NLfd+d+$*� ��2sR����JsrjckZI3
A testdata/objects/f2/58c821c8959acd2ffe89db8ff46c0e4e6eb2ac
+0, -0
A testdata/objects/f7/499ac0839a31b84e609124419a6817380699d9
+0, -0
A testdata/objects/fc/66e05c5a2fa68d1703c3269b9f457c8a8b1d62
+0, -0
A testdata/objects/fc/83e2fbcf1398e3783e3f15723c72bda0c27ab9
+0, -0
A testdata/refs/bugs/04a5428d96948a6ebf9091ad1ca62cbffbaf6a647b834b22eb71dd65fa6ae4bd
+1, -0
1@@ -0,0 +1 @@
2+fc66e05c5a2fa68d1703c3269b9f457c8a8b1d62
A testdata/refs/bugs/872a52d8a57756003bb29a33a1527824a1058f7e1fbb764b4eb24f9fad408c75
+1, -0
1@@ -0,0 +1 @@
2+3a2e74a39caacee6610381c6de17a3a8ebada53c
A testdata/refs/identities/b4fc3dcdec6f2b7d4bf7eee8b74c05d4c5b7eba6759b0f0710bac83c90086d2f
+1, -0
1@@ -0,0 +1 @@
2+96869ac5083d9429b64536ac6edb36757e6351c9