Permalink
Commits on Feb 17, 2017
  1. Add build graph reloading to webfiles dev server

    If webfiles is being used with iblazé, then the srcs in rules, and
    dependency relationships between rules might change while the server is
    running. The server will now monitor the file system for changes in the
    build graph and reload it the instant that happens.
    
    This happens instantaneously. It works by reading the entire transitive
    closure of proto manifests upon encountering the first file change
    event. If another file change event happens while the build graph is
    being reloaded, then it will interrupt the thread reading the manifests
    and start over.
    
    Doing this elegantly required paying off a lot of technical debt. The
    dev web server now uses dependency injection. We also have a lot of
    tests now, which is nice. It's very clean.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=147782934
    jart committed Feb 17, 2017
  2. Implement Dagger HTTP server

    This is meant to be a purely backend HTTP server. Things like HTTPS
    should be handled by a frontend, e.g. NGINX.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=147391592
    jart committed Feb 13, 2017
  3. Upgrade Closure Compiler and Closure Templates

    This change will be backported to the 0.4 branch, since HEAD isn't
    ready to become 0.5 yet.
    
    See also: google/closure-compiler#2284
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=147252209
    jart committed Feb 11, 2017
  4. Fix Closure Rules development web server

    It almost seems like something about Blaze broke and collect_data
    stopped working.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146742991
    jart committed Feb 7, 2017
Commits on Feb 3, 2017
  1. Fix cross-platform bug in filegroup_external

    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146516508
    jart committed Feb 3, 2017
Commits on Feb 1, 2017
  1. Introduce new filegroup_external repository rule

    - Can download multiple individual files
    - Can download multiple archives and extract them
    - Can download separate things if on Windows or MacOS
    - Can rename downloaded files, but not archive contents
    - Can chmod +x individual files as executable
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146201133
    jart committed Feb 1, 2017
  2. Fix webfiles relative paths across repos

    The old function only worked in the internal repository, but didn't
    work when used across multiple Bazel repositories.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146198311
    jart committed Feb 1, 2017
  3. Disable HTML syntax checking

    jsoup is too strict about html syntax errors to be useful for polymer
    and it doesn't provide a very friendly way to report these errors. So
    much of the Polymer codebase is non-compliant. Mostly due to '--' being
    inside HTML comments.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146192569
    jart committed Feb 1, 2017
  4. Fix CSS AST walker for url() extraction

    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146190377
    jart committed Feb 1, 2017
  5. Fix generated load() in webfiles_external

    We shouldn't be using the internal path here.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146189330
    jart committed Feb 1, 2017
  6. Add suppress to webfiles_external

    This attribute was added to webfiles recently but this
    class was not updated.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146187788
    jart committed Feb 1, 2017
  7. Fix logging regression in WebfilesValidator

    Because BazelWorker overrides System.err globally on a per-invocation basis, we
    need to make sure that Dagger constructs a new instance of WebfilesValidator
    each time the command is invoked. This way the provideOutput() will get called
    again and provide the magic PrintStream, whose data is intercepted, and encoded
    in a proto that is sent back to Bazel.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=146181902
    jart committed Feb 1, 2017