Skip to content

Update doku - #10

Merged
embtom merged 1 commit into
mainfrom
feature/doku
Jul 25, 2026
Merged

Update doku#10
embtom merged 1 commit into
mainfrom
feature/doku

Conversation

@embtom

@embtom embtom commented Jul 24, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rewrites and substantially expands Readme.md to provide a more structured, narrative documentation for packtly-builder (features, architecture, getting started, and reference sections).

Changes:

  • Replaces the README intro with a more detailed product/platform description and rationale (“Why not just debuild?”).
  • Adds new structured sections: Features, Architecture diagrams, Getting Started, and Reference documentation.
  • Reorganizes existing usage guidance into tables and subsections (components, container images, CLI reference, signing/credentials, development, versioning).
Comments suppressed due to low confidence (4)

Readme.md:112

  • The “execute each stage individually” list doesn’t match what just all actually runs: the pipeline ends with build-runtime-multiarch, not build-runtime. Using build-runtime here won’t produce the multi-arch manifest that just all creates.
just build-builder
just test-tooling
just build-tooling
just build-runtime

Readme.md:197

  • This line says images support only amd64/arm64, but the repository builds and publishes an armhf runtime image as well (see .github/workflows/_build-runtime-image.yml matrix includes arch: armhf). The docs should reflect that armhf is supported (or clarify that the limitation is only for local just multi-arch builds).
All images support **amd64** and **arm64**.

Readme.md:273

  • From the repo root there is no tooling/ directory; the Poetry project lives at packtly-builder/tooling/. As written, cd tooling will fail.
cd tooling

Readme.md:164

  • The “Repository Layout” block doesn’t match the actual repo structure: there is no top-level tooling/, tests/, container/, scripts/, or Containerfile — these live under packtly-builder/ (and the test directory is test/). Updating this block will prevent readers from trying paths that don’t exist.
packtly-builder/
├── tooling/                 # Python CLI
├── tests/                   # Unit and integration tests
├── container/               # Container definitions
├── Keys/                    # Development signing keys

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Readme.md Outdated
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailedTime ⏱
JUnit Test Report86 ran86 passed0 skipped0 failed26s 950ms
TestResultTime ⏱
JUnit Test Report
pytest
test_apt.test_add_key_writes_gpg_file✅ passed38ms
test_apt.test_add_key_path_is_in_keyrings_dir✅ passed2ms
test_apt.test_add_key_file_is_not_armored✅ passed2ms
test_apt.test_add_key_binary_input_also_accepted✅ passed2ms
test_apt.test_add_repo_creates_sources_file✅ passed35ms
test_apt.test_add_repo_sources_file_has_correct_content✅ passed2ms
test_apt.test_add_repo_is_idempotent✅ passed64ms
test_apt.test_add_repo_without_keyring✅ passed32ms
test_apt.test_add_repo_components_as_list✅ passed35ms
test_apt.test_apt_cache_update_success✅ passed8ms
test_apt.test_apt_cache_update_failure✅ passed6ms
test_apt.test_install_dependencies_not_in_cache✅ passed5ms
test_apt.test_install_dependencies_success✅ passed5ms
test_apt.test_install_dependencies_commit_error✅ passed5ms
test_apt.test_install_dependencies_source_host[versions0-my-apt.example.com-True]✅ passed5ms
test_apt.test_install_dependencies_source_host[versions1-my-apt.example.com-False]✅ passed5ms
test_apt.test_install_dependencies_source_host[versions2-my-apt.example.com-True]✅ passed5ms
test_apt.test_package_exists_true_without_source_host✅ passed4ms
test_apt.test_upstream_package_exists_true_for_matching_host✅ passed4ms
test_apt.test_upstream_package_exists_false_for_non_matching_host✅ passed4ms
test_apt.test_dearmor_ascii_armored_key✅ passed4ms
test_apt.test_dearmor_invalid_base64✅ passed4ms
test_apt.test_parse_deb_file_missing_file✅ passed7ms
test_apt.test_parse_deb_file_success✅ passed5ms
test_apt.test_parse_deb_file_invalid✅ passed5ms
test_aptly.test_upload_marks_changed_when_new_package_added✅ passed3ms
test_aptly.test_upload_batches_add_after_all_files_uploaded✅ passed4ms
test_cli.test_resolve_aptly_credentials_from_test_file✅ passed2ms
test_cli.test_resolve_aptly_credentials_from_file✅ passed3ms
test_cli.test_resolve_aptly_credentials_ignores_comments✅ passed3ms
test_cli.test_resolve_aptly_credentials_requires_both_entries✅ passed3ms
test_cli.test_parse_args_accepts_credentials_file✅ passed3ms
test_cli.test_parse_args_force_upload_default_disabled✅ passed3ms
test_cli.test_parse_args_force_upload_enabled_when_flag_present✅ passed3ms
test_cmd.test_arg✅ passed2ms
test_deb_source.test_is_quilt_format_true✅ passed4ms
test_deb_source.test_is_quilt_format_native✅ passed3ms
test_deb_source.test_source_name_and_version✅ passed3ms
test_deb_source.test_orig_tarball_exists_ignores_asc✅ passed4ms
test_deb_source.test_remove_existing_orig✅ passed4ms
test_deb_source.test_branch_exists_local✅ passed45ms
test_deb_source.test_repo_none_for_non_git_tree✅ passed3ms
test_deb_source.test_repo_does_not_climb_to_parent✅ passed17ms
test_deb_source.test_reset_source_tree_cleans_untracked✅ passed47ms
test_deb_source.test_reset_source_tree_noop_when_native✅ passed38ms
test_deb_source.test_export_orig_invokes_gbp✅ passed41ms
test_debsign✅ passed15s 83ms
test_debuild.test_deb_control_file✅ passed3ms
test_debuild.test_build_debpackage✅ passed11s 79ms
test_debuild.test_deb_changes✅ passed3ms
test_debuild.test_deb_changes_files✅ passed3ms
test_debuild.test_deb_changes_name✅ passed2ms
test_debuild.test_deb_changes_version✅ passed2ms
test_debuild.test_deb_changes_arch✅ passed2ms
test_debuild.test_deb_changes_file_fallback_to_any_changes✅ passed4ms
test_debuild.test_deb_changes_file_prefers_newest_arch_match✅ passed13ms
test_debuild.test_install_build_dependencies_raises_when_mk_build_deps_missing✅ passed4ms
test_debuild.test_install_build_dependencies_builds_correct_command✅ passed4ms
test_debuild.test_install_build_dependencies_raises_on_nonzero_exit✅ passed4ms
test_gpg.test_create_gpg✅ passed7ms
test_gpg.test_list_keys✅ passed20ms
test_gpg.test_create_and_set_new_keyring✅ passed12ms
test_gpg.test_import_key✅ passed59ms
test_gpg.test_signing_key✅ passed46ms
test_logging.test_debug_logged✅ passed2ms
test_logging.test_info_logged✅ passed2ms
test_logging.test_warning_logged✅ passed2ms
test_logging.test_critical_logged✅ passed2ms
test_logging.test_max_level_filter_accepts_info✅ passed2ms
test_logging.test_max_level_filter_rejects_warning✅ passed2ms
test_logging.test_handler_wiring_uses_max_level_filter✅ passed2ms
test_logging.test_stream_routing_with_caplog✅ passed2ms
test_logging.test_debug_suppressed_at_info_verbosity✅ passed2ms
test_logging.test_debug_visible_at_debug_verbosity✅ passed2ms
test_logging.test_warning_suppressed_at_warning_verbosity✅ passed2ms
test_utils.test_run_subprocess_success✅ passed4ms
test_utils.test_run_subprocess_failure✅ passed3ms
test_utils.test_run_streamed_logs_output✅ passed4ms
test_utils.test_run_subprocess_writes_stdin✅ passed4ms
test_utils.test_run_subprocess_stream✅ passed5ms
test_utils.test_run_subprocess_capture✅ passed4ms
test_utils.test_run_subprocess_silent✅ passed4ms
test_utils.test_run_subprocess_stdin✅ passed4ms
test_utils.test_run_subprocess_empty_stdin_still_opens_pipe✅ passed4ms
test_utils.test_run_subprocess_handles_broken_pipe_and_raises_calledprocesserror✅ passed6ms
test_utils.test_run_subprocess_forwards_sigint_on_keyboardinterrupt✅ passed5ms

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
1718 1380 80% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: d7eb937 by action🐍

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
11 0 0 11 100 1m12.597767999s

Passed Tests

Name ⏱️ Duration Suite
Debhello Quilt Build 19.112 s Debhello Aptly
Packtly Infra Repository Is Accessible 25.843 s Debhello Aptly
Install Binary Package 1.945 s Debhello Aptly
Download Source Package 0.825 s Debhello Aptly
Debhello Quilt Build 16.625 s Debhello Quilt
Binary Packages Are Valid 0.334 s Debhello Quilt
Changes File Is Signed 0.197 s Debhello Quilt
Binary Package Is Installable 0.391 s Debhello Quilt
Source Package Is Valid 0.430 s Debhello Quilt
DSC File Is Signed 0.195 s Debhello Quilt
Source Package Is Installable 6.700 s Debhello Quilt

@embtom
embtom marked this pull request as ready for review July 25, 2026 20:16
@embtom
embtom merged commit c551026 into main Jul 25, 2026
10 checks passed
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