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