tree: 80ea4753c861306fb0fd1a8b42272c03a90b5b40 [path history] [tgz]
  1. blobstats/
  2. check_deps/
  3. crash/
  4. dart/
  5. devshell/
  6. editors/
  7. fuzzing/
  8. gce/
  9. gdb/
  10. git/
  11. memory/
  12. packages/
  13. rust/
  14. sdk/
  15. style/
  16. tests/
  17. third_party/
  18. vim/
  19. youcompleteme/
  20. zsh-completion/
  21. .gitignore
  22. AUTHORS
  23. bootstrap
  24. build-qemu.sh
  25. build-zircon.sh
  26. build_id_conv.py
  27. check-gn-format
  28. colorize_logs
  29. cq_perf_results.py
  30. difl
  31. fd.py
  32. fetch-build-artifacts
  33. find_integration_revision.py
  34. flog
  35. fx
  36. fx-env.sh
  37. fx-wrapper
  38. generate-intellij-config.py
  39. git_utils.py
  40. gn_to_cmake.py
  41. LICENSE
  42. list-available-packages.py
  43. OWNERS
  44. PATENTS
  45. paths.py
  46. README.md
  47. run-zircon-arm64
  48. run-zircon-x86
  49. simplify_stacktraces
  50. start-dhcp-server.sh
  51. update-manifest.go
scripts/README.md

Scripts

This repository is for scripts useful when hacking on Fuchsia. This repository should contain scripts that perform tasks spanning multiple repositories. Scripts that only operate within a single repository should live in the relevant repository.

push-package.py

The push-package.py script pushes the files listed in the given manifests files. No checking is performed for incremental changes.

The sample command lines below can be used to build Modular and then push those files to the default device. This assumes you have already booted your device with a version of Fuchsia that contains the most recent version of all other packages. This command line uses the “system_manifest” file from each of the modular directories, such as modular, modular_dev, and modular_tests.

cd $FUCHSIA_DIR
fx build peridot:modular_all
scripts/push-package.py out/debug-x64/package/modular*/system_manifest

fx publish

fx publish will take a package from the build and create a Fuchsia package manager package from a build package. It will then add the package to a local update repository which, by default, is put at ${FUCHSIA_BUILD_DIR}/amber-files. It will also add the package content files to the update repository and name these file after their Merkle Root. If a package name is supplied to fx publish, only that package will be processed. If no name is supplied, all the packages made by the build will be included.