Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 2月 17, 2025
  2. 2月 14, 2025
  3. 2月 12, 2025
  4. 2月 11, 2025
    • Dmitry Gruzd's avatar
      Add ActiveContext migration framework · e004730b
      Dmitry Gruzd 创作于
      This introduces a comprehensive migration framework for Active Context
      and adds collection management capabilities through database-specific executors.
      These changes enable systematic database schema management and provide a unified
      way to create and manage collections across different database backends.
      
      Key changes:
      - Introduce migration framework with version tracking and batch operation support
      - Add database-specific executors for managing collections (PostgreSQL, Elasticsearch, OpenSearch)
      - Implement partition strategy for handling sharded collections
      - Move prefix configuration from Client to Adapter level
      - Add migrations path configuration support
      
      Technical details:
      - Add Migration base class with versioning support (V1_0)
      - Implement BatchOperationResult for tracking long-running operations
      - Add collection creation with field type support (bigint, prefix, vector)
      - Add partition management with naming strategy
      - Add support for creating indices on fields based on database capabilities
      - Implement database-specific collection creation logic:
        * PostgreSQL: Partitioned tables with vector support
        * Elasticsearch: Index templates and aliases
        * OpenSearch: Base executor structure (implementation pending)
      
      The migration framework follows a similar pattern to ActiveRecord migrations,
      with timestamped migration files and version tracking. Collections can be
      created with specific field types and indexing options, which are translated
      to the appropriate database-specific implementations.
      
      Migration files should be placed in ee/db/active_context/migrate/ by default,
      but this path can be configured through ActiveContext::Config.
      e004730b
  5. 2月 06, 2025
  6. 2月 04, 2025
  7. 2月 03, 2025
  8. 1月 31, 2025
  9. 1月 29, 2025
  10. 1月 27, 2025
  11. 1月 24, 2025
    • Dmitry Gruzd's avatar
      Add production-ready Elasticsearch query processor · 10c91bc9
      Dmitry Gruzd 创作于
      Implement a comprehensive Elasticsearch query processor that transforms
      ActiveContext::Query AST nodes into Elasticsearch DSL queries. This
      implementation provides proper handling of all query types and follows
      best practices for query composition.
      
      Key changes:
      - Add Processor class with support for filter, prefix, knn, and boolean queries
      - Implement helper methods for consistent query building
      - Add comprehensive test coverage
      - Add YARD documentation for all methods
      
      Details:
      * Processor changes:
        - Implement transform method following concern contract
        - Add build_bool_query helper for consistent query construction
        - Add proper handling of KNN queries with other conditions
        - Implement proper query composition for nested structures
      
      * Test improvements:
        - Add comprehensive test suite with all query types
        - Add test cases for complex nested queries
        - Add edge case coverage
        - Use shared examples for common query patterns
      
      * Documentation:
        - Add YARD documentation for all public methods
        - Add usage examples
        - Document query composition patterns
        - Add type specifications for parameters
      
      This implementation provides a production-ready solution for transforming
      query AST nodes into Elasticsearch queries, with proper handling of all
      supported query types and edge cases.
      10c91bc9
  12. 1月 17, 2025
  13. 1月 16, 2025
  14. 1月 15, 2025
  15. 1月 14, 2025
  16. 1月 07, 2025
    • Dominic Couture's avatar
      Update rails to 7.0.8.7 · ed8267b6
      Dominic Couture 创作于
      This update fixes CVE-2024-54133. We are not vulnerable to it
      at the moment but this prevents a regression in the future.
      
      Changelog: security
      ed8267b6
  17. 1月 03, 2025
  18. 12月 25, 2024
  19. 12月 19, 2024
  20. 12月 18, 2024
  21. 12月 17, 2024
  22. 12月 12, 2024
加载中