clanker

clanker wypycha do delete w Tilo15/Invercargill-Sql

  • a432800919 feat(orm): add unified select_many with three collection item modes Implement a comprehensive collection selection system supporting: - SCALAR mode: Simple values (string, int64) extracted directly from columns - ENTITY mode: Registered entity types materialized using EntityMapper - PROJECTION mode: Registered projection types materialized using ProjectionMapper Key changes: - Add CollectionItemMode enum for mode detection based on TypeProvider registration - Add CollectionSelection class with mode-aware materialization - Add CollectionGroupingInfo for storing parent key expressions from join analysis - Add JoinConditionAnalyzer for extracting grouping keys from join conditions - Update ProjectionMapper with grouping logic to consolidate rows by parent key - Update ProjectionQuery.first()/first_async() to skip LIMIT when collection selections exist - Generate unique column aliases (col_N_Type_name) to avoid SQL conflicts - Add SimpleArrayWrapper to work around Vala nullable value type generics issues - Update SQLiteDialect to handle scalar collection expressions in SELECT clause
  • dd9d0901a2 refactor(orm): consolidate expression string conversion to library method Remove duplicate ExpressionStringVisitor implementations across multiple files in favor of using the library's Expression.to_expression_string() method. Update SplitExpression to store Expression objects directly instead of strings, preserving type information and parameter values throughout the expression processing pipeline. This enables proper handling of ParameterExpression nodes which contain actual values passed via expr() calls. Key changes: - Remove ExpressionStringVisitor classes from expression-to-sql-visitor.vala and aggregate-analyzer.vala - Change SplitExpression properties from string to Expression types - Update VariableTranslationVisitor with visit tracking to prevent double-visiting when library's visitor pattern calls children - Add ParameterExpression handling in visitors for proper value output - Fix dictionary access patterns to use has() before get()
  • 5cfa71560f Broken
  • 04e76e57ab Start iteration 10
  • 7ff662181b feat(orm): add async CRUD methods to ORM session Add asynchronous versions of insert, update, and delete methods to OrmSession. These methods perform the same operations as their synchronous counterparts but yield control back to the main loop during database operations, enabling non-blocking I/O. Includes comprehensive tests for all async methods.

1 miesiąc temu

clanker stworzył nową gałąź delete at Tilo15/Invercargill-Sql

1 miesiąc temu

clanker wypycha do orm-phase-10 w Tilo15/Invercargill-Sql

  • dd9d0901a2 refactor(orm): consolidate expression string conversion to library method Remove duplicate ExpressionStringVisitor implementations across multiple files in favor of using the library's Expression.to_expression_string() method. Update SplitExpression to store Expression objects directly instead of strings, preserving type information and parameter values throughout the expression processing pipeline. This enables proper handling of ParameterExpression nodes which contain actual values passed via expr() calls. Key changes: - Remove ExpressionStringVisitor classes from expression-to-sql-visitor.vala and aggregate-analyzer.vala - Change SplitExpression properties from string to Expression types - Update VariableTranslationVisitor with visit tracking to prevent double-visiting when library's visitor pattern calls children - Add ParameterExpression handling in visitors for proper value output - Fix dictionary access patterns to use has() before get()
  • 5cfa71560f Broken
  • Zobacz porównanie tych 2 commitów »

1 miesiąc temu

clanker wypycha do orm-phase-9 w Tilo15/Invercargill-Sql

  • 7ff662181b feat(orm): add async CRUD methods to ORM session Add asynchronous versions of insert, update, and delete methods to OrmSession. These methods perform the same operations as their synchronous counterparts but yield control back to the main loop during database operations, enabling non-blocking I/O. Includes comprehensive tests for all async methods.

1 miesiąc temu

clanker wypycha do orm-phase-8 w Tilo15/Invercargill-Sql

  • a29d5534e3 refactor(orm): auto-set table name in register_with_schema The table_name parameter passed to register_with_schema is now automatically applied to the entity mapper builder, eliminating the need for explicit b.table() calls within the build action.

1 miesiąc temu

clanker wypycha do orm-phase-8 w Tilo15/Invercargill-Sql

  • 15eb76a7d7 Merge branch 'master' into orm-phase-8
  • 65bd311167 Remove false information on readme
  • 3b8c7a5211 refactor(orm): broaden exception types and remove deprecated query_projection - Change exception declarations from specific types (SqlError, ProjectionError) to generic Error across ORM session and type provider interfaces - Remove deprecated query_projection<TProjection>() method in favor of unified query<T>() - Make build_with_schema() public in EntityMapperBuilder - Add peek_table() method to expose table name for inspection - Convert generic convenience methods in TypeProvider from abstract to virtual with default implementations BREAKING CHANGE: Methods now throw Error instead of SqlError/ProjectionError. The query_projection<TProjection>() method has been removed; use query<T>() instead.
  • 383b75409d refactor(orm): extract type registration into TypeRegistry Introduce TypeProvider interface and TypeRegistry implementation to separate type registration concerns from OrmSession. Entity mappers and projections are now registered with TypeRegistry before creating a session, rather than registering directly on the session. This change improves separation of concerns by: - Moving mapper/projection registration out of OrmSession - Making ProjectionBuilder accept TypeProvider instead of OrmSession - Allowing session construction with pre-configured type information - Making the build() method on ProjectionBuilder public for external use BREAKING CHANGE: OrmSession constructor signature changed from OrmSession(connection, dialect?) to OrmSession(connection, type_provider, dialect?). All entity and projection registration now happens via TypeRegistry before session creation.
  • 45ed34433d feat(db): add dialect factory for database dialect handling
  • Zobacz porównanie tych 5 commitów »

1 miesiąc temu

clanker tworzy pull request Tilo15/Invercargill-Sql#1

Phase 8: Migration namespaces

1 miesiąc temu

clanker wypycha do orm-phase-8 w Tilo15/Invercargill-Sql

  • 902c958769 feat(migrations): add namespace-based migrations with dependency support This commit introduces a comprehensive overhaul of the migration system to support namespace-based migrations with cross-namespace dependencies and time-based rollback. Key changes: - Replace integer version with namespace + uint64 serial for migration identification - Add dependency system allowing migrations to depend on other migrations - Implement topological sort for correct dependency-based execution order - Add circular dependency detection with detailed error messages - Support time-based rollback across namespaces for consistent database state - Add uint64 parameter binding support in SQLite Breaking change: Migration classes must now implement `migration_namespace` and `serial` properties instead of `version`. The __migrations table schema has changed to support the new namespace-aware tracking. BREAKING CHANGE: Migration classes must implement `migration_namespace` and `serial` properties instead of `version`. Existing __migrations tables will need to be recreated.
  • ef1ba09029 Intial commit

1 miesiąc temu

clanker stworzył nową gałąź orm-phase-8 at Tilo15/Invercargill-Sql

1 miesiąc temu

clanker wypycha do feature/installer w Tilo15/usm

  • 40a46e676d feat(installer): add Alpine Linux support and fix missing dependencies - Add apk (Alpine) package manager support with new pm_apk.sh module - Create Alpine container configuration in containers/alpine/ - Add missing dependencies to apt and dnf package lists: - libjson-glib, libarchive, libgee, xz-utils, gobject-introspection - Reorder installation to check system dependencies before extracting sources - Simplify Debian/Ubuntu Dockerfiles by removing redundant steps
  • 0f84d2c3cb fix(installer): set XDG_DATA_DIRS for vala builds and add missing deps Export XDG_DATA_DIRS in build_invercargill_json and build_usm functions to ensure GObject Introspection and Vala can find .gir and .vapi files from bundled and system libraries. Also add json-glib-devel, libarchive-devel, and libgee-devel to dnf dependencies, and remove git which is not a build dependency.
  • Zobacz porównanie tych 2 commitów »

1 miesiąc temu

clanker wypycha do feature/installer w Tilo15/usm

  • 6f38313345 feat(installer): add check for existing installation Add check_existing_installation function to detect and handle cases where the target directory already exists. Supports auto-confirmation via -y flag for non-interactive reinstalls and prompts user for confirmation otherwise.
  • b05bb6f93a build: add library versioning and ensure consistent library paths - Add version suffix to shared library (libusm-0.1.so) to prevent ABI conflicts - Force --libdir=lib across all meson builds for cross-platform consistency - Set PKG_CONFIG_PATH when building USM to find bundled Invercargill libraries - Add LD_LIBRARY_PATH export in shim for runtime library discovery - Add exit before payload section in compiled installer scripts
  • 7277b4f47d refactor(installer): simplify package manager system with auto-detection Redesign the package manager architecture to use dynamic auto-detection instead of hardcoded dispatchers. Each PM implementation now follows a consistent naming convention (pm_<name>_detect, pm_<name>_get_missing_deps, pm_<name>_install_missing_deps) and is automatically discovered by the compile script. - Remove complex dispatcher pattern in favor of PM_IMPLEMENTATIONS array - Simplify pm_apt.sh and pm_dnf.sh with direct dependency lists - Fix sudo re-execution to preserve original command line arguments - Update build progress output with step count format - Rename "Universal Software Manager" to "Universal Source Manifest
  • 0112120c63 Initial commit of installer
  • faa173816f docs: improve and reorganize validate command documentation Enhance the documentation structure with clearer sections, expanded details about each validation step, and better formatting for command comparison and CI/CD integration information. The content now provides more comprehensive coverage of the validation process and improves readability.

1 miesiąc temu

clanker stworzył nową gałąź feature/installer at Tilo15/usm

1 miesiąc temu

clanker wypycha do master w Tilo15/astrologue-usm-repo

  • 988c482960 feat(build): add glibc-2.42 package with full build configuration Add comprehensive glibc 2.42 package including manifest, documentation, and build scripts. The package provides the core GNU C Library with essential system calls, thread support, internationalization, and network services. Includes acquire, build, test, and install scripts with proper configuration for security features and performance optimizations.
  • 5c7a4a3335 feat(build): add tar-1.35 package to repository
  • 91d53f73ac feat(xz): enhance package configuration and documentation - Update MANIFEST.usm with comprehensive metadata including Korean man pages, new binary links, and reorganized licenses - Rewrite PACKAGE.md with detailed usage examples, component descriptions, and improved structure - Refactor build scripts to be more robust with better error handling and simplified parameter passing - Add test script support for package validation - Remove explicit build dependencies to use system defaults - Improve package summary and descriptions for better clarity
  • 6a17dfe550 docs: update package creation workflow and add validation step - Add manifest validation step before compliance verification - Update `acquire.sh` guidance to change directory early on - Add reference to validate.md documentation in USM Documentation - Reorder workflow steps to ensure manifest validation happens before final compliance check
  • 1ca2f1e938 feat(build): add xz-5.8.1 package to repository

4 miesięcy temu

clanker stworzył nową gałąź master at Tilo15/astrologue-usm-repo

4 miesięcy temu

clanker wypycha do feature/ninja-progress w Tilo15/usm

  • faa173816f docs: improve and reorganize validate command documentation Enhance the documentation structure with clearer sections, expanded details about each validation step, and better formatting for command comparison and CI/CD integration information. The content now provides more comprehensive coverage of the validation process and improves readability.

4 miesięcy temu

clanker wypycha do feature/ninja-progress w Tilo15/usm

  • e245b7a100 docs: add validate command documentation to README Add comprehensive documentation for the USM validate command including: - Command syntax and usage examples - Detailed validation process description - Exit codes for CI/CD integration - Reference to detailed documentation file

4 miesięcy temu

clanker wypycha do feature/ninja-progress w Tilo15/usm

  • 588b1e8fd4 feat(cli): add validate command to manifest Add a new validate verb to the manifest CLI that validates manifest dependencies, runs the build process, performs installation, and verifies that all expected resources are present in their expected locations. The validate command also warns about: - Missing license information - Unexpected resources in the install directory - Missing install scripts This provides comprehensive manifest validation to catch issues before deployment.

4 miesięcy temu

clanker wypycha do feature/ninja-progress w Tilo15/usm

  • b8b00773ab fix(manifest): handle existing symlinks and correct path resolution - Delete existing symlinks before creating new ones in dry_run mode - Use `destination` field instead of `path` for symbolic link targets - Update environment variable paths to use `add_prefix` method for proper prefix handling

4 miesięcy temu

clanker wypycha do feature/ninja-progress w Tilo15/usm

  • d8ba14cd50 feat(cli): add bind mount support for manifest in chroot When using the manifest command with --root, bind mount the current working directory to /usm-wd inside the chroot environment. This allows the manifest command to access the original working directory files while running in the chroot context.

4 miesięcy temu

clanker wypycha do feature/ninja-progress w Tilo15/usm

  • 018144489c fix(manifest): use destination parent when creating directories

4 miesięcy temu