deb822 refactor #1

Merged
Sirherobrine23 merged 1 commits from deb822 into main 2025-06-23 01:07:02 +00:00
No description provided.
Sirherobrine23 added 2 commits 2025-06-21 02:24:19 +00:00
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
Refactor deb822 package: Remove deprecated files and implement new encoding/decoding logic
All checks were successful
Golang test / go-test (pull_request) Successful in 41s
00551f33bd
- Deleted old deb822_encode.go and deb822_types.go files.
- Introduced new deb822_encode.go with improved Marshall function and Writer struct for encoding.
- Added deb822_decode.go for decoding functionality with enhanced error handling.
- Created deb822_rawdata.go to define RawData type for handling raw deb822 values.
- Implemented Description type in deb822/datatype/description.go for structured description handling.
- Updated Package struct in dpkg/header.go to use new Description type.
- Refactored UnmarshalBinary method in dpkg/header.go to utilize new deb822 decoding logic.
- Added comprehensive tests for encoding and decoding in deb822_encode_test.go and deb822_decode_test.go.
- Removed internal scanner package as it was no longer needed.

Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
Sirherobrine23 added 1 commit 2025-06-22 23:36:17 +00:00
deb822 v3
Some checks failed
Golang test / go-test (pull_request) Failing after 18s
83fad0fed4
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
Sirherobrine23 force-pushed deb822 from 83fad0fed4 to fedef3cfce 2025-06-22 23:54:57 +00:00 Compare
Sirherobrine23 force-pushed deb822 from fedef3cfce to dcc76c145b 2025-06-23 01:03:15 +00:00 Compare
Sirherobrine23 changed title from WIP: deb822 refactor to deb822 refactor 2025-06-23 01:04:21 +00:00
Sirherobrine23 force-pushed deb822 from dcc76c145b to 8cf5fcbfc3 2025-06-23 01:06:15 +00:00 Compare
Sirherobrine23 merged commit 8cf5fcbfc3 into main 2025-06-23 01:07:02 +00:00
Sirherobrine23 deleted branch deb822 2025-06-23 01:07:03 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Sirherobrine23/go-dpkg#1
No description provided.