Commit graph

133 commits

Author SHA1 Message Date
Till Wegmueller
38fba9b9db
Introduce custom Pkg6RepoError for improved error handling, replace anyhow, and update dependencies and test cases for consistency. 2025-07-26 17:07:59 +02:00
Till Wegmueller
4649608408
Replace anyhow with custom RepositoryError for improved error specificity and consistency. Remove anyhow dependency. 2025-07-26 16:50:10 +02:00
Till Wegmueller
40560e5960
Add xtask for build and test automation, replacing legacy scripts, and integrate commands for environment setup, build, test, and formatting. Update documentation for cargo-xtask usage. 2025-07-26 14:18:30 +02:00
Till Wegmueller
56b50c755a
Add comprehensive project guidelines for Junie, detailing structure, dependencies, error handling, testing, build process, code style, and workflow. 2025-07-26 13:33:56 +02:00
Till Wegmueller
a33a3246b6
chore(fmt): format with cargo fmt 2025-07-26 12:54:01 +02:00
Till Wegmueller
f5b80a7d12
Refactor repository property and publisher filtering in show_contents, improve clarity and efficiency by introducing section_filtered_properties and adding publisher-based property filtering logic. Update get_info to support publisher filtering. 2025-07-26 12:52:55 +02:00
Till Wegmueller
362042268a
Add publisher filtering to show_contents, enhance property filtering for repository configurations, and update synchronous operation handling across backends. 2025-07-26 12:44:39 +02:00
Till Wegmueller
a5cdb7e673
Add JSON and TSV output to repository commands, integrate serde for struct serialization, and introduce search subcommand with flexible filtering options. 2025-07-26 12:35:44 +02:00
Till Wegmueller
307dfddc7c
Remove TESTING.md, fix CLI argument naming (--repo-version), enhance transaction publisher handling, and improve manifest storage logic. 2025-07-26 11:52:42 +02:00
Till Wegmueller
4f0e2fe066
Add unit and end-to-end tests for repository functionality, including setup scripts, package management operations, and TESTING.md documentation. 2025-07-26 10:52:25 +02:00
Till Wegmueller
ead9ad12af
Refactor repository traits into ReadableRepository and WritableRepository, introduce Repository to combine traits for backward compatibility, and update relevant modules and tests to use the new structure. 2025-07-26 10:34:45 +02:00
Till Wegmueller
a0fcc13033
Introduce Catalog module with structs and functionality for managing package metadata, enhance file_backend and CLI to handle catalog operations, and update dependencies (chrono and others) to support new features. 2025-07-24 00:28:33 +02:00
Till Wegmueller
63f2d1da62
Add search method to repository module for querying packages, update dependencies to support search functionality. 2025-07-23 23:22:24 +02:00
Till Wegmueller
2cb63fbef0
Introduce PackageContents struct for structured representation of package data, refactor show_contents for multiple content types, and enhance handling of manifests with improved filtering and output formatting. 2025-07-23 22:39:49 +02:00
Till Wegmueller
01b059bf5d
Expand pkg5 documentation with additional details on repository operations, including administrative tasks, enhanced metadata handling, new operation versions, and improved search functionality. 2025-07-23 22:09:09 +02:00
Till Wegmueller
ca7ce75008
Enhance show_contents to parse manifests directly, add filtering by publishers, patterns, and action types, and handle multiple content types (files, directories, links, dependencies, licenses). 2025-07-22 19:39:46 +02:00
Till Wegmueller
5d987ca0cb
Refactor package FMRI handling by introducing Fmri struct, update dependencies, and adjust repository and action modules for structured FMRI data processing
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-22 14:10:37 +02:00
Till Wegmueller
2e69b277ed
Import pkg5 docs as reference for new code. 2025-07-22 11:57:44 +02:00
Till Wegmueller
e3662eaf23
Introduce PackageInfo struct for structured package data, refactor list_packages to use it, and enhance publisher directory handling
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-22 11:57:24 +02:00
Till Wegmueller
7332e0f7b5
Refactor repository info retrieval to return structured data, add detailed publisher information, and update tests accordingly
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-22 10:21:16 +02:00
Till Wegmueller
a9584fa6d2
Add package publishing functionality and default publisher management
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-21 23:20:19 +02:00
Till Wegmueller
8a32bf3176
Add compression support (Gzip/LZ4) and update dependencies
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-21 22:37:08 +02:00
Till Wegmueller
1a5e0e053d
Add repository module and update dependencies
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2025-07-21 22:02:05 +02:00
Till Wegmueller
bef5442afd
Adding diff-struct
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2024-08-15 21:27:00 +02:00
Till Wegmueller
5cea5186d7
Add serde and image starter module
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2024-08-14 20:02:29 +02:00
Till Wegmüller
457111fc57
Merge pull request #13 from OpenFlowLabs/dependabot/cargo/openssl-0.10.55
Bump openssl from 0.10.50 to 0.10.55
2023-06-22 20:24:08 +02:00
dependabot[bot]
d2b05ebd97
Bump openssl from 0.10.50 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.50 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.50...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:56:18 +00:00
Till Wegmüller
38a997b94d
Merge pull request #12 from OpenFlowLabs/dependabot/cargo/h2-0.3.17
Bump h2 from 0.3.16 to 0.3.17
2023-04-13 19:43:08 +02:00
dependabot[bot]
e9f79ab7d5
Bump h2 from 0.3.16 to 0.3.17
Bumps [h2](https://github.com/hyperium/h2) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.16...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 17:08:44 +00:00
Till Wegmueller
108b9f026e
Responding to CVE-2023-26964
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-04-12 09:24:22 +02:00
Till Wegmueller
2d74df13da
Fix unneeded reference
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 17:48:33 +01:00
Till Wegmueller
da3c398bc8
Remove schedule from clippy workflow
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 17:43:52 +01:00
Till Wegmueller
1a66c34f1c
fix clippy
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 17:33:40 +01:00
Till Wegmueller
a8f84ef3f6
fix derivable impls
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 16:57:51 +01:00
Till Wegmüller
faa993ecc3
Update rust-clippy.yml 2023-03-25 16:46:32 +01:00
Till Wegmueller
2b4d01df8a
test problems
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 13:13:41 +01:00
Till Wegmueller
5154d3886e
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 13:11:10 +01:00
Till Wegmueller
640fc4f611
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 13:08:40 +01:00
Till Wegmueller
59ae8ea4cc
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 13:01:05 +01:00
Till Wegmueller
8b9e69a787
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 12:48:09 +01:00
Till Wegmueller
5291bb304f
fixing clippy issues
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 12:47:54 +01:00
Till Wegmueller
563175bbca
updating dependencies
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
2023-03-25 12:35:05 +01:00
Till Wegmüller
b6c9a44c81
Merge pull request #7 from OpenFlowLabs/dependabot/cargo/bumpalo-3.12.0
Bump bumpalo from 3.6.1 to 3.12.0
2023-03-25 12:29:41 +01:00
Till Wegmüller
0bac6d9d48
Merge pull request #6 from OpenFlowLabs/dependabot/cargo/openssl-src-111.25.01.1.1t
Bump openssl-src from 111.22.0+1.1.1q to 111.25.0+1.1.1t
2023-03-25 12:28:44 +01:00
dependabot[bot]
b9b6f271fe
Bump bumpalo from 3.6.1 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.6.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.6.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 11:24:56 +00:00
dependabot[bot]
4a0ab51880
Bump openssl-src from 111.22.0+1.1.1q to 111.25.0+1.1.1t
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.22.0+1.1.1q to 111.25.0+1.1.1t.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 11:24:38 +00:00
Till Wegmüller
32bb3f50da
Merge pull request #5 from OpenFlowLabs/dependabot/cargo/openssl-0.10.48
Bump openssl from 0.10.33 to 0.10.48
2023-03-25 12:24:00 +01:00
dependabot[bot]
d05e91b17d
Bump openssl from 0.10.33 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.33 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.33...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 11:18:37 +00:00
Till Wegmüller
baacd4e281
Delete .cirrus.yml 2023-03-25 12:13:13 +01:00
Till Wegmüller
52dd9298bf
Update rust.yml 2023-03-25 11:57:16 +01:00