Skip to content
Snippets Groups Projects
  1. Jun 29, 2017
  2. Jun 28, 2017
  3. Jun 20, 2017
  4. Jun 07, 2017
    • Natalie Weizenbaum's avatar
      Stop using scheduled_test. (#1629) · 32db8831
      Natalie Weizenbaum authored
      This switches pub's tests over to using the stream matchers built into
      test, as well as the test_descriptor, test_process, and
      shelf_test_handler packages. It uses async/await rather than
      scheduled_test's task queue.
      
      This removes a layer of indirection which should make it much easier to
      work on pub's test infrastructure, especially for people unfamiliar with
      scheduled_test.
      32db8831
  5. May 23, 2017
  6. May 15, 2017
  7. Apr 07, 2017
  8. Mar 17, 2017
  9. Mar 16, 2017
    • Natalie Weizenbaum's avatar
      Add metadata to requests to pub.dartlang.org. (#1521) · b7864409
      Natalie Weizenbaum authored
      * Add metadata to requests to pub.dartlang.org.
      
      This will help pub.dartlang.org better track how packages relate to one
      another.
      
      * Fix broken depenency tests.
      
      Those unit tests import pub libraries directly without invoking a
      command, so command was throwing an exception. Worse, the Pokemon
      exception handler in DependencyValidator was then catching the
      StateError, hiding the bug.
      
      Also applied some other changes I suggested.
      b7864409
  10. Mar 15, 2017
  11. Jan 30, 2017
  12. Aug 25, 2016
  13. Aug 01, 2016
  14. Jul 22, 2016
  15. Jun 23, 2016
  16. Jun 20, 2016
    • Natalie Weizenbaum's avatar
      Refactor Source and SourceRegistry. · 3fb39388
      Natalie Weizenbaum authored
      This splits Source into two classes, Source and LiveSource. The former
      is completely independent of the system cache directory, and mostly
      contains source metadata and logic about manipulating descriptions.
      
      SourceRegistry now deals strictly in Sources, with LiveSources being
      handled by SystemCache. This means that classes like Pubspec and
      LockFile no longer have transitive references to the system cache
      directory.
      
      This will also make it possible to clean up PackageName equality logic
      by making PackageNames track their concrete Sources rather than just
      their source names.
      
      See #912
      
      R=rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//2044253003 .
      3fb39388
  17. Jan 13, 2016
  18. Dec 17, 2015
    • Natalie Weizenbaum's avatar
      Clean up the semantics of package descriptions. · a69f0c9c
      Natalie Weizenbaum authored
      This folds the distinction between "resolved" and "unresolved"
      descriptions into the distinction between PackageIds and PackageRefs. In
      other words, all PackageIds now have resolved descriptions and all
      PackageRefs now have unresolved descriptions. This makes it easier to
      track which descriptions are resolved and express resolution constraints
      via the type system.
      
      This also restricts the creation of PackageRefs and PackageIds to source
      classes, which helps ensure that the description format—which is an
      implementation detail—doesn't leak into surrounding code.
      
      R=rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//1528523003 .
      a69f0c9c
  19. Dec 02, 2015
  20. Nov 24, 2015
  21. Aug 27, 2015
  22. May 14, 2015
Loading