Unstructured-IO / Unstructured-IO/unstructured
Git branch naming
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 15.5k
- Forks
- 1.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 13
Description
Currently there are some branches which name includes "|".
This symbol doesn't accept in windows.
Thus git fetch upstream on windows has error:
error: cannot lock ref 'refs/remotes/upstream/CORE-3587/better-element-ids|ingest-test-fixtures-update-b5e53bb': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/CORE-3587/better-element-ids|ingest-test-fixtures-update-b5e53bb.lock': Invalid argument
From https://github.com/Unstructured-IO/unstructured
! [new branch] CORE-3587/better-element-ids|ingest-test-fixtures-update-b5e53bb -> upstream/CORE-3587/better-element-ids|ingest-test-fixtures-update-b5e53bb (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/benjamin/feat/clean-pdfminer-inner-elements|ingest-test-fixtures-update-149514f': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/benjamin/feat/clean-pdfminer-inner-elements|ingest-test-fixtures-update-149514f.lock': Invalid argument
! [new branch] benjamin/feat/clean-pdfminer-inner-elements|ingest-test-fixtures-update-149514f -> upstream/benjamin/feat/clean-pdfminer-inner-elements|ingest-test-fixtures-update-149514f (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ci/ingest-test-fixtures/download-nltk-models|ingest-test-fixtures-update-e2b1a4f': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ci/ingest-test-fixtures/download-nltk-models|ingest-test-fixtures-update-e2b1a4f.lock': Invalid argument
! [new branch] ci/ingest-test-fixtures/download-nltk-models|ingest-test-fixtures-update-e2b1a4f -> upstream/ci/ingest-test-fixtures/download-nltk-models|ingest-test-fixtures-update-e2b1a4f (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/crag/fixtures-update|ingest-test-fixtures-update-9f57456': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/crag/fixtures-update|ingest-test-fixtures-update-9f57456.lock': Invalid argument
! [new branch] crag/fixtures-update|ingest-test-fixtures-update-9f57456 -> upstream/crag/fixtures-update|ingest-test-fixtures-update-9f57456 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/crag/pdf-boom-issue|ingest-test-fixtures-update-7054e5d': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/crag/pdf-boom-issue|ingest-test-fixtures-update-7054e5d.lock': Invalid argument
! [new branch] crag/pdf-boom-issue|ingest-test-fixtures-update-7054e5d -> upstream/crag/pdf-boom-issue|ingest-test-fixtures-update-7054e5d (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/dummy-for-ingest-test-update|ingest-test-fixtures-update-182a095': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/dummy-for-ingest-test-update|ingest-test-fixtures-update-182a095.lock': Invalid argument
! [new branch] dummy-for-ingest-test-update|ingest-test-fixtures-update-182a095 -> upstream/dummy-for-ingest-test-update|ingest-test-fixtures-update-182a095 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/feat/2208-improve-reading-order|ingest-test-fixtures-update-932ad02': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/feat/2208-improve-reading-order|ingest-test-fixtures-update-932ad02.lock': Invalid argument
! [new branch] feat/2208-improve-reading-order|ingest-test-fixtures-update-932ad02 -> upstream/feat/2208-improve-reading-order|ingest-test-fixtures-update-932ad02 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/feat/date-in-metadata|ingest-test-fixtures-update-94037c8': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/feat/date-in-metadata|ingest-test-fixtures-update-94037c8.lock': Invalid argument
! [new branch] feat/date-in-metadata|ingest-test-fixtures-update-94037c8 -> upstream/feat/date-in-metadata|ingest-test-fixtures-update-94037c8 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/feat/pdf-remove-cid-check|ingest-test-fixtures-update-5fb5b4c': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/feat/pdf-remove-cid-check|ingest-test-fixtures-update-5fb5b4c.lock': Invalid argument
! [new branch] feat/pdf-remove-cid-check|ingest-test-fixtures-update-5fb5b4c -> upstream/feat/pdf-remove-cid-check|ingest-test-fixtures-update-5fb5b4c (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/feat/pdf-remove-cid-check|ingest-test-fixtures-update-6750053': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/feat/pdf-remove-cid-check|ingest-test-fixtures-update-6750053.lock': Invalid argument
! [new branch] feat/pdf-remove-cid-check|ingest-test-fixtures-update-6750053 -> upstream/feat/pdf-remove-cid-check|ingest-test-fixtures-update-6750053 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/fix/1057-etree-parser-error-xlsx|ingest-test-fixtures-update-1efdfcf': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/fix/1057-etree-parser-error-xlsx|ingest-test-fixtures-update-1efdfcf.lock': Invalid argument
! [new branch] fix/1057-etree-parser-error-xlsx|ingest-test-fixtures-update-1efdfcf -> upstream/fix/1057-etree-parser-error-xlsx|ingest-test-fixtures-update-1efdfcf (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/jj/1227-bbox-nan|ingest-test-fixtures-update-63f619c': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/jj/1227-bbox-nan|ingest-test-fixtures-update-63f619c.lock': Invalid argument
! [new branch] jj/1227-bbox-nan|ingest-test-fixtures-update-63f619c -> upstream/jj/1227-bbox-nan|ingest-test-fixtures-update-63f619c (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/jj/1520-rfctr-text|ingest-test-fixtures-update-c8541a2': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/jj/1520-rfctr-text|ingest-test-fixtures-update-c8541a2.lock': Invalid argument
! [new branch] jj/1520-rfctr-text|ingest-test-fixtures-update-c8541a2 -> upstream/jj/1520-rfctr-text|ingest-test-fixtures-update-c8541a2 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/jj/OSS-23/msg-and-email-metadata|ingest-test-fixtures-update-05fd4e6': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/jj/OSS-23/msg-and-email-metadata|ingest-test-fixtures-update-05fd4e6.lock': Invalid argument
! [new branch] jj/OSS-23/msg-and-email-metadata|ingest-test-fixtures-update-05fd4e6 -> upstream/jj/OSS-23/msg-and-email-metadata|ingest-test-fixtures-update-05fd4e6 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/jj/zh_adaptation|ingest-test-fixtures-update-f0a6755': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/jj/zh_adaptation|ingest-test-fixtures-update-f0a6755.lock': Invalid argument
! [new branch] jj/zh_adaptation|ingest-test-fixtures-update-f0a6755 -> upstream/jj/zh_adaptation|ingest-test-fixtures-update-f0a6755 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/klaijan/get-eval-metrics-ingest-in|ingest-test-fixtures-update-b3b6b79': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/klaijan/get-eval-metrics-ingest-in|ingest-test-fixtures-update-b3b6b79.lock': Invalid argument
! [new branch] klaijan/get-eval-metrics-ingest-in|ingest-test-fixtures-update-b3b6b79 -> upstream/klaijan/get-eval-metrics-ingest-in|ingest-test-fixtures-update-b3b6b79 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/main|ingest-test-fixtures-update-2bb463d': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/main|ingest-test-fixtures-update-2bb463d.lock': Invalid argument
! [new branch] main|ingest-test-fixtures-update-2bb463d -> upstream/main|ingest-test-fixtures-update-2bb463d (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/main|ingest-test-fixtures-update-b283962': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/main|ingest-test-fixtures-update-b283962.lock': Invalid argument
! [new branch] main|ingest-test-fixtures-update-b283962 -> upstream/main|ingest-test-fixtures-update-b283962 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/refactor-click-wrappers-2|ingest-test-fixtures-update-b3cab42': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/refactor-click-wrappers-2|ingest-test-fixtures-update-b3cab42.lock': Invalid argument
! [new branch] refactor-click-wrappers-2|ingest-test-fixtures-update-b3cab42 -> upstream/refactor-click-wrappers-2|ingest-test-fixtures-update-b3cab42 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/fix-secrets-passed-to-ingest-tests|ingest-test-fixtures-update-c5e9ddc': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/fix-secrets-passed-to-ingest-tests|ingest-test-fixtures-update-c5e9ddc.lock': Invalid argument
! [new branch] ryan/fix-secrets-passed-to-ingest-tests|ingest-test-fixtures-update-c5e9ddc -> upstream/ryan/fix-secrets-passed-to-ingest-tests|ingest-test-fixtures-update-c5e9ddc (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/improved-salesforce-partitioning|ingest-test-fixtures-update-013fbc4': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/improved-salesforce-partitioning|ingest-test-fixtures-update-013fbc4.lock': Invalid argument
! [new branch] ryan/improved-salesforce-partitioning|ingest-test-fixtures-update-013fbc4 -> upstream/ryan/improved-salesforce-partitioning|ingest-test-fixtures-update-013fbc4 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/ingest-add-missing-chunk-params|ingest-test-fixtures-update-2724c82': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/ingest-add-missing-chunk-params|ingest-test-fixtures-update-2724c82.lock': Invalid argument
! [new branch] ryan/ingest-add-missing-chunk-params|ingest-test-fixtures-update-2724c82 -> upstream/ryan/ingest-add-missing-chunk-params|ingest-test-fixtures-update-2724c82 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/refactor-ingest-tests|ingest-test-fixtures-update-c175ae5': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/refactor-ingest-tests|ingest-test-fixtures-update-c175ae5.lock': Invalid argument
! [new branch] ryan/refactor-ingest-tests|ingest-test-fixtures-update-c175ae5 -> upstream/ryan/refactor-ingest-tests|ingest-test-fixtures-update-c175ae5 (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/test-single-file-ingest|ingest-test-fixtures-update-58e988e': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/test-single-file-ingest|ingest-test-fixtures-update-58e988e.lock': Invalid argument
! [new branch] ryan/test-single-file-ingest|ingest-test-fixtures-update-58e988e -> upstream/ryan/test-single-file-ingest|ingest-test-fixtures-update-58e988e (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/test-update-fixtures|ingest-test-fixtures-update-f2060ec': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/test-update-fixtures|ingest-test-fixtures-update-f2060ec.lock': Invalid argument
! [new branch] ryan/test-update-fixtures|ingest-test-fixtures-update-f2060ec -> upstream/ryan/test-update-fixtures|ingest-test-fixtures-update-f2060ec (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/validate-new-gh-pr-token-key-01|ingest-test-fixtures-update-023071b': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/validate-new-gh-pr-token-key-01|ingest-test-fixtures-update-023071b.lock': Invalid argument
! [new branch] ryan/validate-new-gh-pr-token-key-01|ingest-test-fixtures-update-023071b -> upstream/ryan/validate-new-gh-pr-token-key-01|ingest-test-fixtures-update-023071b (unable to update local ref)
error: cannot lock ref 'refs/remotes/upstream/ryan/validate-new-gh-pr-token-key|ingest-test-fixtures-update-cadf764': Unable to create 'E:/Projects/Gittensor/unstructured/.git/refs/remotes/upstream/ryan/validate-new-gh-pr-token-key|ingest-test-fixtures-update-cadf764.lock': Invalid argument
! [new branch] ryan/validate-new-gh-pr-token-key|ingest-test-fixtures-update-cadf764 -> upstream/ryan/validate-new-gh-pr-token-key|ingest-test-fixtures-update-cadf764 (unable to update local ref)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing git fetch upstream on Windows using the branch names shown in the issue. Identify where these branch names are created or managed, then ensure generated branches do not contain |; done means the affected branches can be fetched successfully on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100