[git-file-format] Add --lines flag to only format modified lines

Change-Id: Iab6b8316eab6a2d7c9ce7253dcda53f8fd7ee1aa
2 files changed
tree: 4566499dda4ba1fa2b0265c73d463885cd0da5dc
  1. .gitignore
  7. README.md
  8. bootstrap
  9. build-qemu.sh
  10. build-zircon.sh
  11. check-gn-format
  12. colorize_logs
  13. crash/
  14. dart/
  15. devshell/
  16. editors/
  17. fd.py
  18. flog
  19. fx
  20. fx-env.sh
  21. fx-wrapper
  22. gce/
  23. gdb/
  24. generate-intellij-config.py
  25. generate-update-source-config.py
  26. git-file-format
  27. git-file-tidy
  28. git-fuchsia-review
  29. git_utils.py
  30. gn_to_cmake.py
  31. grubdisk/
  32. list-repo-targets.py
  33. manifest/
  34. memory/
  35. packages/
  36. paths.py
  37. pave-prebuilt
  38. publish-package.py
  39. push-package.py
  40. run-dart-action.py
  41. run-zircon-arm64
  42. run-zircon-x86
  43. rust/
  44. sdk/
  45. start-dhcp-server.sh
  46. style/
  47. third_party/
  48. update-manifest.go
  49. vbox/
  50. vim/
  51. youcompleteme/
  52. zsh-completion/


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.


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.

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 respository 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.