Path Lines of Code antlir/__init__.py 1 antlir/artifacts_dir.py 134 antlir/btrfs_diff/__init__.py 1 antlir/btrfs_diff/coroutine_utils.py 26 antlir/btrfs_diff/extent.py 170 antlir/btrfs_diff/extents_to_chunks.py 171 antlir/btrfs_diff/freeze.py 72 antlir/btrfs_diff/incomplete_inode.py 172 antlir/btrfs_diff/inode.py 143 antlir/btrfs_diff/inode_id.py 234 antlir/btrfs_diff/inode_utils.py 31 antlir/btrfs_diff/parse_dump.py 222 antlir/btrfs_diff/parse_send_stream.py 272 antlir/btrfs_diff/rendered_tree.py 97 antlir/btrfs_diff/send_stream.py 130 antlir/btrfs_diff/subvolume.py 207 antlir/btrfs_diff/subvolume_set.py 134 antlir/buck_query/lib.rs 10 antlir/buck_query/query.rs 31 antlir/buck_query/targets.rs 113 antlir/bzl/add_stat_options.bzl 13 antlir/bzl/check_flavor_exists.bzl 12 antlir/bzl/compile_image_features.bzl 205 antlir/bzl/constants.bzl 192 antlir/bzl/constants.shape.bzl 84 antlir/bzl/container_opts.bzl 33 antlir/bzl/container_opts.shape.bzl 35 antlir/bzl/defs.bzl 38 antlir/bzl/exec_wrapper.bzl 76 antlir/bzl/fail_with_message.py 19 antlir/bzl/fetched_package_layer.bzl 268 antlir/bzl/flavor_helpers.bzl 69 antlir/bzl/genrule/extractor/extract.bzl 148 antlir/bzl/genrule/extractor/extract.rs 261 antlir/bzl/genrule/librename_shadowed/librename_shadowed.bzl 76 antlir/bzl/genrule/librename_shadowed/rename_shadowed.c 111 antlir/bzl/genrule/locale/locale.bzl 36 antlir/bzl/genrule/rpmbuild/rpmbuild.bzl 261 antlir/bzl/genrule/yum_dnf_cache/yum_dnf_cache.bzl 55 antlir/bzl/genrule_layer.shape.bzl 19 antlir/bzl/gpt.shape.bzl 16 antlir/bzl/hoist.bzl 55 antlir/bzl/image.bzl 45 antlir/bzl/image/feature/defs.bzl 25 antlir/bzl/image/feature/install.bzl 163 antlir/bzl/image/feature/install.shape.bzl 16 antlir/bzl/image/feature/new.bzl 306 antlir/bzl/image/feature/remove.bzl 29 antlir/bzl/image/feature/remove.shape.bzl 9 antlir/bzl/image/feature/requires.bzl 34 antlir/bzl/image/feature/requires.shape.bzl 10 antlir/bzl/image/feature/symlink.bzl 68 antlir/bzl/image/feature/symlink.shape.bzl 9 antlir/bzl/image/feature/tarball.bzl 40 antlir/bzl/image/feature/tarball.shape.bzl 11 antlir/bzl/image/feature/usergroup.bzl 103 antlir/bzl/image/feature/usergroup.shape.bzl 18 antlir/bzl/image/package/defs.bzl 9 antlir/bzl/image/package/new.bzl 102 antlir/bzl/image_actions/clone.bzl 74 antlir/bzl/image_actions/clone.shape.bzl 13 antlir/bzl/image_actions/ensure_dirs_exist.bzl 45 antlir/bzl/image_actions/ensure_subdirs_exist.shape.bzl 12 antlir/bzl/image_actions/mount.bzl 96 antlir/bzl/image_actions/rpms.bzl 163 antlir/bzl/image_actions/rpms.shape.bzl 19 antlir/bzl/image_cpp_unittest.bzl 73 antlir/bzl/image_genrule_layer.bzl 98 antlir/bzl/image_gpt.bzl 42 antlir/bzl/image_layer.bzl 117 antlir/bzl/image_layer_alias.bzl 51 antlir/bzl/image_layer_from_package.bzl 67 antlir/bzl/image_layer_runtime.bzl 36 antlir/bzl/image_layer_utils.bzl 176 antlir/bzl/image_packaged_layer.bzl 52 antlir/bzl/image_python_unittest.bzl 106 antlir/bzl/image_rust_unittest.bzl 53 antlir/bzl/image_source.bzl 122 antlir/bzl/image_source.shape.bzl 17 antlir/bzl/image_test_rpm_names.bzl 58 antlir/bzl/image_unittest_helpers.bzl 297 antlir/bzl/image_utils.bzl 110 antlir/bzl/layer_resource.bzl 36 antlir/bzl/linux/boot/ble_build.bzl 69 antlir/bzl/linux/boot/boot_loader_entry.shape.bzl 11 antlir/bzl/linux/boot/defs.bzl 10 antlir/bzl/linux/boot/grub2/defs.bzl 26 antlir/bzl/linux/boot/grub2/grub.cfg 9 antlir/bzl/linux/boot/loader.jinja2 6 antlir/bzl/linux/boot/systemd/defs.bzl 26 antlir/bzl/linux/busybox.bzl 71 antlir/bzl/linux/config/config.bzl 14 antlir/bzl/linux/config/glibc/nsswitch.bzl 79 antlir/bzl/linux/config/glibc/nsswitch.jinja2 7 antlir/bzl/linux/config/glibc/nsswitch.shape.bzl 21 antlir/bzl/linux/config/network/resolv.bzl 40 antlir/bzl/linux/config/network/resolv.jinja2 6 antlir/bzl/linux/config/network/resolv.shape.bzl 9 antlir/bzl/linux/defs.bzl 18 antlir/bzl/linux/filesystem.bzl 29 antlir/bzl/linux/release.bzl 74 antlir/bzl/linux/systemd/mount.jinja2 8 antlir/bzl/linux/systemd/unit.jinja2 6 antlir/bzl/linux/time.bzl 27 antlir/bzl/loopback_opts.bzl 20 antlir/bzl/loopback_opts.shape.bzl 22 antlir/bzl/maybe_export_file.bzl 40 antlir/bzl/mode.shape.bzl 6 antlir/bzl/oss_shim.bzl 150 antlir/bzl/oss_shim_impl.bzl 608 antlir/bzl/query.bzl 123 antlir/bzl/rpm_repo_snapshot.bzl 276 antlir/bzl/sha256.bzl 50 antlir/bzl/shape.bzl 740 antlir/bzl/shape2/bzl2ir.rs 503 antlir/bzl/shape2/ir.rs 211 antlir/bzl/shape2/ir2code.rs 482 antlir/bzl/shape2/target.py 10 antlir/bzl/shape2/target.rs 16 antlir/bzl/shape2/templates/enum.pydantic.handlebars 4 antlir/bzl/shape2/templates/enum.rs.handlebars 7 antlir/bzl/shape2/templates/lib.rs.handlebars 6 antlir/bzl/shape2/templates/module.pydantic.handlebars 4 antlir/bzl/shape2/templates/struct.pydantic.handlebars 9 antlir/bzl/shape2/templates/struct.rs.handlebars 22 antlir/bzl/shape2/templates/union.pydantic.handlebars 5 antlir/bzl/shape2/templates/union.rs.handlebars 7 antlir/bzl/snapshot_install_dir.bzl 30 antlir/bzl/structs.bzl 19 antlir/bzl/systemd.bzl 348 antlir/bzl/systemd.shape.bzl 23 antlir/bzl/target.shape.bzl 10 antlir/bzl/target_helpers.bzl 129 antlir/bzl/target_tagger.bzl 86 antlir/bzl/target_tagger.shape.bzl 13 antlir/bzl/template.bzl 77 antlir/bzl/third_party.bzl 158 antlir/bzl/third_party.shape.bzl 16 antlir/bzl/wrap_runtime_deps.bzl 152 antlir/bzl_const.py 10 antlir/cli.py 59 antlir/common.py 278 antlir/compile_template.py 23 antlir/compiler/__init__.py 1 antlir/compiler/compiler.py 324 antlir/compiler/defs.bzl 52 antlir/compiler/dep_graph.py 291 antlir/compiler/items/clone.py 64 antlir/compiler/items/common.py 223 antlir/compiler/items/ensure_dirs_exist.py 111 antlir/compiler/items/genrule_layer.py 75 antlir/compiler/items/group.py 92 antlir/compiler/items/install_file.py 144 antlir/compiler/items/make_subvol.py 75 antlir/compiler/items/mount.py 181 antlir/compiler/items/mount_utils.py 27 antlir/compiler/items/phases_provide.py 114 antlir/compiler/items/remove_path.py 42 antlir/compiler/items/requires.py 19 antlir/compiler/items/rpm_action.py 302 antlir/compiler/items/stat_options.py 132 antlir/compiler/items/symlink.py 74 antlir/compiler/items/tarball.py 83 antlir/compiler/items/user.py 241 antlir/compiler/items_for_features.py 136 antlir/compiler/path_object.py 21 antlir/compiler/procfs_serde.py 92 antlir/compiler/requires_provides.py 107 antlir/compiler/subvolume_on_disk.py 160 antlir/config.py 42 antlir/errors.py 6 antlir/find_built_subvol.py 18 antlir/find_root.rs 209 antlir/fs_utils.py 341 antlir/gpt.py 104 antlir/layer_mount_config.py 18 antlir/linux/vm/console/defs.bzl 26 antlir/linux/vm/generator/defs.bzl 20 antlir/linux/vm/network/defs.bzl 20 antlir/linux/vm/notify/defs.bzl 32 antlir/linux/vm/ssh/defs.bzl 45 antlir/linux/vm/ssh/id_ecdsa.pub 1 antlir/loopback.py 235 antlir/nspawn_in_subvol/args.py 464 antlir/nspawn_in_subvol/clonecaps/clonecaps.c 252 antlir/nspawn_in_subvol/cmd.py 253 antlir/nspawn_in_subvol/common.py 52 antlir/nspawn_in_subvol/netns_socket.py 74 antlir/nspawn_in_subvol/nspawn.py 248 antlir/nspawn_in_subvol/plugin_hooks.py 47 antlir/nspawn_in_subvol/plugins/__init__.py 4 antlir/nspawn_in_subvol/plugins/attach_antlir_dir.py 32 antlir/nspawn_in_subvol/plugins/launch_proxy_server.py 39 antlir/nspawn_in_subvol/plugins/launch_repo_servers.py 49 antlir/nspawn_in_subvol/plugins/repo_plugins.py 94 antlir/nspawn_in_subvol/plugins/repo_servers.py 186 antlir/nspawn_in_subvol/plugins/server_launcher.py 40 antlir/nspawn_in_subvol/plugins/shadow_paths.py 179 antlir/nspawn_in_subvol/plugins/yum_dnf_versionlock.py 89 antlir/nspawn_in_subvol/run.py 56 antlir/package_image.py 258 antlir/proxy/http_socket_server.py 26 antlir/proxy/proxy_url.py 46 antlir/proxy/server_start_wrapper.py 14 antlir/recv_fds_and_run.py 57 antlir/render_template.py 35 antlir/repo_root.rs 12 antlir/rpm/allowed_versions/envra.py 66 antlir/rpm/allowed_versions/package_group.py 22 antlir/rpm/allowed_versions/update_allowed_versions.py 407 antlir/rpm/allowed_versions/version_policy.py 58 antlir/rpm/common.py 84 antlir/rpm/common_args.py 58 antlir/rpm/db_connection.py 46 antlir/rpm/defs.bzl 36 antlir/rpm/downloader/common.py 156 antlir/rpm/downloader/deleted_mutable_rpms.py 13 antlir/rpm/downloader/repo_downloader.py 74 antlir/rpm/downloader/repodata_downloader.py 148 antlir/rpm/downloader/repomd_downloader.py 59 antlir/rpm/downloader/rpm_downloader.py 277 antlir/rpm/find_snapshot.py 20 antlir/rpm/gpg_keys.py 18 antlir/rpm/open_url.py 21 antlir/rpm/parse_repodata.py 193 antlir/rpm/pluggable.py 50 antlir/rpm/replay/extract_nested_features.py 140 antlir/rpm/replay/fake_pty_real.py 28 antlir/rpm/replay/fake_pty_wrapper.py 17 antlir/rpm/replay/queries.bzl 69 antlir/rpm/replay/rpm_replay.py 106 antlir/rpm/replay/subvol_diff.py 112 antlir/rpm/replay/subvol_rpm_compare.py 219 antlir/rpm/repo_db.py 321 antlir/rpm/repo_objects.py 87 antlir/rpm/repo_server.py 250 antlir/rpm/repo_server_main.py 10 antlir/rpm/repo_sizer.py 57 antlir/rpm/repo_snapshot.py 227 antlir/rpm/rpm_metadata.py 154 antlir/rpm/snapshot_repo.py 81 antlir/rpm/snapshot_repos.py 199 antlir/rpm/storage/__init__.py 8 antlir/rpm/storage/cli.py 48 antlir/rpm/storage/cli_object_storage.py 125 antlir/rpm/storage/filesystem_storage.py 52 antlir/rpm/storage/s3_storage.py 64 antlir/rpm/storage/storage.py 73 antlir/rpm/write_yum_dnf_conf.py 111 antlir/rpm/yum_dnf_conf.py 107 antlir/rpm/yum_dnf_from_snapshot.py 372 antlir/send_fds_and_run.py 120 antlir/serialize_targets_and_outputs.py 40 antlir/shape.py 67 antlir/subvol_utils.py 650 antlir/subvolume_garbage_collector.py 185 antlir/subvolume_version.py 16 antlir/unionfind.py 33 antlir/unshare.py 129 antlir/update_package_db.py 289 antlir/vcs.py 84 antlir/vm/bzl/build_kernel_artifacts.bzl 151 antlir/vm/bzl/build_vm_run_target.bzl 38 antlir/vm/bzl/defs.bzl 309 antlir/vm/bzl/initrd.bzl 84 antlir/vm/bzl/install_kernel_modules.bzl 80 antlir/vm/bzl/kernel.bzl 27 antlir/vm/bzl/kernel.shape.bzl 18 antlir/vm/bzl/types.bzl 156 antlir/vm/bzl/vm.shape.bzl 67 antlir/vm/common.py 58 antlir/vm/guest_ssh.py 112 antlir/vm/router_advertiser.py 17 antlir/vm/run.py 47 antlir/vm/share.py 190 antlir/vm/tap.py 89 antlir/vm/tpm.py 93 antlir/vm/vm.py 400 antlir/vm/vmtest.py 265 antlir/vm/wrap_in_vm_test_exec.py 73 antlir/volume_for_repo.py 46 antlir/website/babel.config.js 3 antlir/website/bzldoc.js 25 antlir/website/docusaurus.config.js 115 antlir/website/gen/generate_metalos_apis.rs 45 antlir/website/gen/index.js 36 antlir/website/sidebars.js 191 antlir/website/src/css/custom.css 30 antlir/website/src/pages/index.js 107 antlir/website/src/pages/styles.module.css 65 config/config.bzl 54 images/appliance/stable_appliance.bzl 5 metalos/bzl/service/service.bzl 87 metalos/bzl/service/systemd-expectations.jinja2 23 metalos/defs.bzl 130 metalos/disk/disk.bzl 84 metalos/host_configs/evalctx/src/generator.rs 160 metalos/host_configs/evalctx/src/lib.rs 48 metalos/host_configs/evalctx/src/path.rs 25 metalos/host_configs/evalctx/src/starlark/generator.rs 322 metalos/host_configs/evalctx/src/starlark/loader.rs 258 metalos/host_configs/evalctx/src/starlark/mod.rs 24 metalos/host_configs/evalctx/src/starlark/template.rs 112 metalos/host_configs/evaluator/src/evaluator.rs 72 metalos/host_configs/host.thrift 41 metalos/host_configs/host_thrift.rs 59 metalos/host_configs/package_manifest.thrift 33 metalos/host_configs/runtime_config.thrift 23 metalos/initrd/systemd.bzl 113 metalos/initrd/vmtest/images_sidecar.rs 40 metalos/lib/blkid/Cargo.toml 23 metalos/lib/blkid/blkid-sys/bridge.h 1 metalos/lib/blkid/src/lib.rs 78 metalos/lib/btrfs/Cargo.toml 30 metalos/lib/btrfs/btrfsutil-sys/bridge.h 2 metalos/lib/btrfs/src/lib.rs 324 metalos/lib/btrfs/src/sendstream.rs 232 metalos/lib/expand_partition/Cargo.toml 21 metalos/lib/expand_partition/src/expand_partition.rs 226 metalos/lib/find_root_disk/Cargo.toml 22 metalos/lib/find_root_disk/src/find_root_disk.rs 152 metalos/lib/generator/Cargo.toml 28 metalos/lib/generator/src/generator.rs 91 metalos/lib/http_test/Cargo.toml 26 metalos/lib/image/Cargo.toml 31 metalos/lib/image/src/download.rs 102 metalos/lib/image/src/kinds.rs 96 metalos/lib/image/src/lib.rs 167 metalos/lib/kernel_cmdline/Cargo.toml 23 metalos/lib/kernel_cmdline/src/lib.rs 81 metalos/lib/metalos_paths/Cargo.toml 17 metalos/lib/metalos_paths/src/metalos_paths.rs 23 metalos/lib/net_utils/Cargo.toml 23 metalos/lib/net_utils/src/lib.rs 41 metalos/lib/netlink/Cargo.toml 28 metalos/lib/netlink/netlink-sys/netlink.h 4 metalos/lib/netlink/src/lib.rs 346 metalos/lib/sandbox/Cargo.toml 27 metalos/lib/sandbox/src/sandbox.rs 202 metalos/lib/send_events/Cargo.toml 34 metalos/lib/send_events/src/send_events.rs 423 metalos/lib/serde_systemd/Cargo.toml 19 metalos/lib/serde_systemd/src/lib.rs 8 metalos/lib/serde_systemd/src/ser/key.rs 143 metalos/lib/serde_systemd/src/ser/mod.rs 173 metalos/lib/serde_systemd/src/ser/section.rs 154 metalos/lib/serde_systemd/src/ser/unit.rs 153 metalos/lib/serde_systemd/src/ser/unit_file.rs 143 metalos/lib/serde_systemd/src/ser/value.rs 155 metalos/lib/serde_systemd/src/ser/value_seq.rs 89 metalos/lib/service/Cargo.toml 21 metalos/lib/service/helper/Cargo.toml 30 metalos/lib/service/helper/src/helper.rs 83 metalos/lib/service/helper/src/volumes.rs 119 metalos/lib/service/src/service.rs 82 metalos/lib/shadow/Cargo.toml 19 metalos/lib/shadow/src/shadow.rs 229 metalos/lib/starlark_util/Cargo.toml 26 metalos/lib/starlark_util/src/starlark_util.rs 201 metalos/lib/starlark_util/src/value.rs 346 metalos/lib/state/Cargo.toml 27 metalos/lib/state/src/state.rs 236 metalos/lib/systemd/Cargo.toml 43 metalos/lib/systemd/macros.rs 162 metalos/lib/systemd/src/analyze/mod.rs 7 metalos/lib/systemd/src/analyze/verify.rs 121 metalos/lib/systemd/src/dbus_types.rs 321 metalos/lib/systemd/src/escape.rs 87 metalos/lib/systemd/src/lib.rs 172 metalos/lib/systemd/src/machined_manager.rs 329 metalos/lib/systemd/src/networkd_manager.rs 41 metalos/lib/systemd/src/property_stream.rs 75 metalos/lib/systemd/src/render.rs 256 metalos/lib/systemd/src/system_state.rs 126 metalos/lib/systemd/src/systemd_manager.rs 494 metalos/lib/systemd/src/transient_unit.rs 274 metalos/lib/systemd_generator_lib/Cargo.toml 26 metalos/lib/systemd_generator_lib/src/systemd_generator_lib.rs 442 metalos/metalctl/metalctl.bzl 81 metalos/metalctl/src/apply_disk_image.rs 238 metalos/metalctl/src/apply_host_config.rs 87 metalos/metalctl/src/config.rs 40 metalos/metalctl/src/fetch_images.rs 110 metalos/metalctl/src/generator.rs 905 metalos/metalctl/src/http.rs 15 metalos/metalctl/src/kernel_cmdline.rs 25 metalos/metalctl/src/load_host_config.rs 51 metalos/metalctl/src/metalctl.rs 161 metalos/metalctl/src/mount.rs 348 metalos/metalctl/src/network_cleanup.rs 119 metalos/metalctl/src/send_event.rs 131 metalos/metalctl/src/switch_root.rs 193 metalos/metalctl/src/umount.rs 26 metalos/metalctl/src/update/mod.rs 54 metalos/metalctl/src/update/offline.rs 25 metalos/metalctl/src/update/online.rs 25 metalos/metalos_macros/src/lib.rs 73 metalos/os/whatchanged/src/whatchanged.rs 108 snapshot/defs.bzl 12 tools/build/rust.bzl 55 tools/testinfra/buck2junit.xslt 40 tools/testinfra/runner/src/main.rs 191 tools/testinfra/runner/src/pyunit.rs 56 tools/testinfra/runner/src/rust.rs 59