1. 11 Dec, 2023 1 commit
  2. 30 Nov, 2023 1 commit
    • Christopher Fujino's avatar
      Refactor prepare_package.dart (#139277) · 88710972
      Christopher Fujino authored
      I plan to extend the prepare_package.dart script to upload the flutter preview device ([design doc](https://docs.google.com/document/d/1AzI-_Uk2v1LA2kKKFJ7gVD4xcakXJ6yVZiS5Ek6RHtg/edit#heading=h.byp03plw7mg9)).
      
      However, given that that script is one large >1k line file, I decided to organize it into smaller libraries in this PR. There should be no behavioral change in this PR, this is a cleanup only. I made the following changes:
      
      1. Created a //dev/bots/prepare_package/ directory to contain helper libraries
      2. Moved everything but the `main()` function in //dev/bots/prepare_package.dart into one of 4 helper libraries under the new directory from step 1:
        a. archive_creator.dart which contains the code that creates archive directory locally on disk
        b. archive_publisher.dart which contains the code that uploads the archive to cloud storage
        c. common.dart for shared constants and definitions
        d. process_runner.dart for an abstraction over running sub-processes
      3. Changed all definitions to `File` and `Directory` from `dart:io` to use the testable versions from `package:file`. This allowed me to use the `MemoryFileSystem` in the unit tests, rather than creating real temp file system directories.
      88710972
  3. 17 Aug, 2023 1 commit
  4. 16 May, 2023 1 commit
  5. 13 Mar, 2023 1 commit
    • Sigurd Meldgaard's avatar
      Always use user-level pub cache (#121802) · 1fd84f88
      Sigurd Meldgaard authored
      Use the pub cache resolved by pub itself.
      To add packages to the flutter.zip download they are packaged as tar.gz and added to the pub-cache on first run by using  `pub cache preload`.
      1fd84f88
  6. 23 Feb, 2023 1 commit
  7. 21 Jan, 2023 1 commit
  8. 06 Dec, 2022 1 commit
  9. 29 Nov, 2022 1 commit
    • godofredoc's avatar
      Generate local metadata even when not publishing. (#116087) · 61376de9
      godofredoc authored
      * Generate local metadata even when not publishing.
      
      For SLSA compliance we need to separate the fetch, compile and upload
      steps of release artifacts. Translating this to the packaging workflows
      the fetch step will checkout the prepare_package script at main ToT, the
      compile step generate the bundle archives and the recipes will upload
      the artifact bundles as part of the upload stage.
      
      This change adds functionality to generate both the release bundle and
      the updated metadata file in a way that both files can be uploaded as
      part of the upload stage.
      
      Bug: https://github.com/flutter/flutter/issues/115487
      
      * Address comments.
      
      * Update tests.
      61376de9
  10. 19 Oct, 2022 1 commit
  11. 17 Oct, 2022 2 commits
  12. 02 Sep, 2022 1 commit
  13. 18 Jul, 2022 1 commit
  14. 21 May, 2022 1 commit
  15. 06 May, 2022 1 commit
  16. 18 Mar, 2022 1 commit
  17. 02 Feb, 2022 1 commit
  18. 08 Jan, 2022 1 commit
  19. 08 Oct, 2021 3 commits
  20. 06 Aug, 2021 1 commit
  21. 19 Jul, 2021 1 commit
  22. 14 Jun, 2021 1 commit
  23. 28 May, 2021 1 commit
  24. 11 May, 2021 1 commit
  25. 03 May, 2021 1 commit
  26. 30 Mar, 2021 1 commit
  27. 06 Mar, 2021 1 commit
  28. 04 Mar, 2021 1 commit
  29. 27 Feb, 2021 1 commit
  30. 05 Feb, 2021 1 commit
  31. 04 Dec, 2020 1 commit
  32. 13 Aug, 2020 1 commit
    • Greg Spencer's avatar
      Revert: Update prepare_package.dart to use the process_runner package instead... · 21f40962
      Greg Spencer authored
      Revert: Update prepare_package.dart to use the process_runner package instead having duplicate code. #62710 (#63608)
      
      This reverts #62710, since it has a noSuchMethodError in some circumstances.
      
      This isn't just a straight git revert, because I had to resolve the conflicts in the reverted pubspec.yaml files and re-run flutter update-packages --force-upgrade to make the checksums match.
      21f40962
  33. 11 Aug, 2020 1 commit
  34. 15 Jul, 2020 1 commit
  35. 28 May, 2020 1 commit
  36. 03 Mar, 2020 1 commit
  37. 07 Jan, 2020 1 commit