sourcegraph/internal/uploadhandler
Varun Gandhi 9145768648
chore: Rename uploadstore packages for clarity (#63931)
- The `internal/uploadstore` package is renamed to `object` indicating
   that it is meant to provide a generic object storage wrapper.
- The `search/exhaustive/uploadstore` package is used in very few places
  so I've merged into the `internal/search` package similar to
  `internal/embeddings`.

There are a few reasons to do the renaming.

1. The word `upload` in a more general context is ambiguous (just in
    `internal/`) - in the codeintel context, it means "SCIP index" but it
    can also be interpreted generically ("upload of _some_ data").
2. Better readability - `object.Storage` is much shorter than
    `uploadstore.Store`. Additionally, we use the term `Store` A LOT
    in the codebase, and usually, these refer to wrappers over some
    tables in some DB.

    Making things worse, some of our code also has:

    ```
    uploadsstore
"github.com/sourcegraph/sourcegraph/internal/codeintel/uploads/internal/store"
    ```

And code which says `uploadsstore.Store` (notice the extra `s` 😢), which
is actually a wrapper over some key DB tables like `lsif_uploads`.
2024-07-22 08:57:56 +08:00
..
BUILD.bazel chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00
iface.go codeintel: Document states of Upload and Index types (#61183) 2024-03-18 19:36:17 +08:00
mocks_test.go codeintel: Higher-level store cleanup (#50387) 2023-04-05 19:08:47 -05:00
observability.go Housekeeping: Rename variables to avoid collisions with packages (#47179) 2023-01-31 16:28:43 +01:00
upload_enqueuer_observability.go Syntactic indexing produce scip files (#63580) 2024-07-09 13:49:55 +02:00
upload_enqueuer.go chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00
upload_handler_multipart.go Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00
upload_handler_single.go Syntactic indexing produce scip files (#63580) 2024-07-09 13:49:55 +02:00
upload_handler_state.go chore: Enable traces for uploads (#63025) 2024-06-03 04:17:50 -07:00
upload_handler_test.go chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00
upload_handler.go chore: Rename uploadstore packages for clarity (#63931) 2024-07-22 08:57:56 +08:00