Skip to content
Snippets Groups Projects
  1. Jun 29, 2017
  2. Jun 28, 2017
  3. Jun 20, 2017
  4. Apr 07, 2017
  5. 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
  6. Mar 15, 2017
  7. Aug 01, 2016
  8. Jul 22, 2016
  9. Jun 23, 2016
  10. 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
  11. Jan 13, 2016
  12. 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
  13. Nov 24, 2015
  14. May 14, 2015
  15. Apr 15, 2013
  16. Mar 15, 2013
  17. Feb 13, 2013
  18. Feb 02, 2013
  19. Jan 11, 2013
  20. Jan 07, 2013
  21. Jan 03, 2013
  22. Dec 21, 2012
Loading