Files
RSSuper/tasks/native-business-logic-migration/05-implement-linux-data-models.md
Michael Freno d346b527e6
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
migration start
2026-03-29 14:12:17 -04:00

980 B

05. Implement Linux data models (C/Vala)

meta: id: native-business-logic-migration-05 feature: native-business-logic-migration priority: P0 depends_on: [native-business-logic-migration-02] tags: [implementation, linux, data-models]

objective:

  • Implement all data models in Vala/C following Linux/GNOME conventions

deliverables:

  • feed-item.vala
  • feed.vala
  • feed-subscription.vala
  • search-result.vala
  • search-filters.vala
  • notification-preferences.vala
  • reading-preferences.vala
  • Supporting structs and enums

tests:

  • Unit: Test JSON serialization with Gio
  • Unit: Test property accessors
  • Unit: Test equality methods

acceptance_criteria:

  • All models properly structured
  • JSON serialization working
  • Memory management correct (no leaks)
  • GObject integration ready

validation:

  • Run meson test -C build
  • Check with valgrind for memory leaks

notes:

  • Use Vala objects for reference types
  • Use structs for value types
  • Follow GNOME HIG for naming