Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

  • Implemented PostgreSQL connection with sqlx and migration to create ebpf_programs table
  • Added upload command to:
    • Validate ELF binaries using aya::Ebpf
    • Store uploaded eBPF programs in /var/lib/eclipta/programs with unique UUID-based names
    • Insert metadata (title, description, version, status, path) into PostgreSQL
  • Added colorful CLI logger for info, warn, success, error messages
  • Ensured missing storage directories are auto-created
  • Improved error handling for invalid ELF files, DB connection issues, and file copy failures

- Implemented PostgreSQL connection with sqlx and migration to create `ebpf_programs` table
- Added `upload` command to:
  - Validate ELF binaries using aya::Ebpf
  - Store uploaded eBPF programs in `/var/lib/eclipta/programs` with unique UUID-based names
  - Insert metadata (title, description, version, status, path) into PostgreSQL
- Added colorful CLI logger for info, warn, success, error messages
- Ensured missing storage directories are auto-created
- Improved error handling for invalid ELF files, DB connection issues, and file copy failures
@maheshbhatiya73 maheshbhatiya73 merged commit a416200 into main Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants